語言

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

資料庫中函式的名稱。

傳回

同一個建構器實例,這樣可以串接多個設定呼叫。

備註

更多資訊與範例請參見 資料庫函數 。

適用於