Фикс создания сущности доктор
This commit is contained in:
parent
db2b7ef24e
commit
1907b56478
@ -17,7 +17,7 @@ namespace MedicalPostgresqlDatabase.Storages
|
||||
{
|
||||
return new Doctor
|
||||
{
|
||||
Id = Convert.ToInt32(reader.GetOrdinal("doctor_id")),
|
||||
Id = Convert.ToInt32(reader.GetOrdinal(PRIMARY_KEY_COLUMN_NAME)),
|
||||
Name = Convert.ToString(reader.GetOrdinal("name")),
|
||||
Surname = Convert.ToString(reader.GetOrdinal("surname")),
|
||||
Patronymic = Convert.ToString(reader.GetOrdinal("patronymic")),
|
||||
|
Loading…
Reference in New Issue
Block a user