แก้ไฟล์ build
This commit is contained in:
parent
9fb82fb45a
commit
d6573a6d0c
15 changed files with 1676 additions and 374 deletions
13
Extensions/DataReaderExtension.cs
Normal file
13
Extensions/DataReaderExtension.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
using System.Data.Common;
|
||||
|
||||
namespace BMA.EHR.Organization.Service.Extensions
|
||||
{
|
||||
public static class DataReaderExtension
|
||||
{
|
||||
public static bool IsDbNull(this DbDataReader dataReader, string columnName)
|
||||
{
|
||||
return dataReader[columnName] == DBNull.Value;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue