I’m currently working on an ASP.NET MVC project and I’m using LINQ to SQL to manage my data. One of the fields I’m working with is stored as a MONEY data type in SQL Server. I wanted to find the best CLR data type to use when I mapped the field in my LINQ Data Context. After some researching I came across a great MSDN article showing what types to use when mapping back to the database with LINQ. There is even an awesome grid showing the best types to use and the expected data loss.
Here is the link:
http://msdn.microsoft.com/en-us/library/bb386947.aspx
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.