Skip to content

Commit da7513e

Browse files
Register the currency type
1 parent 512362d commit da7513e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/NHibernate/Dialect/SybaseSQLAnywhere10Dialect.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ protected virtual void RegisterNumericTypeMappings()
9595
RegisterColumnType(DbType.Decimal, 29, "NUMERIC($p, $s)"); // Precision ranges from 0-127
9696
RegisterColumnType(DbType.Byte, "TINYINT");
9797
RegisterColumnType(DbType.SByte, "UNSIGNED TINYINT");
98+
RegisterColumnType(DbType.Currency, "MONEY"); // Implemented by the database as NUMERIC(19,4)
9899
}
99100

100101
protected virtual void RegisterDateTimeTypeMappings()

0 commit comments

Comments
 (0)