DbConfigurationTypeAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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(String)
Indicates that the subclass of DbConfiguration represented by the given assembly-qualified name should be used for code-based configuration for this application.
public DbConfigurationTypeAttribute (string configurationTypeName);
new System.Data.Entity.DbConfigurationTypeAttribute : string -> System.Data.Entity.DbConfigurationTypeAttribute
Public Sub New (configurationTypeName As String)
Parameters
- configurationTypeName
- String
The DbConfiguration type to use.
Applies to
DbConfigurationTypeAttribute(Type)
Indicates that the given subclass of DbConfiguration should be used for code-based configuration for this application.
public DbConfigurationTypeAttribute (Type configurationType);
new System.Data.Entity.DbConfigurationTypeAttribute : Type -> System.Data.Entity.DbConfigurationTypeAttribute
Public Sub New (configurationType As Type)
Parameters
- configurationType
- Type
The DbConfiguration type to use.
Applies to
Entity Framework