AnnotationCodeGenerator.GenerateFluentApi Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
GenerateFluentApi(ISkipNavigation, IAnnotation) |
Gibt einen Fluent-API-Aufruf für den angegebenen |
GenerateFluentApi(ITrigger, IAnnotation) |
Gibt einen Fluent-API-Aufruf für den angegebenen |
GenerateFluentApi(IEntityType, IAnnotation, String) |
Veraltet.
Gibt zurück |
GenerateFluentApi(IForeignKey, IAnnotation, String) |
Veraltet.
Gibt zurück |
GenerateFluentApi(IProperty, IAnnotation, String) |
Veraltet.
Gibt zurück |
GenerateFluentApi(IKey, IAnnotation, String) |
Veraltet.
Gibt zurück |
GenerateFluentApi(IModel, IAnnotation, String) |
Veraltet.
Gibt zurück |
GenerateFluentApi(ISequence, IAnnotation) |
Gibt einen Fluent-API-Aufruf für den angegebenen |
GenerateFluentApi(IIndex, IAnnotation, String) |
Veraltet.
Gibt zurück |
GenerateFluentApi(IRelationalPropertyOverrides, IAnnotation) |
Gibt einen Fluent-API-Aufruf für den angegebenen |
GenerateFluentApi(INavigation, IAnnotation) |
Gibt einen Fluent-API-Aufruf für den angegebenen |
GenerateFluentApi(IComplexProperty, IAnnotation) |
Gibt einen Fluent-API-Aufruf für den angegebenen |
GenerateFluentApi(IModel, IAnnotation) |
Gibt einen Fluent-API-Aufruf für den angegebenen |
GenerateFluentApi(IKey, IAnnotation) |
Gibt einen Fluent-API-Aufruf für den angegebenen |
GenerateFluentApi(IIndex, IAnnotation) |
Gibt einen Fluent-API-Aufruf für den angegebenen |
GenerateFluentApi(IForeignKey, IAnnotation) |
Gibt einen Fluent-API-Aufruf für den angegebenen |
GenerateFluentApi(IEntityTypeMappingFragment, IAnnotation) |
Gibt einen Fluent-API-Aufruf für den angegebenen |
GenerateFluentApi(IEntityType, IAnnotation) |
Gibt einen Fluent-API-Aufruf für den angegebenen |
GenerateFluentApi(IComplexType, IAnnotation) |
Gibt einen Fluent-API-Aufruf für den angegebenen |
GenerateFluentApi(IProperty, IAnnotation) |
Gibt einen Fluent-API-Aufruf für den angegebenen |
GenerateFluentApi(ICheckConstraint, IAnnotation) |
Gibt einen Fluent-API-Aufruf für den angegebenen |
GenerateFluentApi(ISkipNavigation, IAnnotation)
Gibt einen Fluent-API-Aufruf für den angegebenen annotation
zurück, oder null
, wenn kein Fluent-API-Aufruf dafür vorhanden ist.
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
Parameter
- navigation
- ISkipNavigation
Die ISkipNavigation.
- annotation
- IAnnotation
Die IAnnotation.
Gibt zurück
null
.
Hinweise
Die Standardimplementierung gibt immer null
zurück.
Gilt für:
GenerateFluentApi(ITrigger, IAnnotation)
Gibt einen Fluent-API-Aufruf für den angegebenen annotation
zurück, oder null
, wenn kein Fluent-API-Aufruf dafür vorhanden ist.
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
Parameter
- annotation
- IAnnotation
Die IAnnotation.
Gibt zurück
null
.
Hinweise
Die Standardimplementierung gibt immer null
zurück.
Gilt für:
GenerateFluentApi(IEntityType, IAnnotation, String)
Achtung
Use GenerateFluentApi(IProperty, IAnnotation) instead.
Gibt zurück null
, sofern nicht überschrieben wird, um etwas anderes zu tun.
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
Parameter
- entityType
- IEntityType
Die IEntityType.
- annotation
- IAnnotation
Die IAnnotation.
- language
- String
Die zu verwendende Programmiersprache. Beispiel: CSharp.
Gibt zurück
Null.
Implementiert
- Attribute
Gilt für:
GenerateFluentApi(IForeignKey, IAnnotation, String)
Achtung
Use GenerateFluentApi(IProperty, IAnnotation) instead.
Gibt zurück null
, sofern nicht überschrieben wird, um etwas anderes zu tun.
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
Parameter
- foreignKey
- IForeignKey
Die IForeignKey.
- annotation
- IAnnotation
Die IAnnotation.
- language
- String
Die zu verwendende Programmiersprache. Beispiel: CSharp.
Gibt zurück
Null.
Implementiert
- Attribute
Gilt für:
GenerateFluentApi(IProperty, IAnnotation, String)
Achtung
Use GenerateFluentApi(IProperty, IAnnotation) instead.
Gibt zurück null
, sofern nicht überschrieben wird, um etwas anderes zu tun.
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
Parameter
- annotation
- IAnnotation
Die IAnnotation.
- language
- String
Die zu verwendende Programmiersprache. Beispiel: CSharp.
Gibt zurück
Null.
Implementiert
- Attribute
Gilt für:
GenerateFluentApi(IKey, IAnnotation, String)
Achtung
Use GenerateFluentApi(IProperty, IAnnotation) instead.
Gibt zurück null
, sofern nicht überschrieben wird, um etwas anderes zu tun.
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
Parameter
- annotation
- IAnnotation
Die IAnnotation.
- language
- String
Die zu verwendende Programmiersprache. Beispiel: CSharp.
Gibt zurück
Null.
Implementiert
- Attribute
Gilt für:
GenerateFluentApi(IModel, IAnnotation, String)
Achtung
Use GenerateFluentApi(IProperty, IAnnotation) instead.
Gibt zurück null
, sofern nicht überschrieben wird, um etwas anderes zu tun.
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
Parameter
- annotation
- IAnnotation
Die IAnnotation.
- language
- String
Die zu verwendende Programmiersprache. Beispiel: CSharp.
Gibt zurück
Null.
Implementiert
- Attribute
Gilt für:
GenerateFluentApi(ISequence, IAnnotation)
Gibt einen Fluent-API-Aufruf für den angegebenen annotation
zurück, oder null
, wenn kein Fluent-API-Aufruf dafür vorhanden ist.
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
Parameter
- annotation
- IAnnotation
Die IAnnotation.
Gibt zurück
null
.
Hinweise
Die Standardimplementierung gibt immer null
zurück.
Gilt für:
GenerateFluentApi(IIndex, IAnnotation, String)
Achtung
Use GenerateFluentApi(IProperty, IAnnotation) instead.
Gibt zurück null
, sofern nicht überschrieben wird, um etwas anderes zu tun.
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
Parameter
- annotation
- IAnnotation
Die IAnnotation.
- language
- String
Die zu verwendende Programmiersprache. Beispiel: CSharp.
Gibt zurück
Null.
Implementiert
- Attribute
Gilt für:
GenerateFluentApi(IRelationalPropertyOverrides, IAnnotation)
Gibt einen Fluent-API-Aufruf für den angegebenen annotation
zurück, oder null
, wenn kein Fluent-API-Aufruf dafür vorhanden ist.
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
Parameter
- overrides
- IRelationalPropertyOverrides
- annotation
- IAnnotation
Die IAnnotation.
Gibt zurück
null
.
Hinweise
Die Standardimplementierung gibt immer null
zurück.
Gilt für:
GenerateFluentApi(INavigation, IAnnotation)
Gibt einen Fluent-API-Aufruf für den angegebenen annotation
zurück, oder null
, wenn kein Fluent-API-Aufruf dafür vorhanden ist.
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
Parameter
- navigation
- INavigation
Die INavigation.
- annotation
- IAnnotation
Die IAnnotation.
Gibt zurück
null
.
Hinweise
Die Standardimplementierung gibt immer null
zurück.
Gilt für:
GenerateFluentApi(IComplexProperty, IAnnotation)
Gibt einen Fluent-API-Aufruf für den angegebenen annotation
zurück, oder null
, wenn kein Fluent-API-Aufruf dafür vorhanden ist.
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
Parameter
- complexProperty
- IComplexProperty
Die IProperty.
- annotation
- IAnnotation
Die IAnnotation.
Gibt zurück
null
.
Hinweise
Die Standardimplementierung gibt immer null
zurück.
Gilt für:
GenerateFluentApi(IModel, IAnnotation)
Gibt einen Fluent-API-Aufruf für den angegebenen annotation
zurück, oder null
, wenn kein Fluent-API-Aufruf dafür vorhanden ist.
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
Parameter
- annotation
- IAnnotation
Die IAnnotation.
Gibt zurück
null
.
Implementiert
Hinweise
Die Standardimplementierung gibt immer null
zurück.
Gilt für:
GenerateFluentApi(IKey, IAnnotation)
Gibt einen Fluent-API-Aufruf für den angegebenen annotation
zurück, oder null
, wenn kein Fluent-API-Aufruf dafür vorhanden ist.
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
Parameter
- annotation
- IAnnotation
Die IAnnotation.
Gibt zurück
null
.
Implementiert
Hinweise
Die Standardimplementierung gibt immer null
zurück.
Gilt für:
GenerateFluentApi(IIndex, IAnnotation)
Gibt einen Fluent-API-Aufruf für den angegebenen annotation
zurück, oder null
, wenn kein Fluent-API-Aufruf dafür vorhanden ist.
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
Parameter
- annotation
- IAnnotation
Die IAnnotation.
Gibt zurück
null
.
Implementiert
Hinweise
Die Standardimplementierung gibt immer null
zurück.
Gilt für:
GenerateFluentApi(IForeignKey, IAnnotation)
Gibt einen Fluent-API-Aufruf für den angegebenen annotation
zurück, oder null
, wenn kein Fluent-API-Aufruf dafür vorhanden ist.
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
Parameter
- foreignKey
- IForeignKey
Die IForeignKey.
- annotation
- IAnnotation
Die IAnnotation.
Gibt zurück
null
.
Implementiert
Hinweise
Die Standardimplementierung gibt immer null
zurück.
Gilt für:
GenerateFluentApi(IEntityTypeMappingFragment, IAnnotation)
Gibt einen Fluent-API-Aufruf für den angegebenen annotation
zurück, oder null
, wenn kein Fluent-API-Aufruf dafür vorhanden ist.
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
Parameter
- fragment
- IEntityTypeMappingFragment
- annotation
- IAnnotation
Die IAnnotation.
Gibt zurück
null
.
Hinweise
Die Standardimplementierung gibt immer null
zurück.
Gilt für:
GenerateFluentApi(IEntityType, IAnnotation)
Gibt einen Fluent-API-Aufruf für den angegebenen annotation
zurück, oder null
, wenn kein Fluent-API-Aufruf dafür vorhanden ist.
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
Parameter
- entityType
- IEntityType
Die IEntityType.
- annotation
- IAnnotation
Die IAnnotation.
Gibt zurück
null
.
Implementiert
Hinweise
Die Standardimplementierung gibt immer null
zurück.
Gilt für:
GenerateFluentApi(IComplexType, IAnnotation)
Gibt einen Fluent-API-Aufruf für den angegebenen annotation
zurück, oder null
, wenn kein Fluent-API-Aufruf dafür vorhanden ist.
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
Parameter
- complexType
- IComplexType
Die IComplexType.
- annotation
- IAnnotation
Die IAnnotation.
Gibt zurück
null
.
Hinweise
Die Standardimplementierung gibt immer null
zurück.
Gilt für:
GenerateFluentApi(IProperty, IAnnotation)
Gibt einen Fluent-API-Aufruf für den angegebenen annotation
zurück, oder null
, wenn kein Fluent-API-Aufruf dafür vorhanden ist.
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
Parameter
- annotation
- IAnnotation
Die IAnnotation.
Gibt zurück
null
.
Implementiert
Hinweise
Die Standardimplementierung gibt immer null
zurück.
Gilt für:
GenerateFluentApi(ICheckConstraint, IAnnotation)
Gibt einen Fluent-API-Aufruf für den angegebenen annotation
zurück, oder null
, wenn kein Fluent-API-Aufruf dafür vorhanden ist.
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
Parameter
- checkConstraint
- ICheckConstraint
Die ICheckConstraint.
- annotation
- IAnnotation
Die IAnnotation.
Gibt zurück
null
.
Hinweise
Die Standardimplementierung gibt immer null
zurück.
Gilt für:
Entity Framework