Exemplo n.º 1
0
        //Delete
        public void Delete(int Id)
        {
            CarrierSummaryDaily CarrierSummaryDaily = db.CarrierSummaryDaily.Find(Id);

            db.CarrierSummaryDaily.Remove(CarrierSummaryDaily);
            Save();
        }
Exemplo n.º 2
0
 //Update
 public void Update(CarrierSummaryDaily CarrierSummaryDaily)
 {
     objDb.Update(CarrierSummaryDaily);
 }
Exemplo n.º 3
0
 //Insert
 public void Insert(CarrierSummaryDaily CarrierSummaryDaily)
 {
     objDb.Insert(CarrierSummaryDaily);
 }
Exemplo n.º 4
0
 //Update
 public void Update(CarrierSummaryDaily CarrierSummaryDaily)
 {
     db.Entry(CarrierSummaryDaily).State = EntityState.Modified;
     Save();
 }
Exemplo n.º 5
0
 //Insert
 public void Insert(CarrierSummaryDaily CarrierSummaryDaily)
 {
     db.CarrierSummaryDaily.Add(CarrierSummaryDaily);
     Save();
 }