Skip to content

Commit 92afcd4

Browse files
David EllingsworthDavid Ellingsworth
David Ellingsworth
authored and
David Ellingsworth
committed
GH-3530: Guid key's are not identity columns and are defined like all other columns.
1 parent ee81295 commit 92afcd4

File tree

1 file changed

+1
-7
lines changed
  • src/NHibernate.Test/NHSpecificTest/GH3530

1 file changed

+1
-7
lines changed

src/NHibernate.Test/NHSpecificTest/GH3530/Fixture.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,9 @@ protected override void CreateSchema()
4747
var table = GetQualifiedName(catalog, schema, "LocaleEntity");
4848

4949
sb.Append($"{Dialect.CreateTableString} {table} (");
50-
sb.Append("Id ");
51-
52-
if (Dialect.HasDataTypeInIdentityColumn)
53-
{
54-
sb.Append($"{guidType}");
55-
}
56-
sb.Append(" ").Append(Dialect.GetIdentityColumnString(DbType.Guid)).Append(", ");
5750

5851
// Generate columns
52+
sb.Append($"Id {guidType}, ");
5953
sb.Append($"IntegerValue {stringType}, ");
6054
sb.Append($"DateTimeValue {stringType}, ");
6155
sb.Append($"DoubleValue {stringType}, ");

0 commit comments

Comments
 (0)