示例#1
0
 public int Update(CostCenterEntity t, string[] properties = null)
 {
     using (BrightourDbContext db = new BrightourDbContext())
     {
         return(db.Update(t, properties));
     }
 }
示例#2
0
        public int AddCostCenter(CostCenterModel costCenterModel)
        {
            CostCenterEntity costCenterEntity = Mapper.Map <CostCenterModel, CostCenterEntity>(costCenterModel);

            costCenterEntity.IsHidden = "F";
            costCenterEntity          = _costCenterDal.Insert(costCenterEntity);
            return(costCenterEntity.Cid);
        }
示例#3
0
 public int Insert(CostCenterEntity t)
 {
     throw new NotImplementedException();
 }
示例#4
0
 public int Delete(CostCenterEntity t)
 {
     throw new NotImplementedException();
 }