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

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
gregors613
 
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

Hello,

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


Return to EntityDAC