locked
Dynamic Data Cannot insert the value NULL RRS feed

  • Question

  • User1764304682 posted

    I 'm working on an ASP.NET Dynamic Data Entities Web Application.

    When trying to insert a new entry in one of the tables, with some value in the column_name field, I get the following message :

    Cannot insert the value NULL into column 'column_name', table 'DATABASE.dbo.table_name'; column does not allow nulls. INSERT fails.

    The column properties are :

    • Entity Key : True
    • Nullable : False
    • Type : String

    I believe Dynamic Data is trying to send null value to entity framework for some reason, but I don't know which.

    Do you know why Dynamic Data is behaving that way ? Or have you any idea how to debug the insert process ?

    Thanks

    Tuesday, November 5, 2013 10:55 AM

Answers

All replies