1
0

Adding WaitAvailable to EFCore extensions

This commit is contained in:
2022-03-23 20:50:20 +01:00
parent e89e8bc69a
commit e38864b32b
4 changed files with 79 additions and 7 deletions

View File

@@ -1,4 +1,5 @@
using System.Reflection;
using System;
using System.Reflection;
using Microsoft.Extensions.Logging;
namespace Microsoft.EntityFrameworkCore
@@ -27,5 +28,10 @@ namespace Microsoft.EntityFrameworkCore
/// Gets or sets the source assembly for embedded files.
/// </summary>
public Assembly SourceAssembly { get; set; }
/// <summary>
/// Gets or sets a delay to wait before a connect retry.
/// </summary>
public TimeSpan WaitDelay { get; set; } = TimeSpan.FromSeconds(1);
}
}