/// <summary> /// Based on sequence but works like an identity. The POID /// value is retrieved with an INSERT query. Your entity Id must /// be an integral type. /// "hibernate_sequence" is the default name for the sequence, unless /// another is provided. /// </summary> public void SequenceIdentity() { if (!mapping.IsSpecified("Class")) { builder.SequenceIdentity(); } }
/// <summary> /// Based on sequence but works like an identity. The POID /// value is retrieved with an INSERT query. Your entity Id must /// be an integral type. /// "hibernate_sequence" is the default name for the sequence, unless /// another is provided. /// </summary> public void SequenceIdentity() { builder.SequenceIdentity(); }