Home All Groups Group Topic Archive Search About

AddOutParamter Method, Enterprise Library

Author
14 Dec 2006 6:46 AM
Sugandh Jain
//

// Summary:

// Adds a new Out System.Data.Common.DbParameter object to the given
command.

//

// Parameters:

// command:

// The command to add the out parameter.

//

// name:

// The name of the parameter.

//

// dbType:

// One of the System.Data.DbType values.

//

// size:

// The maximum size of the data within the column.

public void AddOutParameter(DbCommand command, string name, DbType dbType,
int size)

{

}



Hi guys,

What do we mean by the "size" of the out parameter here, when its dbtype is
int.

The signature is of enterprise library, dataAccess block,

I am confused between 2 things, is it size of integer as in max. number of
digits, or the maxsize as in memory it will take, i.e. in bytes ?

If some one knows clearly please tell.



Regards,

Sugandh

AddThis Social Bookmark Button