sharding/samples/Samples.AutoByDate.SqlServer/WeatherForecast.cs

15 lines
309 B
C#
Raw Normal View History

2021-02-02 17:37:41 +08:00
using System;
namespace Samples.AutoByDate.SqlServer
{
public class WeatherForecast
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int) (TemperatureC / 0.5556);
public string Summary { get; set; }
}
}