The requested page is not available for the requested platform. You are viewing the content for Default platform.

Numeric Properties in Entity Framework

The example below illustrates how to implement Numeric Properties in an Entity Framework Code-First class.

public double DoubleProperty { get; set; }
public float SingleProperty { get; set; }
public long LongProperty { get; set; }
public int IntegerProperty { get; set; }
public decimal DecimalProperty { get; set; }
public byte ByteProperty { get; set; }