コード例 #1
0
 public StdCodeTableResolver(string tableName, IDbDataSource source)
     : base(new StdCodeTableScheme(tableName, false, true, false, null), source)
 {
     fCreator      = new SimpleIdCreator();
     AutoCreatekey = true;
     //FakeDelete = new FakeDeleteInfo("Del", "1");
 }
コード例 #2
0
 internal StdCodeTableResolver(string tableName, SimpleIdCreator creator, IDbDataSource source)
     : base(new StdCodeTableScheme(tableName, false, true, false, null), source)
 {
     //FakeDelete = new FakeDeleteInfo("Del", "1");
     fCreator = creator;
     if (fCreator == null)
     {
         AutoCreatekey = false;
         fCreator      = new SimpleIdCreator();
     }
     else
     {
         AutoCreatekey = true;
     }
 }