Esempio n. 1
0
        public static XDocument GetModel(this DbModel model)
        {
            DebugCheck.NotNull(model);

            return(DbContextExtensions.GetModel(w => EdmxWriter.WriteEdmx(model, w)));
        }
Esempio n. 2
0
 public static XDocument GetModel(this DbModel model)
 {
     return(DbContextExtensions.GetModel((Action <XmlWriter>)(w => EdmxWriter.WriteEdmx(model, w))));
 }