Click or drag to resize

IQueryAddParameterFieldRelation 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.7.0.0 (5.7.0)
Syntax
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
See Also