DbConfigurationTypeAttribute Constructor

 

Initializes a new instance of the DbConfigurationTypeAttribute class.

Namespace:   System.Data.Entity
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodDbConfigurationTypeAttribute(String)

Indicates that the subclass of DbConfiguration represented by the given assembly-qualified name should be used for code-based configuration for this application.

System_CAPS_pubmethodDbConfigurationTypeAttribute(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.

public DbConfigurationTypeAttribute(
	string configurationTypeName
)

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.

public DbConfigurationTypeAttribute(
	Type configurationType
)

Parameters

configurationType
Type: System.Type

The DbConfiguration type to use.