語言

AnnotationCodeGenerator.GenerateFluentApi 方法

定義

多載

名稱 Description
GenerateFluentApi(ISkipNavigation, IAnnotation)

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

GenerateFluentApi(ITrigger, IAnnotation)

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

GenerateFluentApi(IEntityType, IAnnotation, String)
已淘汰.

除非被覆蓋以達成其他方式,否則會回傳 null 。

GenerateFluentApi(IForeignKey, IAnnotation, String)
已淘汰.

除非被覆蓋以達成其他方式,否則會回傳 null 。

GenerateFluentApi(IProperty, IAnnotation, String)
已淘汰.

除非被覆蓋以達成其他方式,否則會回傳 null 。

GenerateFluentApi(IKey, IAnnotation, String)
已淘汰.

除非被覆蓋以達成其他方式,否則會回傳 null 。

GenerateFluentApi(IModel, IAnnotation, String)
已淘汰.

除非被覆蓋以達成其他方式,否則會回傳 null 。

GenerateFluentApi(ISequence, IAnnotation)

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

GenerateFluentApi(IIndex, IAnnotation, String)
已淘汰.

除非被覆蓋以達成其他方式,否則會回傳 null 。

GenerateFluentApi(IRelationalPropertyOverrides, IAnnotation)

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

GenerateFluentApi(INavigation, IAnnotation)

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

GenerateFluentApi(IComplexProperty, IAnnotation)

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

GenerateFluentApi(IModel, IAnnotation)

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

GenerateFluentApi(IKey, IAnnotation)

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

GenerateFluentApi(IIndex, IAnnotation)

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

GenerateFluentApi(IForeignKey, IAnnotation)

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

GenerateFluentApi(IEntityTypeMappingFragment, IAnnotation)

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

GenerateFluentApi(IEntityType, IAnnotation)

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

GenerateFluentApi(IComplexType, IAnnotation)

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

GenerateFluentApi(IProperty, IAnnotation)

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

GenerateFluentApi(ICheckConstraint, IAnnotation)

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

