i want to clear data from this table from entity framework
db2.Database.ExecuteSqlCommand("TRUNCATE TABLE [destDepartments]");
but i have this error
Cannot truncate table 'destDepartments' because it is being referenced by a FOREIGN KEY constraint.'
so how i can do this from EF?