Click or drag to resize
OracleSpecificCreatorCreateLikeParameter Method
Creates a valid Parameter for the pattern in a LIKE statement. This is a special case, because it shouldn't rely on the type of the field the LIKE statement is used with but should be the unicode varchar type.

Namespace: SD.LLBLGen.Pro.DQE.Oracle
Assemblies:  SD.LLBLGen.Pro.DQE.OracleMS (in SD.LLBLGen.Pro.DQE.OracleMS.dll) Version: 5.0.0.0 (5.0.0)
  SD.LLBLGen.Pro.DQE.OracleODPNet (in SD.LLBLGen.Pro.DQE.OracleODPNet.dll) Version: 5.0.0.0 (5.0.0)
Syntax
public override DbParameter CreateLikeParameter(
	string pattern,
	string targetFieldDbType
)

Parameters

pattern
Type: SystemString
The pattern to be passed as the value for the parameter. Is used to determine length of the parameter.
targetFieldDbType
Type: SystemString
Type of the target field db, in provider specific enum string format (e.g. "Int" for SqlDbType.Int)

Return Value

Type: DbParameter
Valid parameter for usage with the target database.

Implements

IDbSpecificCreatorCreateLikeParameter(String, String)
See Also