共用方式為


EdmxReader.Read(XmlReader, String) 方法

定義

從 .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

參數

reader
XmlReader

.edmx 的 XML 讀取器

defaultSchema
String

模型使用的預設資料庫架構。

傳回

載入的元資料模型。

適用於