/// <summary> Initializes the class members</summary> private void InitClassMembers() { _loggedAudits = new SD.HnD.DAL.CollectionClasses.AuditDataCoreCollection(); _loggedAudits.SetContainingEntityInfo(this, "UserAudited"); _bookmarks = new SD.HnD.DAL.CollectionClasses.BookmarkCollection(); _bookmarks.SetContainingEntityInfo(this, "User"); _iPBansSet = new SD.HnD.DAL.CollectionClasses.IPBanCollection(); _iPBansSet.SetContainingEntityInfo(this, "SetByUser"); _postedMessages = new SD.HnD.DAL.CollectionClasses.MessageCollection(); _postedMessages.SetContainingEntityInfo(this, "PostedByUser"); _roleUser = new SD.HnD.DAL.CollectionClasses.RoleUserCollection(); _roleUser.SetContainingEntityInfo(this, "User"); _supportQueueThreadsClaimed = new SD.HnD.DAL.CollectionClasses.SupportQueueThreadCollection(); _supportQueueThreadsClaimed.SetContainingEntityInfo(this, "ClaimedByUser"); _supportQueueThreadsPlaced = new SD.HnD.DAL.CollectionClasses.SupportQueueThreadCollection(); _supportQueueThreadsPlaced.SetContainingEntityInfo(this, "PlacedInQueueByUser"); _startedThreads = new SD.HnD.DAL.CollectionClasses.ThreadCollection(); _startedThreads.SetContainingEntityInfo(this, "UserWhoStartedThread"); _threadSubscription = new SD.HnD.DAL.CollectionClasses.ThreadSubscriptionCollection(); _threadSubscription.SetContainingEntityInfo(this, "User"); _startedThreadsInForums = new SD.HnD.DAL.CollectionClasses.ForumCollection(); _roles = new SD.HnD.DAL.CollectionClasses.RoleCollection(); _threadsInBookmarks = new SD.HnD.DAL.CollectionClasses.ThreadCollection(); _postedMessagesInThreads = new SD.HnD.DAL.CollectionClasses.ThreadCollection(); _threadCollectionViaThreadSubscription = new SD.HnD.DAL.CollectionClasses.ThreadCollection(); _userTitleReturnsNewIfNotFound = true; PerformDependencyInjection(); // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers // __LLBLGENPRO_USER_CODE_REGION_END OnInitClassMembersComplete(); }
/// <summary> Initializes the class members</summary> private void InitClassMembers() { _auditDataThreadRelated = new SD.HnD.DAL.CollectionClasses.AuditDataThreadRelatedCollection(); _auditDataThreadRelated.SetContainingEntityInfo(this, "Thread"); _presentInBookmarks = new SD.HnD.DAL.CollectionClasses.BookmarkCollection(); _presentInBookmarks.SetContainingEntityInfo(this, "Thread"); _messages = new SD.HnD.DAL.CollectionClasses.MessageCollection(); _messages.SetContainingEntityInfo(this, "Thread"); _threadSubscription = new SD.HnD.DAL.CollectionClasses.ThreadSubscriptionCollection(); _threadSubscription.SetContainingEntityInfo(this, "Thread"); _usersWhoBookmarkedThread = new SD.HnD.DAL.CollectionClasses.UserCollection(); _usersWhoPostedInThread = new SD.HnD.DAL.CollectionClasses.UserCollection(); _usersWhoSubscribedThread = new SD.HnD.DAL.CollectionClasses.UserCollection(); _forumReturnsNewIfNotFound = true; _userWhoStartedThreadReturnsNewIfNotFound = true; _supportQueueThreadReturnsNewIfNotFound = true; PerformDependencyInjection(); // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers // __LLBLGENPRO_USER_CODE_REGION_END OnInitClassMembersComplete(); }