导航

2012年2月15日

摘要: public int GetCount() { // Get the count of each item in the cart and sum them up int? count = (from cartItems in storeDB.Carts where cartItems.CartId == ShoppingCartId select (int?)cartItems.Count).Sum(); // Return 0 if all entries are null return coun... 阅读全文

posted @ 2012-02-15 13:44 유람객 阅读(152) 评论(0) 推荐(0)