using DataRWDAL.Base;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Reflection;
using XImagingXhandler.XDAL;
namespace DataRWDAL
{
///
/// 菌落颜色库表操作类
///
public class BacteriaColorDB: BaseDB
{
#region 查询返回菌落颜色数据集
///
/// 查询返回菌落颜色数据集
///
///
public static ObservableCollection GetBacteriaColorList()
{
using (var db = GetInstance())
{
return new ObservableCollection(db.Queryable().OrderBy(it => it.bacteria_color_id).ToList());
}
}
#endregion
}
}