Fixed build errors after turning nullability errors off

This commit is contained in:
Nikolaj Geisle
2022-02-10 10:32:45 +01:00
parent b75eae01f3
commit 83baba696c
39 changed files with 91 additions and 69 deletions

View File

@@ -10,12 +10,12 @@ namespace Umbraco.Cms.Core.Persistence
/// <summary>
/// Gets an entity.
/// </summary>
TEntity Get(TId id);
TEntity? Get(TId? id);
/// <summary>
/// Gets entities.
/// </summary>
IEnumerable<TEntity> GetMany(params TId[] ids);
IEnumerable<TEntity> GetMany(params TId?[] ids);
/// <summary>
/// Gets a value indicating whether an entity exists.