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