문제

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