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, TTargetSee Also