You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
941 B
25 lines
941 B
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Dynamic;
|
|
|
|
namespace SqlSugar
|
|
{
|
|
public interface IContextMethods
|
|
{
|
|
SqlSugarClient Context { get; set; }
|
|
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);
|
|
SqlSugarClient CopyContext(bool isCopyEvents = false);
|
|
dynamic DataTableToDynamic(DataTable table);
|
|
ICacheService GetReflectionInoCacheInstance();
|
|
void RemoveCacheAll();
|
|
void RemoveCacheAll<T>();
|
|
void RemoveCache<T>(string key);
|
|
KeyValuePair<string, SugarParameter[]> ConditionalModelToSql(List<IConditionalModel> models,int beginIndex=0);
|
|
|
|
}
|
|
}
|