I using code first ASP.NET C#. Trying to delete records from the child table in one to many relationship where
LoginBackEnds
is parent table and AccessProviders
child table.
LoginBackEnds
table has the following fields:
UserId,
UserLastName,
UserFirstName,
AccessProviders
table has the following fields:
AccessId,
ProviderId,
LoginBackEnd_UserId (Foreign Key of UserId in LoginBackEnds
table)
Any suggestion for delete statement using linq query?
Thank you.