lixiaojun
2024-12-12 fe59cb0e4d060664927dca75d453162deae3e17d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using Yw.DAL.SQLite;
 
namespace HStation.DAL.SQLite
{
    /// <summary>
    ///
    /// </summary>
    public partial class AssetsCoolingMain : BaseDAL_Paras_Flags_TagName_Sorter<Entity.AssetsCoolingMain>, IAssetsCoolingMain
    {
        /// <summary>
        ///
        /// </summary>
        public override ConnectionConfig ConnectionConfig
        {
            get { return Assets.ConfigHelper.SQLiteConnectionConfig; }
        }
 
        /// <summary>
        /// 
        /// </summary>
        public List<Entity.AssetsCoolingMain> GetBySeriesID(long SeriesID)
        {
            using (var db = new SqlSugarClient(ConnectionConfig))
            {
                return db.Queryable<Entity.AssetsCoolingMain>()
                    .Where(x => x.SeriesID == SeriesID).ToList();
            }
        }
    }
}