src/openSourceC.DotNetLibrary.Data/Data/DbParamsBase.cs
/// <summary>
///		Return the value of a parameter that is of an integral type representing unsigned
///		64-bit integers with values between 0 and 18,446,744,073,709,551,615.
/// </summary>
///	<param name="parameterName">The name of the parameter.</param>
///	<returns>Returns the value of the parameter as a nullable <see cref="ulong"/>.</returns>
Return the value of a parameter that is of an integral type representing unsigned
64-bit integers with values between 0 and 18,446,744,073,709,551,615.
Return the value of a parameter that is of an integral type representing unsigned 64 - bit integers with values between 0 and 18 446 744 073 709 551 615 .
[CLSCompliant(false)]
		public ulong? GetUInt64(string parameterName)
		{
			try
			{
				object? obj = GetValue(parameterName);
				return (obj is decimal ? (ulong?)(decimal?)obj : (ulong?)obj);
			}
			catch (InvalidCastException ex) { throw new InvalidCastException(string.Format(SR.Type_mismatch_on_parameter, NormalizeParameterName(parameterName)), ex); }
		}
[ CLSCompliant ( false ) ] public ulong ? GetUInt64 ( string parameterName ) { try { object ? obj = GetValue ( parameterName ) ; return ( obj is decimal ? ( ulong ? ) ( decimal ? ) obj : ( ulong ? ) obj ) ; } 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 an integral type representing unsigned
64-bit integers with values between 0 and 18,446,744,073,709,551,615.
Return the value of a parameter that is of an integral type representing unsigned 64 - bit integers with values between 0 and 18 446 744 073 709 551 615 .
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 .