Our Blog

How to define ntext fields using Code-First in .NET MVC3 and SQL CE4

Posted on Saturday, 18 June 2011 by nestor in How To

When defining our model using POCO classes, we just use string for all our string model properties that later are created as nvarchar fields in the database. String types max length is 4,000 characters, so, what if I need something longer, for example for a blog content field? Then, we need ntext.

Continue reading…

  • 1
| total: 1 | page: 1 / 1