SequenceBuilder.IConventionSequenceBuilder.HasType(Type, Boolean) Yöntem
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.
Sıra tarafından döndürülen değerlerin türünü ayarlar.
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSequenceBuilder IConventionSequenceBuilder.HasType (Type type, bool fromDataAnnotation);
abstract member Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSequenceBuilder.HasType : Type * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSequenceBuilder
override this.Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSequenceBuilder.HasType : Type * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSequenceBuilder
Function HasType (type As Type, fromDataAnnotation As Boolean) As IConventionSequenceBuilder Implements IConventionSequenceBuilder.HasType
Parametreler
- type
- Type
Sıra tarafından döndürülen değerlerin türü.
- fromDataAnnotation
- Boolean
Yapılandırmanın veri ek açıklaması kullanılarak belirtilmemiş olup olmadığını gösterir.
Döndürülenler
Yapılandırma uygulanmışsa aynı oluşturucu örneği, aksi null takdirde.