Is possible to configure different DbType for a column for different database (or IDataProvider) #4499
-
Hello. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can use multiple mapping attributes with different [Column(DataType = DataType.Decimal, Configration = "MySqlCeConnection")]
[Column(DataType = DataType.Double, Configration = "MySQLiteConnection")] |
Beta Was this translation helpful? Give feedback.
You can use multiple mapping attributes with different
Configuration
, which should contain connection name (or at least provider name):