次の方法で共有


ScaffoldingModelExtensions.GetDataAnnotations メソッド

定義

オーバーロード

GetDataAnnotations(IEntityType, IAnnotationCodeGenerator)

エンティティ型を構成するデータ注釈を取得します。

GetDataAnnotations(INavigation, IAnnotationCodeGenerator)

ナビゲーション プロパティを構成するデータ注釈を取得します。

GetDataAnnotations(IProperty, IAnnotationCodeGenerator)

プロパティを構成するデータ注釈を取得します。

GetDataAnnotations(ISkipNavigation, IAnnotationCodeGenerator)

スキップ ナビゲーション プロパティを構成するデータ注釈を取得します。

GetDataAnnotations(IEntityType, IAnnotationCodeGenerator)

エンティティ型を構成するデータ注釈を取得します。

[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.ScaffoldingModelExtensions+<GetDataAnnotations>d__5))]
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment> GetDataAnnotations (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.ScaffoldingModelExtensions+<GetDataAnnotations>d__5))>]
static member GetDataAnnotations : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> seq<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment>
<Extension()>
Public Iterator Function GetDataAnnotations (entityType As IEntityType, annotationCodeGenerator As IAnnotationCodeGenerator) As IEnumerable(Of AttributeCodeFragment)

パラメーター

entityType
IEntityType

エンティティの型。

annotationCodeGenerator
IAnnotationCodeGenerator

プロバイダーの注釈コード ジェネレーター。

戻り値

データ注釈。

属性

適用対象

GetDataAnnotations(INavigation, IAnnotationCodeGenerator)

ナビゲーション プロパティを構成するデータ注釈を取得します。

[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.ScaffoldingModelExtensions+<GetDataAnnotations>d__7))]
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment> GetDataAnnotations (this Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.ScaffoldingModelExtensions+<GetDataAnnotations>d__7))>]
static member GetDataAnnotations : Microsoft.EntityFrameworkCore.Metadata.INavigation * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> seq<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment>
<Extension()>
Public Iterator Function GetDataAnnotations (navigation As INavigation, annotationCodeGenerator As IAnnotationCodeGenerator) As IEnumerable(Of AttributeCodeFragment)

パラメーター

navigation
INavigation

ナビゲーション プロパティ。

annotationCodeGenerator
IAnnotationCodeGenerator

プロバイダーの注釈コード ジェネレーター。

戻り値

データ注釈。

属性

適用対象

GetDataAnnotations(IProperty, IAnnotationCodeGenerator)

プロパティを構成するデータ注釈を取得します。

[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.ScaffoldingModelExtensions+<GetDataAnnotations>d__6))]
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment> GetDataAnnotations (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.ScaffoldingModelExtensions+<GetDataAnnotations>d__6))>]
static member GetDataAnnotations : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> seq<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment>
<Extension()>
Public Iterator Function GetDataAnnotations (property As IProperty, annotationCodeGenerator As IAnnotationCodeGenerator) As IEnumerable(Of AttributeCodeFragment)

パラメーター

property
IProperty

プロパティ。

annotationCodeGenerator
IAnnotationCodeGenerator

プロバイダーの注釈コード ジェネレーター。

戻り値

データ注釈。

属性

適用対象

GetDataAnnotations(ISkipNavigation, IAnnotationCodeGenerator)

スキップ ナビゲーション プロパティを構成するデータ注釈を取得します。

[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.ScaffoldingModelExtensions+<GetDataAnnotations>d__8))]
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment> GetDataAnnotations (this Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation skipNavigation, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.ScaffoldingModelExtensions+<GetDataAnnotations>d__8))>]
static member GetDataAnnotations : Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> seq<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment>
<Extension()>
Public Iterator Function GetDataAnnotations (skipNavigation As ISkipNavigation, annotationCodeGenerator As IAnnotationCodeGenerator) As IEnumerable(Of AttributeCodeFragment)

パラメーター

skipNavigation
ISkipNavigation

スキップ ナビゲーション プロパティ。

annotationCodeGenerator
IAnnotationCodeGenerator

プロバイダーの注釈コード ジェネレーター。

戻り値

データ注釈。

属性

適用対象