Search found 9854 matches

by Shalex
Thu 23 Dec 2021 11:55
Forum: dotConnect for PostgreSQL
Topic: Error trying to add Authentication
Replies: 17
Views: 98875

Re: Error trying to add Authentication

Sorry for the delayed response. We haven't managed to cope with the problem yet but the investigation is still in progress. There is no exact timeframe at the moment. Be sure that we have raised the priority of your ticket for our technical team involved in the investigation.
by Shalex
Tue 21 Dec 2021 18:40
Forum: Entity Framework support
Topic: EF Core 6.0
Replies: 3
Views: 17828

Re: EF Core 6.0

dotConnect for Oracle 9.15 is released: viewtopic.php?f=1&t=51634.
by Shalex
Tue 21 Dec 2021 18:10
Forum: dotConnect for Oracle
Topic: EF Core 6 support
Replies: 3
Views: 12506

Re: EF Core 6 support

dotConnect for Oracle 9.15 is released: viewtopic.php?f=1&t=51634.
by Shalex
Tue 21 Dec 2021 18:03
Forum: dotConnect for SQLite
Topic: Entity Framework Core VNext support status
Replies: 6
Views: 34897

Re: Entity Framework Core VNext support status

dotConnect for SQLite 5.19 is released: viewtopic.php?f=29&t=51646.
by Shalex
Tue 21 Dec 2021 17:35
Forum: dotConnect for PostgreSQL
Topic: Support of NetTopologySuite 2.0
Replies: 2
Views: 12623

Re: Support of NetTopologySuite 2.0

NetTopologySuite 2.4.0 is supported in EF Core 3, EF Core 5, and EF Core 6: viewtopic.php?f=3&t=51642.
by Shalex
Tue 21 Dec 2021 17:34
Forum: dotConnect for Oracle
Topic: Spatial linq queries not working
Replies: 9
Views: 23600

Re: Spatial linq queries not working

vmakkenz wrote: Thu 18 Nov 2021 10:46 I'm trying to do a simple linq query retrieving the building that contains a point

Code: Select all

        var point = new GeometryFactory().CreatePoint(new Coordinate(233569.922, 556664.502));
        var buildings = db.Building.Where(g => g.Geometry.Contains(point));
But I keep getting mapping errors

System.InvalidOperationException : Expression '@__point_0' in SQL tree does not have type mapping assigned.

Code: Select all

        var buildings = db.Building.Where(g => g.Geometry.Contains(new GeometryFactory().CreatePoint(new Coordinate(233569.922, 556664.502))));
System.InvalidOperationException : Expression 'POINT (233569.922 556664.502)' in SQL tree does not have type mapping assigned.

Using
DevArt 9.14.1369
.NET 5.0/6.0
dotConnect for Oracle v9.15 also includes the following fixes:
  • The bug with throwing the "Expression in SQL tree does not have type mapping assigned" error with NetTopologySuite in EF Core is fixed
  • The bug with calling methods and properties of the Geometry class and its child classes, when the type member returns bool, with NetTopologySuite in EF Core is fixed
by Shalex
Tue 21 Dec 2021 17:14
Forum: dotConnect for Oracle
Topic: Spatial linq queries not working
Replies: 9
Views: 23600

Re: Spatial linq queries not working

dotConnect for Oracle 9.15 is released: viewtopic.php?f=1&t=51634.
by Shalex
Tue 21 Dec 2021 08:57
Forum: dotConnect for Oracle
Topic: Spatial linq queries not working
Replies: 9
Views: 23600

Re: Spatial linq queries not working

  • The config.SpatialOptions settings are supported in EF Core
  • The bug with throwing ORA-00920 by the GeometryCollection.Intersects method when using NetTopologySuite spatial service in EF Core 5 is fixed
  • The bug with throwing ORA-00920 by the Geometry.Disjoint method when using NetTopologySuite spatial service in EF Core 3 and EF Core 5 is fixed
  • The bug with throwing the "Unexpected primitive type kind 'r'." error when using NetTopologySuite spatial service with a geometric constant in EF Core 3 and EF Core 5 is fixed
We will notify you when a new public build of dotConnect for Oracle is available for download.
by Shalex
Mon 20 Dec 2021 18:32
Forum: dotConnect for PostgreSQL
Topic: Embedding license when building on Azure DevOps
Replies: 2
Views: 25250

Re: Embedding license when building on Azure DevOps

Xor wrote: Mon 20 Dec 2021 12:38 Since build agent are created each time build runs it can't use license.licx file and license installed on a system.
If you set up a pipeline for compiling your source code from repository on a build server periodically or even after every commit, you should add a step to your pipeline for installing the provider on the build server for copying Devart.* assemblies, registering provider build action, enabling automatic generation of .NET Framework license resource from provider entry in licenses.licx. For example, the corresponding step in Azure DevOps Pipeline can be the following one if you copied the provider installation to the root folder of your repository:

Code: Select all

