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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework