IDbSpecificCreatorCreateParameter Method (IEntityFieldCore, IFieldPersistenceInfo, ParameterDirection) |
Creates a valid Parameter based on the passed in IEntityFieldCore implementation and the passed in IFieldPersistenceInfo instance
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.12.0.0 (5.12.0)
SyntaxDbParameter CreateParameter(
IEntityFieldCore field,
IFieldPersistenceInfo persistenceInfo,
ParameterDirection direction
)
Function CreateParameter (
field As IEntityFieldCore,
persistenceInfo As IFieldPersistenceInfo,
direction As ParameterDirection
) As DbParameter
Parameters
- field
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFieldCore
IEntityFieldCore instance used to base the parameter on. - persistenceInfo
- Type: SD.LLBLGen.Pro.ORMSupportClassesIFieldPersistenceInfo
Persistence information to create the parameter. - direction
- Type: System.DataParameterDirection
The direction for the parameter
Return Value
Type:
DbParameterValid parameter for usage with the target database.
See Also