/// <summary>
 /// 构造函数
 /// </summary>
 public BaseBusinessHandler(IRepository <T> repository, RepositoryProvider repositoryProvider, IConnectedInfoProvider connectedInfoProvider)
     : base(repository)
 {
     try
     {
         //LoggerHelper.Instance.Warning(string.Format("开始创建[{0}]BusinessHandler", EntityName));
         IsStoreEntity = EType.GetInterfaces().Any(t => t == StoreInterfaceType);
         //log.Information(string.Format("检查实体[{0}]是否为门店相关实体:{1}", EntityName, IsStoreEntity));
         //BusinessHandlerFactory = businessHandlerFactory;
         RepositoryProvider    = repositoryProvider;
         ConnectedInfoProvider = connectedInfoProvider;
         repository.Queryable  = this.IncludeNavigationProperties(repository.Queryable);
         // LoggerHelper.Instance.Warning(string.Format("成功创建[{0}]BusinessHandler", EntityName));
     }
     catch (Exception ex)
     {
         this.HandleException(string.Format("创建[{0}]BusinessHandler出错", EntityName), ex);
     }
 }