DateTimePropertyConfiguration.HasPrecision Method (Byte)

Entity Framework 6.0
 

Configures the precision of the property. If the database provider does not support precision for the data type of the column then the value is ignored.

Namespace:   System.Data.Entity.ModelConfiguration.Configuration
Assembly:  EntityFramework (in EntityFramework.dll)

public DateTimePropertyConfiguration HasPrecision(
	byte value
)

Parameters

value
Type: System.Byte

Precision of the property.

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration

The same DateTimePropertyConfiguration instance so that multiple calls can be chained.

Return to top
Show: