NMackay wrote:
Walaa wrote:
For LLBLGen Framework, I think this is what you are looking for:
[Solution Design Installation Folder]\LLBLGen Pro v4.2\Frameworks\LLBLGen Pro\Templates\SharedTemplates\Net3.5\C#\typedListRowClass.lpt(39)
Thanks.
So what are the fields below the Output Type combo for? Seems a shame to have to edit the default template, you'd have to do it on each machine that has LLBLGen installed.
Which fields exactly are you referring to btw?
The 'Row' is present in the name as the class doesn't represent the list/view, it represents a row in the list/view, so to avoid confusion what the class stands for, the 'Row' suffix was added.
NMackay wrote:
Big thumbs up for the POCO addition btw, really easy to use. Tested serializing over WCF, all works nicely. Nice
public List<VOwnerRow> GetOwners()
{
try
{
var qf = new QueryFactory();
var q = qf.VOwner.Where(VOwnerFields.CntId == "THA").CacheResultset(_defCacheExpiry);
var results = new DataAccessAdapter().FetchQuery(q);
return results;
}
Thanks
It was long overdue, generating to pocos. The read/only nature is a natural fit for services indeed