This project is read-only.

Introduction

LINQtoEbay is a custom LINQ query provider that allows querying Ebay items in an Ebay Site.

Samples

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LINQtoEbay;

namespace Test
{
    class Program
    {
        static void Main(string[] args)
        {
            EbayQuery<EbayItem> queryable = new EbayQuery<EbayItem>();

            int i = 0;
            string keyword = "ipod";
            var query = (from it in queryable
                         where it.Description == keyword && it.BuyItNowAvailable
                         orderby it.EndTime descending
                         select it);

            foreach (var it in query)
            {
                i++;
                Console.WriteLine(it.ToString());
            }

            Console.WriteLine("Items={0}", i);
            Console.ReadLine();
        }
    }
}

Last edited Sep 4, 2008 at 11:35 AM by federicoD, version 2