6
Reply

How we can truncate a table Using LINQ?

Vinay  Arora

Vinay Arora

Apr 29, 2013
1.4k
0

    EmpDataContext empobj= new EmpDataContext (); empobj.ExecuteCommand("TRUNCATE TABLE TABLENAME");

    Bhabani Prasad
    May 21, 2014
    1

    LinqDataContext dc=new LinqDataContext(); dc.ExecuteCommand("TRUNCATE TABLE myTable");

    Munesh Sharma
    June 16, 2015
    0

    EmpDataContext empobj= new EmpDataContext (); empobj.ExecuteCommand("TRUNCATE TABLE TABLENAME");

    Bhabani Prasad
    May 21, 2014
    0

    EmpDataContext empobj= new EmpDataContext (); empobj.ExecuteCommand("TRUNCATE TABLE TABLENAME");

    Bhabani Prasad
    May 21, 2014
    0

    Hi, This can be done using LINQ to SQL:SomeTableDataContext stdc = new SomeTableDataContext ();stdc .ExecuteCommand("TRUNCATE TABLE FULLPRICELIST");

    Mayil Vakanan
    October 29, 2013
    0

    Hi, This can be done using LINQ to SQL:SomeTableDataContext stdc = new SomeTableDataContext ();stdc .ExecuteCommand("TRUNCATE TABLE FULLPRICELIST");

    Mayil Vakanan
    October 29, 2013
    0