سؤال

Does DomainSignature attribute create unique constrain in DB?

Does Fluent NHibernate 1.1.0.685 supports NaturalId correctly?

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top