You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Sets up JSON.NET mappings for the PostgreSQL json and jsonb types.
44
+
/// </summary>
45
+
/// <param name="mapper">The type mapper to set up.</param>
46
+
/// <param name="settings">Optional settings to customize JSON serialization.</param>
47
+
/// <param name="jsonbClrTypes">
48
+
/// A list of CLR types to map to PostgreSQL <c>jsonb</c> (no need to specify <see cref="NpgsqlDbType.Jsonb" />).
49
+
/// </param>
50
+
/// <param name="jsonClrTypes">
51
+
/// A list of CLR types to map to PostgreSQL <c>json</c> (no need to specify <see cref="NpgsqlDbType.Json" />).
52
+
/// </param>
53
+
[RequiresUnreferencedCode("Json serializer may perform reflection on trimmed types.")]
54
+
[RequiresDynamicCode("Serializing arbitrary types to json can require creating new generic types or methods, which requires creating code at runtime. This may not work when AOT compiling.")]
/// Sets up NetTopologySuite mappings for the PostGIS types.
37
+
/// </summary>
38
+
/// <param name="mapper">The type mapper to set up (global or connection-specific).</param>
39
+
/// <param name="coordinateSequenceFactory">The factory which knows how to build a particular implementation of ICoordinateSequence from an array of Coordinates.</param>
40
+
/// <param name="precisionModel">Specifies the grid of allowable points.</param>
41
+
/// <param name="handleOrdinates">Specifies the ordinates which will be handled. Not specified ordinates will be ignored.
42
+
/// If <see cref="F:GeoAPI.Geometries.Ordiantes.None" /> is specified, an actual value will be taken from
43
+
/// the <see cref="P:GeoAPI.Geometries.ICoordinateSequenceFactory.Ordinates"/> property of <paramref name="coordinateSequenceFactory"/>.</param>
44
+
/// <param name="geographyAsDefault">Specifies that the geography type is used for mapping by default.</param>
0 commit comments