AnnotationCodeGenerator.IsHandledByConvention Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| Název | Description |
|---|---|
| IsHandledByConvention(IRelationalPropertyOverrides, IAnnotation) |
Kontroluje, zda je daná |
| IsHandledByConvention(ITrigger, IAnnotation) |
Kontroluje, zda je daná |
| IsHandledByConvention(ISkipNavigation, IAnnotation) |
Kontroluje, zda je daná |
| IsHandledByConvention(ISequence, IAnnotation) |
Kontroluje, zda je daná |
| IsHandledByConvention(IProperty, IAnnotation) |
Kontroluje, zda je daná |
| IsHandledByConvention(INavigation, IAnnotation) |
Kontroluje, zda je daná |
| IsHandledByConvention(IModel, IAnnotation) |
Kontroluje, zda je daná |
| IsHandledByConvention(IIndex, IAnnotation) |
Kontroluje, zda je daná |
| IsHandledByConvention(IForeignKey, IAnnotation) |
Kontroluje, zda je daná |
| IsHandledByConvention(IEntityTypeMappingFragment, IAnnotation) |
Kontroluje, zda je daná |
| IsHandledByConvention(IEntityType, IAnnotation) |
Kontroluje, zda je daná |
| IsHandledByConvention(IComplexType, IAnnotation) |
Kontroluje, zda je daná |
| IsHandledByConvention(IComplexProperty, IAnnotation) |
Kontroluje, zda je daná |
| IsHandledByConvention(ICheckConstraint, IAnnotation) |
Kontroluje, zda je daná |
| IsHandledByConvention(IKey, IAnnotation) |
Kontroluje, zda je daná |
IsHandledByConvention(IRelationalPropertyOverrides, IAnnotation)
Kontroluje, zda je daná annotation hodnota zpracována konvencí při použití na danou overrides.
protected virtual bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides overrides, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (overrides As IRelationalPropertyOverrides, annotation As IAnnotation) As Boolean
Parametry
- annotation
- IAnnotation
Návraty
false.
Poznámky
Výchozí implementace vždy vrátí false.
Platí pro
IsHandledByConvention(ITrigger, IAnnotation)
Kontroluje, zda je daná annotation hodnota zpracována konvencí při použití na danou trigger.
protected virtual bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.ITrigger trigger, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.ITrigger * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.ITrigger * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (trigger As ITrigger, annotation As IAnnotation) As Boolean
Parametry
- annotation
- IAnnotation
Návraty
false.
Poznámky
Výchozí implementace vždy vrátí false.
Platí pro
IsHandledByConvention(ISkipNavigation, IAnnotation)
Kontroluje, zda je daná annotation hodnota zpracována konvencí při použití na danou navigation.
protected virtual bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation navigation, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (navigation As ISkipNavigation, annotation As IAnnotation) As Boolean
Parametry
- navigation
- ISkipNavigation
- annotation
- IAnnotation
Návraty
false.
Poznámky
Výchozí implementace vždy vrátí false.
Platí pro
IsHandledByConvention(ISequence, IAnnotation)
Kontroluje, zda je daná annotation hodnota zpracována konvencí při použití na danou sequence.
protected virtual bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.ISequence sequence, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.ISequence * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.ISequence * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (sequence As ISequence, annotation As IAnnotation) As Boolean
Parametry
- annotation
- IAnnotation
Návraty
false.
Poznámky
Výchozí implementace vždy vrátí false.
Platí pro
IsHandledByConvention(IProperty, IAnnotation)
Kontroluje, zda je daná annotation hodnota zpracována konvencí při použití na danou property.
protected virtual bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
public virtual bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (property As IProperty, annotation As IAnnotation) As Boolean
Public Overridable Function IsHandledByConvention (property As IProperty, annotation As IAnnotation) As Boolean
Parametry
- annotation
- IAnnotation
Návraty
false.
Implementuje
Poznámky
Výchozí implementace vždy vrátí false.
Platí pro
IsHandledByConvention(INavigation, IAnnotation)
Kontroluje, zda je daná annotation hodnota zpracována konvencí při použití na danou navigation.
protected virtual bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.INavigation * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.INavigation * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (navigation As INavigation, annotation As IAnnotation) As Boolean
Parametry
- navigation
- INavigation
- annotation
- IAnnotation
Návraty
false.
Poznámky
Výchozí implementace vždy vrátí false.
Platí pro
IsHandledByConvention(IModel, IAnnotation)
Kontroluje, zda je daná annotation hodnota zpracována konvencí při použití na danou model.
protected virtual bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
public virtual bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (model As IModel, annotation As IAnnotation) As Boolean
Public Overridable Function IsHandledByConvention (model As IModel, annotation As IAnnotation) As Boolean
Parametry
- annotation
- IAnnotation
Návraty
true je-li poznámka zpracována konvencí; false pokud je nutné vygenerovat kód.
Implementuje
Poznámky
Výchozí implementace vždy vrátí false.
Platí pro
IsHandledByConvention(IIndex, IAnnotation)
Kontroluje, zda je daná annotation hodnota zpracována konvencí při použití na danou index.
protected virtual bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
public virtual bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (index As IIndex, annotation As IAnnotation) As Boolean
Public Overridable Function IsHandledByConvention (index As IIndex, annotation As IAnnotation) As Boolean
Parametry
- annotation
- IAnnotation
Návraty
false.
Implementuje
Poznámky
Výchozí implementace vždy vrátí false.
Platí pro
IsHandledByConvention(IForeignKey, IAnnotation)
Kontroluje, zda je daná annotation hodnota zpracována konvencí při použití na danou foreignKey.
protected virtual bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
public virtual bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (foreignKey As IForeignKey, annotation As IAnnotation) As Boolean
Public Overridable Function IsHandledByConvention (foreignKey As IForeignKey, annotation As IAnnotation) As Boolean
Parametry
- foreignKey
- IForeignKey
- annotation
- IAnnotation
Návraty
false.
Implementuje
Poznámky
Výchozí implementace vždy vrátí false.
Platí pro
IsHandledByConvention(IEntityTypeMappingFragment, IAnnotation)
Kontroluje, zda je daná annotation hodnota zpracována konvencí při použití na danou fragment.
protected virtual bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment fragment, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (fragment As IEntityTypeMappingFragment, annotation As IAnnotation) As Boolean
Parametry
- annotation
- IAnnotation
Návraty
false.
Poznámky
Výchozí implementace vždy vrátí false.
Platí pro
IsHandledByConvention(IEntityType, IAnnotation)
Kontroluje, zda je daná annotation hodnota zpracována konvencí při použití na danou entityType.
protected virtual bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
public virtual bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (entityType As IEntityType, annotation As IAnnotation) As Boolean
Public Overridable Function IsHandledByConvention (entityType As IEntityType, annotation As IAnnotation) As Boolean
Parametry
- entityType
- IEntityType
- annotation
- IAnnotation
Návraty
false.
Implementuje
Poznámky
Výchozí implementace vždy vrátí false.
Platí pro
IsHandledByConvention(IComplexType, IAnnotation)
Kontroluje, zda je daná annotation hodnota zpracována konvencí při použití na danou complexType.
protected virtual bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IComplexType complexType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IComplexType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IComplexType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (complexType As IComplexType, annotation As IAnnotation) As Boolean
Parametry
- complexType
- IComplexType
- annotation
- IAnnotation
Návraty
false.
Poznámky
Výchozí implementace vždy vrátí false.
Platí pro
IsHandledByConvention(IComplexProperty, IAnnotation)
Kontroluje, zda je daná annotation hodnota zpracována konvencí při použití na danou complexProperty.
protected virtual bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IComplexProperty complexProperty, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (complexProperty As IComplexProperty, annotation As IAnnotation) As Boolean
Parametry
- complexProperty
- IComplexProperty
- annotation
- IAnnotation
Návraty
false.
Poznámky
Výchozí implementace vždy vrátí false.
Platí pro
IsHandledByConvention(ICheckConstraint, IAnnotation)
Kontroluje, zda je daná annotation hodnota zpracována konvencí při použití na danou checkConstraint.
protected virtual bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint checkConstraint, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (checkConstraint As ICheckConstraint, annotation As IAnnotation) As Boolean
Parametry
- checkConstraint
- ICheckConstraint
- annotation
- IAnnotation
Návraty
false.
Poznámky
Výchozí implementace vždy vrátí false.
Platí pro
IsHandledByConvention(IKey, IAnnotation)
Kontroluje, zda je daná annotation hodnota zpracována konvencí při použití na danou key.
protected virtual bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
public virtual bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (key As IKey, annotation As IAnnotation) As Boolean
Public Overridable Function IsHandledByConvention (key As IKey, annotation As IAnnotation) As Boolean
Parametry
- annotation
- IAnnotation
Návraty
false.
Implementuje
Poznámky
Výchozí implementace vždy vrátí false.