File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 1+ using NHibernate . Id ;
12using NHibernate . SqlCommand ;
23
34namespace NHibernate . Dialect
@@ -40,6 +41,16 @@ public override bool SupportsLimitOffset
4041 /// <inheritdoc />
4142 public override string QuerySequencesString => "select seq_name from iisequences" ;
4243
44+ /// <inheritdoc />
45+ // 6.0 TODO: remove override for having default behavior when sequences are supported.
46+ // It has been put for minimizing breaking changes due to supporting sequences in 5.1.
47+ public override System . Type IdentityStyleIdentifierGeneratorClass => typeof ( TriggerIdentityGenerator ) ;
48+
49+ /// <inheritdoc />
50+ // 6.0 TODO: remove override for having default behavior when sequences are supported.
51+ // It has been put for minimizing breaking changes due to supporting sequences in 5.1.
52+ public override System . Type NativeIdentifierGeneratorClass => typeof ( TableHiLoGenerator ) ;
53+
4354 /// <summary>
4455 /// Attempts to add a <c>LIMIT</c> clause to the given SQL <c>SELECT</c>.
4556 /// Expects any database-specific offset and limit adjustments to have already been performed (ex. UseMaxForLimit, OffsetStartsAtOne).
You can’t perform that action at this time.
0 commit comments