IQueryAddParameterFieldRelation Method (IEntityFieldCore, DbParameter, TypeConverter, Boolean) |
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax IParameterFieldRelation AddParameterFieldRelation(
IEntityFieldCore field,
DbParameter parameter,
TypeConverter typeConverterToUse,
bool parameterValueCanBeNull
)
Function AddParameterFieldRelation (
field As IEntityFieldCore,
parameter As DbParameter,
typeConverterToUse As TypeConverter,
parameterValueCanBeNull As Boolean
) As IParameterFieldRelation
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