EdmxReader.Read(XmlReader, String) 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.
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.