语言

ComplexElementEntry<TEntity,TComplexProperty>.CurrentValue 属性

定义

获取或设置当前分配给此属性的值。 如果使用此属性设置当前值,则更改跟踪器知道更改, DetectChanges() 并且上下文不需要检测更改。

public virtual TComplexProperty CurrentValue { get; }
member this.CurrentValue : 'ComplexProperty
Public Overridable ReadOnly Property CurrentValue As TComplexProperty

属性值

TComplexProperty

注解

有关详细信息和示例,请参阅 EF Core 中的访问跟踪实体 。

适用于