Aracılığıyla paylaş


CosmosEntityTypeExtensions.SetETagPropertyName Yöntem

Tanım

Aşırı Yüklemeler

SetETagPropertyName(IMutableEntityType, String)

ETag anahtarını depolamak için kullanılan özelliğin adını ayarlar.

SetETagPropertyName(IConventionEntityType, String, Boolean)

ETag'i depolamak için kullanılan özelliğin adını ayarlar.

SetETagPropertyName(IMutableEntityType, String)

ETag anahtarını depolamak için kullanılan özelliğin adını ayarlar.

public static void SetETagPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, string name);
public static void SetETagPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, string? name);
static member SetETagPropertyName : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * string -> unit
<Extension()>
Public Sub SetETagPropertyName (entityType As IMutableEntityType, name As String)

Parametreler

entityType
IMutableEntityType

etag özellik adının ayarlanacağı varlık türü.

name
String

Ayarlanacağı ad.

Şunlara uygulanır

SetETagPropertyName(IConventionEntityType, String, Boolean)

ETag'i depolamak için kullanılan özelliğin adını ayarlar.

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

Parametreler

entityType
IConventionEntityType

ETag özellik adının ayarlanacağı varlık türü.

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

Şunlara uygulanır