EdmItemCollection.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Factory method that creates an EdmItemCollection.
public static System.Data.Entity.Core.Metadata.Edm.EdmItemCollection Create (System.Collections.Generic.IEnumerable<System.Xml.XmlReader> xmlReaders, System.Collections.ObjectModel.ReadOnlyCollection<string> filePaths, out System.Collections.Generic.IList<System.Data.Entity.Core.Metadata.Edm.EdmSchemaError> errors);
static member Create : seq<System.Xml.XmlReader> * System.Collections.ObjectModel.ReadOnlyCollection<string> * -> System.Data.Entity.Core.Metadata.Edm.EdmItemCollection
Public Shared Function Create (xmlReaders As IEnumerable(Of XmlReader), filePaths As ReadOnlyCollection(Of String), ByRef errors As IList(Of EdmSchemaError)) As EdmItemCollection
Parameters
- xmlReaders
- IEnumerable<XmlReader>
CSDL artifacts to load. Must not be null
.
- filePaths
- ReadOnlyCollection<String>
Paths to CSDL artifacts. Used in error messages. Can be null
in which case
the base Uri of the XmlReader will be used as a path.
- errors
- IList<EdmSchemaError>
The collection of errors encountered while loading.
Returns
EdmItemCollection instance if no errors encountered. Otherwise null
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework