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

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -