예제 #1
0
 // Load a model from a project file
 public void LoadTables(string filename)
 {
     SqlTableDefs = deserializeFromXmlString(
         File.ReadAllText(filename),
         typeof(SqlTableDefCollection)) as SqlTableDefCollection;
     Dirty = false;
 }
예제 #2
0
 // Create new empty model
 public void NewTableDefs()
 {
     SqlTableDefs = new SqlTableDefCollection();
     SqlTableDefs.Add(new SqlTableDef());
     Dirty = false;
 }