示例#1
0
        public List <dynamic> Query(string sql, dynamic parameter)
        {
            if (string.IsNullOrWhiteSpace(sql))
            {
                throw new EmptySQLException();
            }

            var            parameters = StoreBase.DynamicToParameters(parameter);
            List <dynamic> list       = _dbSQLHelper.ExecuteList(_consolePrintSql, sql, _dbSQLHelper.Convert(parameters));

            return(list);
        }