RelationalRuntimeModelConvention.ProcessStoredProcedureParameterAnnotations 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
更新將被設定在唯讀物件上的儲存程序參數註解。
protected virtual void ProcessStoredProcedureParameterAnnotations(System.Collections.Generic.Dictionary<string,object?> annotations, Microsoft.EntityFrameworkCore.Metadata.IStoredProcedureParameter parameter, Microsoft.EntityFrameworkCore.Metadata.Internal.RuntimeStoredProcedureParameter runtimeParameter, bool runtime);
abstract member ProcessStoredProcedureParameterAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IStoredProcedureParameter * Microsoft.EntityFrameworkCore.Metadata.Internal.RuntimeStoredProcedureParameter * bool -> unit
override this.ProcessStoredProcedureParameterAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IStoredProcedureParameter * Microsoft.EntityFrameworkCore.Metadata.Internal.RuntimeStoredProcedureParameter * bool -> unit
Protected Overridable Sub ProcessStoredProcedureParameterAnnotations (annotations As Dictionary(Of String, Object), parameter As IStoredProcedureParameter, runtimeParameter As RuntimeStoredProcedureParameter, runtime As Boolean)
參數
- annotations
- Dictionary<String,Object>
需要處理的註解。
- parameter
- IStoredProcedureParameter
原始碼儲存程序參數。
- runtimeParameter
- Microsoft.EntityFrameworkCore.Metadata.Internal.RuntimeStoredProcedureParameter
目標儲存程序參數,將包含註解。
- runtime
- Boolean
表示所給註解是否為執行時註解。