src/openSourceC.DotNetLibrary.Data/Data/DbParamsBase.cs
/// <summary>
///		Add a parameter representing values ranging from 1.0 x 10^-28 to approximately
///		7.9 x 10^28 with 28-29 significant digits to the command object.
/// </summary>
///	<param name="parameterName">The name of the parameter.</param>
///	<param name="precision">Gets or sets the maximum number of digits used to represent the value.</param>
///	<param name="scale">Gets or sets the number of decimal places to which value is resolved.</param>
/// <param name="sourceColumn">The name of the source column.</param>
///	<param name="sourceColumnIsNullable">Indicates whether the source column is nullable.</param>
///	<param name="direction">The parameter direction. (optional)</param>
///	<returns>Returns a <typeparamref name="TDbParameter"/> object.</returns>
Add a parameter representing values ranging from 1.0 x 10^-28 to approximately
7.9 x 10^28 with 28-29 significant digits to the command object.
Add a parameter representing values ranging from 1 . 0 x 10^ - 28 to approximately 7 . 9 x 10^28 with 28 - 29 significant digits to the command object .
public TDbParameter AddDecimal(string parameterName, byte precision, byte scale, string sourceColumn, bool sourceColumnIsNullable, ParameterDirection direction = ParameterDirection.Input)
		{
			TDbParameter prm = AddDecimal(parameterName, precision, scale, true, null, direction);
			prm.SourceColumn = sourceColumn;
			prm.SourceColumnNullMapping = sourceColumnIsNullable;
			return prm;
		}
public TDbParameter AddDecimal ( string parameterName , byte precision , byte scale , string sourceColumn , bool sourceColumnIsNullable , ParameterDirection direction = ParameterDirection . Input ) { TDbParameter prm = AddDecimal ( parameterName , precision , scale , true , null , direction ) ; prm . SourceColumn = sourceColumn ; prm . SourceColumnNullMapping = sourceColumnIsNullable ; return prm ; }
Add a parameter representing values ranging from 1.0 x 10^-28 to approximately
7.9 x 10^28 with 28-29 significant digits to the command object.
Add a parameter representing values ranging from 1 . 0 x 10^ - 28 to approximately 7 . 9 x 10^28 with 28 - 29 significant digits to the command object .
Returns a  object.
Returns a object .
parameterName
string
The name of the parameter.
The name of the parameter .
precision
byte
Gets or sets the maximum number of digits used to represent the value.
Gets or sets the maximum number of digits used to represent the value .
scale
byte
Gets or sets the number of decimal places to which value is resolved.
Gets or sets the number of decimal places to which value is resolved .
sourceColumn
string
The name of the source column.
The name of the source column .
sourceColumnIsNullable
bool
Indicates whether the source column is nullable.
Indicates whether the source column is nullable .
direction
ParameterDirection
The parameter direction. (optional)
The parameter direction . ( optional )