public void Update(Sourcing entity) { if (entity == null) { throw new ArgumentNullException("entity"); } base.Edit(entity); }
public void Remove(Sourcing entity) { if (entity == null) { throw new ArgumentNullException("entity"); } base.Delete(entity); }
public int AddandGetRequestPaymentId(Sourcing entity) { if (entity == null) { throw new ArgumentNullException("entity"); } string insert = string.Format(@"insert into Sourcing(Note,CreateBy,CreateDate,ModifyBy,ModifyDate,PartID,SupplierID) output inserted.SouringID values (@Note,@CreateBy,@CreateDate,@ModifyBy,@ModifyDate,@PartID,@SupplierID)"); return(Connection.ExecuteScalar <int>(insert, entity, Transaction)); }
public void Add(Sourcing entry) { throw new NotImplementedException(); }