Closed beppler closed 5 years ago
On DbTypes x SqlServer is documented that the types generated for DbType.AnsiStringFixedLength are the following:
Based on SQL Server Data Type Mappings the type used for String should be:
The mediumtext datatype does not exist on SQL Server text datatype is deprecated and I think that it is not applicable to FixedLength.
FixedLength
So if precision is specified and is not between 1 and 4000 I think that an exception should be raised.
I've created a project fork at https://github.com/mpsinfo/sharpdata that contains this update.
Resolved by #19.
On DbTypes x SqlServer is documented that the types generated for DbType.AnsiStringFixedLength are the following:
Based on SQL Server Data Type Mappings the type used for String should be:
The mediumtext datatype does not exist on SQL Server text datatype is deprecated and I think that it is not applicable to
FixedLength
.So if precision is specified and is not between 1 and 4000 I think that an exception should be raised.