Question

Est-ce que DomainSignature attribut créer Contraindre unique dans DB?

Est-ce que Fluent NHibernate 1.1.0.685 supports NaturalId correctement?

Était-ce utile?

La solution

signature de domaine ne crée pas de contraintes dans le DB.

Oui Courant NH supporte ID naturel par

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

syntaxe

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top