The Output Paramter

Topics: Data Access Application Block, General discussion
Sep 5, 2008 at 12:19 AM
Dear all,

When the dbType is integer in the AddOutParameter method of enterprise library below, what value do I need to specify for the size paramter?

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

Oct 9, 2008 at 7:33 AM

Type: System..::.Int32

The maximum size of the data within the column.

if want to be safe in your code, try using int.MaxValue