Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit d2ccc18

Browse files
committed
fix build error
1 parent 3b53cfb commit d2ccc18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ServiceStack.OrmLite.SqlServer/SqlServer2014OrmLiteDialectProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public override string ToCreateTableStatement(Type tableType)
4242
var collationAttribs = fieldDef.PropertyInfo.GetAttributes<SqlServerCollateAttribute>();
4343
if (collationAttribs.Count > 0)
4444
{
45-
columnDefinition += $" COLLATE {collationAttribs[0].collation}";
45+
columnDefinition += $" COLLATE {collationAttribs[0].Collation}";
4646
}
4747

4848
if (isMemoryTable && fieldDef.IsPrimaryKey)
@@ -52,7 +52,7 @@ public override string ToCreateTableStatement(Type tableType)
5252
var bucketCountAtribs = fieldDef.PropertyInfo.GetAttributes<SqlServerBucketCountAttribute>();
5353
if (bucketCountAtribs.Count > 0)
5454
{
55-
columnDefinition += $" HASH WITH (BUCKET_COUNT={bucketCountAtribs[0].count})";
55+
columnDefinition += $" HASH WITH (BUCKET_COUNT={bucketCountAtribs[0].Count})";
5656
}
5757
}
5858

0 commit comments

Comments
 (0)