Search found 5532 matches

by AlexP
Wed 17 May 2017 07:21
Forum: EntityDAC
Topic: Auto Generated Value is not available in Delphi
Replies: 2
Views: 4911

Re: Auto Generated Value is not available in Delphi

Hello,

The field type, as well as the Entity Key attribute is determined from the database, you should determine the behavior for generating keys in the model by yourself by selecting the generator type using the IdGenerator property
by AlexP
Wed 17 May 2017 07:19
Forum: EntityDAC
Topic: How to Load whole tree model at startup
Replies: 1
Views: 4236

Re: How to Load whole tree model at startup

Hello,

Please describe in more details the behavior you want to implement?
by AlexP
Wed 17 May 2017 06:52
Forum: EntityDAC
Topic: Express vs Professional
Replies: 1
Views: 4248

Re: Express vs Professional

Hello,

Yes, each table in the model should have a key field.
by AlexP
Tue 25 Apr 2017 08:04
Forum: EntityDAC
Topic: Enums declarations are not generated in Delphi
Replies: 1
Views: 4243

Re: Enums declarations are not generated in Delphi

Hello,

Support for Enum types is added to our roadmap, but we can't tell the exact time frame for its implementation.
by AlexP
Tue 25 Apr 2017 06:31
Forum: Universal Data Access Components
Topic: PostgreSQL exception handling problem
Replies: 5
Views: 3413

Re: PostgreSQL exception handling problem

For this, you can check the exception class

Code: Select all

uses ..., PgErrorUni;

...

procedure TForm1.UniConnection1Error(Sender: TObject; E: EDAError;
  var Fail: Boolean);
begin
  if E is EPgError then
...
by AlexP
Mon 24 Apr 2017 11:55
Forum: Universal Data Access Components
Topic: PostgreSQL exception handling problem
Replies: 5
Views: 3413

Re: PostgreSQL exception handling problem

Hello,

You should use the UniConnection.OnError event

and to handle the exception set the Fail parameter to False;
by AlexP
Mon 24 Apr 2017 11:46
Forum: EntityDAC
Topic: Entity Developer
Replies: 4
Views: 5649

Re: Entity Developer

You can specify a sign of uniqueness in PropertyEditor -> Unique = True
by AlexP
Mon 24 Apr 2017 11:44
Forum: Universal Data Access Components
Topic: Linux & ODBC with Tokyo
Replies: 3
Views: 1422

Re: Linux & ODBC with Tokyo

You are welcome. Feel free to contact us if you have any further questions.
by AlexP
Mon 24 Apr 2017 11:29
Forum: EntityDAC
Topic: master deatil issue
Replies: 3
Views: 5104

Re: master deatil issue

You should also call the Save method

Code: Select all

context.Attach(d);
context.Save(d);
by AlexP
Mon 24 Apr 2017 10:32
Forum: EntityDAC
Topic: How to use LINQ Query .Any function
Replies: 8
Views: 7538

Re: How to use LINQ Query .Any function

The provided code does not cause the specified error, please, send us your model and Delphi code to support*devart*com
by AlexP
Mon 24 Apr 2017 09:49
Forum: EntityDAC
Topic: missing parameter returnID
Replies: 1
Views: 4341

Re: missing parameter returnID

Hello,

Please, specify the exact EntityDAC version, DB name and EntityProvider which you are using
by AlexP
Mon 24 Apr 2017 09:49
Forum: EntityDAC
Topic: Linq where condition
Replies: 1
Views: 4465

Re: Linq where condition

Hello,

You cannot use Null as the lCondition condition. Null can be used as the condition operand, i.e.

Code: Select all

FDatabase.Context['Work']['JobDate'] = Null. 
In this case, a correct query will be created.

If you want to use your code and not to set conditions (select all records) you should specify the condition as follows:

Code: Select all

lCondition := 1 = 1; 
by AlexP
Mon 24 Apr 2017 09:22
Forum: EntityDAC
Topic: Multi-Tier in EntityDAC
Replies: 1
Views: 4816

Re: Multi-Tier in EntityDAC

Hello,

We could not reproduce the error when replacing UniDAC with EntityDAC.
Please, send us a complete server sample to support*devart*com, also specify IDE and our components versions.
by AlexP
Mon 24 Apr 2017 08:34
Forum: EntityDAC
Topic: DisplayName (EntityDeveloper model) to DisplayLabel in column TEntityTable
Replies: 1
Views: 4304

Re: DisplayName (EntityDeveloper model) to DisplayLabel in column TEntityTable

Hello,

This property is not used in EntityDAC, you can set a name in the DisplayLabel property in the field editor in Delphi manually.
by AlexP
Mon 24 Apr 2017 07:41
Forum: Universal Data Access Components
Topic: Linux & ODBC with Tokyo
Replies: 3
Views: 1422

Re: Linux & ODBC with Tokyo

Hello,

Yes, you can use our UniDAC to work with ODBC drivers for Linux.

P.S. In addition, you can also use our ODBC drivers: https://www.devart.com/odbc/