示例#1
0
        /// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _auditDataCore = new SD.HnD.DAL.CollectionClasses.AuditDataCoreCollection();
            _auditDataCore.SetContainingEntityInfo(this, "AuditAction");

            _roleAuditActions = new SD.HnD.DAL.CollectionClasses.RoleAuditActionCollection();
            _roleAuditActions.SetContainingEntityInfo(this, "AuditAction");
            _rolesWithAuditAction = new SD.HnD.DAL.CollectionClasses.RoleCollection();
            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }
示例#2
0
        /// <summary>Private CTor for deserialization</summary>
        /// <param name="info"></param>
        /// <param name="context"></param>
        protected AuditActionEntityBase(SerializationInfo info, StreamingContext context) : base(info, context)
        {
            _auditDataCore               = (SD.HnD.DAL.CollectionClasses.AuditDataCoreCollection)info.GetValue("_auditDataCore", typeof(SD.HnD.DAL.CollectionClasses.AuditDataCoreCollection));
            _alwaysFetchAuditDataCore    = info.GetBoolean("_alwaysFetchAuditDataCore");
            _alreadyFetchedAuditDataCore = info.GetBoolean("_alreadyFetchedAuditDataCore");

            _roleAuditActions                   = (SD.HnD.DAL.CollectionClasses.RoleAuditActionCollection)info.GetValue("_roleAuditActions", typeof(SD.HnD.DAL.CollectionClasses.RoleAuditActionCollection));
            _alwaysFetchRoleAuditActions        = info.GetBoolean("_alwaysFetchRoleAuditActions");
            _alreadyFetchedRoleAuditActions     = info.GetBoolean("_alreadyFetchedRoleAuditActions");
            _rolesWithAuditAction               = (SD.HnD.DAL.CollectionClasses.RoleCollection)info.GetValue("_rolesWithAuditAction", typeof(SD.HnD.DAL.CollectionClasses.RoleCollection));
            _alwaysFetchRolesWithAuditAction    = info.GetBoolean("_alwaysFetchRolesWithAuditAction");
            _alreadyFetchedRolesWithAuditAction = info.GetBoolean("_alreadyFetchedRolesWithAuditAction");
            this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance(), PersistenceInfoProviderSingleton.GetInstance());
            // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
            // __LLBLGENPRO_USER_CODE_REGION_END
        }
示例#3
0
        /// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _forumRoleForumActionRights = new SD.HnD.DAL.CollectionClasses.ForumRoleForumActionRightCollection();
            _forumRoleForumActionRights.SetContainingEntityInfo(this, "Role");

            _roleAuditAction = new SD.HnD.DAL.CollectionClasses.RoleAuditActionCollection();
            _roleAuditAction.SetContainingEntityInfo(this, "Role");

            _roleSystemActionRights = new SD.HnD.DAL.CollectionClasses.RoleSystemActionRightCollection();
            _roleSystemActionRights.SetContainingEntityInfo(this, "Role");

            _roleUser = new SD.HnD.DAL.CollectionClasses.RoleUserCollection();
            _roleUser.SetContainingEntityInfo(this, "Role");

            _systemDataAnonymousRole = new SD.HnD.DAL.CollectionClasses.SystemDataCollection();
            _systemDataAnonymousRole.SetContainingEntityInfo(this, "RoleForAnonymous");

            _systemDataDefaultRoleNewUser = new SD.HnD.DAL.CollectionClasses.SystemDataCollection();
            _systemDataDefaultRoleNewUser.SetContainingEntityInfo(this, "RoleForNewUser");
            _assignedSystemActionRights = new SD.HnD.DAL.CollectionClasses.ActionRightCollection();
            _assignedAuditActions = new SD.HnD.DAL.CollectionClasses.AuditActionCollection();
            _users = new SD.HnD.DAL.CollectionClasses.UserCollection();
            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }
