Пример #1
0
 public List <SqlParameter> MapParamsForUpsert(AddressPostalData entity) => new List <SqlParameter>
 {
     new SqlParameter("@country", entity.Country),
     new SqlParameter("@postal_code", entity.PostalCode),
     new SqlParameter("@state_code", entity.StateCode),
     new SqlParameter("@state_full_name", entity.StateFullName),
     new SqlParameter("@city_name", entity.CityName),
     new SqlParameter("@county_name", entity.CountyName),
     new SqlParameter("@time_zone", entity.TimeZone),
     GetOutParam()
 };
Пример #2
0
 public List <SqlParameter> MapParamsForDelete(AddressPostalData entity) => new List <SqlParameter>
 {
     new SqlParameter("@postal_code", entity.PostalCode),
     GetOutParam()
 };