GenerateFluentApi(ISkipNavigation, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation navigation, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation navigation, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (navigation As ISkipNavigation, annotation As IAnnotation) As MethodCallCodeFragment

參數

annotation
IAnnotation

IAnnotation。

傳回

null。

備註

預設實作一律會傳 null回 。

適用於

GenerateFluentApi(ITrigger, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.ITrigger trigger, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.ITrigger * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.ITrigger * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (trigger As ITrigger, annotation As IAnnotation) As MethodCallCodeFragment

參數

trigger
ITrigger

ITrigger。

annotation
IAnnotation

IAnnotation。

傳回

null。

備註

預設實作一律會傳 null回 。

適用於

GenerateFluentApi(IEntityType, IAnnotation, String)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

警告

Use GenerateFluentApi(IProperty, IAnnotation) instead.

除非被覆蓋以達成其他方式,否則會回傳 null 。

public virtual string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")]
public virtual string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Overridable Function GenerateFluentApi (entityType As IEntityType, annotation As IAnnotation, language As String) As String

參數

entityType
IEntityType

IEntityType。

annotation
IAnnotation

IAnnotation。

language
String

該使用的程式語言。 例如,CSharp。

傳回

Null.

實作

屬性

適用於

GenerateFluentApi(IForeignKey, IAnnotation, String)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

警告

Use GenerateFluentApi(IProperty, IAnnotation) instead.

除非被覆蓋以達成其他方式,否則會回傳 null 。

public virtual string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")]
public virtual string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Overridable Function GenerateFluentApi (foreignKey As IForeignKey, annotation As IAnnotation, language As String) As String

參數

foreignKey
IForeignKey

IForeignKey。

annotation
IAnnotation

IAnnotation。

language
String

該使用的程式語言。 例如,CSharp。

傳回

Null.

實作

屬性

適用於

GenerateFluentApi(IProperty, IAnnotation, String)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

警告

Use GenerateFluentApi(IProperty, IAnnotation) instead.

除非被覆蓋以達成其他方式,否則會回傳 null 。

public virtual string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")]
public virtual string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Overridable Function GenerateFluentApi (property As IProperty, annotation As IAnnotation, language As String) As String

參數

property
IProperty

IProperty。

annotation
IAnnotation

IAnnotation。

language
String

該使用的程式語言。 例如,CSharp。

傳回

Null.

實作

屬性

適用於

GenerateFluentApi(IKey, IAnnotation, String)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

警告

Use GenerateFluentApi(IProperty, IAnnotation) instead.

除非被覆蓋以達成其他方式,否則會回傳 null 。

public virtual string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")]
public virtual string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Overridable Function GenerateFluentApi (key As IKey, annotation As IAnnotation, language As String) As String

參數

key
IKey

IKey。

annotation
IAnnotation

IAnnotation。

language
String

該使用的程式語言。 例如,CSharp。

傳回

Null.

實作

屬性

適用於

GenerateFluentApi(IModel, IAnnotation, String)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

警告

Use GenerateFluentApi(IProperty, IAnnotation) instead.

除非被覆蓋以達成其他方式,否則會回傳 null 。

public virtual string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")]
public virtual string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Overridable Function GenerateFluentApi (model As IModel, annotation As IAnnotation, language As String) As String

參數

model
IModel

IModel。

annotation
IAnnotation

IAnnotation。

language
String

該使用的程式語言。 例如,CSharp。

傳回

Null.

實作

屬性

適用於

GenerateFluentApi(ISequence, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.ISequence sequence, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.ISequence * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.ISequence * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (sequence As ISequence, annotation As IAnnotation) As MethodCallCodeFragment

參數

sequence
ISequence

ISequence。

annotation
IAnnotation

IAnnotation。

傳回

null。

備註

預設實作一律會傳 null回 。

適用於

GenerateFluentApi(IIndex, IAnnotation, String)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

警告

Use GenerateFluentApi(IProperty, IAnnotation) instead.

除非被覆蓋以達成其他方式,否則會回傳 null 。

public virtual string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")]
public virtual string GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Overridable Function GenerateFluentApi (index As IIndex, annotation As IAnnotation, language As String) As String

參數

index
IIndex

IIndex。

annotation
IAnnotation

IAnnotation。

language
String

該使用的程式語言。 例如,CSharp。

傳回

Null.

實作

屬性

適用於

GenerateFluentApi(IRelationalPropertyOverrides, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides overrides, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (overrides As IRelationalPropertyOverrides, annotation As IAnnotation) As MethodCallCodeFragment

參數

annotation
IAnnotation

IAnnotation。

傳回

null。

備註

預設實作一律會傳 null回 。

適用於

GenerateFluentApi(INavigation, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.INavigation * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.INavigation * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (navigation As INavigation, annotation As IAnnotation) As MethodCallCodeFragment

參數

navigation
INavigation

INavigation。

annotation
IAnnotation

IAnnotation。

傳回

null。

備註

預設實作一律會傳 null回 。

適用於

GenerateFluentApi(IComplexProperty, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IComplexProperty complexProperty, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (complexProperty As IComplexProperty, annotation As IAnnotation) As MethodCallCodeFragment

參數

complexProperty
IComplexProperty

IProperty。

annotation
IAnnotation

IAnnotation。

傳回

null。

備註

預設實作一律會傳 null回 。

適用於

GenerateFluentApi(IModel, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
public virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (model As IModel, annotation As IAnnotation) As MethodCallCodeFragment
Public Overridable Function GenerateFluentApi (model As IModel, annotation As IAnnotation) As MethodCallCodeFragment

參數

model
IModel

IModel。

annotation
IAnnotation

IAnnotation。

傳回

null。

實作

備註

預設實作一律會傳 null回 。

適用於

GenerateFluentApi(IKey, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
public virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (key As IKey, annotation As IAnnotation) As MethodCallCodeFragment
Public Overridable Function GenerateFluentApi (key As IKey, annotation As IAnnotation) As MethodCallCodeFragment

參數

key
IKey

IKey。

annotation
IAnnotation

IAnnotation。

傳回

null。

實作

備註

預設實作一律會傳 null回 。

適用於

GenerateFluentApi(IIndex, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
public virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (index As IIndex, annotation As IAnnotation) As MethodCallCodeFragment
Public Overridable Function GenerateFluentApi (index As IIndex, annotation As IAnnotation) As MethodCallCodeFragment

參數

index
IIndex

IIndex。

annotation
IAnnotation

IAnnotation。

傳回

null。

實作

備註

預設實作一律會傳 null回 。

適用於

GenerateFluentApi(IForeignKey, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
public virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (foreignKey As IForeignKey, annotation As IAnnotation) As MethodCallCodeFragment
Public Overridable Function GenerateFluentApi (foreignKey As IForeignKey, annotation As IAnnotation) As MethodCallCodeFragment

參數

foreignKey
IForeignKey

IForeignKey。

annotation
IAnnotation

IAnnotation。

傳回

null。

實作

備註

預設實作一律會傳 null回 。

適用於

GenerateFluentApi(IEntityTypeMappingFragment, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment fragment, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (fragment As IEntityTypeMappingFragment, annotation As IAnnotation) As MethodCallCodeFragment

參數

annotation
IAnnotation

IAnnotation。

傳回

null。

備註

預設實作一律會傳 null回 。

適用於

GenerateFluentApi(IEntityType, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
public virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (entityType As IEntityType, annotation As IAnnotation) As MethodCallCodeFragment
Public Overridable Function GenerateFluentApi (entityType As IEntityType, annotation As IAnnotation) As MethodCallCodeFragment

參數

entityType
IEntityType

IEntityType。

annotation
IAnnotation

IAnnotation。

傳回

null。

實作

備註

預設實作一律會傳 null回 。

適用於

GenerateFluentApi(IComplexType, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IComplexType complexType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IComplexType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IComplexType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (complexType As IComplexType, annotation As IAnnotation) As MethodCallCodeFragment

參數

complexType
IComplexType

IComplexType。

annotation
IAnnotation

IAnnotation。

傳回

null。

備註

預設實作一律會傳 null回 。

適用於

GenerateFluentApi(IProperty, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
public virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (property As IProperty, annotation As IAnnotation) As MethodCallCodeFragment
Public Overridable Function GenerateFluentApi (property As IProperty, annotation As IAnnotation) As MethodCallCodeFragment

參數

property
IProperty

IProperty。

annotation
IAnnotation

IAnnotation。

傳回

null。

實作

備註

預設實作一律會傳 null回 。

適用於

GenerateFluentApi(ICheckConstraint, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

回傳給定 annotation的流暢 API 呼叫,或 null 若不存在流暢 API 呼叫。

protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi(Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint checkConstraint, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (checkConstraint As ICheckConstraint, annotation As IAnnotation) As MethodCallCodeFragment

參數

checkConstraint
ICheckConstraint

ICheckConstraint。

annotation
IAnnotation

IAnnotation。

傳回

null。

備註

預設實作一律會傳 null回 。

適用於