Search found 9854 matches

by Shalex
Thu 12 May 2022 12:13
Forum: Entity Developer
Topic: Efml Update from database, column NEXT VALUE
Replies: 4
Views: 13721

Re: Efml Update from database, column NEXT VALUE

ruda wrote: Mon 09 May 2022 12:43 But if it is an integer field (bigint, int...) the problem occurs.
Thank you for your report. We have reproduced the issue and will notify you when it is fixed.
by Shalex
Mon 09 May 2022 09:03
Forum: LinqConnect (LINQ to SQL support)
Topic: IntegrityCheck/Update methods
Replies: 3
Views: 9706

Re: IntegrityCheck/Update methods

Thank you for your suggestion. We will notify you when the --Connection parameter is added to the Get-Update-Script command.
by Shalex
Mon 09 May 2022 08:57
Forum: dotConnect for Oracle
Topic: Set InitialLobFetchSize for EF 6 db context
Replies: 17
Views: 330737

Re: Set InitialLobFetchSize for EF 6 db context

We are working on the feature. As soon as it is implemented, we are going to provide you with the internal build of dotConnect for Oracle.

Do you use the NuGet package (https://www.nuget.org/packages/devart.data.oracle.ef6) or the assemblies shipped with the provider installation (C:\Program Files (x86)\Devart\dotConnect\Oracle\)?
by Shalex
Thu 05 May 2022 10:44
Forum: Entity Developer
Topic: Efml Update from database, column NEXT VALUE
Replies: 4
Views: 13721

Re: Efml Update from database, column NEXT VALUE

We cannot reproduce the problem with the following table:

Code: Select all

CREATE SEQUENCE [dbo].[Forum57216_sequence] AS [bigint]
GO

CREATE TABLE Forum57216(
Id int Primary Key,
c1 varchar DEFAULT NEXT VALUE FOR [dbo].[Forum57216_sequence]
)
GO
Please specify the DDL script of a test table and related database objects required for reproducing the issue.
by Shalex
Thu 05 May 2022 10:12
Forum: dotConnect for Oracle
Topic: Wrong code generation when querying nullable booleans
Replies: 2
Views: 10505

Re: Wrong code generation when querying nullable booleans

Sorry for the delayed response. We have reproduced the issue and will notify you when it is fixed.
by Shalex
Thu 05 May 2022 08:35
Forum: LinqConnect (LINQ to SQL support)
Topic: Web app suffers slow performance after upgrading to Oracle 19c
Replies: 2
Views: 10661

Re: Web app suffers slow performance after upgrading to Oracle 19c

loganfox wrote: Thu 24 Mar 2022 10:06 Update since my original post In case it helps, I've also just tried using the OracleCommand approach to negate anything to do with EF/Devart. I'm still seeing the same performance hit when it comes to those clobs. In the below rough example, 13 records take around 14 seconds to be iterated. If I comment out the two clob fields, iteration is fast/near instant. In other test runs using 'Direct=true' in the connection string didn't help much/do anything noticeable to improve performance.

Code: Select all

var con = new OracleConnection("connstringhere");
con.Open();
var cmd = new OracleCommand();
cmd.Connection = con;
cmd.CommandText = "SELECT * FROM tableA WHERE condition1='Y' and condition2 = 'Y'";
OracleDataReader dr = cmd.ExecuteReader();

while (dr.Read())) {
  var d1 = dr["ID"];
  var d2 = dr["CLOBFIELD1"];
  VAR d3 = dr["CLOBFIELD2"];
}
Sorry for the delayed response. Try setting cmd.InitialLobFetchSize to different values to check if it makes any difference. The value is the number of bytes of LOB data to prefetch and cache when querying data containing LOB columns. Try 100, 1000, 10000, etc.
by Shalex
Wed 04 May 2022 17:08
Forum: Entity Developer
Topic: Efml Associations - Repeat Bug
Replies: 2
Views: 11211

Re: Efml Associations - Repeat Bug

Thank you for your report. We have reproduced the issue and are investigating it.
by Shalex
Tue 03 May 2022 17:23
Forum: dotConnect for Oracle
Topic: System.Data.Entity.Core.MetadataException: Unable to load the specified metadata resource
Replies: 3
Views: 3855

