语言

DbEntityEntry<TEntity>.State 属性

定义

获取或设置实体的状态。

public System.Data.Entity.EntityState State { get; set; }
member this.State : System.Data.Entity.EntityState with get, set
Public Property State As EntityState

属性值

省/市/自治区。

适用于