database schema is primary (I do not generate it)
it is legacy DB

CREATE TABLE BANKS (
       BANK_CODE            nchar(8) NOT NULL,
        ................................................
       CONSTRAINT PK_BANKS
              PRIMARY KEY NONCLUSTERED (BANK_CODE ASC)
)
go

I have created table with same structure to play but code length is 5

mapping done using fluent 1.1.0695
Id(x
=>x.Code).Column("CODE").Length(5).Not.Nullable().Unique().GeneratedBy.Assigned();

Where it can be bug there?

On Dec 2, 6:36 pm, Fabio Maulo <[email protected]> wrote:
> a bug, but probably it is in your DB or in your mapping if you are
> generating the DB through NH.
>
>......................................................
>
> --
> Fabio Maulo

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to