private void WriteEdm() { var settings = new XmlWriterSettings(); settings.Indent = true; using (var ctx = new WebEntities()) { using (var writer = XmlWriter.Create(Server.MapPath(@"Model.edmx"), settings)) { EdmxWriter.WriteEdmx(ctx, writer); } } }
Немає коментарів:
Дописати коментар