var
Emp,
Dept: IMetaDataExpression;
begin
Emp := DataContext.Types['Emp'];
Dept := DataContext['Dept'];
end;
"IMetaDataExpression" can't find it in that unit.
"IMetaDataExpression" can't find it in that unit.
Re: "IMetaDataExpression" can't find it in that unit.
Please describe the task in more detail. What version of EntityDAC are you using in your project?
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?
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?
Re: "IMetaDataExpression" can't find it in that unit.
Thank you for the explanation. We will check the relevance of the information in our EntityDAC documentation and change it in accordance with the latest version of our product. Currently, you can familiarize yourself with the basic features of working with EntityDAC using the demos distributed with our product.