using SqlSugar;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IStation.DAL
{
///
/// InspectRecordFile
///
public partial class InspectRecordFile : BaseDAL
{
///
///
///
public override ConnectionConfig ConnectionConfig
{
get
{
return ConfigHelper.RecordConnectionConfig;
}
}
///
///
///
///
///
///
public List GetByRecordID( long RecordID)
{
using (var db = new SqlSugarClient(ConnectionConfig))
{
return db.Queryable()
.Where(x => x.RecordID == RecordID) .ToList();
}
}
}
}