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

DbMaintenanceViewModel<(Of <(<'TEntity>)>)>..::..GetAutoFillValueForNullableForeignKeyField Method

Override this to get the auto fill value for a nullable foreign key field. Used by validation. If the returned value has text but not a valid PrimaryKeyValue then it will fail validation.

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

Syntax


protected virtual AutoFillValue GetAutoFillValueForNullableForeignKeyField(
	FieldDefinition fieldDefinition
)
Protected Overridable Function GetAutoFillValueForNullableForeignKeyField ( _
	fieldDefinition As FieldDefinition _
) As AutoFillValue
protected:
virtual AutoFillValue^ GetAutoFillValueForNullableForeignKeyField(
	FieldDefinition^ fieldDefinition
)

Parameters

fieldDefinition
Type: RingSoft.DbLookup.ModelDefinition.FieldDefinitions..::..FieldDefinition
The field definition.

Return Value

AutoFillValue.