public ProductBrandEntity Create(ProductBrandEntity entity)
 {
     try
     {
         _productbrandRepository.Insert(entity);
         return(entity);
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return(null);
     }
 }
示例#2
0
 public LandAgentBillEntity Create(LandAgentBillEntity entity)
 {
     try
     {
         _landagentbillRepository.Insert(entity);
         return(entity);
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return(null);
     }
 }
示例#3
0
 public ClassifyEntity Create(ClassifyEntity entity)
 {
     try
     {
         _classifyRepository.Insert(entity);
         return(entity);
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return(null);
     }
 }
示例#4
0
 public CFBBillEntity Create(CFBBillEntity entity)
 {
     try
     {
         _cfbbillRepository.Insert(entity);
         return(entity);
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return(null);
     }
 }
 public ParameterValueEntity Create(ParameterValueEntity entity)
 {
     try
     {
         _parametervalueRepository.Insert(entity);
         return entity;
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return null;
     }
 }
示例#6
0
 public OrderEntity Create(OrderEntity entity)
 {
     try
     {
         _orderRepository.Insert(entity);
         return(entity);
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return(null);
     }
 }
 public BrandParameterEntity Create(BrandParameterEntity entity)
 {
     try
     {
         _brandparameterRepository.Insert(entity);
         return(entity);
     }
     catch (Exception e)
     {
         _log.Error(e, "数据库操作出错");
         return(null);
     }
 }