Click or drag to resize

BatchActionQueryAddParameterFieldRelation Method (IEntityFieldCore, DbParameter, TypeConverter, Boolean)

Adds a new IParameterFieldRelation to the collection of ParameterFieldRelations. An output parameter can be stored once in the collection.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
public IParameterFieldRelation AddParameterFieldRelation(
	IEntityFieldCore field,
	DbParameter parameter,
	TypeConverter typeConverterToUse,
	bool parameterValueCanBeNull
)

Parameters

field
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFieldCore
The IEntityFieldCore in the relationship.
parameter
Type: System.Data.CommonDbParameter
The Parameter in the relationship.
typeConverterToUse
Type: System.ComponentModelTypeConverter
The type converter to use, if applicable (can be null)
parameterValueCanBeNull
Type: SystemBoolean
if set to true it's allowed that the parameter value to sync with the field can be null. If false and the parameter value is null, an ORMBadSequenceException will be thrown

Return Value

Type: IParameterFieldRelation
The ParameterFieldRelation added

Implements

IQueryAddParameterFieldRelation(IEntityFieldCore, DbParameter, TypeConverter, Boolean)
See Also