public int Update(OAPersonContractModel ObjModel, SqlTransaction Transaction) { OAPersonContractDAL tdal = new OAPersonContractDAL(Transaction); return(tdal.Update(ObjModel)); }
public List <OAPersonContractModel> GetModels(OAPersonContractQueryModel ObjQueryModel, SqlTransaction Transaction) { OAPersonContractDAL tdal = new OAPersonContractDAL(Transaction); return(tdal.Select(ObjQueryModel)); }
public OAPersonContractModel GetModel(int Code, SqlTransaction Transaction) { OAPersonContractDAL tdal = new OAPersonContractDAL(Transaction); return(tdal.GetModel(Code)); }
public List <OAPersonContractModel> GetModels(SqlTransaction Transaction) { OAPersonContractDAL tdal = new OAPersonContractDAL(Transaction); return(tdal.Select()); }
public int Delete(int Code, SqlTransaction Transaction) { OAPersonContractDAL tdal = new OAPersonContractDAL(Transaction); return(tdal.Delete(Code)); }