Complex Types don't produce any code

Complex Types don't produce any code

Postby 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


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)
FAccPacID: TAccPacIdTypeAttribute;
function GetAccPacID: AccPacIdType;
procedure SetAccPacID(const Value: AccPacIdType);

but there is no definition for AccPacIdType
Posts: 6
Joined: Mon 01 Oct 2012 12:43

Re: Complex Types don't produce any code

Postby AlexP » Mon 14 Apr 2014 12:00


For the time being, EntityDAC doesn't support Complex Types. We plan to implement support for such types in the nearest future
Devart Team
Posts: 5525
Joined: Tue 10 Aug 2010 11:35

Return to EntityDAC