Изменения документа Сценарии
Редактировал(а) Alexandr Fokin 2024/12/07 13:48
<
>
отредактировано Alexandr Fokin
на 2024/04/13 14:36
на 2024/04/13 14:36
отредактировано Alexandr Fokin
на 2024/04/13 14:38
на 2024/04/13 14:38
Изменить комментарий:
К данной версии нет комментариев
Комментарий
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Содержимое
-
... ... @@ -21,16 +21,19 @@ 21 21 |XO.EntityFrameworkCore.NpgsqlJsonSerializerOptions 22 22 [[https:~~/~~/www.nuget.org/packages/XO.EntityFrameworkCore.NpgsqlJsonSerializerOptions/>>https://www.nuget.org/packages/XO.EntityFrameworkCore.NpgsqlJsonSerializerOptions/]]| 23 23 |Простое решение - реализовать кастомный {{code language="c#"}}ValueConverter<JsonElement, string>{{/code}}, определив в нем {{code language="c#"}}JsonSerializerOptions{{/code}}| 24 -| 24 +|((( 25 +NpgsqlConnection.GlobalTypeMapper.Mappings 26 +[[https:~~/~~/github.com/npgsql/efcore.pg/issues/1107#issuecomment-552182608>>https://github.com/npgsql/efcore.pg/issues/1107#issuecomment-552182608]] 25 25 26 -{{{NpgsqlConnection.GlobalTypeMapper.Mappings 27 - 28 -}}}((( 29 29 6.0.0 30 -[[https:~~/~~/github.com/npgsql/efcore.pg/issues/1107#issuecomment-945126627>>https://github.com/npgsql/efcore.pg/issues/1107#issuecomment-945126627]] 31 -)))| 32 32 ))) 30 + 31 +{{{ 32 + 33 + 34 + }}} 33 33 ))) 36 +))) 34 34 |(% style="width:141px" %)Parameters|(% style="width:1372px" %){{code language="c#"}}public static class QueryParameterExtensions 35 35 { 36 36 public static NpgsqlParameter StructToDbParameter<T>(