diff --git a/SubSonic.Core/DataProviders/SqlServer/Sql2005Schema.cs b/SubSonic.Core/DataProviders/SqlServer/Sql2005Schema.cs index 6085f9f..a5f33dd 100644 --- a/SubSonic.Core/DataProviders/SqlServer/Sql2005Schema.cs +++ b/SubSonic.Core/DataProviders/SqlServer/Sql2005Schema.cs @@ -114,9 +114,10 @@ public override string GetNativeType(DbType dbType) case DbType.UInt16: case DbType.Int16: case DbType.Int32: + return "int"; case DbType.UInt64: case DbType.Int64: - return "int"; + return "bigint"; case DbType.Single: return "real"; case DbType.VarNumeric: