Example #1
0
 private HumDB(string typeName)
 {
     object[] args = new object[] { "server=(local);uid=sa;pwd=7956214;database=LegendMir2;" };
     dbClient = (IDataBaseClient)Assembly.Load("GameFramework").CreateInstance(typeName, true, BindingFlags.CreateInstance, null, args, null, null);
 }