Share via


EdmxReader.Read(XmlReader, String) Method

Definition

Reads a metadata model from .edmx.

public static System.Data.Entity.Infrastructure.DbCompiledModel Read (System.Xml.XmlReader reader, string defaultSchema);
static member Read : System.Xml.XmlReader * string -> System.Data.Entity.Infrastructure.DbCompiledModel
Public Shared Function Read (reader As XmlReader, defaultSchema As String) As DbCompiledModel

Parameters

reader
XmlReader

XML reader for the .edmx

defaultSchema
String

Default database schema used by the model.

Returns

The loaded metadata model.

Applies to