/// <summary> /// 查找实体列表,不跟踪 /// </summary> /// <param name="ids">逗号分隔的标识列表,范例:"1,2"</param> public List <TEntity> FindByIdsNoTracking(string ids) { var idList = Convert.ToList <TKey>(ids); return(FindByIdsNoTracking(idList)); }
/// <summary> /// 查找实体列表,不跟踪 /// </summary> /// <param name="ids">逗号分隔的标识列表,范例:"1,2"</param> public async Task <List <TEntity> > FindByIdsNoTrackingAsync(string ids) { var idList = Convert.ToList <TKey>(ids); return(await FindByIdsNoTrackingAsync(idList)); }