public static DataGenerator From(IDatabase database, string sql, object parameters = null) { var query = new DatabaseQueryWithCache(database); var result = query.Query(sql, parameters); return(new DiscreteDataGenerator(result)); }
public static DataGenerator From(IDatabase database, string sql, object parameters = null) { var query = new DatabaseQueryWithCache(database); var result = query.Query(sql, parameters); return new DiscreteDataGenerator(result); }