NavigationPropertyBuilder(TEntity, TTarget).HasForeignKey(TValue) Method
NavigationPropertyBuilderTEntity, TTargetHasForeignKeyTValue Method Breeze.sharp
Used to define the foreign key property associated with this NavigationProperty.

Namespace: Breeze.Sharp
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax

public NavigationPropertyBuilder<TEntity, TTarget> HasForeignKey<TValue>(
	Expression<Func<TEntity, TValue>> propExpr
)

Parameters

propExpr
Type: System.Linq.ExpressionsExpressionFuncTEntity, TValue

Type Parameters

TValue

Return Value

Type: NavigationPropertyBuilderTEntity, TTarget
See Also

Reference