Hi,thanks for all the replies .. your help was appreciated.
With the help of the documentation link that was provided, [thanks @daelmo
]
i got this
ContactCollection Contacts = new ContactCollection();
IPrefetchPath prefetchPath = new PrefetchPath((int)EntityType.ContactEntity);
IPrefetchPathElement DataElement = prefetchPath.Add(ContactEntity.PrefetchPathData);
DataElement.SubPath.Add(DataEntity.PrefetchPathCustomField);
PredicateExpression Filter = new PredicateExpression();
Filter.Add(ContactFields.ContactLastName == lastName);
Contacts.GetMulti(Filter, prefetchPath);
return Contacts;
but this code here is generating me a lot of xml.. not something like the Serialization library of .Net
I used this approach to generate the xml
string xml;
Contacts.WriteXml(XmlFormatAspect.Compact | XmlFormatAspect.DatesInXmlDataType | XmlFormatAspect.MLTextInCDataBlocks,out xml);
TextBoxXML.Text += xml;
With respect to this, I read some articles, about LLBLGen, and i came accross someone who said that all the extra information needs to be there, otherwise llblgen will not be able to deserialize the object back ..
I just would like to ask this , "Is this true?"
thanks once again!