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/WeatherData.cs Normal file
View File

@@ -0,0 +1,19 @@
using System.Data.Entity;
namespace WeatherService.Data
{
public class WeatherData : DbContext
{
public WeatherData()
: base("name=WeatherData")
{
}
public virtual DbSet<Device> Devices { get; set; }
public virtual DbSet<Setting> Settings { get; set; }
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
}
}
}