BatchActionQueryAddParameterFieldRelation Method (IEntityFieldCore, DbParameter, TypeConverter, Boolean) |
Namespace: SD.LLBLGen.Pro.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax public IParameterFieldRelation AddParameterFieldRelation(
IEntityFieldCore field,
DbParameter parameter,
TypeConverter typeConverterToUse,
bool parameterValueCanBeNull
)
Public 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
Implements
IQueryAddParameterFieldRelation(IEntityFieldCore, DbParameter, TypeConverter, Boolean)See Also