CommitFailedException 构造函数

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

使用默认值初始化 CommitFailedException 的新实例。

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

语法

声明
Public Sub New
用法
Dim instance As New CommitFailedException()
public CommitFailedException()
public:
CommitFailedException()
new : unit -> CommitFailedException
public function CommitFailedException()

请参阅

参考

CommitFailedException 类

CommitFailedException 重载

System.Data.Entity.Infrastructure 命名空间