Change from SQL CE to SQL Express

This commit is contained in:
2015-01-14 14:41:04 -05:00
parent 822f6ccdea
commit f54f92330b
21 changed files with 383 additions and 413 deletions

19
Data/Reading.cs Normal file
View File

@@ -0,0 +1,19 @@
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace WeatherService.Data
{
[Table("Reading")]
public class Reading
{
public int Id { get; set; }
public int DeviceId { get; set; }
public int Type { get; set; }
public double Value { get; set; }
public DateTimeOffset ReadTime { get; set; }
}
}