I have a data entry form and it involves several tables to get inserted to. I bound the text property for each textbox to the relevant class property. As some fields are not mandatory I may end up with one of the classes having no data.
Will EF detect this and not insert it or will I have to check this manually before submiting changes?
I have a data entry form and it involves several tables to get inserted
Share
If you’ve created an instance of the entity and added it to the entity set, then the entity will be created on submitchanges(). It’s your responsibility to add the corresponding constraints to the properties of the entities and check for empty inputs.