LinqConnect Professional Version 4.2.306 (08-Aug-2013)- Oracle dont check DatabaseExists

Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
Post Reply
AKRRKA
Posts: 198
Joined: Thu 26 Jan 2012 15:07
Location: Russia
Contact:

LinqConnect Professional Version 4.2.306 (08-Aug-2013)- Oracle dont check DatabaseExists

Post by AKRRKA » Mon 26 Aug 2013 13:19

Hello,

I have a problem with check DatabaseExist() for Oracle 11 XE.

When call function DatabaseExist(), get error:
System.NotSupportedException was caught
HResult=-2146233067
Message=Указанный метод не поддерживается.
Source=Devart.Data.Linq
StackTrace:
в Devart.Data.Linq.DataProvider.DatabaseExists()
в Devart.Data.Linq.DataProvider.y()
в Devart.Data.Linq.DataContext.DatabaseExists()
в ceDataSource.Model.DataSource.ComandCheckReferences() в d:\Repository\mvp\trunk\source\ceModules\ceDataSource.Model\DataSource.cs:строка 508
InnerException:

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: LinqConnect Professional Version 4.2.306 (08-Aug-2013)- Oracle dont check DatabaseExists

Post by Shalex » Wed 28 Aug 2013 17:06

This method is currenly not supported because Oracle does not have the database conception (only user/schema). We are planning to implement DatabaseExist() which will check the existance of tables, which are mapped in the model, in database. We will post here when it is implemented but there is no timeframe at the moment.

AKRRKA
Posts: 198
Joined: Thu 26 Jan 2012 15:07
Location: Russia
Contact:

Re: LinqConnect Professional Version 4.2.306 (08-Aug-2013)- Oracle dont check DatabaseExists

Post by AKRRKA » Fri 30 Aug 2013 13:34

Your components have been chosen and purchased mainly because of the possibility of the same work with different databases.
It is important that the user components and was.
If it requires the completion of any specific commands to database, then so be it but only in the interior of the component.

Really looking forward to this opportunity to the fullest.

Thanks.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: LinqConnect Professional Version 4.2.306 (08-Aug-2013)- Oracle dont check DatabaseExists

Post by Shalex » Wed 04 Sep 2013 10:51

The implementation for the DatabaseExists method, which checks the existance of the tables in the database, is added. We will post here when the corresponding build of LinqConnect is available for download.

AKRRKA
Posts: 198
Joined: Thu 26 Jan 2012 15:07
Location: Russia
Contact:

Re: LinqConnect Professional Version 4.2.306 (08-Aug-2013)- Oracle dont check DatabaseExists

Post by AKRRKA » Thu 05 Sep 2013 06:02

Thank you.
It is waiting.
And with function (CreateDatabase), because they need me together.

Post Reply