Description of DatabaseFactory.
Inheritance: DatabaseFramework.DataBaseFactory
 public DB2DatabaseTransformer(DatabaseFactory factory,UTF_EA.Model model,NameTranslator nameTranslator)
     : base(factory,model,nameTranslator)
 {
     this._externalDatabase = factory.createDatabase("external");
 }
 public EADatabaseTransformer(DatabaseFactory factory, UTF_EA.Model model,NameTranslator nameTranslator)
     : base(nameTranslator)
 {
     this._factory = factory;
     this._model = model;
 }
 /// <summary>
 /// adds a factory to the list of possible database factories
 /// </summary>
 /// <param name="type">the type of the factory</param>
 /// <param name="datatypes">the base datatypes for this factory</param>
 public static DatabaseFactory getFactory(string type, Model model)
 {
     if (!modelFactories.ContainsKey(model))
     {
         var newFactories = new Dictionary<string, DatabaseFactory>();
         modelFactories.Add(model, newFactories);
     }
     var factories = modelFactories[model];
     if (!factories.ContainsKey(type))
     {
         DatabaseFactory factory = new DatabaseFactory(type, model);
         factories.Add(type, factory);
     }
     return factories[type];
 }
 public Database(string name,DatabaseFactory factory)
 {
     this._name = name;
     this.__factory = factory;
 }
 public Database(Package package,DatabaseFactory factory)
 {
     this._wrappedPackage = package;
     this.__factory = factory;
 }
 public Database(string name, DatabaseFactory factory)
 {
     this._name     = name;
     this.__factory = factory;
 }
 public Database(Package package, DatabaseFactory factory, bool compareOnly = false)
 {
     this._wrappedPackage = package;
     this.__factory       = factory;
     this.compareonly     = compareOnly;
 }