///////////////////////////////////////////////////////////////////////////// // File Description : 创建业务逻辑层类 ///////////////////////////////////////////////////////////////////////////// using HH.WMS.Utils; using System; using System.Collections.Generic; using System.Text; namespace HH.WMS.CoreServer.BLL { /// /// 创建业务逻辑层类 /// public static class BLLCreator { /// /// 创建业务实例 /// /// 业务层类型 /// 业务实例 public static T Create() where T : BaseBLL, new() { return ObjectCreator.Create(); } /// /// 创建Dapper业务实例 /// /// /// public static DapperBLL CreateDapper() where T : new() { return Create>(); } } }