Example #1
0
 /// <summary>
 /// 构造函数,必须传入数据库连接参数
 /// </summary>
 /// <param name="entity">数据库连接参数</param>
 public DataTransferBLL(LiveEntities entity)
     : base(entity)
 {
     oProductBLL = new ProductBLL(entity);
     oGeneralBLL = new GeneralBLL(entity);
 }
Example #2
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public ProductController()
 {
     productBLL = new ProductBLL(dbEntity);
     dataTransferBLL = new DataTransferBLL(dbEntity);
 }