VistaDB - 必须分配连接 属性 错误
VistaDB - Connection property must be assigned Error
当我尝试更新 vistadb 中的 table 之一时出现以下错误。
VistaDB.Diagnostic.VistaDBSQLException was caught
HResult=1011
Message=
Error 1011 (Provider v. 5.0.4.1289): Connection property must be assigned Error #1011
Line #: 19; Column #: 5
Source=VistaDB.5.NET40
ErrorCode=1011
ErrorId=1011
LevelMessage=Error 1011 (Provider v. 5.0.4.1289): Connection property must be assigned Error #1011
Line #: 19; Column #: 5
ColumnNo=5
LineNo=19
StackTrace:
at VistaDB.Engine.SQL.BatchStatement.CheckBatchExceptions()
at VistaDB.Engine.SQL.BatchStatement.NextResult(VistaDBPipe pipe)
at VistaDB.Provider.VistaDBDataReader.ExecQuery(Int64& affectedRows)
at VistaDB.Provider.VistaDBCommand.ExecQuery(Int64& affectedRows)
at VistaDB.Provider.VistaDBCommand.ExecuteNonQuery()
at Motorola.Ardvarc.Data.Bases.Operations.BaseDBOperations
我在网上搜索了此错误,但找不到任何答案 this.Please 请帮助我了解您对此的看法。
谢谢
穆拉利
我自己解决了这个问题。问题是主键 ID 未设置为您尝试更新的条目。但我不明白为什么 VistaDB 不能指出我这是引用完整性错误。
当我尝试更新 vistadb 中的 table 之一时出现以下错误。
VistaDB.Diagnostic.VistaDBSQLException was caught
HResult=1011
Message=
Error 1011 (Provider v. 5.0.4.1289): Connection property must be assigned Error #1011
Line #: 19; Column #: 5
Source=VistaDB.5.NET40
ErrorCode=1011
ErrorId=1011
LevelMessage=Error 1011 (Provider v. 5.0.4.1289): Connection property must be assigned Error #1011
Line #: 19; Column #: 5
ColumnNo=5
LineNo=19
StackTrace:
at VistaDB.Engine.SQL.BatchStatement.CheckBatchExceptions()
at VistaDB.Engine.SQL.BatchStatement.NextResult(VistaDBPipe pipe)
at VistaDB.Provider.VistaDBDataReader.ExecQuery(Int64& affectedRows)
at VistaDB.Provider.VistaDBCommand.ExecQuery(Int64& affectedRows)
at VistaDB.Provider.VistaDBCommand.ExecuteNonQuery()
at Motorola.Ardvarc.Data.Bases.Operations.BaseDBOperations
我在网上搜索了此错误,但找不到任何答案 this.Please 请帮助我了解您对此的看法。
谢谢 穆拉利
我自己解决了这个问题。问题是主键 ID 未设置为您尝试更新的条目。但我不明白为什么 VistaDB 不能指出我这是引用完整性错误。