This question is locked. New answers and comments are not allowed.
hi
(i use multi database)
Telerik.OpenAccess.RT.sql.SQLException: Invalid object name 'voa_keygen'.
at Telerik.OpenAccess.RT.Adonet2Generic.Impl.StatementImp.executeQuery(String sql)
at OpenAccessRuntime.Relational.sql.HighLowRelationalKeyGenerator.IsCached(Connection con, RelationalKeyGeneratorInfoCache infoCache, String tab, String kCol, String vCol, String key, Boolean& ret)
at OpenAccessRuntime.Relational.sql.HighLowRelationalKeyGenerator.init(String className, RelationalTable theClassTable, Connection con, RelationalKeyGeneratorInfoCache relationalKeyGeneratorInfoCache)
at OpenAccessRuntime.Relational.RelationalStorageManagerFactory.init(Boolean full)
i use reverse mapping class library for fetch data and after converting in a intermediate windows application, by using forward mapping i try to add data to another database
how can i solve my problem ?
(i use multi database)
and my senario is fetch data from one data base by using reverse mapping, converting to new object in a intermediate windows application and add new object in another darabase by using forward mapping
first i get a scope of forward mapping classlibrary by this code :
ObjectScopeProvider1.AdjustForDynamicLoad();
_scope = Database.Get("DatabaseConnectionEEOptimizer").GetObjectScope();
and then
i try to get one instance of object scope of reverse mapping class library to fetch data by this code :
ObjectScopeProvider1.AdjustForDynamicLoad();
_scope = Database.Get("DatabaseConnectionISO").GetObjectScope();
Telerik.OpenAccess.RT.sql.SQLException: Invalid object name 'voa_keygen'.
at Telerik.OpenAccess.RT.Adonet2Generic.Impl.StatementImp.executeQuery(String sql)
at OpenAccessRuntime.Relational.sql.HighLowRelationalKeyGenerator.IsCached(Connection con, RelationalKeyGeneratorInfoCache infoCache, String tab, String kCol, String vCol, String key, Boolean& ret)
at OpenAccessRuntime.Relational.sql.HighLowRelationalKeyGenerator.init(String className, RelationalTable theClassTable, Connection con, RelationalKeyGeneratorInfoCache relationalKeyGeneratorInfoCache)
at OpenAccessRuntime.Relational.RelationalStorageManagerFactory.init(Boolean full)
i use reverse mapping class library for fetch data and after converting in a intermediate windows application, by using forward mapping i try to add data to another database
how can i solve my problem ?