Share via


IReadOnlyCheckConstraint.GetDefaultName Method

Definition

Overloads

GetDefaultName()

Returns the default database name that would be used for this check constraint.

GetDefaultName(StoreObjectIdentifier)

Returns the default database name that would be used for this check constraint.

GetDefaultName()

Returns the default database name that would be used for this check constraint.

public virtual string? GetDefaultName ();
abstract member GetDefaultName : unit -> string
override this.GetDefaultName : unit -> string
Public Overridable Function GetDefaultName () As String

Returns

The default name that would be used for this check constraint.

Applies to

GetDefaultName(StoreObjectIdentifier)

Returns the default database name that would be used for this check constraint.

public virtual string GetDefaultName (in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
public virtual string? GetDefaultName (in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier? storeObject);
abstract member GetDefaultName : StoreObjectIdentifier -> string
override this.GetDefaultName : StoreObjectIdentifier -> string
Public Overridable Function GetDefaultName (storeObject As StoreObjectIdentifier) As String

Parameters

storeObject
StoreObjectIdentifier

The identifier of the store object.

Returns

The default name that would be used for this check constraint.

Applies to