Example #1
0
        //Delete
        public void Delete(string VENDOR_CODE)
        {
            DOM_CMD_VENDOR vendor = db.DOM_CMD_VENDORs.Find(VENDOR_CODE);

            db.DOM_CMD_VENDORs.Remove(vendor);
            Save();
        }
Example #2
0
 //Update
 public void Update(DOM_CMD_VENDOR DOM_CMD_VENDOR)
 {
     db.Entry(DOM_CMD_VENDOR).State = EntityState.Modified;
     Save();
 }
Example #3
0
 //Update
 public void Update(DOM_CMD_VENDOR DOM_CMD_VENDOR)
 {
     db.Entry(DOM_CMD_VENDOR).State = EntityState.Modified;
     Save();
 }
Example #4
0
 //Insert
 public void Insert(DOM_CMD_VENDOR DOM_CMD_VENDOR)
 {
     db.DOM_CMD_VENDORs.Add(DOM_CMD_VENDOR);
     Save();
 }
Example #5
0
 //Insert
 public void Insert(DOM_CMD_VENDOR DOM_CMD_VENDOR)
 {
     db.DOM_CMD_VENDORs.Add(DOM_CMD_VENDOR);
     Save();
 }
Example #6
0
 //Update
 public void Update(DOM_CMD_VENDOR DOM_CMD_VENDOR)
 {
     objDb.Update(DOM_CMD_VENDOR);
 }
Example #7
0
 //Insert
 public void Insert(DOM_CMD_VENDOR DOM_CMD_VENDOR)
 {
     objDb.Insert(DOM_CMD_VENDOR);
 }
Example #8
0
 //Update
 public void Update(DOM_CMD_VENDOR DOM_CMD_VENDOR)
 {
     objDb.Update(DOM_CMD_VENDOR);
 }
Example #9
0
 //Insert
 public void Insert(DOM_CMD_VENDOR DOM_CMD_VENDOR)
 {
     objDb.Insert(DOM_CMD_VENDOR);
 }