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); }
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); }
RelationalDynamicTableObject(IDictionary <string, object> orgObj, RelationalTable <TExecuter, TSchema, TConnection> table) { this.obj = orgObj; _table = table; }
RelationalDynamicTableObject(IDictionary <string, object> orgObj, RelationalTable <TExecuter, TSchema, TConnection> table) { this.obj = orgObj.ToDictionary(k => k.Key, v => v.Value); _table = table; }
public RelationalTableQuery(RelationalTable <TExecuter, TSchema, TConnection> table) { _table = table; }