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