예제 #1
0
        /// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _package = new Auction.Entities.CollectionClasses.PackageCollection(new PackageEntityFactory());
            _package.SetContainingEntityInfo(this, "Bidder");
            _alwaysFetchPackage = false;
            _alreadyFetchedPackage = false;
            _auctionEventCollectionViaPackage = new Auction.Entities.CollectionClasses.AuctionEventCollection(new AuctionEventEntityFactory());
            _alwaysFetchAuctionEventCollectionViaPackage = false;
            _alreadyFetchedAuctionEventCollectionViaPackage = false;
            _categoryCollectionViaPackage = new Auction.Entities.CollectionClasses.CategoryCollection(new CategoryEntityFactory());
            _alwaysFetchCategoryCollectionViaPackage = false;
            _alreadyFetchedCategoryCollectionViaPackage = false;
            _userCollectionViaPackage__ = new Auction.Entities.CollectionClasses.UserCollection(new UserEntityFactory());
            _alwaysFetchUserCollectionViaPackage__ = false;
            _alreadyFetchedUserCollectionViaPackage__ = false;
            _userCollectionViaPackage_ = new Auction.Entities.CollectionClasses.UserCollection(new UserEntityFactory());
            _alwaysFetchUserCollectionViaPackage_ = false;
            _alreadyFetchedUserCollectionViaPackage_ = false;
            _userCollectionViaPackage = new Auction.Entities.CollectionClasses.UserCollection(new UserEntityFactory());
            _alwaysFetchUserCollectionViaPackage = false;
            _alreadyFetchedUserCollectionViaPackage = false;
            _auctionEvent = null;
            _auctionEventReturnsNewIfNotFound = true;
            _alwaysFetchAuctionEvent = false;
            _alreadyFetchedAuctionEvent = false;
            _user_ = null;
            _user_ReturnsNewIfNotFound = true;
            _alwaysFetchUser_ = false;
            _alreadyFetchedUser_ = false;
            _user = null;
            _userReturnsNewIfNotFound = true;
            _alwaysFetchUser = false;
            _alreadyFetchedUser = false;

            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END

            OnInitClassMembersComplete();
        }
