SqlServerEntityTypeAnnotations Constructors
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.
Overloads
SqlServerEntityTypeAnnotations(IEntityType) |
Constructs an instance for annotations of the given IEntityType. |
SqlServerEntityTypeAnnotations(RelationalAnnotations) |
Constructs an instance for annotations of the IEntityType represented by the given annotation helper. |
SqlServerEntityTypeAnnotations(IEntityType)
Constructs an instance for annotations of the given IEntityType.
public SqlServerEntityTypeAnnotations (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
new Microsoft.EntityFrameworkCore.Metadata.SqlServerEntityTypeAnnotations : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.SqlServerEntityTypeAnnotations
Public Sub New (entityType As IEntityType)
Parameters
- entityType
- IEntityType
The IEntityType to use.
Applies to
SqlServerEntityTypeAnnotations(RelationalAnnotations)
Constructs an instance for annotations of the IEntityType represented by the given annotation helper.
public SqlServerEntityTypeAnnotations (Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations annotations);
new Microsoft.EntityFrameworkCore.Metadata.SqlServerEntityTypeAnnotations : Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations -> Microsoft.EntityFrameworkCore.Metadata.SqlServerEntityTypeAnnotations
Public Sub New (annotations As RelationalAnnotations)
Parameters
- annotations
- RelationalAnnotations
The RelationalAnnotations helper representing the IEntityType to annotate.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for