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
Post a Comment