AnnotationCodeGenerator.GenerateDataAnnotationAttributes 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.
Aşırı Yüklemeler
| GenerateDataAnnotationAttributes(IAnnotatable, IDictionary<String,IAnnotation>) |
İlgili veri ek açıklaması özniteliklerine sahip olan belirli ek açıklamalar için bu öznitelik kodu parçalarını döndürür ve ek açıklamaları kaldırır. |
| GenerateDataAnnotationAttributes(IEntityType, IDictionary<String,IAnnotation>) |
İlgili veri ek açıklaması özniteliklerine sahip olan belirli ek açıklamalar için bu öznitelik kodu parçalarını döndürür ve ek açıklamaları kaldırır. |
| GenerateDataAnnotationAttributes(IProperty, IDictionary<String,IAnnotation>) |
İlgili veri ek açıklaması özniteliklerine sahip olan belirli ek açıklamalar için bu öznitelik kodu parçalarını döndürür ve ek açıklamaları kaldırır. |
GenerateDataAnnotationAttributes(IAnnotatable, IDictionary<String,IAnnotation>)
- Kaynak:
- AnnotationCodeGenerator.cs
- Kaynak:
- AnnotationCodeGenerator.cs
- Kaynak:
- AnnotationCodeGenerator.cs
İlgili veri ek açıklaması özniteliklerine sahip olan belirli ek açıklamalar için bu öznitelik kodu parçalarını döndürür ve ek açıklamaları kaldırır.
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment> GenerateDataAnnotationAttributes(Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable annotatable, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member GenerateDataAnnotationAttributes : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment>
override this.GenerateDataAnnotationAttributes : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment>
Public Overridable Function GenerateDataAnnotationAttributes (annotatable As IAnnotatable, annotations As IDictionary(Of String, IAnnotation)) As IReadOnlyList(Of AttributeCodeFragment)
Parametreler
- annotatable
- IAnnotatable
Ek açıklamaların uygulandığı annotatable.
- annotations
- IDictionary<String,IAnnotation>
Fluent API çağrılarının oluşturulacağı ek açıklama kümesi.
Döndürülenler
Uygulamalar
Şunlara uygulanır
GenerateDataAnnotationAttributes(IEntityType, IDictionary<String,IAnnotation>)
- Kaynak:
- AnnotationCodeGenerator.cs
- Kaynak:
- AnnotationCodeGenerator.cs
- Kaynak:
- AnnotationCodeGenerator.cs
- Kaynak:
- AnnotationCodeGenerator.cs
- Kaynak:
- AnnotationCodeGenerator.cs
İlgili veri ek açıklaması özniteliklerine sahip olan belirli ek açıklamalar için bu öznitelik kodu parçalarını döndürür ve ek açıklamaları kaldırır.
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment> GenerateDataAnnotationAttributes(Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member GenerateDataAnnotationAttributes : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment>
override this.GenerateDataAnnotationAttributes : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment>
Public Overridable Function GenerateDataAnnotationAttributes (entityType As IEntityType, annotations As IDictionary(Of String, IAnnotation)) As IReadOnlyList(Of AttributeCodeFragment)
Parametreler
- entityType
- IEntityType
Ek açıklamaların uygulandığı varlık türü.
- annotations
- IDictionary<String,IAnnotation>
Fluent API çağrılarının oluşturulacağı ek açıklama kümesi.
Döndürülenler
Uygulamalar
Şunlara uygulanır
GenerateDataAnnotationAttributes(IProperty, IDictionary<String,IAnnotation>)
- Kaynak:
- AnnotationCodeGenerator.cs
- Kaynak:
- AnnotationCodeGenerator.cs
- Kaynak:
- AnnotationCodeGenerator.cs
- Kaynak:
- AnnotationCodeGenerator.cs
- Kaynak:
- AnnotationCodeGenerator.cs
İlgili veri ek açıklaması özniteliklerine sahip olan belirli ek açıklamalar için bu öznitelik kodu parçalarını döndürür ve ek açıklamaları kaldırır.
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment> GenerateDataAnnotationAttributes(Microsoft.EntityFrameworkCore.Metadata.IProperty property, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member GenerateDataAnnotationAttributes : Microsoft.EntityFrameworkCore.Metadata.IProperty * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment>
override this.GenerateDataAnnotationAttributes : Microsoft.EntityFrameworkCore.Metadata.IProperty * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment>
Public Overridable Function GenerateDataAnnotationAttributes (property As IProperty, annotations As IDictionary(Of String, IAnnotation)) As IReadOnlyList(Of AttributeCodeFragment)
Parametreler
- property
- IProperty
Ek açıklamaların uygulandığı özellik.
- annotations
- IDictionary<String,IAnnotation>
Fluent API çağrılarının oluşturulacağı ek açıklama kümesi.