mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 04:17:44 +08:00
27 lines
792 B
C#
27 lines
792 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Dynamic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SqlSugar
|
|
{
|
|
public interface IRewritableMethods
|
|
{
|
|
ExpandoObject DataReaderToExpandoObject(IDataReader reader);
|
|
List<ExpandoObject> DataReaderToExpandoObjectList(IDataReader reader);
|
|
List<T> DataReaderToDynamicList<T>(IDataReader reader);
|
|
string SerializeObject(object value);
|
|
T DeserializeObject<T>(string value);
|
|
T TranslateCopy<T>(T sourceObject);
|
|
dynamic DataTableToDynamic(DataTable table);
|
|
ICacheManager<T> GetCacheInstance<T>();
|
|
void RemoveCacheAll();
|
|
void RemoveCacheAll<T>();
|
|
void RemoveCache<T>(string key);
|
|
|
|
}
|
|
}
|