public static int Set(this IDBIO dbio, IDBQuery query) { QueryCompilation queryCompilation; queryCompilation = query.Compile(); return(prv_set(dbio, queryCompilation.Query, queryCompilation.Parameters)); }
private static IEnumerable <T> prv_get <T>(IDBIO dbio, IDBQuery query, Func <IDataRecord, T> buildDelegate) { QueryCompilation queryCompilation; queryCompilation = query.Compile(); return(prv_get <T>(dbio, queryCompilation.Query, queryCompilation.Parameters, buildDelegate)); }