iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1
IDbProvider.UseParameterPrefixInParameter Property
Does this ConnectionProvider require the use of the Named Prefix when trying to reference the Parameter in the Command's Parameter collection.
[Visual Basic]
<XmlAttribute(Type:=null, AttributeName:="useParameterPrefixInParameter", Namespace:="null", Form:=XmlSchemaForm.None, TypeId:=System.Xml.Serialization.XmlAttributeAttribute)>
Property UseParameterPrefixInParameter As
[C#]
[XmlAttribute(Type=null, AttributeName="useParameterPrefixInParameter", Namespace="null", Form=XmlSchemaForm.None, TypeId=System.Xml.Serialization.XmlAttributeAttribute)]
Boolean UseParameterPrefixInParameter {get; set;}
Remarks
This is really only useful when the UseParameterPrefixInSql = true. When this is true the code will look like IDbParameter param = cmd.Parameters["@paramName"], if this is false the code will be IDbParameter param = cmd.Parameters["paramName"] - ie - Oracle.
See Also
IDbProvider Interface | IBatisNet.Common Namespace