- task: CmdLine@2
  inputs:
    script: '$(Build.SourcesDirectory)\dcpostgresql.exe /TYPE=FULL /VERYSILENT'
More information about the command line installation keys is available at https://www.devart.com/dotconnect/postg ... tion.html .
by Shalex
Mon 20 Dec 2021 17:53
Forum: dotConnect for PostgreSQL
Topic: Type changes on migration
Replies: 1
Views: 11686

Re: Type changes on migration

Please specify the version of Entity Framework you are working with (e.g.: EF 6, EF Core 5, etc).

With EF 6, try using conversion:

Code: Select all

public class MyContext : DbContext {
 
    protected override void OnModelCreating(DbModelBuilder modelBuilder) {
 
      modelBuilder
        .Properties()
        .Where(p => p.PropertyType == typeof(string))
        .Configure(p => p.HasColumnType("text"));
    }
 
    // ...
  }
by Shalex
Thu 16 Dec 2021 12:51
Forum: Entity Developer
Topic: Visual Studio 2022
Replies: 29
Views: 1097415

Re: Visual Studio 2022

floatingleaf wrote: Tue 14 Dec 2021 14:30 Or would it be safer to expect it in Jan 2022?
Hi Adrian,

We are going to release the feature in January 2022.

Best regards
by Shalex
Wed 15 Dec 2021 17:28
Forum: dotConnect for MySQL
Topic: EntityDeveloper not working
Replies: 8
Views: 28024

Re: EntityDeveloper not working

msisco wrote: Mon 13 Dec 2021 19:42 This got rid of the error regarding the ProviderManifest, but didn't solve the over-arching problem which I assumed was related.

If I try to "Update Model from Database" and select a connection, I am given the following error:

"Your project references the latest version of Entity Framework; however, an Entity Framework provider compatible with this version could not be found for your data connection."

I get the same error if I try to create a new model using dotConnect for MySQL.
Please upgrade to dotConnect for MySQL v8.19.2014. This build works successfully with EDM Wizard in your test project.

FYI: we recommend using Entity Developer (the Devart Entity Model item, *.edml) instead of EDM Designer (the ADO.NET Entity Data Model item, *.edmx) because it is adjusted for working with MySQL and has an advanced functionality: http://www.devart.com/entitydeveloper/ed-vs-edm.html. Additionally, Entity Developer adds registration of EF6 provider in app.config automatically.
by Shalex
Tue 14 Dec 2021 13:43
Forum: dotConnect for Oracle
Topic: [A]Devart.Data.Oracle.OracleCommand cannot be cast to [B]Devart.Data.Oracle.OracleCommand
Replies: 5
Views: 12493

Re: [A]Devart.Data.Oracle.OracleCommand cannot be cast to [B]Devart.Data.Oracle.OracleCommand

hepek wrote: Mon 13 Dec 2021 15:30 can you please provide that config entry with <publisherPolicy apply="no"/>?
1. Here is:

Code: Select all

<configuration>  
   <runtime>  
      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">  
         <dependentAssembly>  
            <assemblyIdentity name="Devart.Data"  
                                    publicKeyToken="09af7300eec23701"  
                                    culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-5.0.2806.0" newVersion="5.0.2806.0"/>
            <publisherPolicy apply="no"/>  
         </dependentAssembly>
         <dependentAssembly>  
            <assemblyIdentity name="Devart.Data.Oracle"  
                                    publicKeyToken="09af7300eec23701"  
                                    culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-9.14.1382.0" newVersion="9.14.1382.0"/>
            <publisherPolicy apply="no"/>  
         </dependentAssembly>
         <dependentAssembly>  
            <assemblyIdentity name="Devart.Data.Linq"  
                                    publicKeyToken="09af7300eec23701"  
                                    culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-4.9.2351.0" newVersion="4.9.2351.0"/>
            <publisherPolicy apply="no"/>  
         </dependentAssembly>
         <dependentAssembly>  
            <assemblyIdentity name="Devart.Data.Oracle.Linq"  
                                    publicKeyToken="09af7300eec23701"  
                                    culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-4.9.2351.0" newVersion="4.9.2351.0"/>
            <publisherPolicy apply="no"/>  
         </dependentAssembly>
      </assemblyBinding>  
   </runtime>  
</configuration>  
hepek wrote: Mon 13 Dec 2021 15:30 btw - I don't thik I ever installed devart on this server.
2. The error says that one Devart.Data.Oracle.dll is loaded from GAC. Search for dotConnect for Oracle in the "Add or remove programs" utility of your Windows.
hepek wrote: Mon 13 Dec 2021 15:30 is there a way to tell devart NOT to use GAC?
3. GAC is the first location where CLR looks for the assembly.
hepek wrote: Mon 13 Dec 2021 15:30 in another words - may I deploy the app in a way that it does not need devart installation at all.
4. Yes, you may. Refer to https://www.devart.com/dotconnect/oracl ... yment.html.