RingSoft.DbLookup Namespace
RingSoft.DbLookup.Controls.WPF.Properties Namespace
RingSoft.DbMaintenance Namespace

LookupContextBase..::..GetQueryableTable<(Of <(<'TEntity>)>)> Method

Gets the queryable table.

Namespace:  RingSoft.DbLookup
Assembly:  RingSoft.DbLookup (in RingSoft.DbLookup.dll)

Syntax


public IQueryable<TEntity> GetQueryableTable<TEntity>(
	TableDefinition<TEntity> tableDefinition,
	bool getRelatedEntities,
	IDbContext context
)
Public Function GetQueryableTable(Of TEntity) ( _
	tableDefinition As TableDefinition(Of TEntity), _
	getRelatedEntities As Boolean, _
	context As IDbContext _
) As IQueryable(Of TEntity)
public:
generic<typename TEntity>
IQueryable<TEntity>^ GetQueryableTable(
	TableDefinition<TEntity>^ tableDefinition, 
	bool^ getRelatedEntities, 
	IDbContext^ context
)

Type Parameters

TEntity
The type of the t entity.

Parameters

tableDefinition
Type: RingSoft.DbLookup.ModelDefinition..::..TableDefinition<(Of <(<'TEntity>)>)>
The table definition.
getRelatedEntities
Type: Boolean
if set to true [get related entities].
context
Type: RingSoft.DbLookup..::..IDbContext
The context.

Return Value

IQueryable<TEntity>.