public void ChangedProps() { Cursor last = Cursor.Current; Cursor.Current = Cursors.WaitCursor; foreach (var ver in Versions) { DatabaseStructure dbs = DatabaseStructure.Load(ver.GetFile()); dbs.SetProps(m_props); dbs.Save(ver.GetFile()); } Cursor.Current = last; }
public override bool CreateFile(string fn) { DbDefProperties props = new DbDefProperties(); props.Dialect = new GenericDialect(); if (EditPropertiesForm.Run(props, true)) { DatabaseStructure dbs = new DatabaseStructure(); dbs.SetProps(props); dbs.Save(fn); return(true); } return(false); }