RelationalModelAnnotations 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
RelationalModelAnnotations(IModel) |
Constructs an instance for annotations of the given IModel. |
RelationalModelAnnotations(RelationalAnnotations) |
Constructs an instance for annotations of the IModel represented by the given annotation helper. |
RelationalModelAnnotations(IModel, RelationalFullAnnotationNames) | |
RelationalModelAnnotations(RelationalAnnotations, RelationalFullAnnotationNames) |
RelationalModelAnnotations(IModel)
Constructs an instance for annotations of the given IModel.
public RelationalModelAnnotations (Microsoft.EntityFrameworkCore.Metadata.IModel model);
new Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations
Public Sub New (model As IModel)
Parameters
Applies to
RelationalModelAnnotations(RelationalAnnotations)
Constructs an instance for annotations of the IModel represented by the given annotation helper.
protected RelationalModelAnnotations (Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations annotations);
new Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations : Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations -> Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations
Protected Sub New (annotations As RelationalAnnotations)
Parameters
- annotations
- RelationalAnnotations
The RelationalAnnotations helper representing the IModel to annotate.
Applies to
RelationalModelAnnotations(IModel, RelationalFullAnnotationNames)
public RelationalModelAnnotations (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames providerFullAnnotationNames);
new Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames -> Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations
Public Sub New (model As IModel, providerFullAnnotationNames As RelationalFullAnnotationNames)
Parameters
- model
- IModel
- providerFullAnnotationNames
- Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames
Applies to
RelationalModelAnnotations(RelationalAnnotations, RelationalFullAnnotationNames)
protected RelationalModelAnnotations (Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations annotations, Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames providerFullAnnotationNames);
new Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations : Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations * Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames -> Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations
Protected Sub New (annotations As RelationalAnnotations, providerFullAnnotationNames As RelationalFullAnnotationNames)
Parameters
- annotations
- RelationalAnnotations
- providerFullAnnotationNames
- Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames
Applies to
Entity Framework