DefaultValueBinding 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
定義參數綁定以建立型態的預設值。
[System.Runtime.CompilerServices.Nullable(0)]
public class DefaultValueBinding : Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding
[<System.Runtime.CompilerServices.Nullable(0)>]
type DefaultValueBinding = class
inherit InstantiationBinding
Public Class DefaultValueBinding
Inherits InstantiationBinding
- 繼承
- 屬性
備註
更多資訊與範例請參閱 帶有構造子的實體類型 。
建構函式
| 名稱 | Description |
|---|---|
| DefaultValueBinding(Type) |
建立新的 DefaultValueBinding 實例。 |
屬性
| 名稱 | Description |
|---|---|
| ParameterBindings |
所使用的實例集合 ParameterBinding 。 (繼承來源 InstantiationBinding) |
| RuntimeType |
這是將從為此綁定所建立的表達式樹所建立的型別。 |
方法
| 名稱 | Description |
|---|---|
| CreateConstructorExpression(ParameterBindingInfo) |
利用給定的方法創造 。MethodCallExpression |
| With(IReadOnlyList<ParameterBinding>) |
建立包含指定參數綁定的副本。 |