共用方式為


OwnedNavigationTableValuedFunctionBuilder<TOwnerEntity,TDependentEntity>.HasName 方法

定義

設定資料庫函式的名稱。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableValuedFunctionBuilder<TOwnerEntity,TDependentEntity> HasName (string name);
override this.HasName : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableValuedFunctionBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasName (name As String) As OwnedNavigationTableValuedFunctionBuilder(Of TOwnerEntity, TDependentEntity)

參數

name
String

資料庫中函式的名稱。

傳回

相同的產生器實例,以便鏈結多個組態呼叫。

備註

如需詳細資訊和範例,請參閱 資料庫函 式。

適用於