diff --git a/src/EFCore.PG/Extensions/DbFunctionsExtensions/NpgsqlDbFunctionsExtensions.cs b/src/EFCore.PG/Extensions/DbFunctionsExtensions/NpgsqlDbFunctionsExtensions.cs index 11d0a6199..15cf1ae2f 100644 --- a/src/EFCore.PG/Extensions/DbFunctionsExtensions/NpgsqlDbFunctionsExtensions.cs +++ b/src/EFCore.PG/Extensions/DbFunctionsExtensions/NpgsqlDbFunctionsExtensions.cs @@ -143,22 +143,22 @@ public static TimeSpan Distance(this DbFunctions _, DateTime a, DateTime b) => throw new InvalidOperationException(CoreStrings.FunctionOnClient(nameof(Distance))); /// - /// Returns the string as a Date + /// Converts string to date according to the given format. /// /// The instance. - /// The string to be converted - /// The format of the input date - /// + /// The string to be converted. + /// The format of the input date. + /// public static DateOnly? ToDate(this DbFunctions _, string? value, string? format) => throw new InvalidOperationException(CoreStrings.FunctionOnClient(nameof(ToDate))); /// - /// Returns the string as a timestamp + /// Converts string to time stamp according to the given format. /// /// The instance. /// The string to be converted /// The format of the input date - /// + /// public static DateTime? ToTimestamp(this DbFunctions _, string? value, string? format) => throw new InvalidOperationException(CoreStrings.FunctionOnClient(nameof(ToTimestamp))); }