唐召明
authored
|
1
2
|
using FreeSql;
using HHECS.DAQClient.Model;
|
唐召明
authored
|
3
|
using HHECS.EquipmentModel;
|
唐召明
authored
|
4
5
6
7
8
9
10
11
12
13
14
15
16
|
namespace HHECS.DAQClient.DataAccess
{
/// <summary>
/// 数据库上下文
/// </summary>
/// <remarks>参考文档:<a href="https://freesql.net/guide/db-context.html">https://freesql.net/guide/db-context.html</a></remarks>
public sealed class DataContext : DbContext
{
public DbSet<CommunicationConfig> CommunicationConfigs { get; set; } = null!;
public DbSet<Equipment> Equipment { get; set; } = null!;
|
唐召明
authored
|
17
18
19
20
21
22
23
|
public DbSet<EquipmentProp> EquipmentProp { get; set; } = null!;
public DbSet<EquipmentType> EquipmentType { get; set; } = null!;
public DbSet<EquipmentTypePropTemplate> EquipmentTypePropTemplate { get; set; } = null!;
public DbSet<EquipmentDataQueue> EquipmentDataQueue { get; set; } = null!;
|
唐召明
authored
|
24
25
|
}
}
|