How To Insert, Update, Delete Using Linq To Sql

Insert Method for Data Linq to Sql:

Update Method for Data Linq to Sql:

Delete Method:

 

Please follow and like us:
0

How To Get The Specific Records or All Records From Table In Linq

  • VisionEngineersDBEntities context = new VisionEngineersDBEntities(); this is your context object
  • The Above Example Customer is Table Name if you want to be records based on ‘ customerId ‘ you will get records from database return
  • qry.ToList(); it will return All the Customer Records.
Please follow and like us:
0

How To Get The Table1 Records Based On Table2Id Using join

 

Please follow and like us:
0