Sprache

RelationalPropertyExtensions.SetColumnName Methode

Definition

Überlädt

Name Beschreibung
SetColumnName(IMutableProperty, String)

Legt die Spalte fest, der die Eigenschaft zugeordnet ist.

SetColumnName(IConventionProperty, String, Boolean)

Legt die Spalte fest, der die Eigenschaft zugeordnet ist.

SetColumnName(IMutableProperty, String, StoreObjectIdentifier)

Legt die Spalte fest, der die Eigenschaft für ein bestimmtes tabellenähnliches Speicherobjekt zugeordnet wird.

SetColumnName(IConventionProperty, String, StoreObjectIdentifier, Boolean)

Legt die Spalte fest, der die Eigenschaft für ein bestimmtes tabellenähnliches Speicherobjekt zugeordnet wird.

SetColumnName(IMutableProperty, String)

Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs

Legt die Spalte fest, der die Eigenschaft zugeordnet ist.

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)

Parameter

property
IMutableProperty

Die Eigenschaft.

name
String

Der festzulegende Name.

Gilt für:

SetColumnName(IConventionProperty, String, Boolean)

Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs

Legt die Spalte fest, der die Eigenschaft zugeordnet ist.

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)

Parameter

property
IConventionProperty

Die Eigenschaft.

name
String

Der festzulegende Name.

fromDataAnnotation
Boolean

Gibt an, ob die Konfiguration mithilfe einer Datenanmerkung angegeben wurde.

Gibt zurück

Der konfigurierte Wert.

Gilt für:

SetColumnName(IMutableProperty, String, StoreObjectIdentifier)

Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs

Legt die Spalte fest, der die Eigenschaft für ein bestimmtes tabellenähnliches Speicherobjekt zugeordnet wird.

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)

Parameter

property
IMutableProperty

Die Eigenschaft.

name
String

Der festzulegende Name.

storeObject
StoreObjectIdentifier

Der Bezeichner des tabellenähnlichen Speicherobjekts, das die Spalte enthält.

Gilt für:

SetColumnName(IConventionProperty, String, StoreObjectIdentifier, Boolean)

Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs
Quelle:
RelationalPropertyExtensions.cs

Legt die Spalte fest, der die Eigenschaft für ein bestimmtes tabellenähnliches Speicherobjekt zugeordnet wird.

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

Parameter

property
IConventionProperty

Die Eigenschaft.

name
String

Der festzulegende Name.

storeObject
StoreObjectIdentifier

Der Bezeichner des tabellenähnlichen Speicherobjekts, das die Spalte enthält.

fromDataAnnotation
Boolean

Gibt an, ob die Konfiguration mithilfe einer Datenanmerkung angegeben wurde.

Gibt zurück

Der konfigurierte Wert.

Gilt für: