mirror of
https://github.com/ckaczor/WeatherService.git
synced 2026-01-26 17:25:06 -05:00
Initial commit
This commit is contained in:
12
Data/DatabaseContext.cs
Normal file
12
Data/DatabaseContext.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System.Data.Linq;
|
||||
|
||||
namespace WeatherService.Data
|
||||
{
|
||||
public class DatabaseContext : DataContext
|
||||
{
|
||||
public Table<DeviceData> DeviceTable;
|
||||
public Table<ReadingData> ReadingTable;
|
||||
|
||||
public DatabaseContext(string databaseFile) : base(databaseFile) { }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user