Sets fields in a child entity to represent the specified foreign key value.
This method need not be implemented when AssociationResolverAttribute
is being applied to an EntityCollection.
Namespace:
Mindscape.LightSpeedAssembly: Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
C# |
---|
void SetForeignKey( Entity childEntity, Object parentId ) |
Visual Basic (Declaration) |
---|
Sub SetForeignKey ( _ childEntity As Entity, _ parentId As Object _ ) |
Parameters
- childEntity
- Type: Mindscape.LightSpeed..::.Entity
The entity whose foreign key is to be set.
- parentId
- Type: System..::.Object
The value to which the foreign key is to be set.