コード例 #1
0
 public static IDynamicTableObject Create(IDictionary <string, object> item, RelationalTable <TExecuter, TSchema, TConnection> table)
 {
     if (item != null)
     {
         return(new RelationalDynamicTableObject <TExecuter, TSchema, TConnection>(item, table));
     }
     return(null);
 }
コード例 #2
0
        public static IDynamicTableObject[] CreateList(IDictionary <string, object>[] list, RelationalTable <TExecuter, TSchema, TConnection> table)
        {
            int len = list.Length;

            IDynamicTableObject[] result = new IDynamicTableObject[len];

            for (int i = 0; i < len; i++)
            {
                result[i] = Create(list[i], table);
            }
            return(result);
        }
コード例 #3
0
 RelationalDynamicTableObject(IDictionary <string, object> orgObj, RelationalTable <TExecuter, TSchema, TConnection> table)
 {
     this.obj = orgObj;
     _table   = table;
 }
コード例 #4
0
 RelationalDynamicTableObject(IDictionary <string, object> orgObj, RelationalTable <TExecuter, TSchema, TConnection> table)
 {
     this.obj = orgObj.ToDictionary(k => k.Key, v => v.Value);
     _table   = table;
 }
コード例 #5
0
 public RelationalTableQuery(RelationalTable <TExecuter, TSchema, TConnection> table)
 {
     _table = table;
 }