awattar
awattar

Reputation: 265

SharpArchitecture / Fluent NHibernate

Does DomainSignature attribute create unique constrain in DB?

Does Fluent NHibernate 1.1.0.685 supports NaturalId correctly?

Upvotes: 1

Views: 323

Answers (1)

Sly
Sly

Reputation: 15247

Domain signature doesn't create constraints in DB.

Yes Fluent NH supports Natural ID by

map.NaturalId()
      .Property(x => x.Name)
      .Property(x => x.NickName);

syntax

Upvotes: 3

Related Questions