Język

RelationalPropertyExtensions.SetComputedColumnSql Metoda

Definicja

Przeciążenia

Nazwisko Opis
SetComputedColumnSql(IMutableProperty, String)

Ustawia wyrażenie SQL, które jest używane jako obliczona wartość dla kolumny, na którą jest mapowana ta właściwość.

SetComputedColumnSql(IConventionProperty, String, Boolean)

Ustawia wyrażenie SQL, które jest używane jako obliczona wartość dla kolumny, na którą jest mapowana ta właściwość.

SetComputedColumnSql(IMutableProperty, String)

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

Ustawia wyrażenie SQL, które jest używane jako obliczona wartość dla kolumny, na którą jest mapowana ta właściwość.

public static void SetComputedColumnSql(this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, string? value);
public static void SetComputedColumnSql(this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, string value);
static member SetComputedColumnSql : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * string -> unit
<Extension()>
Public Sub SetComputedColumnSql (property As IMutableProperty, value As String)

Parametry

property
IMutableProperty

Właściwość.

value
String

Wartość, która ma zostać ustawiona.

Dotyczy

SetComputedColumnSql(IConventionProperty, String, Boolean)

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

Ustawia wyrażenie SQL, które jest używane jako obliczona wartość dla kolumny, na którą jest mapowana ta właściwość.

public static string? SetComputedColumnSql(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string? value, bool fromDataAnnotation = false);
public static void SetComputedColumnSql(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string value, bool fromDataAnnotation = false);
public static string SetComputedColumnSql(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string value, bool fromDataAnnotation = false);
static member SetComputedColumnSql : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * string * bool -> string
static member SetComputedColumnSql : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * string * bool -> unit
<Extension()>
Public Function SetComputedColumnSql (property As IConventionProperty, value As String, Optional fromDataAnnotation As Boolean = false) As String
<Extension()>
Public Sub SetComputedColumnSql (property As IConventionProperty, value As String, Optional fromDataAnnotation As Boolean = false)

Parametry

property
IConventionProperty

Właściwość.

value
String

Wartość, która ma zostać ustawiona.

fromDataAnnotation
Boolean

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

Zwraca

Skonfigurowana wartość.

Dotyczy