src/openSourceC.DotNetLibrary.Data/Data/DbParamsBase.cs
/// <summary>
///		Return the value of a parameter that is of a simple type representing values
///		ranging from 1.0 x 10^-28 to approximately 7.9 x 10^28 with 28-29 significant digits.
/// </summary>
///	<param name="parameterName">The name of the parameter.</param>
///	<returns>Returns the value of the parameter as a nullable <see cref="decimal"/>.</returns>
Return the value of a parameter that is of a simple type representing values
ranging from 1.0 x 10^-28 to approximately 7.9 x 10^28 with 28-29 significant digits.
Return the value of a parameter that is of a simple type representing values ranging from 1 . 0 x 10^ - 28 to approximately 7 . 9 x 10^28 with 28 - 29 significant digits .
public decimal? GetDecimal(string parameterName)
		{
			try { return (decimal?)GetValue(parameterName); }
			catch (InvalidCastException ex) { throw new InvalidCastException(string.Format(SR.Type_mismatch_on_parameter, NormalizeParameterName(parameterName)), ex); }
		}
public decimal ? GetDecimal ( string parameterName ) { try { return ( decimal ? ) GetValue ( parameterName ) ; } catch ( InvalidCastException ex ) { throw new InvalidCastException ( string . Format ( SR . Type_mismatch_on_parameter , NormalizeParameterName ( parameterName ) ) , ex ) ; } }
Return the value of a parameter that is of a simple type representing values
ranging from 1.0 x 10^-28 to approximately 7.9 x 10^28 with 28-29 significant digits.
Return the value of a parameter that is of a simple type representing values ranging from 1 . 0 x 10^ - 28 to approximately 7 . 9 x 10^28 with 28 - 29 significant digits .
Returns the value of the parameter as a nullable .
Returns the value of the parameter as a nullable .
parameterName
string
The name of the parameter.
The name of the parameter .