Aracılığıyla paylaş


RelationalPropertyExtensions.SetComputedColumnSql Yöntem

Tanım

Aşırı Yüklemeler

SetComputedColumnSql(IMutableProperty, String)

Bu özelliğin eşlendiği sütun için hesaplanan değer olarak kullanılan SQL ifadesini ayarlar.

SetComputedColumnSql(IConventionProperty, String, Boolean)

Bu özelliğin eşlendiği sütun için hesaplanan değer olarak kullanılan SQL ifadesini ayarlar.

SetComputedColumnSql(IMutableProperty, String)

Bu özelliğin eşlendiği sütun için hesaplanan değer olarak kullanılan SQL ifadesini ayarlar.

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)

Parametreler

property
IMutableProperty

Özellik.

value
String

Ayarlanacak değer.

Şunlara uygulanır

SetComputedColumnSql(IConventionProperty, String, Boolean)

Bu özelliğin eşlendiği sütun için hesaplanan değer olarak kullanılan SQL ifadesini ayarlar.

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

Parametreler

property
IConventionProperty

Özellik.

value
String

Ayarlanacak değer.

fromDataAnnotation
Boolean

Yapılandırmanın bir veri ek açıklaması kullanılarak belirtilip belirtilmedidiğini gösterir.

Döndürülenler

Yapılandırılan değer.

Şunlara uygulanır