共用方式為


DbFunctionParameterBuilder.IConventionDbFunctionParameterBuilder.HasStoreType 方法

定義

設定資料庫中函式參數的存放區類型。

Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunctionParameterBuilder IConventionDbFunctionParameterBuilder.HasStoreType (string storeType, bool fromDataAnnotation);
abstract member Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunctionParameterBuilder.HasStoreType : string * bool -> Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunctionParameterBuilder
override this.Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunctionParameterBuilder.HasStoreType : string * bool -> Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunctionParameterBuilder
Function HasStoreType (storeType As String, fromDataAnnotation As Boolean) As IConventionDbFunctionParameterBuilder Implements IConventionDbFunctionParameterBuilder.HasStoreType

參數

storeType
String

資料庫中函式參數的存放區類型。

fromDataAnnotation
Boolean

指出是否使用資料批註來指定組態。

傳回

如果套用組態,則為相同的產生器實例;否則為 null。

實作

適用於