/// <summary> /// 生成数据库访问范围 /// </summary> internal static MySqlDataTableScope <PageDataData> CreateScope() { var db = SystemDb.Default ?? new SystemDb(); return(MySqlDataTableScope <PageDataData> .CreateScope(db, db.PageDatas)); }
/// <summary> /// 生成数据库访问范围 /// </summary> internal static MySqlDataTableScope <OrganizePositionData> CreateScope() { var db = Authorities.Default ?? new Authorities(); return(MySqlDataTableScope <OrganizePositionData> .CreateScope(db, db.OrganizePositions)); }
/// <summary> /// 生成数据库访问范围 /// </summary> internal static MySqlDataTableScope <UserData> CreateScope() { var db = Authorities.Default ?? new Authorities(); return(MySqlDataTableScope <UserData> .CreateScope(db, db.Users)); }
/// <summary> /// 生成数据库访问范围 /// </summary> internal static MySqlDataTableScope <PositionPersonnelData> CreateScope() { var db = Authorities.Default ?? new Authorities(); return(MySqlDataTableScope <PositionPersonnelData> .CreateScope(db, db.PositionPersonnels)); }
/// <summary> /// 生成数据库访问范围 /// </summary> internal static MySqlDataTableScope <DataDictionaryData> CreateScope() { var db = SystemDb.Default ?? new SystemDb(); return(MySqlDataTableScope <DataDictionaryData> .CreateScope(db, db.DataDictionaries)); }
/// <summary> /// 生成数据库访问范围 /// </summary> internal static MySqlDataTableScope <UserJobData> CreateScope() { var db = WorkflowDataBase.Default ?? new WorkflowDataBase(); return(MySqlDataTableScope <UserJobData> .CreateScope(db, db.UserJobs)); }