How we can truncate a table Using LINQ?
Vinay Arora
EmpDataContext empobj= new EmpDataContext (); empobj.ExecuteCommand("TRUNCATE TABLE TABLENAME");
LinqDataContext dc=new LinqDataContext(); dc.ExecuteCommand("TRUNCATE TABLE myTable");
Hi, This can be done using LINQ to SQL:SomeTableDataContext stdc = new SomeTableDataContext ();stdc .ExecuteCommand("TRUNCATE TABLE FULLPRICELIST");