public void SaveMDDDL(string filename) { DdlWriter dw = new DdlWriter(filename); dw.WriteDocument(Document); dw.Close(); }