Exemplo n.º 1
0
 public static FeintORM GetInstance(List<Assembly> assemblies, DBSetting settings,bool debug)
 {
     if (instance == null)
         instance = new FeintORM(assemblies, settings);
     Debug = debug;
     return instance;
 }
Exemplo n.º 2
0
 protected FeintORM(List<Assembly> assemblies, DBSetting settings)
 {
     this.assemblies = assemblies;
     this.Helper = settings.Helper;
     this.settings = settings;
     Helper.Connect(settings.Name, settings.User, settings.Password, settings.Host, settings.Port);
     Prefix = "feint_";
     settings.Helper.Clone();
 }