예제 #1
0
        /// <summary>
        /// 自动根据 model 内的非null字段,生成 where param=@param .. 的查询条件查询
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public override DataTable ExecuteTable(IModel model)
        {
            string keyWhere = SqlStringHelper.MakeQueryParameters(model);

            return(ExecuteTableWhere(model, keyWhere));
        }