Categories
Most popular tags
- mvc
- mvc-3
- seo-tips
- standards
- website
- application-pool
- business-card
- china
- code-first
- coding
- company-history
- database
- design
- disability
- ecommerce
- ef-code-first
- global-design
- google-chrome
- google-plus
- internet
Achives 2012
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.- 1
