RelationalPropertyExtensions.SetComputedColumnSql Yöntem

Tanım

Aşırı Yüklemeler

SetComputedColumnSql(IMutableProperty, String)

Bu SQL sütun için hesaplanan değer olarak kullanılan bir ifadeyi ayarlar.

SetComputedColumnSql(IConventionProperty, String, Boolean)

Bu SQL sütun için hesaplanan değer olarak kullanılan bir ifadeyi ayarlar.

SetComputedColumnSql(IMutableProperty, String)

Bu SQL sütun için hesaplanan değer olarak kullanılan bir ifadeyi 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 SQL sütun için hesaplanan değer olarak kullanılan bir ifadeyi 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 veri ek açıklaması kullanılarak belirtilmemiş olup olmadığını gösterir.

Döndürülenler

String

Yapılandırılan değer.

Şunlara uygulanır