Bagikan melalui


RelationalPropertyExtensions.GetDefaultValue Metode

Definisi

Overload

GetDefaultValue(IProperty)

Mengembalikan objek yang digunakan sebagai nilai default untuk kolom tempat properti ini dipetakan.

GetDefaultValue(IReadOnlyProperty)

Mengembalikan objek yang digunakan sebagai nilai default untuk kolom tempat properti ini dipetakan.

GetDefaultValue(IProperty, StoreObjectIdentifier)

Mengembalikan objek yang digunakan sebagai nilai default untuk kolom tempat properti ini dipetakan.

GetDefaultValue(IReadOnlyProperty, StoreObjectIdentifier)

Mengembalikan objek yang digunakan sebagai nilai default untuk kolom tempat properti ini dipetakan.

GetDefaultValue(IProperty)

Mengembalikan objek yang digunakan sebagai nilai default untuk kolom tempat properti ini dipetakan.

public static object GetDefaultValue (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetDefaultValue : Microsoft.EntityFrameworkCore.Metadata.IProperty -> obj
<Extension()>
Public Function GetDefaultValue (property As IProperty) As Object

Parameter

property
IProperty

Properti .

Mengembalikan

Objek yang digunakan sebagai nilai default untuk kolom tempat properti ini dipetakan.

Berlaku untuk

GetDefaultValue(IReadOnlyProperty)

Mengembalikan objek yang digunakan sebagai nilai default untuk kolom tempat properti ini dipetakan.

public static object? GetDefaultValue (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member GetDefaultValue : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> obj
<Extension()>
Public Function GetDefaultValue (property As IReadOnlyProperty) As Object

Parameter

property
IReadOnlyProperty

Properti .

Mengembalikan

Objek yang digunakan sebagai nilai default untuk kolom tempat properti ini dipetakan.

Berlaku untuk

GetDefaultValue(IProperty, StoreObjectIdentifier)

Mengembalikan objek yang digunakan sebagai nilai default untuk kolom tempat properti ini dipetakan.

public static object GetDefaultValue (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetDefaultValue : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> obj
<Extension()>
Public Function GetDefaultValue (property As IProperty, ByRef storeObject As StoreObjectIdentifier) As Object

Parameter

property
IProperty

Properti .

storeObject
StoreObjectIdentifier

Pengidentifikasi objek penyimpanan seperti tabel yang berisi kolom .

Mengembalikan

Objek yang digunakan sebagai nilai default untuk kolom tempat properti ini dipetakan.

Berlaku untuk

GetDefaultValue(IReadOnlyProperty, StoreObjectIdentifier)

Mengembalikan objek yang digunakan sebagai nilai default untuk kolom tempat properti ini dipetakan.

public static object? GetDefaultValue (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetDefaultValue : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> obj
<Extension()>
Public Function GetDefaultValue (property As IReadOnlyProperty, ByRef storeObject As StoreObjectIdentifier) As Object

Parameter

property
IReadOnlyProperty

Properti .

storeObject
StoreObjectIdentifier

Pengidentifikasi objek penyimpanan seperti tabel yang berisi kolom .

Mengembalikan

Objek yang digunakan sebagai nilai default untuk kolom tempat properti ini dipetakan.

Berlaku untuk