CSharpFeeds - All your C# feeds in one place.

Tuesday, August 03, 2010

Dumping Objects Using Expression Trees

by Paulo Morgado via Paulo Morgado : C# on 8/3/2010 12:36:00 AM

No. I’m not proposing to get rid of objects. A colleague of mine was asked if I knew a way to dump a list of objects of unknown type into a DataTable with better performance than the way he was using. The objects being dumped usually have over a dozen of properties, but, for the sake of this post, let’s assume they look like this: class SomeClass{    public int Property1 { get; set; }    public long Property2 { get; set; }  &nbs ...

[ read more ]

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us