예제 #1
0
        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);
        }
예제 #2
0
 public static ISQLiteSpecificTable <TSource> NotIndexedHint <TSource>(this ISQLiteSpecificTable <TSource> table)
     where TSource : notnull
 {
     return(table.TableHint(Hint.NotIndexed));
 }
예제 #3
0
 public static ISQLiteSpecificTable <TSource> IndexedByHint <TSource>(this ISQLiteSpecificTable <TSource> table, string indexName)
     where TSource : notnull
 {
     return(table.TableHint(Hint.IndexedBy(indexName)));
 }