Detecting a Null field on an NpgsqlDataReader object

Поиск
Список
Период
Сортировка
От Oliveiros d'Azevedo Cristina
Тема Detecting a Null field on an NpgsqlDataReader object
Дата
Msg-id 1BBEE93EA22B44CF870E6F37B350FF59@marktestcr.marktest.pt
обсуждение исходный текст
Ответы Re: Detecting a Null field on an NpgsqlDataReader object  ("Francisco Figueiredo Jr." <francisco@npgsql.org>)
Список pgsql-interfaces
Dear All,
 
How can I detect if a certain field of a record returned by a query is NULL ?
 
I'm sure there must be a direct way of doing this, but I googled up and down, back and forth and was unable to find out.
 
For ex, in Sql Server we just compare with DbNull singleton.
 
What is the equivalent in Npgsql?
 
Thanks a million for your help
 
Best,
Oliveiros d'Azevedo Cristina

В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Satoshi Nagayasu
Дата:
Сообщение: Re: [DOCS] ECPG Documentation Improvement
Следующее
От: "Francisco Figueiredo Jr."
Дата:
Сообщение: Re: Detecting a Null field on an NpgsqlDataReader object