/// <summary> /// Returns collection of entites given query condition. /// </summary> protected static async Task <IEnumerable <TEntity> > GetByAnyAsync <TEntity>(string columnName, QueryOp queryOp, object value) where TEntity : Entity, new() { return(await EntityMechanic <TEntity> .GetByAnyAsync(columnName, queryOp, value)); }
/// <summary> /// Returns collection of entites given query conditions. /// </summary> protected static async Task <IEnumerable <TEntity> > GetByAnyAsync <TEntity>(params QueryCondition[] queryConditions) where TEntity : Entity, new() { return(await EntityMechanic <TEntity> .GetByAnyAsync(queryConditions)); }