异步读取字段有什么好处吗?
说如果我有以下情况:
SqlDataReader reader = await cmd.ExecuteReaderAsync();
while (await reader.ReadAsync())
{
try
{
if (reader.IsDBNull(COL_NAME))
{
continue;
}
user = new User();
user.Id = reader.GetInt32(COL_ID);
IsDBNullAsync
使用等会对现实世界有什么好处GetInt32Async
吗?