コード例 #1
0
ファイル: QueryView.cs プロジェクト: rvegajr/entityframework
        protected override void PreParse()
        {
            Debug.Assert(State != EFElementState.Parsed, "this object should not already be in the parsed state");

            ClearEFObject(_entityTypes);
            _entityTypes = null;

            base.PreParse();
        }
コード例 #2
0
ファイル: EntityTypeMapping.cs プロジェクト: dotnet/ef6tools
        protected override void PreParse()
        {
            Debug.Assert(State != EFElementState.Parsed, "this object should not already be in the parsed state");

            ClearEFObject(_entityTypes);
            _entityTypes = null;

            // once we have children that we can parse, set this to Derive and figure out the kind dynamically
            _kind = EntityTypeMappingKind.Derive;

            ClearEFObjectCollection(_fragments);

            ClearEFObject(_modificationFunctionMapping);
            _modificationFunctionMapping = null;

            base.PreParse();
        }