Hi I am trying to delete list of albums from Album table. Following is the syntax but it fails saying "Lambda Parameter not in scope"
Album.Delete(x => (ListOfIds).Contains(x.Id));
What am I missing here?
Please advise.
Thanks
Pankaj
Hi I am trying to delete list of albums from Album table. Following is the syntax but it fails saying "Lambda Parameter not in scope"
Album.Delete(x => (ListOfIds).Contains(x.Id));
What am I missing here?
Please advise.
Thanks
Pankaj