diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)

Oct222010

“CSMetal” – Code generating/Linq Provider Sample on MSDN Code Gallery

“CSMetal” is a command line tool that reads Commerce Server 2009 metadata and generates a set of strongly-typed classes to use with Commerce Foundation API and a set of Linq providers to allow access to Commerce Server entities via Linq. It can dramatically simplify basic access to CS2009 functionality by enabling simple Linq-syntax queries against most CS entities.

Sample unit tests are included that demonstrate various access methods including a full checkout scenario. Also provided couple of sample apps, including a rewritten version of “Orders” sample that comes with CS, which demos the savings in overall code of using Linq based queries and even a sample ASP.NET MVC 3 (Razor) app.

Download: CSMetal

[Source]

Share This Story, Choose Your Platform!