摘要:
在SQL2012后的版本中支持了OFFSET index FETCH NEXT page_size ROWS ONLY的分页方式,但要分页就必须要有排序,而排序的字段选择的不对,就有可能造成分页结果不正确,比如第1页和第2页的数据有重复。为什么呢? 究其原因,是因为排序字段的数据不唯一,或才有nul 阅读全文
摘要:
//获得远程文件MediaType using HttpRequestMessage request = new(HttpMethod.Get, remoteImagePath); using var response = await httpClient.SendAsync(request); i 阅读全文
摘要:
var options = new JsonSerializerOptions { PropertyNameCaseInsensitive =true }; await using var stream = new MemoryStream(); await JsonSerializer.Seria 阅读全文