Search found 8 matches

by sglqh
Wed 15 Jul 2020 07:30
Forum: EntityDAC
Topic: parameter'returnId' not found
Replies: 8
Views: 26685

Re: parameter'returnId' not found

Using Attribute Mapped Entities is normal.
by sglqh
Sun 06 Jan 2019 10:41
Forum: EntityDAC
Topic: EntityDAC have paging query function?
Replies: 1
Views: 5164

EntityDAC have paging query function?

it seems that the content of this aspect has not been found.
by sglqh
Sat 05 Jan 2019 03:36
Forum: EntityDAC
Topic: parameter'returnId' not found
Replies: 8
Views: 26685

Re: parameter'returnId' not found

My problem has been solved
by sglqh
Fri 04 Jan 2019 15:11
Forum: EntityDAC
Topic: parameter'returnId' not found
Replies: 8
Views: 26685

parameter'returnId' not found

var
Icon:TIcon;
Query: ILinqQueryable;
begin
Icon := DataModule2.EntityContext1.CreateAttachedEntity<TIcon>;
Icon.Id :=1111;
Icon.Filename:='asdaaaaa';
Icon.Upname :='dddfd';
Icon.Upda :=VarToDateTime('05-10-14 04:35PM');
Icon.Save;

I am studying EntityDAC,execute the above code prompt "parameter 'returnId' not found", can not be saved, what is the reason?
by sglqh
Sat 29 Dec 2018 06:14
Forum: EntityDAC
Topic: "IMetaDataExpression" can't find it in that unit.
Replies: 3
Views: 5142

Re: "IMetaDataExpression" can't find it in that unit.

https://www.devart.com/entitydac/docs/r ... ctions.htm


Declaration and initialization of a range variable that defines an initial sequence for a LINQ query
Declaration:

var
range-variable: IMetaDataExpression;
Initialization:

meta-type-name = string value

range-variable := data-context.Types[meta-type-name]
| range-variable := data-context[meta-type-name]
Sample:

var
Emp,
Dept: IMetaDataExpression;
begin
Emp := DataContext.Types['Emp'];
Dept := DataContext['Dept'];
end;

IMetaDataExpression In which unit?
by sglqh
Thu 20 Dec 2018 13:51
Forum: EntityDAC
Topic: "IMetaDataExpression" can't find it in that unit.
Replies: 3
Views: 5142

"IMetaDataExpression" can't find it in that unit.

var
Emp,
Dept: IMetaDataExpression;
begin
Emp := DataContext.Types['Emp'];
Dept := DataContext['Dept'];
end;

"IMetaDataExpression" can't find it in that unit.
by sglqh
Sun 11 Nov 2018 04:05
Forum: EntityDAC
Topic: EntityDAC can support multiple tables?
Replies: 5
Views: 5397

Re: EntityDAC can support multiple tables?

I mean, can I query multiple tables in a single query.
by sglqh
Fri 09 Nov 2018 02:38
Forum: EntityDAC
Topic: EntityDAC can support multiple tables?
Replies: 5
Views: 5397

EntityDAC can support multiple tables?

EntityDAC can support multiple tables, how is it supported? I don't see how the multi-table works in the help documentation.