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