ปรับapi กับโครงสร้างใหม่
This commit is contained in:
parent
7e1c4cb4d9
commit
54661ffbcb
37 changed files with 1542 additions and 233 deletions
13
Extensions/DataReaderExtension.cs
Normal file
13
Extensions/DataReaderExtension.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
using System.Data.Common;
|
||||
|
||||
namespace BMA.EHR.Recruit.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