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

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