src/openSourceC.DotNetLibrary.Data/Data/DbParamsBase.cs
/// <summary>
///		Return the value of a parameter that is of a globally unique identifier (or GUID) type.
/// </summary>
///	<param name="parameterName">The name of the parameter.</param>
///	<returns>Returns the value of the parameter as a nullable <see cref="Guid"/>.</returns>
Return the value of a parameter that is of a globally unique identifier (or GUID) type.
Return the value of a parameter that is of a globally unique identifier ( or GUID ) type .
public Guid? GetGuid(string parameterName)
		{
			try { return (Guid?)GetValue(parameterName); }
			catch (InvalidCastException ex) { throw new InvalidCastException(string.Format(SR.Type_mismatch_on_parameter, NormalizeParameterName(parameterName)), ex); }
		}
public Guid ? GetGuid ( string parameterName ) { try { return ( Guid ? ) 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 globally unique identifier (or GUID) type.
Return the value of a parameter that is of a globally unique identifier ( or GUID ) type .
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 .