Vinay  Arora
How we can truncate a table Using LINQ?
By Vinay Arora in LINQ on Apr 29 2013
  • Bhabani Prasad
    May, 2014 21

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

    • 1
  • Munesh Sharma
    Jun, 2015 16

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

    • 0
  • Bhabani Prasad
    May, 2014 21

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

    • 0
  • Bhabani Prasad
    May, 2014 21

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

    • 0
  • Mayil Vakanan
    Oct, 2013 29

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

    • 0
  • Mayil Vakanan
    Oct, 2013 29

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

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS