I have come across this thread mentioning it..
http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=9330&HighLight=1
The opener of the thread mentions doing this:
protected override IEntityFields CreateFields()
{
IEntityFields toReturn = base.CreateFields();
toReturn.Expand(1);
IEntityField IsPolicyValid = new EntityField("IsPolicyValid", SqlFunctionFactory.IsPolicyValid(SomeEntityFields.SomeEntityId));
toReturn.DefineField(IsPolicyValid, (int)SomeEntityFieldIndexExt.IsPolicyValid);
return toReturn;
}
Although you have said that it is not possible to override the base entity, would it be possible to do something like this in one my public properties on mu orderentity?
custom= getValueFromCustomPlace();
base.fields.Expand(1);
IEntityField customField= new EntityField("CustomField", custom);
base.fields.DefineField(customField, 0);
Thanks
Bex