/// <summary> Initializes the class members</summary> private void InitClassMembers() { _contacts = new EPICCentralDL.CollectionClasses.ContactCollection(); _contacts.SetContainingEntityInfo(this, "Organization"); _locations = new EPICCentralDL.CollectionClasses.LocationCollection(); _locations.SetContainingEntityInfo(this, "Organization"); _users = new EPICCentralDL.CollectionClasses.UserCollection(); _users.SetContainingEntityInfo(this, "Organization"); PerformDependencyInjection(); // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers // __LLBLGENPRO_USER_CODE_REGION_END OnInitClassMembersComplete(); }
/// <summary>Private CTor for deserialization</summary> /// <param name="info"></param> /// <param name="context"></param> protected OrganizationEntity(SerializationInfo info, StreamingContext context) : base(info, context) { _contacts = (EPICCentralDL.CollectionClasses.ContactCollection)info.GetValue("_contacts", typeof(EPICCentralDL.CollectionClasses.ContactCollection)); _alwaysFetchContacts = info.GetBoolean("_alwaysFetchContacts"); _alreadyFetchedContacts = info.GetBoolean("_alreadyFetchedContacts"); _locations = (EPICCentralDL.CollectionClasses.LocationCollection)info.GetValue("_locations", typeof(EPICCentralDL.CollectionClasses.LocationCollection)); _alwaysFetchLocations = info.GetBoolean("_alwaysFetchLocations"); _alreadyFetchedLocations = info.GetBoolean("_alreadyFetchedLocations"); _users = (EPICCentralDL.CollectionClasses.UserCollection)info.GetValue("_users", typeof(EPICCentralDL.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 }