예제 #2
0
        /// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _auctionEvent_ = new Auction.Entities.CollectionClasses.AuctionEventCollection(new AuctionEventEntityFactory());
            _auctionEvent_.SetContainingEntityInfo(this, "User_");
            _alwaysFetchAuctionEvent_ = false;
            _alreadyFetchedAuctionEvent_ = false;
            _auctionEvent = new Auction.Entities.CollectionClasses.AuctionEventCollection(new AuctionEventEntityFactory());
            _auctionEvent.SetContainingEntityInfo(this, "User");
            _alwaysFetchAuctionEvent = false;
            _alreadyFetchedAuctionEvent = false;
            _bidder = new Auction.Entities.CollectionClasses.BidderCollection(new BidderEntityFactory());
            _bidder.SetContainingEntityInfo(this, "User");
            _alwaysFetchBidder = false;
            _alreadyFetchedBidder = false;
            _bidder_ = new Auction.Entities.CollectionClasses.BidderCollection(new BidderEntityFactory());
            _bidder_.SetContainingEntityInfo(this, "User_");
            _alwaysFetchBidder_ = false;
            _alreadyFetchedBidder_ = false;
            _donation = new Auction.Entities.CollectionClasses.DonationCollection(new DonationEntityFactory());
            _donation.SetContainingEntityInfo(this, "User");
            _alwaysFetchDonation = false;
            _alreadyFetchedDonation = false;
            _donation_ = new Auction.Entities.CollectionClasses.DonationCollection(new DonationEntityFactory());
            _donation_.SetContainingEntityInfo(this, "User_");
            _alwaysFetchDonation_ = false;
            _alreadyFetchedDonation_ = false;
            _donor_ = new Auction.Entities.CollectionClasses.DonorCollection(new DonorEntityFactory());
            _donor_.SetContainingEntityInfo(this, "User_");
            _alwaysFetchDonor_ = false;
            _alreadyFetchedDonor_ = false;
            _donor = new Auction.Entities.CollectionClasses.DonorCollection(new DonorEntityFactory());
            _donor.SetContainingEntityInfo(this, "User");
            _alwaysFetchDonor = false;
            _alreadyFetchedDonor = false;
            _expense = new Auction.Entities.CollectionClasses.ExpenseCollection(new ExpenseEntityFactory());
            _expense.SetContainingEntityInfo(this, "User");
            _alwaysFetchExpense = false;
            _alreadyFetchedExpense = false;
            _expense_ = new Auction.Entities.CollectionClasses.ExpenseCollection(new ExpenseEntityFactory());
            _expense_.SetContainingEntityInfo(this, "User_");
            _alwaysFetchExpense_ = false;
            _alreadyFetchedExpense_ = false;
            _package__ = new Auction.Entities.CollectionClasses.PackageCollection(new PackageEntityFactory());
            _package__.SetContainingEntityInfo(this, "User__");
            _alwaysFetchPackage__ = false;
            _alreadyFetchedPackage__ = false;
            _package_ = new Auction.Entities.CollectionClasses.PackageCollection(new PackageEntityFactory());
            _package_.SetContainingEntityInfo(this, "User_");
            _alwaysFetchPackage_ = false;
            _alreadyFetchedPackage_ = false;
            _package = new Auction.Entities.CollectionClasses.PackageCollection(new PackageEntityFactory());
            _package.SetContainingEntityInfo(this, "User");
            _alwaysFetchPackage = false;
            _alreadyFetchedPackage = false;
            _raffle = new Auction.Entities.CollectionClasses.RaffleCollection(new RaffleEntityFactory());
            _raffle.SetContainingEntityInfo(this, "User");
            _alwaysFetchRaffle = false;
            _alreadyFetchedRaffle = false;
            _raffle_ = new Auction.Entities.CollectionClasses.RaffleCollection(new RaffleEntityFactory());
            _raffle_.SetContainingEntityInfo(this, "User_");
            _alwaysFetchRaffle_ = false;
            _alreadyFetchedRaffle_ = false;
            _user_ = new Auction.Entities.CollectionClasses.UserCollection(new UserEntityFactory());
            _user_.SetContainingEntityInfo(this, "User");
            _alwaysFetchUser_ = false;
            _alreadyFetchedUser_ = false;
            _user___ = new Auction.Entities.CollectionClasses.UserCollection(new UserEntityFactory());
            _user___.SetContainingEntityInfo(this, "User__");
            _alwaysFetchUser___ = false;
            _alreadyFetchedUser___ = false;
            _accountCollectionViaAuctionEvent_ = new Auction.Entities.CollectionClasses.AccountCollection(new AccountEntityFactory());
            _alwaysFetchAccountCollectionViaAuctionEvent_ = false;
            _alreadyFetchedAccountCollectionViaAuctionEvent_ = false;
            _accountCollectionViaAuctionEvent = new Auction.Entities.CollectionClasses.AccountCollection(new AccountEntityFactory());
            _alwaysFetchAccountCollectionViaAuctionEvent = false;
            _alreadyFetchedAccountCollectionViaAuctionEvent = false;
            _accountCollectionViaUser_ = new Auction.Entities.CollectionClasses.AccountCollection(new AccountEntityFactory());
            _alwaysFetchAccountCollectionViaUser_ = false;
            _alreadyFetchedAccountCollectionViaUser_ = false;
            _accountCollectionViaUser = new Auction.Entities.CollectionClasses.AccountCollection(new AccountEntityFactory());
            _alwaysFetchAccountCollectionViaUser = false;
            _alreadyFetchedAccountCollectionViaUser = false;
            _accountCollectionViaDonor_ = new Auction.Entities.CollectionClasses.AccountCollection(new AccountEntityFactory());
            _alwaysFetchAccountCollectionViaDonor_ = false;
            _alreadyFetchedAccountCollectionViaDonor_ = false;
            _accountCollectionViaDonor = new Auction.Entities.CollectionClasses.AccountCollection(new AccountEntityFactory());
            _alwaysFetchAccountCollectionViaDonor = false;
            _alreadyFetchedAccountCollectionViaDonor = false;
            _auctionEventCollectionViaExpense_ = new Auction.Entities.CollectionClasses.AuctionEventCollection(new AuctionEventEntityFactory());
            _alwaysFetchAuctionEventCollectionViaExpense_ = false;
            _alreadyFetchedAuctionEventCollectionViaExpense_ = false;
            _auctionEventCollectionViaDonation_ = new Auction.Entities.CollectionClasses.AuctionEventCollection(new AuctionEventEntityFactory());
            _alwaysFetchAuctionEventCollectionViaDonation_ = false;
            _alreadyFetchedAuctionEventCollectionViaDonation_ = false;
            _auctionEventCollectionViaDonation = new Auction.Entities.CollectionClasses.AuctionEventCollection(new AuctionEventEntityFactory());
            _alwaysFetchAuctionEventCollectionViaDonation = false;
            _alreadyFetchedAuctionEventCollectionViaDonation = false;
            _auctionEventCollectionViaBidder = new Auction.Entities.CollectionClasses.AuctionEventCollection(new AuctionEventEntityFactory());
            _alwaysFetchAuctionEventCollectionViaBidder = false;
            _alreadyFetchedAuctionEventCollectionViaBidder = false;
            _auctionEventCollectionViaBidder_ = new Auction.Entities.CollectionClasses.AuctionEventCollection(new AuctionEventEntityFactory());
            _alwaysFetchAuctionEventCollectionViaBidder_ = false;
            _alreadyFetchedAuctionEventCollectionViaBidder_ = false;
            _auctionEventCollectionViaRaffle_ = new Auction.Entities.CollectionClasses.AuctionEventCollection(new AuctionEventEntityFactory());
            _alwaysFetchAuctionEventCollectionViaRaffle_ = false;
            _alreadyFetchedAuctionEventCollectionViaRaffle_ = false;
            _auctionEventCollectionViaExpense = new Auction.Entities.CollectionClasses.AuctionEventCollection(new AuctionEventEntityFactory());
            _alwaysFetchAuctionEventCollectionViaExpense = false;
            _alreadyFetchedAuctionEventCollectionViaExpense = false;
            _auctionEventCollectionViaRaffle = new Auction.Entities.CollectionClasses.AuctionEventCollection(new AuctionEventEntityFactory());
            _alwaysFetchAuctionEventCollectionViaRaffle = false;
            _alreadyFetchedAuctionEventCollectionViaRaffle = false;
            _auctionEventCollectionViaPackage__ = new Auction.Entities.CollectionClasses.AuctionEventCollection(new AuctionEventEntityFactory());
            _alwaysFetchAuctionEventCollectionViaPackage__ = false;
            _alreadyFetchedAuctionEventCollectionViaPackage__ = false;
            _auctionEventCollectionViaPackage_ = new Auction.Entities.CollectionClasses.AuctionEventCollection(new AuctionEventEntityFactory());
            _alwaysFetchAuctionEventCollectionViaPackage_ = false;
            _alreadyFetchedAuctionEventCollectionViaPackage_ = false;
            _auctionEventCollectionViaPackage = new Auction.Entities.CollectionClasses.AuctionEventCollection(new AuctionEventEntityFactory());
            _alwaysFetchAuctionEventCollectionViaPackage = false;
            _alreadyFetchedAuctionEventCollectionViaPackage = false;
            _bidderCollectionViaPackage = new Auction.Entities.CollectionClasses.BidderCollection(new BidderEntityFactory());
            _alwaysFetchBidderCollectionViaPackage = false;
            _alreadyFetchedBidderCollectionViaPackage = false;
            _bidderCollectionViaPackage__ = new Auction.Entities.CollectionClasses.BidderCollection(new BidderEntityFactory());
            _alwaysFetchBidderCollectionViaPackage__ = false;
            _alreadyFetchedBidderCollectionViaPackage__ = false;
            _bidderCollectionViaPackage_ = new Auction.Entities.CollectionClasses.BidderCollection(new BidderEntityFactory());
            _alwaysFetchBidderCollectionViaPackage_ = false;
            _alreadyFetchedBidderCollectionViaPackage_ = false;
            _categoryCollectionViaPackage = new Auction.Entities.CollectionClasses.CategoryCollection(new CategoryEntityFactory());
            _alwaysFetchCategoryCollectionViaPackage = false;
            _alreadyFetchedCategoryCollectionViaPackage = false;
            _categoryCollectionViaPackage_ = new Auction.Entities.CollectionClasses.CategoryCollection(new CategoryEntityFactory());
            _alwaysFetchCategoryCollectionViaPackage_ = false;
            _alreadyFetchedCategoryCollectionViaPackage_ = false;
            _categoryCollectionViaPackage__ = new Auction.Entities.CollectionClasses.CategoryCollection(new CategoryEntityFactory());
            _alwaysFetchCategoryCollectionViaPackage__ = false;
            _alreadyFetchedCategoryCollectionViaPackage__ = false;
            _donorCollectionViaDonation_ = new Auction.Entities.CollectionClasses.DonorCollection(new DonorEntityFactory());
            _alwaysFetchDonorCollectionViaDonation_ = false;
            _alreadyFetchedDonorCollectionViaDonation_ = false;
            _donorCollectionViaDonation = new Auction.Entities.CollectionClasses.DonorCollection(new DonorEntityFactory());
            _alwaysFetchDonorCollectionViaDonation = false;
            _alreadyFetchedDonorCollectionViaDonation = false;
            _packageCollectionViaDonation_ = new Auction.Entities.CollectionClasses.PackageCollection(new PackageEntityFactory());
            _alwaysFetchPackageCollectionViaDonation_ = false;
            _alreadyFetchedPackageCollectionViaDonation_ = false;
            _packageCollectionViaDonation = new Auction.Entities.CollectionClasses.PackageCollection(new PackageEntityFactory());
            _alwaysFetchPackageCollectionViaDonation = false;
            _alreadyFetchedPackageCollectionViaDonation = false;
            _roleCollectionViaUser = new Auction.Entities.CollectionClasses.RoleCollection(new RoleEntityFactory());
            _alwaysFetchRoleCollectionViaUser = false;
            _alreadyFetchedRoleCollectionViaUser = false;
            _roleCollectionViaUser_ = new Auction.Entities.CollectionClasses.RoleCollection(new RoleEntityFactory());
            _alwaysFetchRoleCollectionViaUser_ = false;
            _alreadyFetchedRoleCollectionViaUser_ = false;
            _account = null;
            _accountReturnsNewIfNotFound = true;
            _alwaysFetchAccount = false;
            _alreadyFetchedAccount = false;
            _role = null;
            _roleReturnsNewIfNotFound = true;
            _alwaysFetchRole = false;
            _alreadyFetchedRole = false;
            _user = null;
            _userReturnsNewIfNotFound = true;
            _alwaysFetchUser = false;
            _alreadyFetchedUser = false;
            _user__ = null;
            _user__ReturnsNewIfNotFound = true;
            _alwaysFetchUser__ = false;
            _alreadyFetchedUser__ = false;

            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END

            OnInitClassMembersComplete();
        }