示例#1
0
 /// <summary>
 /// 构造器
 /// </summary>
 /// <param name="derivedClassName">派生类的类名.如xxx.xx.x.dalProduct.(未指定类名则创建基类实例)</param>
 public ADODirect_SGBaseDict(string derivedClassName)
 {
     //创建数据层的实例
     if (String.IsNullOrEmpty(derivedClassName))
     {
         _DAL_Instance = new dalBaseDataDict(Loginer.CurrentUser);
     }
     else
     {
         _DAL_Instance = dalBaseDataDict.CreateDalByClassName(Loginer.CurrentUser, derivedClassName);
     }
 }
示例#2
0
        public bllMenuMgr()
        {
            _DataDictBridge = BridgeFactory.CreateDataDictBridge(typeof(tb_sys_Function));
            _BarDataDictBridge = BridgeFactory.CreateDataDictBridge(typeof(tb_sys_Fun_MenuBar));
            _KeyFieldName = tb_sys_Function.__KeyName;
            _SummaryTableName = tb_sys_Function.__TableName;

            _MyBridge = BridgeFactory.CreateUserGroupBridge();
            _AuthorityItem = _MyBridge.GetAuthorityItem(); //Actions Master Data
            _AuthorityItem.TableName = tb_sys_Fun_MenuBar.__TableName;
            _FormTagCustomName = _MyBridge.GetFormTagCustomName(); //自定义功能名称
        }
示例#3
0
 public ADODirect_SGBaseDict(Type ORM)
 {
     //创建数据层的实例
     _DAL_Instance = dalBaseDataDict.CreateDalByORM(Loginer.CurrentUser, ORM.FullName);
 }