Table of Contents

Class AccessHints

Namespace
LinqToDB.DataProvider.Access
Assembly
linq2db.dll
public static class AccessHints
Inheritance
AccessHints

Methods

SubQueryHint<TSource>(IAccessSpecificQueryable<TSource>, string)

Adds a query hint to a generated query.

[Sql.QueryExtension("Access", Sql.QueryExtensionScope.SubQueryHint, typeof(HintExtensionBuilder))]
[Sql.QueryExtension(null, Sql.QueryExtensionScope.None, typeof(NoneExtensionBuilder))]
public static IAccessSpecificQueryable<TSource> SubQueryHint<TSource>(this IAccessSpecificQueryable<TSource> source, string hint) where TSource : notnull

Parameters

source IAccessSpecificQueryable<TSource>

Query source.

hint string

SQL text, added as a database specific hint to generated query.

Returns

IAccessSpecificQueryable<TSource>

Query source with join hints.

Type Parameters

TSource

Table record mapping class.

WithOwnerAccessOption<TSource>(IAccessSpecificQueryable<TSource>)

[ExpressionMethod("WithOwnerAccessOptionImpl")]
public static IAccessSpecificQueryable<TSource> WithOwnerAccessOption<TSource>(this IAccessSpecificQueryable<TSource> query) where TSource : notnull

Parameters

query IAccessSpecificQueryable<TSource>

Returns

IAccessSpecificQueryable<TSource>

Type Parameters

TSource