다음을 통해 공유


EdmItemCollection.Create 메서드

정의

를 만드는 팩터리 메서드입니다 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

매개 변수

xmlReaders
IEnumerable<XmlReader>

로드할 CSDL 아티팩트입니다. null이 아니어야 합니다.

filePaths
ReadOnlyCollection<String>

CSDL 아티팩트 경로입니다. 오류 메시지에 사용됩니다. null 이 경우 XmlReader의 기본 URI가 경로로 사용될 수 있습니다.

errors
IList<EdmSchemaError>

로드하는 동안 발생한 오류 컬렉션입니다.

반환

EdmItemCollection오류가 발생하지 않은 경우 instance. 그렇지 않은 경우에는 null입니다.

적용 대상