src/openSourceC.DotNetLibrary.Data/Data/DbParamsBase.cs
/// <summary>
///		Add a parameter representing a <typeparamref name="TEnum"/> type to the command
///		object.
/// </summary>
/// <typeparam name="TEnum">The type of the enum.</typeparam>
///	<param name="parameterName">The name of the parameter.</param>
///	<param name="direction">The parameter direction. (optional)</param>
///	<returns>Returns a <typeparamref name="TDbParameter"/> object.</returns>
Add a parameter representing a  type to the command
object.
Add a parameter representing a type to the command object .
public TDbParameter AddEnum<TEnum>(string parameterName, ParameterDirection direction = ParameterDirection.Input)
			where TEnum : struct, Enum
		{
			return AddEnum<TEnum>(parameterName, true, null, direction);
		}
public TDbParameter AddEnum < TEnum > ( string parameterName , ParameterDirection direction = ParameterDirection . Input ) where TEnum : struct , Enum { return AddEnum < TEnum > ( parameterName , true , null , direction ) ; }
Add a parameter representing a  type to the command
object.
Add a parameter representing a type to the command object .
Returns a  object.
Returns a object .
parameterName
string
The name of the parameter.
The name of the parameter .
direction
ParameterDirection
The parameter direction. (optional)
The parameter direction . ( optional )
typeparam
The type of the enum.
The type of the enum .