Can't set precision and scale on decimal when creating SQL Server CE table with NHibernate
Description
Environment
None
duplicates
Activity
Show:

Frédéric Delaporte October 2, 2017 at 4:31 PM
is resolved in 3.3.3, so this issue is supposed to be resolved too.
Who's Looking?
I'm using NHibernate mapping by code to create tables both on server (SQL Server 2008) and client (SQL Server CE 3.5).
This one column
works excellently on the server where it generates a decimal(10,8).
But on the SQL Server CE client it generates a numeric(19,0)? Am I doing something wrong in the mapping here? I'm using NHibernate 3.3.2.
Info :
NHibernate.Dialect.MsSqlCeDialect dialect has been used as follows
configuration.SetProperty(NHibernate.Cfg.Environment.Dialect, typeof(MsSqlCeDialect).AssemblyQualifiedName); configuration.SetProperty(NHibernate.Cfg.Environment.ConnectionDriver, typeof(SqlServerCeDriver).AssemblyQualifiedName);