Share via


DesignTimeProviderServicesAttribute Class

Definition

Identifies where to find the design time services for a given database provider. This attribute should be present in the primary assembly of the database provider.

This attribute is typically used by database providers (and other extensions). It is generally not used in application code.

[System.AttributeUsage(System.AttributeTargets.Assembly)]
public sealed class DesignTimeProviderServicesAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly)>]
type DesignTimeProviderServicesAttribute = class
    inherit Attribute
Public NotInheritable Class DesignTimeProviderServicesAttribute
Inherits Attribute
Inheritance
DesignTimeProviderServicesAttribute
Attributes

Remarks

See Implementation of database providers and extensions for more information and examples.

Constructors

DesignTimeProviderServicesAttribute(String)

Initializes a new instance of the DesignTimeProviderServicesAttribute class.

Properties

TypeName

Gets the name of the type that can be used to add the database providers design time services to a ServiceCollection. This type should implement IDesignTimeServices.

Applies to