DbConfigurationTypeAttribute Constructor
Initializes a new instance of the DbConfigurationTypeAttribute class.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | DbConfigurationTypeAttribute(String) | Indicates that the subclass of DbConfiguration represented by the given assembly-qualified name should be used for code-based configuration for this application. |
![]() | DbConfigurationTypeAttribute(Type) | Indicates that the given subclass of DbConfiguration should be used for code-based configuration for this application. |
DbConfigurationTypeAttribute Constructor (String)
Indicates that the subclass of DbConfiguration represented by the given assembly-qualified name should be used for code-based configuration for this application.
Parameters
- configurationTypeName
-
Type:
System.String
The DbConfiguration type to use.
DbConfigurationTypeAttribute Constructor (Type)
Indicates that the given subclass of DbConfiguration should be used for code-based configuration for this application.
Parameters
- configurationType
-
Type:
System.Type
The DbConfiguration type to use.