public static ISQLiteSpecificTable <TSource> TableHint <TSource>(this ISQLiteSpecificTable <TSource> table, [SqlQueryDependent] string hint) where TSource : notnull { table.Expression = Expression.Call( null, MethodHelper.GetMethodInfo(TableHint, table, hint), table.Expression, Expression.Constant(hint)); return(table); }
public static ISQLiteSpecificTable <TSource> NotIndexedHint <TSource>(this ISQLiteSpecificTable <TSource> table) where TSource : notnull { return(table.TableHint(Hint.NotIndexed)); }
public static ISQLiteSpecificTable <TSource> IndexedByHint <TSource>(this ISQLiteSpecificTable <TSource> table, string indexName) where TSource : notnull { return(table.TableHint(Hint.IndexedBy(indexName))); }