示例#4
0
        /// <summary>Private CTor for deserialization</summary>
        /// <param name="info"></param>
        /// <param name="context"></param>
        protected RoleEntityBase(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
            _forumRoleForumActionRights = (SD.HnD.DAL.CollectionClasses.ForumRoleForumActionRightCollection)info.GetValue("_forumRoleForumActionRights", typeof(SD.HnD.DAL.CollectionClasses.ForumRoleForumActionRightCollection));
            _alwaysFetchForumRoleForumActionRights = info.GetBoolean("_alwaysFetchForumRoleForumActionRights");
            _alreadyFetchedForumRoleForumActionRights = info.GetBoolean("_alreadyFetchedForumRoleForumActionRights");

            _roleAuditAction = (SD.HnD.DAL.CollectionClasses.RoleAuditActionCollection)info.GetValue("_roleAuditAction", typeof(SD.HnD.DAL.CollectionClasses.RoleAuditActionCollection));
            _alwaysFetchRoleAuditAction = info.GetBoolean("_alwaysFetchRoleAuditAction");
            _alreadyFetchedRoleAuditAction = info.GetBoolean("_alreadyFetchedRoleAuditAction");

            _roleSystemActionRights = (SD.HnD.DAL.CollectionClasses.RoleSystemActionRightCollection)info.GetValue("_roleSystemActionRights", typeof(SD.HnD.DAL.CollectionClasses.RoleSystemActionRightCollection));
            _alwaysFetchRoleSystemActionRights = info.GetBoolean("_alwaysFetchRoleSystemActionRights");
            _alreadyFetchedRoleSystemActionRights = info.GetBoolean("_alreadyFetchedRoleSystemActionRights");

            _roleUser = (SD.HnD.DAL.CollectionClasses.RoleUserCollection)info.GetValue("_roleUser", typeof(SD.HnD.DAL.CollectionClasses.RoleUserCollection));
            _alwaysFetchRoleUser = info.GetBoolean("_alwaysFetchRoleUser");
            _alreadyFetchedRoleUser = info.GetBoolean("_alreadyFetchedRoleUser");

            _systemDataAnonymousRole = (SD.HnD.DAL.CollectionClasses.SystemDataCollection)info.GetValue("_systemDataAnonymousRole", typeof(SD.HnD.DAL.CollectionClasses.SystemDataCollection));
            _alwaysFetchSystemDataAnonymousRole = info.GetBoolean("_alwaysFetchSystemDataAnonymousRole");
            _alreadyFetchedSystemDataAnonymousRole = info.GetBoolean("_alreadyFetchedSystemDataAnonymousRole");

            _systemDataDefaultRoleNewUser = (SD.HnD.DAL.CollectionClasses.SystemDataCollection)info.GetValue("_systemDataDefaultRoleNewUser", typeof(SD.HnD.DAL.CollectionClasses.SystemDataCollection));
            _alwaysFetchSystemDataDefaultRoleNewUser = info.GetBoolean("_alwaysFetchSystemDataDefaultRoleNewUser");
            _alreadyFetchedSystemDataDefaultRoleNewUser = info.GetBoolean("_alreadyFetchedSystemDataDefaultRoleNewUser");
            _assignedSystemActionRights = (SD.HnD.DAL.CollectionClasses.ActionRightCollection)info.GetValue("_assignedSystemActionRights", typeof(SD.HnD.DAL.CollectionClasses.ActionRightCollection));
            _alwaysFetchAssignedSystemActionRights = info.GetBoolean("_alwaysFetchAssignedSystemActionRights");
            _alreadyFetchedAssignedSystemActionRights = info.GetBoolean("_alreadyFetchedAssignedSystemActionRights");

            _assignedAuditActions = (SD.HnD.DAL.CollectionClasses.AuditActionCollection)info.GetValue("_assignedAuditActions", typeof(SD.HnD.DAL.CollectionClasses.AuditActionCollection));
            _alwaysFetchAssignedAuditActions = info.GetBoolean("_alwaysFetchAssignedAuditActions");
            _alreadyFetchedAssignedAuditActions = info.GetBoolean("_alreadyFetchedAssignedAuditActions");

            _users = (SD.HnD.DAL.CollectionClasses.UserCollection)info.GetValue("_users", typeof(SD.HnD.DAL.CollectionClasses.UserCollection));
            _alwaysFetchUsers = info.GetBoolean("_alwaysFetchUsers");
            _alreadyFetchedUsers = info.GetBoolean("_alreadyFetchedUsers");
            this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance(), PersistenceInfoProviderSingleton.GetInstance());
            // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
            // __LLBLGENPRO_USER_CODE_REGION_END
        }
示例#5
0
        /// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _auditDataCore = new SD.HnD.DAL.CollectionClasses.AuditDataCoreCollection();
            _auditDataCore.SetContainingEntityInfo(this, "AuditAction");

            _roleAuditActions = new SD.HnD.DAL.CollectionClasses.RoleAuditActionCollection();
            _roleAuditActions.SetContainingEntityInfo(this, "AuditAction");
            _rolesWithAuditAction = new SD.HnD.DAL.CollectionClasses.RoleCollection();
            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }
示例#6
0
        /// <summary>Private CTor for deserialization</summary>
        /// <param name="info"></param>
        /// <param name="context"></param>
        protected AuditActionEntityBase(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
            _auditDataCore = (SD.HnD.DAL.CollectionClasses.AuditDataCoreCollection)info.GetValue("_auditDataCore", typeof(SD.HnD.DAL.CollectionClasses.AuditDataCoreCollection));
            _alwaysFetchAuditDataCore = info.GetBoolean("_alwaysFetchAuditDataCore");
            _alreadyFetchedAuditDataCore = info.GetBoolean("_alreadyFetchedAuditDataCore");

            _roleAuditActions = (SD.HnD.DAL.CollectionClasses.RoleAuditActionCollection)info.GetValue("_roleAuditActions", typeof(SD.HnD.DAL.CollectionClasses.RoleAuditActionCollection));
            _alwaysFetchRoleAuditActions = info.GetBoolean("_alwaysFetchRoleAuditActions");
            _alreadyFetchedRoleAuditActions = info.GetBoolean("_alreadyFetchedRoleAuditActions");
            _rolesWithAuditAction = (SD.HnD.DAL.CollectionClasses.RoleCollection)info.GetValue("_rolesWithAuditAction", typeof(SD.HnD.DAL.CollectionClasses.RoleCollection));
            _alwaysFetchRolesWithAuditAction = info.GetBoolean("_alwaysFetchRolesWithAuditAction");
            _alreadyFetchedRolesWithAuditAction = info.GetBoolean("_alreadyFetchedRolesWithAuditAction");
            this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance(), PersistenceInfoProviderSingleton.GetInstance());
            // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
            // __LLBLGENPRO_USER_CODE_REGION_END
        }