Complex Types don't produce any code

Discussion of open issues, suggestions and bugs regarding EntityDAC
Post Reply
gregors613
Posts: 6
Joined: Mon 01 Oct 2012 12:43

Complex Types don't produce any code

Post by gregors613 » Fri 11 Apr 2014 18:08

I've added a few complex types and there are no definitions anywhere in the generated code so there are lots of undefined types and nothing builds

e.g.

Create a complex type AccPacIdType which contains a single property that is a string mapped to a sql server varchar(50). The generated code looks like this for a mapped entity that contains this type

TCustomer = class(TMappedEntity)
private
...
FAccPacID: TAccPacIdTypeAttribute;
...
function GetAccPacID: AccPacIdType;
procedure SetAccPacID(const Value: AccPacIdType);

but there is no definition for AccPacIdType

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Complex Types don't produce any code

Post by AlexP » Mon 14 Apr 2014 12:00

Hello,

For the time being, EntityDAC doesn't support Complex Types. We plan to implement support for such types in the nearest future

Post Reply