예제 #1
0
 /// <summary>
 /// trigger-identity is a NHibernate specific feature where the POID
 /// is generated by the RDBMS with an INSERT query through a
 /// BEFORE INSERT trigger. In this case you can use any supported type,
 /// including a custom type, with the limitation of a single column usage.
 /// </summary>
 public void TriggerIdentity()
 {
     if (!mapping.IsSpecified("Class"))
     {
         builder.TriggerIdentity();
     }
 }
예제 #2
0
 /// <summary>
 /// trigger-identity is a NHibernate specific feature where the POID
 /// is generated by the RDBMS with an INSERT query through a
 /// BEFORE INSERT trigger. In this case you can use any supported type,
 /// including a custom type, with the limitation of a single column usage.
 /// </summary>
 public void TriggerIdentity()
 {
     builder.TriggerIdentity();
 }