Try to use the StringLengthMax attribute on your Syllabus property inside record class, like:
[StringLengthMax]
public virtual string Syllabus { get; set; }
This will make NHibernate aware of the unlimited length.
HTH
No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
Course Queries 4 Answers
Course Queries 5 Answers
Course Queries 1 Answers
Course Queries 3 Answers
Course Queries 4 Answers
Is Foldable Smartphone Technology the Future or Just a Trend?
manpreet
Best Answer
2 years ago
I have a table created in the sql ce database for my content part "CourseDescription". The "Syllabus" column uses ntext as it's type. However, when I try to create a CourseDescription I get the following exception: