Exemple #1
0
        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();
        }
Exemple #2
0
        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();
        }