SQL introspected components have an extra predefined bool field named accessDatabase. You can visualize it by expanding the Fuego.Sql.SqlObject entry in the structure panel of the SQL component.
The accessDatabase default value is set to true. If the value is set to false, the object is considered as a simple object structure. In this case, any setting value or getting value actions performed on the object do not have effect on the database, but on the object structure.
c = CUSTOMER() c.accessDatabase = false // or c = CUSTOMER(accessDatabase: false) c.custtype = "GLOBAL" ......
When the primary key of an SQL component is filled and another attribute that is not primary key is accessed, an automatic load is performed internally. If you want to disable it from working like that, set the accessDatabase attribute to false.
If the accessDatabase field is set to true, when the sql is serialized as a process instance, only the primary key is stored, but, all the sql component fields are store if the accessDatabase is set to false''.