語言

OwnedNavigationTableValuedFunctionBuilder<TOwnerEntity,TDependentEntity>.HasSchema 方法

定義

設定資料庫函式的架構。

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

參數

schema
String

資料庫中函式的結構。

傳回

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

備註

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

適用於