Adding WaitAvailable to EFCore extensions
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user