Share via


DbConfiguration.SetConfiguration(DbConfiguration) Method

Definition

The Singleton instance of DbConfiguration for this app domain. This can be set at application start before any Entity Framework features have been used and afterwards should be treated as read-only.

public static void SetConfiguration (System.Data.Entity.DbConfiguration configuration);
static member SetConfiguration : System.Data.Entity.DbConfiguration -> unit
Public Shared Sub SetConfiguration (configuration As DbConfiguration)

Parameters

configuration
DbConfiguration

The instance of DbConfiguration.

Applies to