Compartilhar via


AnnotationCodeGenerator.GenerateFluentApi Método

Definição

Sobrecargas

GenerateFluentApi(ISkipNavigation, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

GenerateFluentApi(ITrigger, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

GenerateFluentApi(IEntityType, IAnnotation, String)
Obsoleto.

Retorna null , a menos que substituído para fazer o contrário.

GenerateFluentApi(IForeignKey, IAnnotation, String)
Obsoleto.

Retorna null , a menos que substituído para fazer o contrário.

GenerateFluentApi(IProperty, IAnnotation, String)
Obsoleto.

Retorna null , a menos que substituído para fazer o contrário.

GenerateFluentApi(IKey, IAnnotation, String)
Obsoleto.

Retorna null , a menos que substituído para fazer o contrário.

GenerateFluentApi(IModel, IAnnotation, String)
Obsoleto.

Retorna null , a menos que substituído para fazer o contrário.

GenerateFluentApi(ISequence, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

GenerateFluentApi(IIndex, IAnnotation, String)
Obsoleto.

Retorna null , a menos que substituído para fazer o contrário.

GenerateFluentApi(IRelationalPropertyOverrides, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

GenerateFluentApi(INavigation, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

GenerateFluentApi(IComplexProperty, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

GenerateFluentApi(IModel, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

GenerateFluentApi(IKey, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

GenerateFluentApi(IIndex, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

GenerateFluentApi(IForeignKey, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

GenerateFluentApi(IEntityTypeMappingFragment, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

GenerateFluentApi(IEntityType, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

GenerateFluentApi(IComplexType, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

GenerateFluentApi(IProperty, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

GenerateFluentApi(ICheckConstraint, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

GenerateFluentApi(ISkipNavigation, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

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

Parâmetros

annotation
IAnnotation

O IAnnotation.

Retornos

null.

Comentários

A implementação padrão sempre retorna null.

Aplica-se a

GenerateFluentApi(ITrigger, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

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

Parâmetros

trigger
ITrigger

O ITrigger.

annotation
IAnnotation

O IAnnotation.

Retornos

null.

Comentários

A implementação padrão sempre retorna null.

Aplica-se a

GenerateFluentApi(IEntityType, IAnnotation, String)

Cuidado

Use GenerateFluentApi(IProperty, IAnnotation) instead.

Retorna null , a menos que substituído para fazer o contrário.

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

Parâmetros

entityType
IEntityType

O IEntityType.

annotation
IAnnotation

O IAnnotation.

language
String

A linguagem de programação a ser usada. Por exemplo, CSharp.

Retornos

Null.

Implementações

Atributos

Aplica-se a

GenerateFluentApi(IForeignKey, IAnnotation, String)

Cuidado

Use GenerateFluentApi(IProperty, IAnnotation) instead.

Retorna null , a menos que substituído para fazer o contrário.

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

Parâmetros

foreignKey
IForeignKey

O IForeignKey.

annotation
IAnnotation

O IAnnotation.

language
String

A linguagem de programação a ser usada. Por exemplo, CSharp.

Retornos

Null.

Implementações

Atributos

Aplica-se a

GenerateFluentApi(IProperty, IAnnotation, String)

Cuidado

Use GenerateFluentApi(IProperty, IAnnotation) instead.

Retorna null , a menos que substituído para fazer o contrário.

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

Parâmetros

property
IProperty

O IProperty.

annotation
IAnnotation

O IAnnotation.

language
String

A linguagem de programação a ser usada. Por exemplo, CSharp.

Retornos

Null.

Implementações

Atributos

Aplica-se a

GenerateFluentApi(IKey, IAnnotation, String)

Cuidado

Use GenerateFluentApi(IProperty, IAnnotation) instead.

Retorna null , a menos que substituído para fazer o contrário.

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

Parâmetros

key
IKey

O IKey.

annotation
IAnnotation

O IAnnotation.

language
String

A linguagem de programação a ser usada. Por exemplo, CSharp.

Retornos

Null.

Implementações

Atributos

Aplica-se a

GenerateFluentApi(IModel, IAnnotation, String)

Cuidado

Use GenerateFluentApi(IProperty, IAnnotation) instead.

Retorna null , a menos que substituído para fazer o contrário.

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

Parâmetros

model
IModel

O IModel.

annotation
IAnnotation

O IAnnotation.

language
String

A linguagem de programação a ser usada. Por exemplo, CSharp.

Retornos

Null.

Implementações

Atributos

Aplica-se a

GenerateFluentApi(ISequence, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

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

Parâmetros

sequence
ISequence

O ISequence.

annotation
IAnnotation

O IAnnotation.

Retornos

null.

Comentários

A implementação padrão sempre retorna null.

Aplica-se a

GenerateFluentApi(IIndex, IAnnotation, String)

Cuidado

Use GenerateFluentApi(IProperty, IAnnotation) instead.

Retorna null , a menos que substituído para fazer o contrário.

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

Parâmetros

index
IIndex

O IIndex.

annotation
IAnnotation

O IAnnotation.

language
String

A linguagem de programação a ser usada. Por exemplo, CSharp.

Retornos

Null.

Implementações

Atributos

Aplica-se a

GenerateFluentApi(IRelationalPropertyOverrides, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

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

Parâmetros

annotation
IAnnotation

O IAnnotation.

Retornos

null.

Comentários

A implementação padrão sempre retorna null.

Aplica-se a

GenerateFluentApi(INavigation, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

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

Parâmetros

navigation
INavigation

O INavigation.

annotation
IAnnotation

O IAnnotation.

Retornos

null.

Comentários

A implementação padrão sempre retorna null.

Aplica-se a

GenerateFluentApi(IComplexProperty, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

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

Parâmetros

complexProperty
IComplexProperty

O IProperty.

annotation
IAnnotation

O IAnnotation.

Retornos

null.

Comentários

A implementação padrão sempre retorna null.

Aplica-se a

GenerateFluentApi(IModel, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

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);
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
Public Overridable Function GenerateFluentApi (model As IModel, annotation As IAnnotation) As MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (model As IModel, annotation As IAnnotation) As MethodCallCodeFragment

Parâmetros

model
IModel

O IModel.

annotation
IAnnotation

O IAnnotation.

Retornos

null.

Implementações

Comentários

A implementação padrão sempre retorna null.

Aplica-se a

GenerateFluentApi(IKey, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

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);
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
Public Overridable Function GenerateFluentApi (key As IKey, annotation As IAnnotation) As MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (key As IKey, annotation As IAnnotation) As MethodCallCodeFragment

Parâmetros

key
IKey

O IKey.

annotation
IAnnotation

O IAnnotation.

Retornos

null.

Implementações

Comentários

A implementação padrão sempre retorna null.

Aplica-se a

GenerateFluentApi(IIndex, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

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);
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
Public Overridable Function GenerateFluentApi (index As IIndex, annotation As IAnnotation) As MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (index As IIndex, annotation As IAnnotation) As MethodCallCodeFragment

Parâmetros

index
IIndex

O IIndex.

annotation
IAnnotation

O IAnnotation.

Retornos

null.

Implementações

Comentários

A implementação padrão sempre retorna null.

Aplica-se a

GenerateFluentApi(IForeignKey, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

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);
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
Public Overridable Function GenerateFluentApi (foreignKey As IForeignKey, annotation As IAnnotation) As MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (foreignKey As IForeignKey, annotation As IAnnotation) As MethodCallCodeFragment

Parâmetros

foreignKey
IForeignKey

O IForeignKey.

annotation
IAnnotation

O IAnnotation.

Retornos

null.

Implementações

Comentários

A implementação padrão sempre retorna null.

Aplica-se a

GenerateFluentApi(IEntityTypeMappingFragment, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

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

Parâmetros

annotation
IAnnotation

O IAnnotation.

Retornos

null.

Comentários

A implementação padrão sempre retorna null.

Aplica-se a

GenerateFluentApi(IEntityType, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

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);
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
Public Overridable Function GenerateFluentApi (entityType As IEntityType, annotation As IAnnotation) As MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (entityType As IEntityType, annotation As IAnnotation) As MethodCallCodeFragment

Parâmetros

entityType
IEntityType

O IEntityType.

annotation
IAnnotation

O IAnnotation.

Retornos

null.

Implementações

Comentários

A implementação padrão sempre retorna null.

Aplica-se a

GenerateFluentApi(IComplexType, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

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

Parâmetros

complexType
IComplexType

O IComplexType.

annotation
IAnnotation

O IAnnotation.

Retornos

null.

Comentários

A implementação padrão sempre retorna null.

Aplica-se a

GenerateFluentApi(IProperty, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

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);
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
Public Overridable Function GenerateFluentApi (property As IProperty, annotation As IAnnotation) As MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (property As IProperty, annotation As IAnnotation) As MethodCallCodeFragment

Parâmetros

property
IProperty

O IProperty.

annotation
IAnnotation

O IAnnotation.

Retornos

null.

Implementações

Comentários

A implementação padrão sempre retorna null.

Aplica-se a

GenerateFluentApi(ICheckConstraint, IAnnotation)

Retorna uma chamada de API fluente para o determinado annotationou null se nenhuma chamada à API fluente existir para ela.

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

Parâmetros

checkConstraint
ICheckConstraint

O ICheckConstraint.

annotation
IAnnotation

O IAnnotation.

Retornos

null.

Comentários

A implementação padrão sempre retorna null.

Aplica-se a