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

LookupDefinition<(Of <(<'TLookupEntity, TEntity>)>)>..::..Include<(Of <(<'TRelatedEntity>)>)> Method

Includes the specified related property.

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

Syntax


public LookupJoinTableEntity<TLookupEntity, TEntity, TRelatedEntity> Include<TRelatedEntity>(
	Expression<Func<TEntity, TRelatedEntity>> relatedProperty
)
Public Function Include(Of TRelatedEntity) ( _
	relatedProperty As Expression(Of Func(Of TEntity, TRelatedEntity)) _
) As LookupJoinTableEntity(Of TLookupEntity, TEntity, TRelatedEntity)
public:
generic<typename TRelatedEntity>
LookupJoinTableEntity<TLookupEntity, TEntity, TRelatedEntity>^ Include(
	Expression<Func<TEntity, TRelatedEntity>^>^ relatedProperty
)

Type Parameters

TRelatedEntity
The type of the related entity.

Parameters

relatedProperty
Type: Expression<(Of <(<'Func<(Of <(<'TEntity, TRelatedEntity>)>)>>)>)>
The related property.

Return Value

LookupJoinTableEntity<TLookupEntity, TEntity, TRelatedEntity>.