IConventionRelationalPropertyOverrides Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents property facet overrides for a particular table-like store object.
public interface IConventionRelationalPropertyOverrides : Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyRelationalPropertyOverrides
type IConventionRelationalPropertyOverrides = interface
interface IReadOnlyRelationalPropertyOverrides
interface IReadOnlyAnnotatable
interface IConventionAnnotatable
Public Interface IConventionRelationalPropertyOverrides
Implements IConventionAnnotatable, IReadOnlyRelationalPropertyOverrides
- Implements
Remarks
See Modeling entity types and relationships for more information and examples.
Properties
Builder |
Gets the builder that can be used to configure this function. |
ColumnName |
Gets the column that the property maps to when targeting the specified table-like store object. (Inherited from IReadOnlyRelationalPropertyOverrides) |
IsColumnNameOverridden |
Gets a value indicating whether the column name is overriden. (Inherited from IReadOnlyRelationalPropertyOverrides) |
IsInModel |
Indicates whether this object is in a model, i.e. hasn't been removed from one. (Inherited from IConventionAnnotatable) |
Item[String] |
Gets the value of the annotation with the given name, returning |
Property |
Gets the property that the overrides are for. |
StoreObject |
The id of the table-like store object that these overrides are for. (Inherited from IReadOnlyRelationalPropertyOverrides) |
Methods
AddAnnotation(String, Object, Boolean) |
Adds an annotation to this object. Throws if an annotation with the specified name already exists. (Inherited from IConventionAnnotatable) |
AddAnnotations(IEnumerable<IConventionAnnotation>, Boolean) |
Adds annotations to an object. (Inherited from IConventionAnnotatable) |
AnnotationsToDebugString(Int32) |
Gets the debug string for all annotations declared on the object. (Inherited from IReadOnlyAnnotatable) |
FindAnnotation(String) |
Gets the annotation with the given name, returning |
GetAnnotation(String) |
Gets the annotation with the given name, throwing if it does not exist. (Inherited from IConventionAnnotatable) |
GetAnnotations() |
Gets all annotations on the current object. (Inherited from IConventionAnnotatable) |
GetColumnNameConfigurationSource() |
Returns the configuration source for ColumnName. |
GetConfigurationSource() |
Returns the configuration source for these overrides. |
RemoveAnnotation(String) |
Removes the annotation with the given name from this object. (Inherited from IConventionAnnotatable) |
RemoveColumnNameOverride(Boolean) |
Removes the column name override. |
SetAnnotation(String, Object, Boolean) |
Sets the annotation stored under the given name. Overwrites the existing annotation if an annotation with the specified name already exists. (Inherited from IConventionAnnotatable) |
SetColumnName(String, Boolean) |
Sets the column that the property maps to when targeting the specified table-like store object. |
SetOrRemoveAnnotation(String, Object, Boolean) |
Sets the annotation stored under the given name. Overwrites the existing annotation if an
annotation with the specified name already exists. Removes the existing annotation if |
ToDebugString(MetadataDebugStringOptions, Int32) |
Creates a human-readable representation of the given metadata. Warning: Do not rely on the format of the returned string. It is designed for debugging only and may change arbitrarily between releases. (Inherited from IReadOnlyRelationalPropertyOverrides) |
Extension Methods
Applies to
Entity Framework