IReadOnlyEntityTypeMappingFragment 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 entity type mapping for a particular table-like store object.
public interface IReadOnlyEntityTypeMappingFragment : Microsoft.EntityFrameworkCore.Infrastructure.IReadOnlyAnnotatable
type IReadOnlyEntityTypeMappingFragment = interface
interface IReadOnlyAnnotatable
Public Interface IReadOnlyEntityTypeMappingFragment
Implements IReadOnlyAnnotatable
- Derived
- Implements
Remarks
See Modeling entity types and relationships for more information and examples.
Properties
EntityType |
Gets the entity type for which the fragment is defined. |
IsTableExcludedFromMigrations |
Gets a value indicating whether the associated table is ignored by Migrations. |
Item[String] |
Gets the value of the annotation with the given name, returning |
StoreObject |
Gets store object for which the configuration is applied. |
Methods
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 IReadOnlyAnnotatable) |
GetAnnotations() |
Gets all annotations on the current object. (Inherited from IReadOnlyAnnotatable) |
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. |
Extension Methods
IsSqlReturningClauseUsed(IReadOnlyEntityTypeMappingFragment) |
Returns a value indicating whether to use the SQL RETURNING clause when saving changes to the table. The RETURNING clause is incompatible with certain Sqlite features, such as virtual tables or tables with AFTER triggers. |
IsSqlOutputClauseUsed(IReadOnlyEntityTypeMappingFragment) |
Returns a value indicating whether to use the SQL OUTPUT clause when saving changes to the associated table. The OUTPUT clause is incompatible with certain SQL Server features, such as tables with triggers. |
Applies to
Entity Framework