Getting child entity from parent entity in entity framework c# -


i have 1 many relationship tables in sql , using ef in mvc. relational child parent table. relationship setup on db level. pk fk etc.

i want delete entity child (and child of child).

please advise.

thanks

in model configuration, need define child properties relations willcascadeondelete()

plenty of examples available on msdn. starters check here


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -