Z
zleug
Guest
Hi All.
In my project the source is Entity Frameworks tables. I would like create method with LINQ to delete records from some related tables
This diagram displays related tables. For example, if in the EmployeeDept table need to be delete record DepartmentId=7 so in the EmployeeTask table should be deleted all records with related EmployeeDeptId number. If that is possible. How create LINQ or lambda to perform delete method? I will appreciate for detail explanation and sample.
Thanks.
Continue reading...
In my project the source is Entity Frameworks tables. I would like create method with LINQ to delete records from some related tables

This diagram displays related tables. For example, if in the EmployeeDept table need to be delete record DepartmentId=7 so in the EmployeeTask table should be deleted all records with related EmployeeDeptId number. If that is possible. How create LINQ or lambda to perform delete method? I will appreciate for detail explanation and sample.
Thanks.
Continue reading...