RelationalPropertyExtensions.SetComputedColumnSql Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
| Veri Akışı Adı | Description |
|---|---|
| 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
özelliği.
- 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 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)
Parametreler
- property
- IConventionProperty
özelliği.
- 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.