QuickObjects.ObjectBase Send comments on this topic.
SetSqlParamType Method
See Also 
Akal.QuickObjects.ObjectBase Namespace > XmlDocumentField Class : SetSqlParamType Method
param

SetSqlParamType

If the BusinessObject's DBType is set to Sql Server 2000 or Oracle 8i the DbType property of the of the parameter is set with DbType.String otherwise sets the DbType property of the database parameter with value of DatabaseStorageType. Such a check is necessary since Xml datatype for table column was introduced in SQL Server 2005 and Oracle 9i. The previous versions the developers can only store such value in varchar/text or clob type columns depending on the type of database selected.

Parameters:
Description
param

Syntax

C# 
public override void SetSqlParamType( 
   IDataParameter param
)

Parameters

param

Requirements

Target Platforms: .NET Framework 1.1 or .NET Framework 2.0

See Also