123456789101112131415161718192021 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using MySqlConnector;
- using Dapper;
- using mysql_connector2.res;
- namespace mysql_connector2.res
- {
- public interface IDataProvider
- {
- IEnumerable<Product> getProduct(int pageNum);
- int getProductCount();
- void setOrder(string condition);
- IEnumerable<ProductType> getProductTypes();
- void clearFilter();
- void addFilter(string v, object value);
- }
- }
|