Share via


DbFunctionBuilder.HasName(String) Method

Definition

Sets the name of the database function.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionBuilder HasName (string name);
abstract member HasName : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionBuilder
override this.HasName : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionBuilder
override this.HasName : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionBuilder
Public Overridable Function HasName (name As String) As DbFunctionBuilder

Parameters

name
String

The name of the function in the database.

Returns

The same builder instance so that multiple configuration calls can be chained.

Remarks

See Database functions for more information and examples.

Applies to