PropertyInterceptionContext<TValue>.WithValue(TValue) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立 BeginTransactionInterceptionContext 一個新 Solve,包含該攔截上下文中所有上下文資訊及給定屬性值。
public System.Data.Entity.Infrastructure.Interception.PropertyInterceptionContext<TValue> WithValue(TValue value);
member this.WithValue : 'Value -> System.Data.Entity.Infrastructure.Interception.PropertyInterceptionContext<'Value>
Public Function WithValue (value As TValue) As PropertyInterceptionContext(Of TValue)
參數
- value
- TValue
將被賦予目標屬性的價值。
傳回
與給定屬性值相關的新攔截上下文。