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í
IsHandledByConvention(IRelationalPropertyOverrides, IAnnotation) |
Kontroluje, jestli se daná hodnota |
IsHandledByConvention(ITrigger, IAnnotation) |
Kontroluje, jestli se daná hodnota |
IsHandledByConvention(ISkipNavigation, IAnnotation) |
Kontroluje, jestli se daná hodnota |
IsHandledByConvention(ISequence, IAnnotation) |
Kontroluje, jestli se daná hodnota |
IsHandledByConvention(IProperty, IAnnotation) |
Kontroluje, jestli se daná hodnota |
IsHandledByConvention(INavigation, IAnnotation) |
Kontroluje, jestli se daná hodnota |
IsHandledByConvention(IModel, IAnnotation) |
Kontroluje, jestli se daná hodnota |
IsHandledByConvention(IIndex, IAnnotation) |
Kontroluje, jestli se daná hodnota |
IsHandledByConvention(IForeignKey, IAnnotation) |
Kontroluje, jestli se daná hodnota |
IsHandledByConvention(IEntityTypeMappingFragment, IAnnotation) |
Kontroluje, jestli se daná hodnota |
IsHandledByConvention(IEntityType, IAnnotation) |
Kontroluje, jestli se daná hodnota |
IsHandledByConvention(IComplexType, IAnnotation) |
Kontroluje, jestli se daná hodnota |
IsHandledByConvention(IComplexProperty, IAnnotation) |
Kontroluje, jestli se daná hodnota |
IsHandledByConvention(ICheckConstraint, IAnnotation) |
Kontroluje, jestli se daná hodnota |
IsHandledByConvention(IKey, IAnnotation) |
Kontroluje, jestli se daná hodnota |
IsHandledByConvention(IRelationalPropertyOverrides, IAnnotation)
Kontroluje, jestli se daná hodnota annotation
zpracovává konvencem 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
- overrides
- IRelationalPropertyOverrides
Hodnota IRelationalPropertyOverrides
- annotation
- IAnnotation
Hodnota IAnnotation
Návraty
false
.
Poznámky
Výchozí implementace vždy vrátí false
.
Platí pro
IsHandledByConvention(ITrigger, IAnnotation)
Kontroluje, jestli se daná hodnota annotation
zpracovává konvencem 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
Hodnota IAnnotation
Návraty
false
.
Poznámky
Výchozí implementace vždy vrátí false
.
Platí pro
IsHandledByConvention(ISkipNavigation, IAnnotation)
Kontroluje, jestli se daná hodnota annotation
zpracovává konvencem 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
Hodnota ISkipNavigation
- annotation
- IAnnotation
Hodnota IAnnotation
Návraty
false
.
Poznámky
Výchozí implementace vždy vrátí false
.
Platí pro
IsHandledByConvention(ISequence, IAnnotation)
Kontroluje, jestli se daná hodnota annotation
zpracovává konvencem 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
Hodnota IAnnotation
Návraty
false
.
Poznámky
Výchozí implementace vždy vrátí false
.
Platí pro
IsHandledByConvention(IProperty, IAnnotation)
Kontroluje, jestli se daná hodnota annotation
zpracovává konvencem při použití na danou property
.
public virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected 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
Public Overridable Function IsHandledByConvention (property As IProperty, annotation As IAnnotation) As Boolean
Protected Overridable Function IsHandledByConvention (property As IProperty, annotation As IAnnotation) As Boolean
Parametry
- annotation
- IAnnotation
Hodnota IAnnotation
Návraty
false
.
Implementuje
Poznámky
Výchozí implementace vždy vrátí false
.
Platí pro
IsHandledByConvention(INavigation, IAnnotation)
Kontroluje, jestli se daná hodnota annotation
zpracovává konvencem 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
Hodnota INavigation
- annotation
- IAnnotation
Hodnota IAnnotation
Návraty
false
.
Poznámky
Výchozí implementace vždy vrátí false
.
Platí pro
IsHandledByConvention(IModel, IAnnotation)
Kontroluje, jestli se daná hodnota annotation
zpracovává konvencem při použití na danou model
.
public virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected 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
Public Overridable Function IsHandledByConvention (model As IModel, annotation As IAnnotation) As Boolean
Protected Overridable Function IsHandledByConvention (model As IModel, annotation As IAnnotation) As Boolean
Parametry
- annotation
- IAnnotation
Hodnota IAnnotation
Návraty
true
je-li poznámka zpracována konvencí; false
pokud musí být vygenerován kód.
Implementuje
Poznámky
Výchozí implementace vždy vrátí false
.
Platí pro
IsHandledByConvention(IIndex, IAnnotation)
Kontroluje, jestli se daná hodnota annotation
zpracovává konvencem při použití na danou index
.
public virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected 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
Public Overridable Function IsHandledByConvention (index As IIndex, annotation As IAnnotation) As Boolean
Protected Overridable Function IsHandledByConvention (index As IIndex, annotation As IAnnotation) As Boolean
Parametry
- annotation
- IAnnotation
Hodnota IAnnotation
Návraty
false
.
Implementuje
Poznámky
Výchozí implementace vždy vrátí false
.
Platí pro
IsHandledByConvention(IForeignKey, IAnnotation)
Kontroluje, jestli se daná hodnota annotation
zpracovává konvencem při použití na danou foreignKey
.
public virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected 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
Public Overridable Function IsHandledByConvention (foreignKey As IForeignKey, annotation As IAnnotation) As Boolean
Protected Overridable Function IsHandledByConvention (foreignKey As IForeignKey, annotation As IAnnotation) As Boolean
Parametry
- foreignKey
- IForeignKey
Hodnota IForeignKey
- annotation
- IAnnotation
Hodnota IAnnotation
Návraty
false
.
Implementuje
Poznámky
Výchozí implementace vždy vrátí false
.
Platí pro
IsHandledByConvention(IEntityTypeMappingFragment, IAnnotation)
Kontroluje, jestli se daná hodnota annotation
zpracovává konvencem 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
- fragment
- IEntityTypeMappingFragment
Hodnota IEntityTypeMappingFragment
- annotation
- IAnnotation
Hodnota IAnnotation
Návraty
false
.
Poznámky
Výchozí implementace vždy vrátí false
.
Platí pro
IsHandledByConvention(IEntityType, IAnnotation)
Kontroluje, jestli se daná hodnota annotation
zpracovává konvencem při použití na danou entityType
.
public virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected 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
Public Overridable Function IsHandledByConvention (entityType As IEntityType, annotation As IAnnotation) As Boolean
Protected Overridable Function IsHandledByConvention (entityType As IEntityType, annotation As IAnnotation) As Boolean
Parametry
- entityType
- IEntityType
Hodnota IEntityType
- annotation
- IAnnotation
Hodnota IAnnotation
Návraty
false
.
Implementuje
Poznámky
Výchozí implementace vždy vrátí false
.
Platí pro
IsHandledByConvention(IComplexType, IAnnotation)
Kontroluje, jestli se daná hodnota annotation
zpracovává konvencem 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
Hodnota IComplexType
- annotation
- IAnnotation
Hodnota IAnnotation
Návraty
false
.
Poznámky
Výchozí implementace vždy vrátí false
.
Platí pro
IsHandledByConvention(IComplexProperty, IAnnotation)
Kontroluje, jestli se daná hodnota annotation
zpracovává konvencem 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
Hodnota IComplexProperty
- annotation
- IAnnotation
Hodnota IAnnotation
Návraty
false
.
Poznámky
Výchozí implementace vždy vrátí false
.
Platí pro
IsHandledByConvention(ICheckConstraint, IAnnotation)
Kontroluje, jestli se daná hodnota annotation
zpracovává konvencem 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
Hodnota ICheckConstraint
- annotation
- IAnnotation
Hodnota IAnnotation
Návraty
false
.
Poznámky
Výchozí implementace vždy vrátí false
.
Platí pro
IsHandledByConvention(IKey, IAnnotation)
Kontroluje, jestli se daná hodnota annotation
zpracovává konvencem při použití na danou key
.
public virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected 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
Public Overridable Function IsHandledByConvention (key As IKey, annotation As IAnnotation) As Boolean
Protected Overridable Function IsHandledByConvention (key As IKey, annotation As IAnnotation) As Boolean
Parametry
- annotation
- IAnnotation
Hodnota IAnnotation
Návraty
false
.
Implementuje
Poznámky
Výchozí implementace vždy vrátí false
.
Platí pro
Entity Framework