AnnotationCodeGenerator.GenerateFluentApi Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
| GenerateFluentApi(ISkipNavigation, IAnnotation) |
Zwraca płynne wywołanie interfejsu API dla danego |
| GenerateFluentApi(ITrigger, IAnnotation) |
Zwraca płynne wywołanie interfejsu API dla danego |
| GenerateFluentApi(IEntityType, IAnnotation, String) |
Przestarzałe.
Zwraca wartość |
| GenerateFluentApi(IForeignKey, IAnnotation, String) |
Przestarzałe.
Zwraca wartość |
| GenerateFluentApi(IProperty, IAnnotation, String) |
Przestarzałe.
Zwraca wartość |
| GenerateFluentApi(IKey, IAnnotation, String) |
Przestarzałe.
Zwraca wartość |
| GenerateFluentApi(IModel, IAnnotation, String) |
Przestarzałe.
Zwraca wartość |
| GenerateFluentApi(ISequence, IAnnotation) |
Zwraca płynne wywołanie interfejsu API dla danego |
| GenerateFluentApi(IIndex, IAnnotation, String) |
Przestarzałe.
Zwraca wartość |
| GenerateFluentApi(IRelationalPropertyOverrides, IAnnotation) |
Zwraca płynne wywołanie interfejsu API dla danego |
| GenerateFluentApi(INavigation, IAnnotation) |
Zwraca płynne wywołanie interfejsu API dla danego |
| GenerateFluentApi(IComplexProperty, IAnnotation) |
Zwraca płynne wywołanie interfejsu API dla danego |
| GenerateFluentApi(IModel, IAnnotation) |
Zwraca płynne wywołanie interfejsu API dla danego |
| GenerateFluentApi(IKey, IAnnotation) |
Zwraca płynne wywołanie interfejsu API dla danego |
| GenerateFluentApi(IIndex, IAnnotation) |
Zwraca płynne wywołanie interfejsu API dla danego |
| GenerateFluentApi(IForeignKey, IAnnotation) |
Zwraca płynne wywołanie interfejsu API dla danego |
| GenerateFluentApi(IEntityTypeMappingFragment, IAnnotation) |
Zwraca płynne wywołanie interfejsu API dla danego |
| GenerateFluentApi(IEntityType, IAnnotation) |
Zwraca płynne wywołanie interfejsu API dla danego |
| GenerateFluentApi(IComplexType, IAnnotation) |
Zwraca płynne wywołanie interfejsu API dla danego |
| GenerateFluentApi(IProperty, IAnnotation) |
Zwraca płynne wywołanie interfejsu API dla danego |
| GenerateFluentApi(ICheckConstraint, IAnnotation) |
Zwraca płynne wywołanie interfejsu API dla danego |
GenerateFluentApi(ISkipNavigation, IAnnotation)
Zwraca płynne wywołanie interfejsu API dla danego annotationelementu lub null jeśli dla niego nie istnieje żadne płynne wywołanie interfejsu 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
Parametry
- navigation
- ISkipNavigation
Element ISkipNavigation.
- annotation
- IAnnotation
Element IAnnotation.
Zwraca
null.
Uwagi
Domyślna implementacja zawsze zwraca wartość null.
Dotyczy
GenerateFluentApi(ITrigger, IAnnotation)
Zwraca płynne wywołanie interfejsu API dla danego annotationelementu lub null jeśli dla niego nie istnieje żadne płynne wywołanie interfejsu 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
Parametry
- annotation
- IAnnotation
Element IAnnotation.
Zwraca
null.
Uwagi
Domyślna implementacja zawsze zwraca wartość null.
Dotyczy
GenerateFluentApi(IEntityType, IAnnotation, String)
Przestroga
Use GenerateFluentApi(IProperty, IAnnotation) instead.
Zwraca wartość null , chyba że zostanie zastąpiona w inny sposób.
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
Parametry
- entityType
- IEntityType
Element IEntityType.
- annotation
- IAnnotation
Element IAnnotation.
- language
- String
Język programowania do użycia. Na przykład CSharp.
Zwraca
Null.
Implementuje
- Atrybuty
Dotyczy
GenerateFluentApi(IForeignKey, IAnnotation, String)
Przestroga
Use GenerateFluentApi(IProperty, IAnnotation) instead.
Zwraca wartość null , chyba że zostanie zastąpiona w inny sposób.
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
Parametry
- foreignKey
- IForeignKey
Element IForeignKey.
- annotation
- IAnnotation
Element IAnnotation.
- language
- String
Język programowania do użycia. Na przykład CSharp.
Zwraca
Null.
Implementuje
- Atrybuty
Dotyczy
GenerateFluentApi(IProperty, IAnnotation, String)
Przestroga
Use GenerateFluentApi(IProperty, IAnnotation) instead.
Zwraca wartość null , chyba że zostanie zastąpiona w inny sposób.
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
Parametry
- annotation
- IAnnotation
Element IAnnotation.
- language
- String
Język programowania do użycia. Na przykład CSharp.
Zwraca
Null.
Implementuje
- Atrybuty
Dotyczy
GenerateFluentApi(IKey, IAnnotation, String)
Przestroga
Use GenerateFluentApi(IProperty, IAnnotation) instead.
Zwraca wartość null , chyba że zostanie zastąpiona w inny sposób.
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
Parametry
- annotation
- IAnnotation
Element IAnnotation.
- language
- String
Język programowania do użycia. Na przykład CSharp.
Zwraca
Null.
Implementuje
- Atrybuty
Dotyczy
GenerateFluentApi(IModel, IAnnotation, String)
Przestroga
Use GenerateFluentApi(IProperty, IAnnotation) instead.
Zwraca wartość null , chyba że zostanie zastąpiona w inny sposób.
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
Parametry
- annotation
- IAnnotation
Element IAnnotation.
- language
- String
Język programowania do użycia. Na przykład CSharp.
Zwraca
Null.
Implementuje
- Atrybuty
Dotyczy
GenerateFluentApi(ISequence, IAnnotation)
Zwraca płynne wywołanie interfejsu API dla danego annotationelementu lub null jeśli dla niego nie istnieje żadne płynne wywołanie interfejsu 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
Parametry
- annotation
- IAnnotation
Element IAnnotation.
Zwraca
null.
Uwagi
Domyślna implementacja zawsze zwraca wartość null.
Dotyczy
GenerateFluentApi(IIndex, IAnnotation, String)
Przestroga
Use GenerateFluentApi(IProperty, IAnnotation) instead.
Zwraca wartość null , chyba że zostanie zastąpiona w inny sposób.
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
Parametry
- annotation
- IAnnotation
Element IAnnotation.
- language
- String
Język programowania do użycia. Na przykład CSharp.
Zwraca
Null.
Implementuje
- Atrybuty
Dotyczy
GenerateFluentApi(IRelationalPropertyOverrides, IAnnotation)
Zwraca płynne wywołanie interfejsu API dla danego annotationelementu lub null jeśli dla niego nie istnieje żadne płynne wywołanie interfejsu 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
Parametry
- overrides
- IRelationalPropertyOverrides
Element IRelationalPropertyOverrides.
- annotation
- IAnnotation
Element IAnnotation.
Zwraca
null.
Uwagi
Domyślna implementacja zawsze zwraca wartość null.
Dotyczy
GenerateFluentApi(INavigation, IAnnotation)
Zwraca płynne wywołanie interfejsu API dla danego annotationelementu lub null jeśli dla niego nie istnieje żadne płynne wywołanie interfejsu 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
Parametry
- navigation
- INavigation
Element INavigation.
- annotation
- IAnnotation
Element IAnnotation.
Zwraca
null.
Uwagi
Domyślna implementacja zawsze zwraca wartość null.
Dotyczy
GenerateFluentApi(IComplexProperty, IAnnotation)
Zwraca płynne wywołanie interfejsu API dla danego annotationelementu lub null jeśli dla niego nie istnieje żadne płynne wywołanie interfejsu 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
Parametry
- complexProperty
- IComplexProperty
Element IProperty.
- annotation
- IAnnotation
Element IAnnotation.
Zwraca
null.
Uwagi
Domyślna implementacja zawsze zwraca wartość null.
Dotyczy
GenerateFluentApi(IModel, IAnnotation)
Zwraca płynne wywołanie interfejsu API dla danego wywołania interfejsu API lub null jeśli dla niego annotationnie istnieje żadne płynne wywołanie interfejsu API.
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
Parametry
- annotation
- IAnnotation
Element IAnnotation.
Zwraca
null.
Implementuje
Uwagi
Domyślna implementacja zawsze zwraca wartość null.
Dotyczy
GenerateFluentApi(IKey, IAnnotation)
Zwraca płynne wywołanie interfejsu API dla danego wywołania interfejsu API lub null jeśli dla niego annotationnie istnieje żadne płynne wywołanie interfejsu API.
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
Parametry
- annotation
- IAnnotation
Element IAnnotation.
Zwraca
null.
Implementuje
Uwagi
Domyślna implementacja zawsze zwraca wartość null.
Dotyczy
GenerateFluentApi(IIndex, IAnnotation)
Zwraca płynne wywołanie interfejsu API dla danego wywołania interfejsu API lub null jeśli dla niego annotationnie istnieje żadne płynne wywołanie interfejsu API.
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
Parametry
- annotation
- IAnnotation
Element IAnnotation.
Zwraca
null.
Implementuje
Uwagi
Domyślna implementacja zawsze zwraca wartość null.
Dotyczy
GenerateFluentApi(IForeignKey, IAnnotation)
Zwraca płynne wywołanie interfejsu API dla danego wywołania interfejsu API lub null jeśli dla niego annotationnie istnieje żadne płynne wywołanie interfejsu API.
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
Parametry
- foreignKey
- IForeignKey
Element IForeignKey.
- annotation
- IAnnotation
Element IAnnotation.
Zwraca
null.
Implementuje
Uwagi
Domyślna implementacja zawsze zwraca wartość null.
Dotyczy
GenerateFluentApi(IEntityTypeMappingFragment, IAnnotation)
Zwraca płynne wywołanie interfejsu API dla danego wywołania interfejsu API lub null jeśli dla niego annotationnie istnieje żadne płynne wywołanie interfejsu 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
Parametry
- fragment
- IEntityTypeMappingFragment
Element IEntityTypeMappingFragment.
- annotation
- IAnnotation
Element IAnnotation.
Zwraca
null.
Uwagi
Domyślna implementacja zawsze zwraca wartość null.
Dotyczy
GenerateFluentApi(IEntityType, IAnnotation)
Zwraca płynne wywołanie interfejsu API dla danego wywołania interfejsu API lub null jeśli dla niego annotationnie istnieje żadne płynne wywołanie interfejsu API.
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
Parametry
- entityType
- IEntityType
Element IEntityType.
- annotation
- IAnnotation
Element IAnnotation.
Zwraca
null.
Implementuje
Uwagi
Domyślna implementacja zawsze zwraca wartość null.
Dotyczy
GenerateFluentApi(IComplexType, IAnnotation)
Zwraca płynne wywołanie interfejsu API dla danego wywołania interfejsu API lub null jeśli dla niego annotationnie istnieje żadne płynne wywołanie interfejsu 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
Parametry
- complexType
- IComplexType
Element IComplexType.
- annotation
- IAnnotation
Element IAnnotation.
Zwraca
null.
Uwagi
Domyślna implementacja zawsze zwraca wartość null.
Dotyczy
GenerateFluentApi(IProperty, IAnnotation)
Zwraca płynne wywołanie interfejsu API dla danego wywołania interfejsu API lub null jeśli dla niego annotationnie istnieje żadne płynne wywołanie interfejsu API.
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
Parametry
- annotation
- IAnnotation
Element IAnnotation.
Zwraca
null.
Implementuje
Uwagi
Domyślna implementacja zawsze zwraca wartość null.
Dotyczy
GenerateFluentApi(ICheckConstraint, IAnnotation)
Zwraca płynne wywołanie interfejsu API dla danego wywołania interfejsu API lub null jeśli dla niego annotationnie istnieje żadne płynne wywołanie interfejsu 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
Parametry
- checkConstraint
- ICheckConstraint
Element ICheckConstraint.
- annotation
- IAnnotation
Element IAnnotation.
Zwraca
null.
Uwagi
Domyślna implementacja zawsze zwraca wartość null.