LINQ in Action roller

How To: Best way to add data Integrity rules

What is the best way to add some data integrity rules before data is saved/updated to the database. A simple example would be a table with a start and end date, and before the data is saved I want to make sure that the start date is on or before the end date, and if not return an error to the user before the data is saved. Can this be incorported to the LINQ code/model that is generated of do i just need to check the data myself before using SubmitChanges? Read More...
Published Thursday, May 31, 2007 4:52 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication