.net - Fluent nHibernate AutoMapping & ID Generation Scheme -
How do I use Fluent NHibernate (with automation) to configure Guid.Comb to use the default ID creation plan ? I can see that I can specify the following code in each unit (or base class):
id (unit => entity id, "id"). GuidComb (); That's fine although it does not seem overlapping as the default behavior of setting I just want to know if I have a configuration The trick is missing. Thanks for any help
You should use.
This way you can define the default behavior that will be applied to all your classes (or conditionally, if necessary).
Comments
Post a Comment