adspace
how do you truncate a table using entity data model?
Answer Posted / Rohit Raj
Unfortunately, the Entity Data Model (EDM) does not provide a direct method to truncate a table. However, you can achieve this by executing the SQL TRUNCATE TABLE command using the Database.ExecuteSqlCommand() method in EF.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers