IStoreFunctionParameter 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表一個 IStoreFunction 參數。
public interface IStoreFunctionParameter : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable
type IStoreFunctionParameter = interface
interface IAnnotatable
interface IReadOnlyAnnotatable
type IStoreFunctionParameter = interface
interface IAnnotatable
Public Interface IStoreFunctionParameter
Implements IAnnotatable
- 實作
備註
更多資訊與範例請參見 資料庫函數 。
屬性
| 名稱 | Description |
|---|---|
| DbFunctionParameters |
會拿到相關的 IDbFunctionParameter 收藏。 |
| Function |
得到該參數所屬的 。IStoreFunction |
| Item[String] |
取得帶有名稱的註解值,若不存在則回 |
| Name |
取得參數名稱。 |
| StoreType |
取得此參數的儲存類型。 |
| Type |
已淘汰.
取得此參數的儲存類型。 |
方法
| 名稱 | Description |
|---|---|
| AddRuntimeAnnotation(String, Object) |
為此物件新增執行時註解。 如果已有指定名稱的註解存在,則會拋出。 (繼承來源 IAnnotatable) |
| AnnotationsToDebugString(Int32) |
取得物件上所有宣告註解的除錯字串。 (繼承來源 IReadOnlyAnnotatable) |
| FindAnnotation(String) |
取得帶有名字的註解,若不存在則回 |
| FindRuntimeAnnotation(String) |
取得帶有名稱的執行時註解,若不存在則回 |
| FindRuntimeAnnotationValue(String) |
取得執行時註解的值,若名稱不存在則回 |
| GetAnnotation(String) |
取得帶有名稱的註解,若不存在則拋出。 (繼承來源 IReadOnlyAnnotatable) |
| GetAnnotations() |
取得目前物件的所有註解。 (繼承來源 IReadOnlyAnnotatable) |
| GetOrAddRuntimeAnnotationValue<TValue,TArg>(String, Func<TArg,TValue>, TArg) |
取得帶有名稱的執行時註解值,若不存在則加入該註解。 (繼承來源 IAnnotatable) |
| GetRuntimeAnnotations() |
取得目前物件上的所有執行時註解。 (繼承來源 IAnnotatable) |
| RemoveRuntimeAnnotation(String) |
移除該物件中給定的執行時註解。 (繼承來源 IAnnotatable) |
| SetRuntimeAnnotation(String, Object) |
設定在指定鍵值下儲存的執行時註解。 若已有指定名稱的註解存在,則會覆寫現有註解。 (繼承來源 IAnnotatable) |
| ToDebugString(MetadataDebugStringOptions, Int32) |
建立給定元資料的可讀表示法。 警告:請勿依賴回傳字串的格式。 它僅設計用於除錯,且可能在不同版本間任意變動。 |
擴充方法
| 名稱 | Description |
|---|---|
| AnnotationsToDebugString(IAnnotatable, Int32) |
取得物件上所有宣告註解的除錯字串。 |
| GetAnnotation(IAnnotatable, String) |
取得帶有名稱的註解,若不存在則拋出。 |
| ToDebugString(IStoreFunctionParameter, MetadataDebugStringOptions, Int32) |
建立給定元資料的可讀表示法。 警告:請勿依賴回傳字串的格式。 它僅設計用於除錯,且可能在不同版本間任意變動。 |