WriteXml( ) with a subset of properties

Posts   
 
    
Jowen
User
Posts: 47
Joined: 06-Feb-2007
# Posted on: 26-Jun-2008 09:37:27   

Hey guys

first some info:

LLBLGen Pro version: 2.5 Final

Runtime: 2.5.7.1214

Template group: Adapter 2.0

Db: SqlServer 2005

I'm interested in outputting an entityCollection to xml, and deserialization is not required. So far I've only found WriteXml() that could so such a thing. But I only want to write some properties, not all. Is it possible to select which properties should be written?

Regards,

Jowen Mei

Walaa avatar
Walaa
Support Team
Posts: 14994
Joined: 21-Aug-2005
# Posted on: 26-Jun-2008 10:01:28   

Do you mean you want to only output some of the fields of the enclosed entities, and ignore the rest?

(Edit) If so, then please check the following thread: http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=13517