Share via


TableTriggerBuilder.HasDatabaseName(String) Method

Definition

Sets the database name of the trigger.

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

Parameters

name
String

The database name of the trigger.

Returns

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

Remarks

See Database triggers for more information and examples.

Applies to