Deleting items more than 1 day old from sql database
<p>I am trying to remove items that are created more than 1 day old, however all my items still remain.  I am certain that the changes are committed to my database since I am using the <code>RemoveItem</code> method in other locations as well.  </p>

<pre><code>    using (var db = new CommerceEntities())
    {
        DateTime checkexpiryDate = DateTime.UtcNow.AddDays(-1);
        var itemstoDelete = from c in db.ShoppingCarts
                            where c.DateCreated &lt; checkexpiryDate
                            select new
                                   {
                                       c.CartID,
                                       c.ProductID,
                                       c.Color,
                                       c.Size,
                                   };

        foreach (var item in itemstoDelete)
        {
            try
            {
                //remove item code....
                //RemoveItem(string cartID, int productID, string color, string size)
            }

        public void RemoveItem(string cartID, int productID, string color, string size)
        {
            using (var db = new CommerceEntities())
            {
                ....
                ..
                //db.DeleteObject(myItem);
                ....
                ..
                //db.SaveChanges();
                ...
                ....
                ..
             }
}
</code></pre>
