DesignTimeProviderServicesAttribute DesignTimeProviderServicesAttribute Class

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.

Syntax

Declaration

[AttributeUsage(AttributeTargets.Assembly)]
public sealed class DesignTimeProviderServicesAttribute : Attribute, _Attribute<AttributeUsage(AttributeTargets.Assembly)>
Public NotInheritable Class DesignTimeProviderServicesAttribute
    Inherits Attribute
    Implements _Attribute

Inheritance Hierarchy

  • System.Object
    System.Object
  • System.Attribute
    System.Attribute
  • DesignTimeProviderServicesAttribute
    DesignTimeProviderServicesAttribute

Inherited Members

GetCustomAttributes(MemberInfo, Type),
GetCustomAttributes(MemberInfo, Type),
GetCustomAttributes(MemberInfo, Type, Boolean),
GetCustomAttributes(MemberInfo, Type, Boolean),
GetCustomAttributes(MemberInfo),
GetCustomAttributes(MemberInfo),
GetCustomAttributes(MemberInfo, Boolean),
GetCustomAttributes(MemberInfo, Boolean),
IsDefined(MemberInfo, Type),
IsDefined(MemberInfo, Type),
IsDefined(MemberInfo, Type, Boolean),
IsDefined(MemberInfo, Type, Boolean),
GetCustomAttribute(MemberInfo, Type),
GetCustomAttribute(MemberInfo, Type),
GetCustomAttribute(MemberInfo, Type, Boolean),
GetCustomAttribute(MemberInfo, Type, Boolean),
GetCustomAttributes(ParameterInfo),
GetCustomAttributes(ParameterInfo),
GetCustomAttributes(ParameterInfo, Type),
GetCustomAttributes(ParameterInfo, Type),
GetCustomAttributes(ParameterInfo, Type, Boolean),
GetCustomAttributes(ParameterInfo, Type, Boolean),
GetCustomAttributes(ParameterInfo, Boolean),
GetCustomAttributes(ParameterInfo, Boolean),
IsDefined(ParameterInfo, Type),
IsDefined(ParameterInfo, Type),
IsDefined(ParameterInfo, Type, Boolean),
IsDefined(ParameterInfo, Type, Boolean),
GetCustomAttribute(ParameterInfo, Type),
GetCustomAttribute(ParameterInfo, Type),
GetCustomAttribute(ParameterInfo, Type, Boolean),
GetCustomAttribute(ParameterInfo, Type, Boolean),
GetCustomAttributes(Module, Type),
GetCustomAttributes(Module, Type),
GetCustomAttributes(Module),
GetCustomAttributes(Module),
GetCustomAttributes(Module, Boolean),
GetCustomAttributes(Module, Boolean),
GetCustomAttributes(Module, Type, Boolean),
GetCustomAttributes(Module, Type, Boolean),
IsDefined(Module, Type),
IsDefined(Module, Type),
IsDefined(Module, Type, Boolean),
IsDefined(Module, Type, Boolean),
GetCustomAttribute(Module, Type),
GetCustomAttribute(Module, Type),
GetCustomAttribute(Module, Type, Boolean),
GetCustomAttribute(Module, Type, Boolean),
GetCustomAttributes(Assembly, Type),
GetCustomAttributes(Assembly, Type),
GetCustomAttributes(Assembly, Type, Boolean),
GetCustomAttributes(Assembly, Type, Boolean),
GetCustomAttributes(Assembly),
GetCustomAttributes(Assembly),
GetCustomAttributes(Assembly, Boolean),
GetCustomAttributes(Assembly, Boolean),
IsDefined(Assembly, Type),
IsDefined(Assembly, Type),
IsDefined(Assembly, Type, Boolean),
IsDefined(Assembly, Type, Boolean),
GetCustomAttribute(Assembly, Type),
GetCustomAttribute(Assembly, Type),
GetCustomAttribute(Assembly, Type, Boolean),
GetCustomAttribute(Assembly, Type, Boolean),
Equals(Object),
Equals(Object),
GetHashCode(),
GetHashCode(),
Match(Object),
Match(Object),
IsDefaultAttribute(),
IsDefaultAttribute(),
_Attribute.GetTypeInfoCount(UInt32),
System.Runtime.InteropServices._Attribute.GetTypeInfoCount(UInt32),
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr),
System.Runtime.InteropServices._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr),
_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr),
System.Runtime.InteropServices._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr),
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr),
System.Runtime.InteropServices._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr),
TypeId,
TypeId,
ToString(),
ToString(),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

Initializes a new instance of the DesignTimeProviderServicesAttribute class.

Properties summary

Gets the name of the assembly that contains the design time services.

Gets the NuGet package name that contains the design time services.

Gets the name of the type that can be used to add the database providers design time services to a . This type should contain a method with the following signature

public IServiceCollection ConfigureDesignTimeServices(IServiceCollection serviceCollection)
.

Constructors

  • DesignTimeProviderServicesAttribute(String, String, String)
    DesignTimeProviderServicesAttribute(String, String, String)

    Initializes a new instance of the DesignTimeProviderServicesAttribute class.

    public DesignTimeProviderServicesAttribute(string typeName, string assemblyName, string packageName)Public Sub New(typeName As String, assemblyName As String, packageName As String)

    Parameters

    • typeName
      System.String
      System.String

      The name of the type that can be used to add the database providers design time services to a . This type should contain a method with the following signature

      public IServiceCollection ConfigureDesignTimeServices(IServiceCollection serviceCollection)
      .

    • assemblyName
      System.String
      System.String

      The name of the assembly that contains the design time services.

    • packageName
      System.String
      System.String

      The NuGet package name that contains the design time services.

Properties

  • AssemblyName
    AssemblyName

    Gets the name of the assembly that contains the design time services.

    public string AssemblyName { get; }Public ReadOnly Property AssemblyName As String

    Property Value

    • System.String
      System.String
  • PackageName
    PackageName

    Gets the NuGet package name that contains the design time services.

    public string PackageName { get; }Public ReadOnly Property PackageName As String

    Property Value

    • System.String
      System.String
  • TypeName
    TypeName

    Gets the name of the type that can be used to add the database providers design time services to a . This type should contain a method with the following signature

    public IServiceCollection ConfigureDesignTimeServices(IServiceCollection serviceCollection)
    .

    public string TypeName { get; }Public ReadOnly Property TypeName As String

    Property Value

    • System.String
      System.String

Details

Assembly

Microsoft.EntityFrameworkCore.dll