src/openSourceC.DotNetLibrary.Data/Data/DbParamsBase.cs
/// <summary>
///		Add a timespan data parameter based on a 24-hour clock. The value range is 00:00:00
///		through 23:59:59.9999999 with an accuracy of 100 nanoseconds.
/// </summary>
///	<param name="parameterName">The name of the parameter.</param>
///	<param name="isNullable">Indicates whether the parameter accepts null values.</param>
///	<param name="value">The value of the parameter.</param>
///	<param name="direction">The parameter direction. (optional)</param>
///	<returns>Returns a <typeparamref name="TDbParameter"/> object.</returns>
Add a timespan data parameter based on a 24-hour clock.
Add a timespan data parameter based on a 24 - hour clock .
public TDbParameter AddTimeSpan(string parameterName, bool isNullable, TimeSpan? value, ParameterDirection direction = ParameterDirection.Input)
		{
			DateTime? dateTime = (value.HasValue ? dateTimeBaseline.AddTicks(value.Value.Ticks) : (DateTime?)null);
			return CreateParameter(DbType.Time, parameterName, isNullable, dateTime, direction);
		}
public TDbParameter AddTimeSpan ( string parameterName , bool isNullable , TimeSpan ? value , ParameterDirection direction = ParameterDirection . Input ) { DateTime ? dateTime = ( value . HasValue ? dateTimeBaseline . AddTicks ( value . Value . Ticks ) : ( DateTime ? ) null ) ; return CreateParameter ( DbType . Time , parameterName , isNullable , dateTime , direction ) ; }
Add a timespan data parameter based on a 24-hour clock.
Add a timespan data parameter based on a 24 - hour clock .
Returns a  object.
Returns a object .
parameterName
string
The name of the parameter.
The name of the parameter .
isNullable
bool
Indicates whether the parameter accepts null values.
Indicates whether the parameter accepts null values .
value
TimeSpan?
The value of the parameter.
The value of the parameter .
direction
ParameterDirection
The parameter direction. (optional)
The parameter direction . ( optional )