Entity Developer - generated metadata error - Delphi and MariaDB
Hello, in table are BIT type fileds. After generate code are errors in datamodel.metadata.pas file now in source code: FKontrolamnozstvi := TMappedAttribute.Create(Self, 'Kontrolamnozstvi', etBoolean, False, 'KontrolaMnozstvi', False, False, 'b'0'', 'BIT
Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'expr')
Hi Devart team, I am facing an issue in my .NET 7 application connecting to an Oracle Database using Devart.Data.Oracle.EF library. When I try to query the parent table that is configured using table-per-type (TPT) I got the next error: Unhandled exception.
Does DotConnect Universal also support Net 7 ?
Hi, I saw that with Build 134 DotConnect Support Net 7. Does this also includes DotConnect Universal ? I only found information for the individual Daztabases. Thanks and regards Uwe
Doesn DotConnect Universal support Net7
Hi, does DotConnect Universal already support Net 7. I get the following Error Message when I try to open a database: System.MissingMethodException: "Method not found: 'System.String System.AppDomainSetup.get_LicenseFile()'." I am using the SQLiteCrypt
Oracle Advanced Queuing - OracleQueue.Dequeue
OracleQueue.Dequeue only returns the first message. In my test I enqueue 20 messages, and only the first one gets dequeued. I have no idea why.
Oracle.EFCore: saving to DB fails with error "NetTopologySuite spatial service is not registered"
Hi, I am currently trying to migrate my Blazor Entity Framework Identity app from Oracle Managed EF package to Devart EF package. Reading from DB seems to work fine, however, I can't update any rows in DB getting the following exception: 13:27:08.90 fail:
EF7: issue with case/when in version 10.1.151.7 (ORA-00920 : invalid relational operator)
Hi, In version 10.1.151.7 a wrong query is generated. We currently use version 10.1.134.7 which doesn't have this issue. The generated query looks as follows (in bold the incorrect part): ---- SELECT "l".A "A", "l".B "B", (CASE WHEN "l".C THEN 2 ELSE
Compiled query errors
Hello, After I 'v updated DB connector from version "10.1.134.7" to "10.1.151.7" , I started to get errors on compiled queries. I'm using EF7 on NET7. In the previous version, everything worked pretty well. Example of call: private static readonly Func<Model,
Handling of a bit array
Hello, recently we moved from 7.24.2066 to 8.1.151. Is there a difference now in handling a bit array? In the database there is a field of type "bit(7)". When filling a datatable (PgSqlDataAdapter.Fill), there is a different result in the corresponding
Entity developer (NHibernate) 7.1.151 generating wrong SQL at Update the Database from Model
Hello If you add an association between two entities with composite primary keys, entity developer (NHibernate) 7.1.151 will generate the wrong sql script at "Update the Database from Model". Example (Assoc is One Cat to Many Dogs, ISet) The generated
AccessViolationException in OCI mode, Devart 10, EF 6.4.4, Oracle 19
Hello Devart team. We are using Devart.Data.Oracle 10.0.0.0 for .NET Framework + EntityFramework 6.4.4. Our application is targeted to .NET Framework 4.8 and runs as 32 bit service process with "Local System" permissions. Devart.Data.Oracle runs in OCI
How can I query the WorkstationID value assigned in a connection string using T-SQL?
I am assigning the ApplicationName and WorkstaionID properties on a SqlConnectionStringBuilder. I can query the ApplicationName from sys.dm_exec_sessions. I would like be able to query the WorkstationID value using T-SQL, also. My goal is to be able to
dotConnect for MySQL components not appearing in Visual Studio 2022 toolbox
I have installed dotConnect for MySql product The MySQL menu item appears in the Tools menu of 2022 I am building a project for .Net 7.0 - see attached image The dotConnect components do not appear in the Toolbox. I followed the instructions for adding
Asp.net project Getting Devart error during build pipeline (Azure Devops) - License compilation file - Unable to resolve type 'Devart.Data.Oracle.OracleConnection,
Asp.net VB Project. It has Class library project & Asp.net website project in solution. Builds in dev machine. During Azure Devops build pipeline, getting below Unable to Resolve Type error during license file compilation. Please help on resolving this
Connecting Delphi client to .NET FireDAC alike server ?
I am aiming to replace Delphi FireDAC based server with .NET C# ASP.NET server which to keep providing the FireDAC requests to the Delphi clients. Is there such a thing ?
Visual Studio 2022 error not loading Devart.Data.PostgreSql.Vs.dll (dotConnect for PostgreSQL 8.1 Express)
Hi, I cannot find this topic in FAQ. So I posted here. It will always appear when I start Visual Studio even when with empty project. Please advice if this error can be ignored. Regards Samuel Toh
Linq Connect Update Timeline
Is there a timeline for an update to LinqConnect 5.-0.151 to support the recent updates to visual studio? Thanks -Pete
EF Core 7 MaxBatchSize and auto generated ID's
When using a MaxBatchSize I get an Exception when inserting a record, the ID is auto generated by the database: The property 'Planning.PLANNING_ID' has a temporary value while attempting to change the entity's state to 'Unchanged'. Either set a permanent
Event when a connection is taken or put back into the pool
Hi, Is there an event when a connection is made or reset in the pool ? Thank you
Licence is not assigned
Hello, My licence is not assigned. However, i added the License Key in the connectionstring of my project .Net 4.6.1 I don't understand how to assign my Activation Key
PostgreSql.EFCore: problem querying spatial data
Hello I migrated from .Net Framework to .NET Core 6.0 and have a problem querying spatial data. DbContext is extended with: optionsBuilder.UsePostgreSql(connectionString, options => { options.UseNetTopologySuite(); }); I use database first approach, the
How to Renew my dotconnect Oracle
How do I renew my licenses key of oracle dotconnect because I am facing the following error. Error : LicenseException: Feature is not supported. This error is thrown by Devart .NET Standard assemblies if license key validation fails. Possible reasons:
Missing Methods in Toolbox
Hello, I'm having an error when trying to access the ZohoConnection with the dotConnect, it hits me with a missing method error and im a little lost on where to go from there.
Lots of issues updating to version 6.1.134 of dotConnect SQLite Free in the Visual Studio 2022 community.
When upgrading to version 6.1.134 of dotConnect SQLite Free the Visual Studio 2022 community app stops working. Is it possible to roll back dotConnect version 6.0 for Microsoft Visual Studio 2022?
DotConnect for Oracle express edition version 9.14 cause serious memory leak!
I have this code to open Oracle connection: private OracleConnection _OpenDBConn() { bool successed = false; OracleConnection conn = new OracleConnection(ConnectString) { AutoCommit = false }; try { conn.Open(); successed = true; return conn; } finally
Integer[] value cannot be inserted into a PostgreSql database with LinqConnect
Hello, We have a column with datatype integer[] in one of our database tables. Using repository pattern, when we run this code: OurTableEntity entity = new OurTableEntity(); entity.OurColumn = "{-1,-1,-1,-1,-1}"; ourTableRepository.Add(entity); unitOfWork.Save();
ORA-01745: invalid host/bind variable name when parameters are reused in the linq query version 10.0.1.134.7 & EF7
Using 10.0.1.134.7 & EF7 When in .net the same variable is used more than once in a linq query, the bind variable in the query is rendered the second with 2 time ':' thus ::p__query_varname eg. excerpt: qry = qry.Where(z => z.DidoDocDosVersies.Where(y
dotConnect for Oracle and Entity Framework guide
Hello, I would like you to guide me about dotConnect for Oracle and Entity Framework configurations for the project I described with the following keywords. This help can be a sample project already exists, a post explaining the configuration, or a help
"CROSS APPLY" is not supported in Postgresql?
Hello If I use a LINQ query over 2 tables, I get an error 42601: syntax error at "APPLY" It seems that the SQL contains "CROSS APPLY" which is unknown in Postgresql. How can I avoid that ? Never had that problem with the previous versions (.NET Framework)
Save as different framework model?
As I requested a year ago, the reason I bought this was to migrate to EF from Telerik but my models are significant in size. I just need the basic relations in order for me to migrate since they list in the hundreds if not thousands in my models as the
Error "System.InvalidOperationException: Transaction already exists."
Hi, That error has already been mentioned here, but no solution. Wen can reproduce by doing this: //-------------------------------- try { //--step 1 try { Data1 dat1 = new() { field1 = 1, field2 = 2 }; ctx.Add(dat1); ctx.SaveChanges(); } catch(Exception
No DbUpdateConcurrencyException when OracleDbContextOptionsBuilder.MaxBatchSize > 1
Hi, we have an issue while enforcing optimistic concurrency in combination with an OracleDbContextOptionsBuilder.MaxBatchSize greater than 1 (eg. 50): there is no thrown DbUpdateConcurrencyException when there should be one. How to reproduce: Create an
Same parameter syntax problem
Hi, We use , Devart.Data.Oracle.EFCore -Version 10.1.134.7. If there are 2 parameters with the same value in the query we created, a single parameter is produced, but an incorrect output occurs. Example; OFFSET :p__p_1 ROWS FETCH NEXT ::p__p_1 ROWS ONLY
mysql dotconnect badc client and connection lost
hi, we are incurring often in the same issues about connection attemp our customers often works with Aruba, is an apache hosting with closed firewall rules about connection from outside theier server, because of it we use tunnell http method but, often
Old DLL Reference (Devart.Data.PostgreSql)
Hello, in my Web Forms App I did upgrade to current Devart DLLs but there's somehow a hard reference to an older DLL and the only way I could solve it, was by using a DLL redirection - see below. Here's what I tried to solve it the right way: - I removed
Expecting Devart.Data.Oracle.OracleConnection but got Devart.Data.Oracle.Entity.av when using DbConnectionInterceptor
Version used: Used NuGet Package in .net 6 Project: Devart.Data.Oracle.EFCore 10.1.134.7 Problem: I need to Intercept the DbConnection to set some metadata but when using Microsoft.EntityFrameworkCore.Diagnostics.DbConnectionInterceptor instead of getting
Wrong number or types of arguments in call to 'SF_GET_CLIENTS_QUERY'
Hi Team, Facing this error, when we try to call a specific Oracle function, which has a input of type Table. there are no other mismatch on the number or type of arguments. Issue only when we use this particular parameter(atbl_client_nr). Below i have
Multiple Query
Hi I have a following problem: trying to utilize multiple query feature but getting error about incorrect sql syntax (ORA-00933). I want to pass few sql queries into one command, then execute reader, fetch data from first query, then call NextResult and
facing issue as Cannot describe stored procedure arguments
Hi Team, we are facing the same issue which is mentioned in below link, this is created around 2 years ago. Do not find any solution/fix provided. please help in understand the resiolution required. For reference we are adding the Procedure for reference.
Unable to create entity model
Hi, Using Visual Studio; When I try to add a new Devart Entity Model; I can create a model using the thick client app and open it in Visual Studio but the entities are not generated and I do not see Run Custom Tool.
Next Page