EdmxReader.Read(XmlReader, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從 .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
模型使用的預設資料庫架構。
傳回
載入的元資料模型。