Share via


IConventionStoredProcedureBuilder.HasName Method

Definition

Overloads

HasName(String, String, Boolean)

Sets the name and schema of the stored procedure.

HasName(String, Boolean)

Sets the name of the stored procedure.

HasName(String, String, Boolean)

Sets the name and schema of the stored procedure.

public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionStoredProcedureBuilder? HasName (string? name, string? schema, bool fromDataAnnotation = false);
abstract member HasName : string * string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionStoredProcedureBuilder
Public Function HasName (name As String, schema As String, Optional fromDataAnnotation As Boolean = false) As IConventionStoredProcedureBuilder

Parameters

name
String

The name of the stored procedure in the database.

schema
String

The schema of the stored procedure in the database.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The same builder instance if the configuration was applied, null otherwise.

Applies to

HasName(String, Boolean)

Sets the name of the stored procedure.

public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionStoredProcedureBuilder? HasName (string? name, bool fromDataAnnotation = false);
abstract member HasName : string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionStoredProcedureBuilder
Public Function HasName (name As String, Optional fromDataAnnotation As Boolean = false) As IConventionStoredProcedureBuilder

Parameters

name
String

The name of the stored procedure in the database.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The same builder instance if the configuration was applied, null otherwise.

Applies to