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

Thread is closed for posting
2 posts, 0 answers
  1. Camilo
    Camilo avatar
    4 posts
    Member since:
    Oct 2012

    Posted 23 Nov 2012 Link to this post

    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
  2. Doroteya
    Doroteya avatar
    498 posts

    Posted 26 Nov 2012 Link to this post

    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.

    the Telerik team
    Telerik OpenAccess ORM Meets ASP.NET Web API. Read more.
Back to Top