/// <summary>Private CTor for deserialization</summary> /// <param name="info"></param> /// <param name="context"></param> protected AccountRestrictionEntity(SerializationInfo info, StreamingContext context) : base(info, context) { _userAccountRestrictions = (EPICCentralDL.CollectionClasses.UserAccountRestrictionCollection)info.GetValue("_userAccountRestrictions", typeof(EPICCentralDL.CollectionClasses.UserAccountRestrictionCollection)); _alwaysFetchUserAccountRestrictions = info.GetBoolean("_alwaysFetchUserAccountRestrictions"); _alreadyFetchedUserAccountRestrictions = info.GetBoolean("_alreadyFetchedUserAccountRestrictions"); this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance(), PersistenceInfoProviderSingleton.GetInstance()); // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor // __LLBLGENPRO_USER_CODE_REGION_END }
/// <summary> Initializes the class members</summary> private void InitClassMembers() { _userAccountRestrictions = new EPICCentralDL.CollectionClasses.UserAccountRestrictionCollection(); _userAccountRestrictions.SetContainingEntityInfo(this, "AccountRestriction"); PerformDependencyInjection(); // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers // __LLBLGENPRO_USER_CODE_REGION_END OnInitClassMembersComplete(); }