1.删除
m2SharpDataContext m2db = new m2SharpDataContext(); var query = m2db.Inf_Balance.Where(qu=>qu.vehicleCode==vehicleCode&&qu.ItemCode==itemCode); m2db.Inf_Balance.DeleteAllOnSubmit(query); m2db.SubmitChanges();
2.