Q: How to map decimal (30,6) from database to C# in Entity Framework I have a COMPUTED FIELD in MS database that is from [decimal(10,2)*money], which make the field to be decimal(30,6). I could not map this to a decimal or double in C#. Does anybody have solution?
Thanks

A: You haven't indicated what kind of error you are getting and what exactly you are attempting, but I would suggest that you try setting Precision and Scale properties on the decimal field to 30 and 6 correspondingly. (In the EF designer right-click the decimal field, choose properties and set the values in the Properties window).
