Exemplo n.º 1
0
 /// <summary>Private CTor for deserialization</summary>
 /// <param name="info"></param>
 /// <param name="context"></param>
 protected RoleEntity(SerializationInfo info, StreamingContext context) : base(info, context)
 {
     _userRoles               = (EPICCentralDL.CollectionClasses.UserRoleCollection)info.GetValue("_userRoles", typeof(EPICCentralDL.CollectionClasses.UserRoleCollection));
     _alwaysFetchUserRoles    = info.GetBoolean("_alwaysFetchUserRoles");
     _alreadyFetchedUserRoles = info.GetBoolean("_alreadyFetchedUserRoles");
     this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance(), PersistenceInfoProviderSingleton.GetInstance());
     // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
     // __LLBLGENPRO_USER_CODE_REGION_END
 }
Exemplo n.º 2
0
        /// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _userRoles = new EPICCentralDL.CollectionClasses.UserRoleCollection();
            _userRoles.SetContainingEntityInfo(this, "Role");
            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }