You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.6 KiB
52 lines
1.6 KiB
2 weeks ago
|
using System;
|
||
|
using System.Data;
|
||
|
using System.Data.Linq;
|
||
|
using System.Data.Linq.Mapping;
|
||
|
using iMonitorApp.Properties;
|
||
|
|
||
|
namespace iMonitorApp.Classes.DataAccess
|
||
|
{
|
||
|
// Token: 0x0200002C RID: 44
|
||
|
[Database(Name = "tradingRef")]
|
||
|
public class TradingReferenceDataContext : DataContext
|
||
|
{
|
||
|
// Token: 0x060001BE RID: 446 RVA: 0x0000F21E File Offset: 0x0000D41E
|
||
|
public TradingReferenceDataContext() : base(Settings.Default.tradingRefConnectionString, TradingReferenceDataContext.mappingSource)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
// Token: 0x060001BF RID: 447 RVA: 0x0000F237 File Offset: 0x0000D437
|
||
|
public TradingReferenceDataContext(string connection) : base(connection, TradingReferenceDataContext.mappingSource)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
// Token: 0x060001C0 RID: 448 RVA: 0x0000F247 File Offset: 0x0000D447
|
||
|
public TradingReferenceDataContext(IDbConnection connection) : base(connection, TradingReferenceDataContext.mappingSource)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
// Token: 0x060001C1 RID: 449 RVA: 0x0000F257 File Offset: 0x0000D457
|
||
|
public TradingReferenceDataContext(string connection, MappingSource mappingSource) : base(connection, mappingSource)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
// Token: 0x060001C2 RID: 450 RVA: 0x0000F263 File Offset: 0x0000D463
|
||
|
public TradingReferenceDataContext(IDbConnection connection, MappingSource mappingSource) : base(connection, mappingSource)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
// Token: 0x17000071 RID: 113
|
||
|
// (get) Token: 0x060001C3 RID: 451 RVA: 0x0000F270 File Offset: 0x0000D470
|
||
|
public Table<Alert> Alerts
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
return base.GetTable<Alert>();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Token: 0x040000EA RID: 234
|
||
|
private static MappingSource mappingSource = new AttributeMappingSource();
|
||
|
}
|
||
|
}
|