Język

RelationalPropertyBuilderExtensions.HasComment Metoda

Definicja

Przeciążenia

Nazwisko Opis
HasComment(PropertyBuilder, String)

Konfiguruje komentarz do zastosowania do kolumny

HasComment(IConventionPropertyBuilder, String, Boolean)

Konfiguruje komentarz do zastosowania do kolumny

HasComment<TProperty>(PropertyBuilder<TProperty>, String)

Konfiguruje komentarz do zastosowania do kolumny

HasComment(PropertyBuilder, String)

Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs

Konfiguruje komentarz do zastosowania do kolumny

public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder HasComment(this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder propertyBuilder, string? comment);
public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder HasComment(this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder propertyBuilder, string comment);
static member HasComment : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
<Extension()>
Public Function HasComment (propertyBuilder As PropertyBuilder, comment As String) As PropertyBuilder

Parametry

propertyBuilder
PropertyBuilder

Konstruktor dla konfigurowanej właściwości.

comment
String

Komentarz dla kolumny.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

HasComment(IConventionPropertyBuilder, String, Boolean)

Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs

Konfiguruje komentarz do zastosowania do kolumny

public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder? HasComment(this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, string? comment, bool fromDataAnnotation = false);
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder HasComment(this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, string comment, bool fromDataAnnotation = false);
static member HasComment : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder
<Extension()>
Public Function HasComment (propertyBuilder As IConventionPropertyBuilder, comment As String, Optional fromDataAnnotation As Boolean = false) As IConventionPropertyBuilder

Parametry

propertyBuilder
IConventionPropertyBuilder

Konstruktor dla konfigurowanej właściwości.

comment
String

Komentarz dla kolumny.

fromDataAnnotation
Boolean

Wskazuje, czy konfiguracja została określona przy użyciu adnotacji danych.

Zwraca

To samo wystąpienie konstruktora, jeśli konfiguracja została zastosowana, null w przeciwnym razie.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji .

Dotyczy

HasComment<TProperty>(PropertyBuilder<TProperty>, String)

Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs
Źródło:
RelationalPropertyBuilderExtensions.cs

Konfiguruje komentarz do zastosowania do kolumny

public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> HasComment<TProperty>(this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> propertyBuilder, string? comment);
public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> HasComment<TProperty>(this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> propertyBuilder, string comment);
static member HasComment : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property> * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property>
<Extension()>
Public Function HasComment(Of TProperty) (propertyBuilder As PropertyBuilder(Of TProperty), comment As String) As PropertyBuilder(Of TProperty)

Parametry typu

TProperty

Typ konfigurowanej właściwości.

Parametry

propertyBuilder
PropertyBuilder<TProperty>

Konstruktor dla konfigurowanej właściwości.

comment
String

Komentarz dla kolumny.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć w łańcuch wiele wywołań.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji .

Dotyczy