예제 #1
0
        /// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _policy = new policyDB.CollectionClasses.PolicyCollection(new PolicyEntityFactory());
            _policy.SetContainingEntityInfo(this, "Library");
            _alwaysFetchPolicy = false;
            _alreadyFetchedPolicy = false;
            _policyDocument = new policyDB.CollectionClasses.PolicyDocumentCollection(new PolicyDocumentEntityFactory());
            _policyDocument.SetContainingEntityInfo(this, "Library");
            _alwaysFetchPolicyDocument = false;
            _alreadyFetchedPolicyDocument = false;
            _query = new policyDB.CollectionClasses.QueryCollection(new QueryEntityFactory());
            _query.SetContainingEntityInfo(this, "Library");
            _alwaysFetchQuery = false;
            _alreadyFetchedQuery = false;
            _combineModeCollectionViaPolicy = new policyDB.CollectionClasses.CombineModeCollection(new CombineModeEntityFactory());
            _alwaysFetchCombineModeCollectionViaPolicy = false;
            _alreadyFetchedCombineModeCollectionViaPolicy = false;
            _policyLinkCollectionViaPolicyDocument = new policyDB.CollectionClasses.PolicyLinkCollection(new PolicyLinkEntityFactory());
            _alwaysFetchPolicyLinkCollectionViaPolicyDocument = false;
            _alreadyFetchedPolicyLinkCollectionViaPolicyDocument = false;
            _targetCollectionViaPolicy = new policyDB.CollectionClasses.TargetCollection(new TargetEntityFactory());
            _alwaysFetchTargetCollectionViaPolicy = false;
            _alreadyFetchedTargetCollectionViaPolicy = false;

            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }
        /// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _policyDocument = new policyDB.CollectionClasses.PolicyDocumentCollection(new PolicyDocumentEntityFactory());
            _policyDocument.SetContainingEntityInfo(this, "PolicyLink");
            _alwaysFetchPolicyDocument = false;
            _alreadyFetchedPolicyDocument = false;
            _children = new policyDB.CollectionClasses.PolicyLinkCollection(new PolicyLinkEntityFactory());
            _children.SetContainingEntityInfo(this, "Parent");
            _alwaysFetchChildren = false;
            _alreadyFetchedChildren = false;
            _libraryCollectionViaPolicyDocument = new policyDB.CollectionClasses.LibraryCollection(new LibraryEntityFactory());
            _alwaysFetchLibraryCollectionViaPolicyDocument = false;
            _alreadyFetchedLibraryCollectionViaPolicyDocument = false;
            _policyCollectionViaPolicyLink = new policyDB.CollectionClasses.PolicyCollection(new PolicyEntityFactory());
            _alwaysFetchPolicyCollectionViaPolicyLink = false;
            _alreadyFetchedPolicyCollectionViaPolicyLink = false;
            _policy = null;
            _policyReturnsNewIfNotFound = true;
            _alwaysFetchPolicy = false;
            _alreadyFetchedPolicy = false;
            _parent = null;
            _parentReturnsNewIfNotFound = true;
            _alwaysFetchParent = false;
            _alreadyFetchedParent = false;

            PerformDependencyInjection();

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