Re: System.Data.Entity.Core.MetadataException: Unable to load the specified metadata resource

1. Make sure that the agent on your build server is running with administrator privileges.
2. Check if your pipeline actually installs the provider on the build server successfully.
3. Specify the version of Visual Studio on your build server.
by Shalex
Tue 03 May 2022 17:16
Forum: LinqConnect (LINQ to SQL support)
Topic: Automatic Property Set for GUID
Replies: 4
Views: 18781

Re: Automatic Property Set for GUID

Thank you for your suggestion. We will improve the behavior to set Auto Generated Value=True and Auto-Sync=OnInsert for UNIQUEIDENTIFIER DEFAULT (newid()) columns automatically.
by Shalex
Tue 03 May 2022 16:33
Forum: LinqConnect (LINQ to SQL support)
Topic: IntegrityCheck/Update methods
Replies: 3
Views: 9706

Re: IntegrityCheck/Update methods

There is no such functionality in the DataContext class but you can use Entity Developer for this purpose either via design time using Update To Database Wizard (copy update script instead of applying it) or via the console version of the tool calling "ed Get-Update-Script" (https://www.devart.com/entitydeveloper/ ... r_app.html).
by Shalex
Tue 03 May 2022 16:32
Forum: dotConnect for Oracle
Topic: Default Value stopped working since Update
Replies: 5
Views: 10824

Re: Default Value stopped working since Update

Sorry for the delayed response. We are working on the issue. A timeframe for the fix is one month.
by Shalex
Mon 02 May 2022 17:32
Forum: dotConnect for PostgreSQL
Topic: Devart.Data.PostgreSql.Entity.EFCore can not create EFCore migration history table in custom schema
Replies: 5
Views: 11511

Re: Devart.Data.PostgreSql.Entity.EFCore can not create EFCore migration history table in custom schema

Thank you for your report. We have reproduced and are investigating the issue. We will notify you about the result.
by Shalex
Fri 29 Apr 2022 16:52
Forum: dotConnect for PostgreSQL
Topic: PgSqlEntityProviderConfig.Instance.DatabaseScript.Schema.EnsureSchemaBehaviour ignored after version 7.20.* and 7.21.*
Replies: 9
Views: 32038

Re: PgSqlEntityProviderConfig.Instance.DatabaseScript.Schema.EnsureSchemaBehaviour ignored after version 7.20.* and 7.21

The bug with missing the CREATE TABLE statement for __EFMigrationsHistory in EF Core 5 and EF Core 6 Migrations is fixed. We will notify you when a new public build of dotConnect for PostgreSQL is available for download.

If you are interested in the internal build with the fix, please submit your request via our contact form.
by Shalex
Thu 28 Apr 2022 16:51
Forum: dotConnect for Oracle
Topic: Set InitialLobFetchSize for EF 6 db context
Replies: 17
Views: 330737

Re: Set InitialLobFetchSize for EF 6 db context

PeterUser wrote: Tue 26 Apr 2022 08:27 I have performance issues with NCLOB columns in tables and I read that setting InitialLobFetchSize of the OracleCommand can fix that issue.

Is there a way to set this option for an EF DbContext?

Maybe something like

Code: Select all

// Not working!
OracleEntityProviderConfig.Instance.QueryOptions.InitialLobFetchSize = -1;
PeterUser wrote: Wed 27 Apr 2022 12:52 I did additional investigation and tried implementing an IDbCommandInterceptor. Unfortunately, the returned DbCommand is not an OracleDbCommand, but a Devart.Data.Oracle.Entity.ag, which does not have an InitialLobFetchSize property.
We will investigate the possibility of implementing both approaches and notify you about the result. There is no timeframe.
by Shalex
Thu 28 Apr 2022 16:35
Forum: Entity Developer
Topic: EF Core3 : One to one relation multiplicity suddenly changes
Replies: 5
Views: 28079

Re: EF Core3 : One to one relation multiplicity suddenly changes

The investigation is in progress. An approximate timeframe for the fix is one month.