AdsParameter Constructor ( string, DbType, string, DataRowVersion )

Advantage .NET Data Provider

  Previous topic Next topic  

Initializes a new instance of the AdsParameter class with the given name, type, source column, and source version.

 

public AdsParameter

(

string parameterName, // (I) param name

DbType dbType, // (I) param type

string srcColumn, // (I) dataset source column mapping

DataRowVersion srcVersion // (I) current or original

);

Example

AdsParameter param = new AdsParameter( "pk", DbType.String,

"pk", DataRowVersion.Original );