views:

35

answers:

0

Is there anyway to make LINQ entities validate automatically according to the properties of the datatypes defined in the database?

For example, if my property maps to a varchar(40) not null in the database, automatically validate the property to be not null and 40 length?