Reputation: 9021
I've got an ADO.NET entity data model in my C# project (.NET 3.5) and am using it quite happily. I'd like to be able to truncate the tables in this model. I've searched online and most suggest using "ExecuteCommand" but my data context doesn't show ExecuteCommand as a usable method. What could I be doing wrong here?
Thanks,
Upvotes: 0
Views: 1836
Reputation: 51494
Sounds like you're using Entity Framework rather than Linq to SQL? - try ExecuteStoreCommand
Upvotes: 1