This is a migrated thread and some comments may be shown as answers.

Validating data in the context.add(list) before of savechanges()

1 Answer 28 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Camilo
Top achievements
Rank 1
Camilo asked on 23 Nov 2012, 04:00 PM
Hello, I have a concern with respect to the validation in the context, as I can make the list he sent to dbContext.Add(client), I validate the data type, data size, nulls, etc, I use Mappyng Type Attributes . All this to not get to the database and I generate an exception. thanks

1 Answer, 1 is accepted

Sort by
0
Doroteya
Telerik team
answered on 26 Nov 2012, 11:04 AM
Hello Camilo,

Can you share some details about the scenario you implement and the exception you experience. It will also be nice if you can send me a code snippet.

I am looking forward to you feedback.

Regards,
Doroteya
the Telerik team
Telerik OpenAccess ORM Meets ASP.NET Web API. Read more.
Tags
General Discussions
Asked by
Camilo
Top achievements
Rank 1
Answers by
Doroteya
Telerik team
Share this question
or