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
{{ message }}
Repository navigation
Commit f69c28b
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: doc/migration/3.3.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Npgsql 3.3 is out and available on nuget.org. This is a major release with subst
22
22
23
23
* .NET Standard 1.3 is no longer supported. .NET Standard 2.0 is the lowest supported version.
24
24
* Parameter types have become more strict. Previous versions allowed to you pass arbitrary value types, such as writing CLR string to int columns, or anything that implemented IConvertible. Although some implicit conversions are still supported (e.g. long -> int, short -> int), some have been removed.
25
-
*`NpgsqlParameter.EnumType`, which was already obsolete, was removed. Use `NpgsqlParameter.SpecificType` instead.
25
+
*`NpgsqlParameter.EnumType` and `NpgsqlParameter.SpecificType` have been removed. To send enums or composites, use the new `NpgsqlParameter.DataTypeName` instead. See [Composites and Enums](../types/enums_and_composites.md) for more details.
26
26
* Parameter names are no longer trimmed, set your names to the exact parameter name specified in your SQL.
27
27
* If a parameter's name isn't set, it will no longer default to Parameter1, Parameter2, etc.
28
28
* The following APIs "connection capability" APIs have been removed from NpgsqlConnection: `UseConformantStrings`, `SupportsEStringPrefix`, `UseSslStream`.
thrownewInvalidCastException($"When specifying NpgsqlDbType.{nameof(NpgsqlDbType.Enum)}, {nameof(NpgsqlParameter.SpecificType)} must be specified as well");
146
-
#pragma warning restore CS0618// Type or member is obsolete
147
-
148
-
thrownewNpgsqlException($"The NpgsqlDbType '{npgsqlDbType}' isn't present in your database. "+
149
-
"You may need to install an extension or upgrade to a newer version.");
0 commit comments