ParameterFieldRelation Constructor |
CTor
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntaxpublic ParameterFieldRelation(
IEntityFieldCore field,
DbParameter parameter,
TypeConverter typeConverterToUse,
bool parameterValueCanBeNull
)
Public Sub New (
field As IEntityFieldCore,
parameter As DbParameter,
typeConverterToUse As TypeConverter,
parameterValueCanBeNull As Boolean
)
Parameters
- field
- Type: SD.LLBLGen.Pro.ORMSupportClasses.IEntityFieldCore
The IEntityFieldCore in the relationship. - parameter
- Type: System.Data.Common.DbParameter
The Parameter in the relationship. - typeConverterToUse
- Type: System.ComponentModel.TypeConverter
The type converter to use, if applicable (can be null) - parameterValueCanBeNull
- Type: System.Boolean
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
See Also