TdsQueryRoot Class

Represents a named query root exposed to SQL text queries.

public sealed class TdsQueryRoot

Constructors

NameDescription
TdsQueryRoot(string, Func<TdsQueryContext, IQueryable>)Initializes a new instance of the TdsQueryRoot class.

TdsQueryRoot(string, Func<TdsQueryContext, IQueryable>)

TdsQueryRoot.cs

Initializes a new instance of the TdsQueryRoot class.

public TdsQueryRoot(string name, Func<TdsQueryContext, IQueryable> queryFactory)

Parameters

name string
queryFactory Func<TdsQueryContext, IQueryable>

Properties

NameDescription
NameGets the SQL table name.

Gets the SQL table name.

public string Name { get; }

Property value

string