delete data using entity framework
- by user3474542
The objective of the method below is to delete the data from the database using entity framework. I am populating the subscriptions entity by passing two parameters and then calling the atttach and remove method of the context class. Bureau entities is the context class.
using (BUREAUEntities bureauEntities = new BUREAUEntities())
…