这是我的代码
try
{
using (SafeDataReader reader = await this.SqlDataService.GetReaderAsync(command).ConfigureAwait(false))
{
while (reader != null && await reader.ReadAsync().ConfigureAwait(false))
{
response.Items.Value.Add(new SqlGetAllSitesResponse
{
SiteID = reader.GetGuid(reader.GetOrdinal("SiteID")),
URL = reader.GetString("URL"),
});
}
}
}
catch (Exception e)
{
response.Success = false;
response.ErrorMessage = e.Message;
}
正在抛出方法或操作未实现错误。我不明白原因。请帮助。