DbUpdateException.Entries 属性

[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]

获取表示无法保存到数据库的实体的 DbEntityEntry 对象。

命名空间:  System.Data.Entity.Infrastructure
程序集:  EntityFramework(在 EntityFramework.dll 中)

语法

声明
Public ReadOnly Property Entries As IEnumerable(Of DbEntityEntry)
    Get
用法
Dim instance As DbUpdateException 
Dim value As IEnumerable(Of DbEntityEntry)

value = instance.Entries
public IEnumerable<DbEntityEntry> Entries { get; }
public:
property IEnumerable<DbEntityEntry^>^ Entries {
    IEnumerable<DbEntityEntry^>^ get ();
}
member Entries : IEnumerable<DbEntityEntry>
function get Entries () : IEnumerable<DbEntityEntry>

属性值

类型:System.Collections.Generic.IEnumerable<DbEntityEntry>
表示无法保存的实体的项。

请参阅

参考

DbUpdateException 类

System.Data.Entity.Infrastructure 命名空间