src/Shared/EntityFramework/Infrastructure/EdmxWriter.cs
/// <summary>
/// Writes the Entity Data Model represented by the given <see cref="DbModel" /> to the
/// given writer in EDMX form.
/// </summary>
/// <param name="model"> An object representing the EDM. </param>
/// <param name="writer"> The writer. </param>
Writes the Entity Data Model represented by the given  to the
given writer in EDMX form.
Writes the Entity Data Model represented by the given to the given writer in EDMX form .
public static void WriteEdmx(DbModel model, XmlWriter writer)
        {
            Check.NotNull(model, "model");
            Check.NotNull(writer, "writer");
            new EdmxSerializer().Serialize(model.DatabaseMapping, writer);
        }
public static void WriteEdmx ( DbModel model , XmlWriter writer ) { Check . NotNull ( model , " " ) ; Check . NotNull ( writer , " " ) ; new EdmxSerializer ( ) . Serialize ( model . DatabaseMapping , writer ) ; }
Writes the Entity Data Model represented by the given  to the
given writer in EDMX form.
Writes the Entity Data Model represented by the given to the given writer in EDMX form .
model
DbModel
An object representing the EDM.
An object representing the EDM .
writer
XmlWriter
None