通过db.Utilities点出来
例1:dataTableToList
var list = db.Utilities.DataTableToList(datatable);
例2:序列化对象
db.Utilities.SerializeObject(lists);
例3:分页操作
db.Utilities.PageEach(allList, 100 ,pageList=> { db.Insertable(pageList).ExecuteCommand(); });
Name | 说明 |
---|---|
DataReaderToExpandoObject | ExpandoObject |
DataReaderToExpandoObjectList | List |
DataReaderToList | List |
SerializeObject | 序列化 |
DeserializeObject | 返序列化 |
TranslateCopy | 复制对象 |
DataTableToDynamic | dynamic |
DataTableToList | List |
DataTableToDictionary | Dictionary<string, object> |
RemoveCacheAll | 清空ORM所有缓存不建议用 删除缓存 |
PageEach | 内存分页 |
2016 © donet5.comApache Licence 2.0