DesignTimeServicesReferenceAttribute Sınıf
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Ek tasarım zamanı hizmetlerinin nerede bulunacağı belirlenir.
Bu öznitelik genellikle tasarım zamanı uzantıları tarafından kullanılır. Genellikle uygulama kodunda kullanılmaz.
[System.AttributeUsage(System.AttributeTargets.Assembly)]
public sealed class DesignTimeServicesReferenceAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class DesignTimeServicesReferenceAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly)>]
type DesignTimeServicesReferenceAttribute = class
inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
type DesignTimeServicesReferenceAttribute = class
inherit Attribute
Public NotInheritable Class DesignTimeServicesReferenceAttribute
Inherits Attribute
- Devralma
-
DesignTimeServicesReferenceAttribute
- Öznitelikler
Açıklamalar
Daha fazla bilgi ve örnek için bkz. Veritabanı sağlayıcılarının ve uzantılarının uygulanması .
Oluşturucular
DesignTimeServicesReferenceAttribute(String) |
DesignTimeServicesReferenceAttribute sınıfının yeni bir örneğini başlatır. |
DesignTimeServicesReferenceAttribute(String, String) |
DesignTimeServicesReferenceAttribute sınıfının yeni bir örneğini başlatır. |
Özellikler
ForProvider |
Bu hizmetlerin eklenmesi gereken sağlayıcının adını alır. Null ise, hizmetler tüm sağlayıcılar için eklenir. |
TypeName |
öğesine ek tasarım zamanı hizmetleri ServiceCollectioneklemek için kullanılabilecek türün derleme nitelikli adını alır. Bu tür uygulaması IDesignTimeServicesgerekir. |
Şunlara uygulanır
Entity Framework