thecocce / delphi-orm

Automatically exported from code.google.com/p/delphi-orm
0 stars 0 forks source link

Error "Field IsAdult" not found #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to rum the samples, but I'm getting the error "column unknown 
ISADULT". I assume that it is a non-db property, cause its just reading de Age 
field to define it's value. How can I solve this?

Original issue reported on code.google.com by bk...@infomedic.com.br on 30 Jan 2012 at 2:00

GoogleCodeExporter commented 9 years ago
It is a problem related to the new mapping strategies.

Original comment by daniele....@gmail.com on 30 Jan 2012 at 2:27

GoogleCodeExporter commented 9 years ago
There is a problem with the transient fields.
If you define a field as "transient" with attribues it is anyway the field is 
mapped throug the CoC.

Original comment by daniele....@gmail.com on 30 Jan 2012 at 2:30

GoogleCodeExporter commented 9 years ago

Original comment by daniele....@gmail.com on 30 Jan 2012 at 2:30

GoogleCodeExporter commented 9 years ago
just add dorm.Mappings on interface of unit BusinessObjects;

Delphi Compiler not generate error if u put [Transient] attribute but not 
defined the implementation of this attribute! (just a warning!)

Original comment by mrbar2000@gmail.com on 31 Jan 2012 at 2:24