using DapperORM;
using PushInfo.Core.IDAL;
using PushInfo.Core.Models.Tables;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DapperORM.Common.Models;
using System.Linq.Expressions;

namespace PushInfo.Core.DAL.MySql
{
    public class SelectItemDetailDAL : BaseRepository<Select_Item_Detail>, ISelectItemDetailDAL
    {
        public ResultModel<Select_Item_Detail> GetModel(Expression<Func<Select_Item_Detail, bool>> where = null, Expression<Func<Select_Item_Detail, object>> select = null, IDictionary<string, bool> sort = null)
        {
            return GetAsync(where, select, sort).Result;
        }
    }
}
