ServiceConstructor<TService> Sınıf
Bir temel sınıf hizmet Kurucular için sağlar.
Devralma Hiyerarşisi
System.Object
Microsoft.Data.Schema.ServiceConstructor
Microsoft.Data.Schema.ServiceConstructor<TService>
Diğer...
Ad alanı: Microsoft.Data.Schema
Derleme: Microsoft.Data.Schema (Microsoft.Data.Schema.dll içinde)
Sözdizimi
'Bildirim
Public MustInherit Class ServiceConstructor(Of TService) _
Inherits ServiceConstructor
public abstract class ServiceConstructor<TService> : ServiceConstructor
generic<typename TService>
public ref class ServiceConstructor abstract : public ServiceConstructor
[<AbstractClass>]
type ServiceConstructor<'TService> =
class
inherit ServiceConstructor
end
JScript genel türleri veya yöntemleri desteklemez.
Tür Parametreleri
- TService
A Type Bu sınıfın örneklerini oluşturabilirsiniz hizmet nesne türünü belirler.
ServiceConstructor<TService> türü aşağıdaki üyeleri ortaya koyar.
Oluşturucular
Ad | Açıklama | |
---|---|---|
![]() |
ServiceConstructor<TService> | Yeni bir örneğini başlatır ServiceConstructor<TService> sınıfa |
Üst
Özellikler
Ad | Açıklama | |
---|---|---|
![]() |
DatabaseSchemaProvider | Alır veya geçerli veritabanı şeması sağlayıcısını ayarlar. (ServiceConstructor kaynağından devralındı.) |
Üst
Yöntemler
Ad | Açıklama | |
---|---|---|
![]() |
Clone | Geçerli örnek çoğaltır. |
![]() |
ConstructService | Arayan bir DatabaseSchemaProvider belirtilen bir örneğini oluşturmak için TService türü. |
![]() |
ConstructServiceImplementation | Arayan ConstructService yöntemine yeni bir kopyasını belirtilen iade TService Type. |
![]() |
Equals | Belirler olup belirtilen Object eşittir geçerli Object. (Object kaynağından devralındı.) |
![]() |
Finalize | Kaynakları boşaltın ve atık toplama işlemi tarafından iadesi önce diğer temizleme işlemleri gerçekleştirmek nesne izin verir. (Object kaynağından devralındı.) |
![]() |
GetHashCode | Belirli bir tip için sağlama işlevini yerine getirir. (Object kaynağından devralındı.) |
![]() |
GetType | Alır Type geçerli bir örneği. (Object kaynağından devralındı.) |
![]() |
MemberwiseClone | Geçerli yüzeysel bir kopyasını oluşturur Object. (Object kaynağından devralındı.) |
![]() |
ToString | Geçerli nesneyi temsil eden bir dize döndürür. (Object kaynağından devralındı.) |
Üst
Açıklamalar
A DatabaseSchemaProvider kullandığı bu ServiceConstructor<TService> sınıfı tarafından çalıştırıldığında, GetService<TService> ve GetServiceConstructor<TServiceConstructor> yöntemleri.
Devralanlara Notlar
Türetildiği sınıflar için özellikler ekleyebilirsiniz ServiceConstructor<TService> sonra uygulanabilecek tarafından oluşturulan örneklerine ConstructServiceImplementation yöntemi.
İş Parçacığı Güvenliği
Bu türün tüm genel statik (Visual Basic'te Shared) üyeleri iş parçacığı açısından güvenlidir. Hiçbir örnek üyesinin iş parçacığı açısından güvenliği garanti edilemez.
Ayrıca bkz.
Başvuru
Microsoft.Data.Schema Ad Alanı
GetServiceConstructor<TServiceConstructor>
Devralma Hiyerarşisi
System.Object
Microsoft.Data.Schema.ServiceConstructor
Microsoft.Data.Schema.ServiceConstructor<TService>
Microsoft.Data.Schema.Build.DatabaseTaskHostConstructor
Microsoft.Data.Schema.Build.SchemaDeploymentConstructor
Microsoft.Data.Schema.SchemaModel.DataSchemaModelConstructor
Microsoft.Data.Schema.SchemaModel.ModelBuilderConstructor
Microsoft.Data.Schema.SchemaModel.ModelComparerConstructor
Microsoft.Data.Schema.SchemaModel.ParserConstructor
Microsoft.Data.Schema.SchemaModel.ReverseEngineerConstructor
Microsoft.Data.Schema.SchemaModel.ScriptDomGeneratorConstructor
Microsoft.Data.Schema.SchemaModel.ScriptGeneratorConstructor
Microsoft.Data.Schema.ScriptDom.Sql.SqlScriptComparerConstructor
Microsoft.Data.Schema.Sql.SchemaModel.SqlInterpreterConstructor