View Source
Delegate UmbracoEFCoreServiceCollectionExtensions.DefaultEFCoreOptionsAction
Delegate for configuring EF Core options with provider information.
Assembly: Umbraco.Cms.Persistence.EFCore.dll
Syntax
public delegate void UmbracoEFCoreServiceCollectionExtensions.DefaultEFCoreOptionsAction(DbContextOptionsBuilder options, string? providerName, string? connectionString)
Parameters
| Type |
Name |
Description |
| DbContextOptionsBuilder |
options |
The DbContext options builder.
|
| string |
providerName |
The database provider name.
|
| string |
connectionString |
The connection string.
|
Constructors
View Source
DefaultEFCoreOptionsAction(object, nint)
Declaration
public DefaultEFCoreOptionsAction(object @object, nint method)
Parameters
| Type |
Name |
Description |
| object |
object |
|
| nint |
method |
|
Methods
View Source
BeginInvoke(DbContextOptionsBuilder, string?, string?, AsyncCallback, object)
Declaration
public virtual IAsyncResult BeginInvoke(DbContextOptionsBuilder options, string? providerName, string? connectionString, AsyncCallback callback, object @object)
Parameters
| Type |
Name |
Description |
| DbContextOptionsBuilder |
options |
|
| string |
providerName |
|
| string |
connectionString |
|
| AsyncCallback |
callback |
|
| object |
object |
|
Returns
| Type |
Description |
| IAsyncResult |
|
View Source
EndInvoke(IAsyncResult)
Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
| Type |
Name |
Description |
| IAsyncResult |
result |
|
View Source
Invoke(DbContextOptionsBuilder, string?, string?)
Declaration
public virtual void Invoke(DbContextOptionsBuilder options, string? providerName, string? connectionString)
Parameters
| Type |
Name |
Description |
| DbContextOptionsBuilder |
options |
|
| string |
providerName |
|
| string |
connectionString |
|