RelationalPropertyExtensions.SetColumnName 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 |
|---|---|
| SetColumnName(IMutableProperty, String) |
Özelliğin eşlendiği sütunu ayarlar. |
| SetColumnName(IConventionProperty, String, Boolean) |
Özelliğin eşlendiği sütunu ayarlar. |
| SetColumnName(IMutableProperty, String, StoreObjectIdentifier) |
Özelliğin belirli bir tablo benzeri depolama nesnesi için eşlendiği sütunu ayarlar. |
| SetColumnName(IConventionProperty, String, StoreObjectIdentifier, Boolean) |
Özelliğin belirli bir tablo benzeri depolama nesnesi için eşlendiği sütunu ayarlar. |
SetColumnName(IMutableProperty, String)
Özelliğin eşlendiği sütunu ayarlar.
public static void SetColumnName(this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, string? name);
public static void SetColumnName(this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, string name);
static member SetColumnName : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * string -> unit
<Extension()>
Public Sub SetColumnName (property As IMutableProperty, name As String)
Parametreler
- property
- IMutableProperty
özelliği.
- name
- String
Ayarlanacağı ad.
Şunlara uygulanır
SetColumnName(IConventionProperty, String, Boolean)
Özelliğin eşlendiği sütunu ayarlar.
public static string? SetColumnName(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string? name, bool fromDataAnnotation = false);
public static void SetColumnName(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string name, bool fromDataAnnotation = false);
public static string SetColumnName(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string name, bool fromDataAnnotation = false);
static member SetColumnName : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * string * bool -> string
static member SetColumnName : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * string * bool -> unit
<Extension()>
Public Function SetColumnName (property As IConventionProperty, name As String, Optional fromDataAnnotation As Boolean = false) As String
<Extension()>
Public Sub SetColumnName (property As IConventionProperty, name As String, Optional fromDataAnnotation As Boolean = false)
Parametreler
- property
- IConventionProperty
özelliği.
- name
- String
Ayarlanacağı ad.
- 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
SetColumnName(IMutableProperty, String, StoreObjectIdentifier)
Özelliğin belirli bir tablo benzeri depolama nesnesi için eşlendiği sütunu ayarlar.
public static void SetColumnName(this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, string? name, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
public static void SetColumnName(this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, string name, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member SetColumnName : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * string * StoreObjectIdentifier -> unit
<Extension()>
Public Sub SetColumnName (property As IMutableProperty, name As String, ByRef storeObject As StoreObjectIdentifier)
Parametreler
- property
- IMutableProperty
özelliği.
- name
- String
Ayarlanacağı ad.
- storeObject
- StoreObjectIdentifier
Sütunu içeren tablo benzeri depolama nesnesinin tanımlayıcısı.
Şunlara uygulanır
SetColumnName(IConventionProperty, String, StoreObjectIdentifier, Boolean)
Özelliğin belirli bir tablo benzeri depolama nesnesi için eşlendiği sütunu ayarlar.
public static string? SetColumnName(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string? name, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, bool fromDataAnnotation = false);
public static string SetColumnName(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string name, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, bool fromDataAnnotation = false);
static member SetColumnName : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * string * StoreObjectIdentifier * bool -> string
<Extension()>
Public Function SetColumnName (property As IConventionProperty, name As String, ByRef storeObject As StoreObjectIdentifier, Optional fromDataAnnotation As Boolean = false) As String
Parametreler
- property
- IConventionProperty
özelliği.
- name
- String
Ayarlanacağı ad.
- storeObject
- StoreObjectIdentifier
Sütunu içeren tablo benzeri depolama nesnesinin tanımlayıcısı.
- 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.