ParameterBuilder.Time Method (Nullable<Byte>, Nullable<TimeSpan>, String, String, String, Boolean)
Creates a new parameter definition to pass Time data.
Assembly: EntityFramework (in EntityFramework.dll)
[SuppressMessageAttribute("Microsoft.Performance", "CA1822:MarkMembersAsStatic")] [SuppressMessageAttribute("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")] public ParameterModel Time( Nullable<byte> precision = null, Nullable<TimeSpan> defaultValue = null, string defaultValueSql = null, string name = null, string storeType = null, bool outParameter = false )
Parameters
- precision
-
Type:
System.Nullable<Byte>
The precision of the parameter.
- defaultValue
-
Type:
System.Nullable<TimeSpan>
A constant value to use as the default value for this parameter.
- defaultValueSql
-
Type:
System.String
The SQL expression used as the default value for this parameter.
- name
-
Type:
System.String
The name of the parameter.
- storeType
-
Type:
System.String
A provider specific data type to use for this parameter.
- outParameter
-
Type:
System.Boolean
A value indicating whether the parameter is an output parameter.
Return Value
Type: System.Data.Entity.Migrations.Model.ParameterModelThe newly constructed parameter definition.