Fixing more errors with nullable reference types
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Text.RegularExpressions;
|
||||
using NPoco;
|
||||
using Umbraco.Cms.Core.Persistence;
|
||||
@@ -130,7 +131,7 @@ namespace Umbraco.Cms.Infrastructure.Persistence.SqlSyntax
|
||||
/// in which case the function may return true, but <paramref name="constraintName"/> is
|
||||
/// unspecified.</para>
|
||||
/// </remarks>
|
||||
bool TryGetDefaultConstraint(IDatabase db, string? tableName, string columnName, out string constraintName);
|
||||
bool TryGetDefaultConstraint(IDatabase db, string? tableName, string columnName, [MaybeNullWhen(false)] out string constraintName);
|
||||
|
||||
void ReadLock(IDatabase db, TimeSpan timeout, int lockId);
|
||||
void WriteLock(IDatabase db, TimeSpan timeout, int lockId);
|
||||
|
||||
Reference in New Issue
Block a user