OwnedNavigationTableValuedFunctionBuilder<TOwnerEntity,TDependentEntity>.HasName 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定資料庫函式的名稱。
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
資料庫中函式的名稱。
傳回
同一個建構器實例,這樣可以串接多個設定呼叫。
備註
更多資訊與範例請參見 資料庫函數 。