Skip to content

Commit 78df014

Browse files
David EllingsworthDavid Ellingsworth
authored andcommitted
GH-3530: Use the same syntax as Table.SqlCreateString for the identity column.
1 parent c407f8c commit 78df014

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

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

4949
sb.Append($"{Dialect.CreateTableString} {table} (");
50-
sb.Append($"Id ");
50+
sb.Append("Id ");
5151

5252
if (Dialect.HasDataTypeInIdentityColumn)
5353
{
5454
sb.Append($"{intType}");
5555
}
56-
sb.Append($" {Dialect.GetIdentityColumnString(DbType.Int32)}, ");
56+
sb.Append(" ").Append(Dialect.GetIdentityColumnString(DbType.Int32)).Append(", ");
5757

5858
// Generate columns
5959
sb.Append($"IntegerValue {stringType}, ");

0 commit comments

Comments
 (0)