Example #1
0
        private void HandleFunctionImport(XmlReader reader)
        {
            DebugCheck.NotNull(reader);
            var functionImport = new FunctionImportElement(this);

            functionImport.Parse(reader);
            Members.Add(functionImport, true, Strings.DuplicateEntityContainerMemberName);
        }
Example #2
0
        internal override SchemaElement Clone(SchemaElement parentElement)
        {
            var function = new FunctionImportElement((EntityContainer)parentElement);

            CloneSetFunctionFields(function);
            function._container            = _container;
            function._entitySet            = _entitySet;
            function._unresolvedEntitySet  = _unresolvedEntitySet;
            function._entitySetPathDefined = _entitySetPathDefined;
            return(function);
        }
Example #3
0
 private void HandleFunctionImport(XmlReader reader)
 {
     DebugCheck.NotNull(reader);
     var functionImport = new FunctionImportElement(this);
     functionImport.Parse(reader);
     Members.Add(functionImport, true, Strings.DuplicateEntityContainerMemberName);
 }
 internal override SchemaElement Clone(SchemaElement parentElement)
 {
     var function = new FunctionImportElement((EntityContainer)parentElement);
     CloneSetFunctionFields(function);
     function._container = _container;
     function._entitySet = _entitySet;
     function._unresolvedEntitySet = _unresolvedEntitySet;
     function._entitySetPathDefined = _entitySetPathDefined;
     return function;
 }