จัดระเบียบ Code ใหม่ และเพิ่ม Extension Method

implement GenericRepository Class ใหม่
This commit is contained in:
Suphonchai Phoonsawat 2023-06-26 10:15:50 +07:00
parent e49c6a4aca
commit 89de09d213
21 changed files with 1439 additions and 63 deletions

View file

@ -0,0 +1,13 @@
using System.Data.Common;
namespace BMA.EHR.Domain.Extensions
{
public static class DataReaderExtension
{
public static bool IsDbNull(this DbDataReader dataReader, string columnName)
{
return dataReader[columnName] == DBNull.Value;
}
}
}