//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.235
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// Original file name:
// Generation date: 8/11/2011 5:42:21 PM
namespace TelerikStore.EbayService
{
    
    /// <summary>
    /// There are no comments for EBayData in the schema.
    /// </summary>
    public partial class EBayData : global::System.Data.Services.Client.DataServiceContext
    {
        /// <summary>
        /// Initialize a new EBayData object.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public EBayData(global::System.Uri serviceRoot) : 
                base(serviceRoot)
        {
            this.ResolveName = new global::System.Func<global::System.Type, string>(this.ResolveNameFromType);
            this.ResolveType = new global::System.Func<string, global::System.Type>(this.ResolveTypeFromName);
            this.OnContextCreated();
        }
        partial void OnContextCreated();
        /// <summary>
        /// Since the namespace configured for this service reference
        /// in Visual Studio is different from the one indicated in the
        /// server schema, use type-mappers to map between the two.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        protected global::System.Type ResolveTypeFromName(string typeName)
        {
            if (typeName.StartsWith("eBay.Model.Entities", global::System.StringComparison.Ordinal))
            {
                return this.GetType().Assembly.GetType(string.Concat("TelerikStore.EbayService", typeName.Substring(19)), false);
            }
            return null;
        }
        /// <summary>
        /// Since the namespace configured for this service reference
        /// in Visual Studio is different from the one indicated in the
        /// server schema, use type-mappers to map between the two.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        protected string ResolveNameFromType(global::System.Type clientType)
        {
            if (clientType.Namespace.Equals("TelerikStore.EbayService", global::System.StringComparison.Ordinal))
            {
                return string.Concat("eBay.Model.Entities.", clientType.Name);
            }
            return null;
        }
        /// <summary>
        /// There are no comments for Bidders in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<Bidder> Bidders
        {
            get
            {
                if ((this._Bidders == null))
                {
                    this._Bidders = base.CreateQuery<Bidder>("Bidders");
                }
                return this._Bidders;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<Bidder> _Bidders;
        /// <summary>
        /// There are no comments for Categories in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<Category> Categories
        {
            get
            {
                if ((this._Categories == null))
                {
                    this._Categories = base.CreateQuery<Category>("Categories");
                }
                return this._Categories;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<Category> _Categories;
        /// <summary>
        /// There are no comments for CrossPromotions in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<CrossPromotion> CrossPromotions
        {
            get
            {
                if ((this._CrossPromotions == null))
                {
                    this._CrossPromotions = base.CreateQuery<CrossPromotion>("CrossPromotions");
                }
                return this._CrossPromotions;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<CrossPromotion> _CrossPromotions;
        /// <summary>
        /// There are no comments for Deals in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<Deal> Deals
        {
            get
            {
                if ((this._Deals == null))
                {
                    this._Deals = base.CreateQuery<Deal>("Deals");
                }
                return this._Deals;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<Deal> _Deals;
        /// <summary>
        /// There are no comments for Feedback in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<Feedback> Feedback
        {
            get
            {
                if ((this._Feedback == null))
                {
                    this._Feedback = base.CreateQuery<Feedback>("Feedback");
                }
                return this._Feedback;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<Feedback> _Feedback;
        /// <summary>
        /// There are no comments for Items in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<Item> Items
        {
            get
            {
                if ((this._Items == null))
                {
                    this._Items = base.CreateQuery<Item>("Items");
                }
                return this._Items;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<Item> _Items;
        /// <summary>
        /// There are no comments for Shippings in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<Shipping> Shippings
        {
            get
            {
                if ((this._Shippings == null))
                {
                    this._Shippings = base.CreateQuery<Shipping>("Shippings");
                }
                return this._Shippings;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<Shipping> _Shippings;
        /// <summary>
        /// There are no comments for Transactions in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<Transaction> Transactions
        {
            get
            {
                if ((this._Transactions == null))
                {
                    this._Transactions = base.CreateQuery<Transaction>("Transactions");
                }
                return this._Transactions;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<Transaction> _Transactions;
        /// <summary>
        /// There are no comments for Users in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Data.Services.Client.DataServiceQuery<User> Users
        {
            get
            {
                if ((this._Users == null))
                {
                    this._Users = base.CreateQuery<User>("Users");
                }
                return this._Users;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Data.Services.Client.DataServiceQuery<User> _Users;
        /// <summary>
        /// There are no comments for Bidders in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToBidders(Bidder bidder)
        {
            base.AddObject("Bidders", bidder);
        }
        /// <summary>
        /// There are no comments for Categories in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToCategories(Category category)
        {
            base.AddObject("Categories", category);
        }
        /// <summary>
        /// There are no comments for CrossPromotions in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToCrossPromotions(CrossPromotion crossPromotion)
        {
            base.AddObject("CrossPromotions", crossPromotion);
        }
        /// <summary>
        /// There are no comments for Deals in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToDeals(Deal deal)
        {
            base.AddObject("Deals", deal);
        }
        /// <summary>
        /// There are no comments for Feedback in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToFeedback(Feedback feedback)
        {
            base.AddObject("Feedback", feedback);
        }
        /// <summary>
        /// There are no comments for Items in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToItems(Item item)
        {
            base.AddObject("Items", item);
        }
        /// <summary>
        /// There are no comments for Shippings in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToShippings(Shipping shipping)
        {
            base.AddObject("Shippings", shipping);
        }
        /// <summary>
        /// There are no comments for Transactions in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToTransactions(Transaction transaction)
        {
            base.AddObject("Transactions", transaction);
        }
        /// <summary>
        /// There are no comments for Users in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public void AddToUsers(User user)
        {
            base.AddObject("Users", user);
        }
    }
    /// <summary>
    /// There are no comments for eBay.Model.Entities.Bidder in the schema.
    /// </summary>
    /// <KeyProperties>
    /// ItemId
    /// TimeBidTicks
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("ItemId", "TimeBidTicks")]
    public partial class Bidder
    {
        /// <summary>
        /// Create a new Bidder object.
        /// </summary>
        /// <param name="itemId">Initial value of ItemId.</param>
        /// <param name="timeBidTicks">Initial value of TimeBidTicks.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static Bidder CreateBidder(string itemId, string timeBidTicks)
        {
            Bidder bidder = new Bidder();
            bidder.ItemId = itemId;
            bidder.TimeBidTicks = timeBidTicks;
            return bidder;
        }
        /// <summary>
        /// There are no comments for Property ItemId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string ItemId
        {
            get
            {
                return this._ItemId;
            }
            set
            {
                this.OnItemIdChanging(value);
                this._ItemId = value;
                this.OnItemIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _ItemId;
        partial void OnItemIdChanging(string value);
        partial void OnItemIdChanged();
        /// <summary>
        /// There are no comments for Property TimeBidTicks in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string TimeBidTicks
        {
            get
            {
                return this._TimeBidTicks;
            }
            set
            {
                this.OnTimeBidTicksChanging(value);
                this._TimeBidTicks = value;
                this.OnTimeBidTicksChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _TimeBidTicks;
        partial void OnTimeBidTicksChanging(string value);
        partial void OnTimeBidTicksChanged();
        /// <summary>
        /// There are no comments for Property TimeBid in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string TimeBid
        {
            get
            {
                return this._TimeBid;
            }
            set
            {
                this.OnTimeBidChanging(value);
                this._TimeBid = value;
                this.OnTimeBidChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _TimeBid;
        partial void OnTimeBidChanging(string value);
        partial void OnTimeBidChanged();
        /// <summary>
        /// There are no comments for Property Action in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Action
        {
            get
            {
                return this._Action;
            }
            set
            {
                this.OnActionChanging(value);
                this._Action = value;
                this.OnActionChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Action;
        partial void OnActionChanging(string value);
        partial void OnActionChanged();
        /// <summary>
        /// There are no comments for Property User in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string User
        {
            get
            {
                return this._User;
            }
            set
            {
                this.OnUserChanging(value);
                this._User = value;
                this.OnUserChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _User;
        partial void OnUserChanging(string value);
        partial void OnUserChanged();
        /// <summary>
        /// There are no comments for Property Currency in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Currency
        {
            get
            {
                return this._Currency;
            }
            set
            {
                this.OnCurrencyChanging(value);
                this._Currency = value;
                this.OnCurrencyChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Currency;
        partial void OnCurrencyChanging(string value);
        partial void OnCurrencyChanged();
        /// <summary>
        /// There are no comments for Property MaxBid in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string MaxBid
        {
            get
            {
                return this._MaxBid;
            }
            set
            {
                this.OnMaxBidChanging(value);
                this._MaxBid = value;
                this.OnMaxBidChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _MaxBid;
        partial void OnMaxBidChanging(string value);
        partial void OnMaxBidChanged();
        /// <summary>
        /// There are no comments for Property Quantity in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Quantity
        {
            get
            {
                return this._Quantity;
            }
            set
            {
                this.OnQuantityChanging(value);
                this._Quantity = value;
                this.OnQuantityChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Quantity;
        partial void OnQuantityChanging(string value);
        partial void OnQuantityChanged();
    }
    /// <summary>
    /// There are no comments for eBay.Model.Entities.Category in the schema.
    /// </summary>
    /// <KeyProperties>
    /// Id
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("Id")]
    public partial class Category
    {
        /// <summary>
        /// Create a new Category object.
        /// </summary>
        /// <param name="ID">Initial value of Id.</param>
        /// <param name="level">Initial value of Level.</param>
        /// <param name="leafCategory">Initial value of LeafCategory.</param>
        /// <param name="bestOfferEnabled">Initial value of BestOfferEnabled.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static Category CreateCategory(string ID, int level, bool leafCategory, bool bestOfferEnabled)
        {
            Category category = new Category();
            category.Id = ID;
            category.Level = level;
            category.LeafCategory = leafCategory;
            category.BestOfferEnabled = bestOfferEnabled;
            return category;
        }
        /// <summary>
        /// There are no comments for Property Id in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Id
        {
            get
            {
                return this._Id;
            }
            set
            {
                this.OnIdChanging(value);
                this._Id = value;
                this.OnIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Id;
        partial void OnIdChanging(string value);
        partial void OnIdChanged();
        /// <summary>
        /// There are no comments for Property Name in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Name
        {
            get
            {
                return this._Name;
            }
            set
            {
                this.OnNameChanging(value);
                this._Name = value;
                this.OnNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Name;
        partial void OnNameChanging(string value);
        partial void OnNameChanged();
        /// <summary>
        /// There are no comments for Property Level in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int Level
        {
            get
            {
                return this._Level;
            }
            set
            {
                this.OnLevelChanging(value);
                this._Level = value;
                this.OnLevelChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _Level;
        partial void OnLevelChanging(int value);
        partial void OnLevelChanged();
        /// <summary>
        /// There are no comments for Property LeafCategory in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool LeafCategory
        {
            get
            {
                return this._LeafCategory;
            }
            set
            {
                this.OnLeafCategoryChanging(value);
                this._LeafCategory = value;
                this.OnLeafCategoryChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _LeafCategory;
        partial void OnLeafCategoryChanging(bool value);
        partial void OnLeafCategoryChanged();
        /// <summary>
        /// There are no comments for Property BestOfferEnabled in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool BestOfferEnabled
        {
            get
            {
                return this._BestOfferEnabled;
            }
            set
            {
                this.OnBestOfferEnabledChanging(value);
                this._BestOfferEnabled = value;
                this.OnBestOfferEnabledChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _BestOfferEnabled;
        partial void OnBestOfferEnabledChanging(bool value);
        partial void OnBestOfferEnabledChanged();
        /// <summary>
        /// There are no comments for Property ParentId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string ParentId
        {
            get
            {
                return this._ParentId;
            }
            set
            {
                this.OnParentIdChanging(value);
                this._ParentId = value;
                this.OnParentIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _ParentId;
        partial void OnParentIdChanging(string value);
        partial void OnParentIdChanged();
        /// <summary>
        /// There are no comments for Children in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Collections.ObjectModel.Collection<Category> Children
        {
            get
            {
                return this._Children;
            }
            set
            {
                if ((value != null))
                {
                    this._Children = value;
                }
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Collections.ObjectModel.Collection<Category> _Children = new global::System.Collections.ObjectModel.Collection<Category>();
        /// <summary>
        /// There are no comments for Parent in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public Category Parent
        {
            get
            {
                return this._Parent;
            }
            set
            {
                this._Parent = value;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private Category _Parent;
        /// <summary>
        /// There are no comments for Items in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Collections.ObjectModel.Collection<Item> Items
        {
            get
            {
                return this._Items;
            }
            set
            {
                if ((value != null))
                {
                    this._Items = value;
                }
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Collections.ObjectModel.Collection<Item> _Items = new global::System.Collections.ObjectModel.Collection<Item>();
    }
    /// <summary>
    /// There are no comments for eBay.Model.Entities.CrossPromotion in the schema.
    /// </summary>
    /// <KeyProperties>
    /// Id
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("Id")]
    public partial class CrossPromotion
    {
        /// <summary>
        /// Create a new CrossPromotion object.
        /// </summary>
        /// <param name="ID">Initial value of Id.</param>
        /// <param name="position">Initial value of Position.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static CrossPromotion CreateCrossPromotion(string ID, int position)
        {
            CrossPromotion crossPromotion = new CrossPromotion();
            crossPromotion.Id = ID;
            crossPromotion.Position = position;
            return crossPromotion;
        }
        /// <summary>
        /// There are no comments for Property Id in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Id
        {
            get
            {
                return this._Id;
            }
            set
            {
                this.OnIdChanging(value);
                this._Id = value;
                this.OnIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Id;
        partial void OnIdChanging(string value);
        partial void OnIdChanged();
        /// <summary>
        /// There are no comments for Property ItemId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string ItemId
        {
            get
            {
                return this._ItemId;
            }
            set
            {
                this.OnItemIdChanging(value);
                this._ItemId = value;
                this.OnItemIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _ItemId;
        partial void OnItemIdChanging(string value);
        partial void OnItemIdChanged();
        /// <summary>
        /// There are no comments for Property Title in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Title
        {
            get
            {
                return this._Title;
            }
            set
            {
                this.OnTitleChanging(value);
                this._Title = value;
                this.OnTitleChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Title;
        partial void OnTitleChanging(string value);
        partial void OnTitleChanged();
        /// <summary>
        /// There are no comments for Property ListingType in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string ListingType
        {
            get
            {
                return this._ListingType;
            }
            set
            {
                this.OnListingTypeChanging(value);
                this._ListingType = value;
                this.OnListingTypeChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _ListingType;
        partial void OnListingTypeChanging(string value);
        partial void OnListingTypeChanged();
        /// <summary>
        /// There are no comments for Property Position in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int Position
        {
            get
            {
                return this._Position;
            }
            set
            {
                this.OnPositionChanging(value);
                this._Position = value;
                this.OnPositionChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _Position;
        partial void OnPositionChanging(int value);
        partial void OnPositionChanged();
        /// <summary>
        /// There are no comments for Property TimeLeft in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string TimeLeft
        {
            get
            {
                return this._TimeLeft;
            }
            set
            {
                this.OnTimeLeftChanging(value);
                this._TimeLeft = value;
                this.OnTimeLeftChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _TimeLeft;
        partial void OnTimeLeftChanging(string value);
        partial void OnTimeLeftChanged();
        /// <summary>
        /// There are no comments for Property PictureUrl in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string PictureUrl
        {
            get
            {
                return this._PictureUrl;
            }
            set
            {
                this.OnPictureUrlChanging(value);
                this._PictureUrl = value;
                this.OnPictureUrlChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _PictureUrl;
        partial void OnPictureUrlChanging(string value);
        partial void OnPictureUrlChanged();
    }
    /// <summary>
    /// There are no comments for eBay.Model.Entities.Deal in the schema.
    /// </summary>
    /// <KeyProperties>
    /// Id
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("Id")]
    public partial class Deal
    {
        /// <summary>
        /// Create a new Deal object.
        /// </summary>
        /// <param name="ID">Initial value of Id.</param>
        /// <param name="quantity">Initial value of Quantity.</param>
        /// <param name="quantitySold">Initial value of QuantitySold.</param>
        /// <param name="autoPay">Initial value of AutoPay.</param>
        /// <param name="hot">Initial value of Hot.</param>
        /// <param name="tier">Initial value of Tier.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static Deal CreateDeal(string ID, int quantity, int quantitySold, bool autoPay, bool hot, int tier)
        {
            Deal deal = new Deal();
            deal.Id = ID;
            deal.Quantity = quantity;
            deal.QuantitySold = quantitySold;
            deal.AutoPay = autoPay;
            deal.Hot = hot;
            deal.Tier = tier;
            return deal;
        }
        /// <summary>
        /// There are no comments for Property Id in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Id
        {
            get
            {
                return this._Id;
            }
            set
            {
                this.OnIdChanging(value);
                this._Id = value;
                this.OnIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Id;
        partial void OnIdChanging(string value);
        partial void OnIdChanged();
        /// <summary>
        /// There are no comments for Property Title in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Title
        {
            get
            {
                return this._Title;
            }
            set
            {
                this.OnTitleChanging(value);
                this._Title = value;
                this.OnTitleChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Title;
        partial void OnTitleChanging(string value);
        partial void OnTitleChanged();
        /// <summary>
        /// There are no comments for Property Description in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Description
        {
            get
            {
                return this._Description;
            }
            set
            {
                this.OnDescriptionChanging(value);
                this._Description = value;
                this.OnDescriptionChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Description;
        partial void OnDescriptionChanging(string value);
        partial void OnDescriptionChanged();
        /// <summary>
        /// There are no comments for Property EndTime in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string EndTime
        {
            get
            {
                return this._EndTime;
            }
            set
            {
                this.OnEndTimeChanging(value);
                this._EndTime = value;
                this.OnEndTimeChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _EndTime;
        partial void OnEndTimeChanging(string value);
        partial void OnEndTimeChanged();
        /// <summary>
        /// There are no comments for Property DealUrl in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string DealUrl
        {
            get
            {
                return this._DealUrl;
            }
            set
            {
                this.OnDealUrlChanging(value);
                this._DealUrl = value;
                this.OnDealUrlChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _DealUrl;
        partial void OnDealUrlChanging(string value);
        partial void OnDealUrlChanged();
        /// <summary>
        /// There are no comments for Property ConvertedCurrentPrice in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<double> ConvertedCurrentPrice
        {
            get
            {
                return this._ConvertedCurrentPrice;
            }
            set
            {
                this.OnConvertedCurrentPriceChanging(value);
                this._ConvertedCurrentPrice = value;
                this.OnConvertedCurrentPriceChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<double> _ConvertedCurrentPrice;
        partial void OnConvertedCurrentPriceChanging(global::System.Nullable<double> value);
        partial void OnConvertedCurrentPriceChanged();
        /// <summary>
        /// There are no comments for Property PrimaryCategoryId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string PrimaryCategoryId
        {
            get
            {
                return this._PrimaryCategoryId;
            }
            set
            {
                this.OnPrimaryCategoryIdChanging(value);
                this._PrimaryCategoryId = value;
                this.OnPrimaryCategoryIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _PrimaryCategoryId;
        partial void OnPrimaryCategoryIdChanging(string value);
        partial void OnPrimaryCategoryIdChanged();
        /// <summary>
        /// There are no comments for Property Location in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Location
        {
            get
            {
                return this._Location;
            }
            set
            {
                this.OnLocationChanging(value);
                this._Location = value;
                this.OnLocationChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Location;
        partial void OnLocationChanging(string value);
        partial void OnLocationChanged();
        /// <summary>
        /// There are no comments for Property Quantity in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int Quantity
        {
            get
            {
                return this._Quantity;
            }
            set
            {
                this.OnQuantityChanging(value);
                this._Quantity = value;
                this.OnQuantityChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _Quantity;
        partial void OnQuantityChanging(int value);
        partial void OnQuantityChanged();
        /// <summary>
        /// There are no comments for Property QuantitySold in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int QuantitySold
        {
            get
            {
                return this._QuantitySold;
            }
            set
            {
                this.OnQuantitySoldChanging(value);
                this._QuantitySold = value;
                this.OnQuantitySoldChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _QuantitySold;
        partial void OnQuantitySoldChanging(int value);
        partial void OnQuantitySoldChanged();
        /// <summary>
        /// There are no comments for Property Msrp in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<double> Msrp
        {
            get
            {
                return this._Msrp;
            }
            set
            {
                this.OnMsrpChanging(value);
                this._Msrp = value;
                this.OnMsrpChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<double> _Msrp;
        partial void OnMsrpChanging(global::System.Nullable<double> value);
        partial void OnMsrpChanged();
        /// <summary>
        /// There are no comments for Property SavingsRate in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string SavingsRate
        {
            get
            {
                return this._SavingsRate;
            }
            set
            {
                this.OnSavingsRateChanging(value);
                this._SavingsRate = value;
                this.OnSavingsRateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _SavingsRate;
        partial void OnSavingsRateChanging(string value);
        partial void OnSavingsRateChanged();
        /// <summary>
        /// There are no comments for Property AutoPay in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool AutoPay
        {
            get
            {
                return this._AutoPay;
            }
            set
            {
                this.OnAutoPayChanging(value);
                this._AutoPay = value;
                this.OnAutoPayChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _AutoPay;
        partial void OnAutoPayChanging(bool value);
        partial void OnAutoPayChanged();
        /// <summary>
        /// There are no comments for Property Hot in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool Hot
        {
            get
            {
                return this._Hot;
            }
            set
            {
                this.OnHotChanging(value);
                this._Hot = value;
                this.OnHotChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _Hot;
        partial void OnHotChanging(bool value);
        partial void OnHotChanged();
        /// <summary>
        /// There are no comments for Property Tier in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int Tier
        {
            get
            {
                return this._Tier;
            }
            set
            {
                this.OnTierChanging(value);
                this._Tier = value;
                this.OnTierChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _Tier;
        partial void OnTierChanging(int value);
        partial void OnTierChanged();
        /// <summary>
        /// There are no comments for Property PictureUrl in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string PictureUrl
        {
            get
            {
                return this._PictureUrl;
            }
            set
            {
                this.OnPictureUrlChanging(value);
                this._PictureUrl = value;
                this.OnPictureUrlChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _PictureUrl;
        partial void OnPictureUrlChanging(string value);
        partial void OnPictureUrlChanged();
        /// <summary>
        /// There are no comments for Property SmallPictureUrl in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string SmallPictureUrl
        {
            get
            {
                return this._SmallPictureUrl;
            }
            set
            {
                this.OnSmallPictureUrlChanging(value);
                this._SmallPictureUrl = value;
                this.OnSmallPictureUrlChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _SmallPictureUrl;
        partial void OnSmallPictureUrlChanging(string value);
        partial void OnSmallPictureUrlChanged();
        /// <summary>
        /// There are no comments for Property Picture175Url in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Picture175Url
        {
            get
            {
                return this._Picture175Url;
            }
            set
            {
                this.OnPicture175UrlChanging(value);
                this._Picture175Url = value;
                this.OnPicture175UrlChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Picture175Url;
        partial void OnPicture175UrlChanging(string value);
        partial void OnPicture175UrlChanged();
        /// <summary>
        /// There are no comments for PrimaryCategory in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public Category PrimaryCategory
        {
            get
            {
                return this._PrimaryCategory;
            }
            set
            {
                this._PrimaryCategory = value;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private Category _PrimaryCategory;
        /// <summary>
        /// There are no comments for Item in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public Item Item
        {
            get
            {
                return this._Item;
            }
            set
            {
                this._Item = value;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private Item _Item;
    }
    /// <summary>
    /// There are no comments for eBay.Model.Entities.Feedback in the schema.
    /// </summary>
    /// <KeyProperties>
    /// FeedbackId
    /// UserId
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("FeedbackId", "UserId")]
    public partial class Feedback
    {
        /// <summary>
        /// Create a new Feedback object.
        /// </summary>
        /// <param name="userId">Initial value of UserId.</param>
        /// <param name="feedbackId">Initial value of FeedbackId.</param>
        /// <param name="time">Initial value of Time.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static Feedback CreateFeedback(string userId, string feedbackId, global::System.DateTime time)
        {
            Feedback feedback = new Feedback();
            feedback.UserId = userId;
            feedback.FeedbackId = feedbackId;
            feedback.Time = time;
            return feedback;
        }
        /// <summary>
        /// There are no comments for Property UserId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string UserId
        {
            get
            {
                return this._UserId;
            }
            set
            {
                this.OnUserIdChanging(value);
                this._UserId = value;
                this.OnUserIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _UserId;
        partial void OnUserIdChanging(string value);
        partial void OnUserIdChanged();
        /// <summary>
        /// There are no comments for Property FeedbackId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string FeedbackId
        {
            get
            {
                return this._FeedbackId;
            }
            set
            {
                this.OnFeedbackIdChanging(value);
                this._FeedbackId = value;
                this.OnFeedbackIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _FeedbackId;
        partial void OnFeedbackIdChanging(string value);
        partial void OnFeedbackIdChanged();
        /// <summary>
        /// There are no comments for Property CommentingUser in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string CommentingUser
        {
            get
            {
                return this._CommentingUser;
            }
            set
            {
                this.OnCommentingUserChanging(value);
                this._CommentingUser = value;
                this.OnCommentingUserChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _CommentingUser;
        partial void OnCommentingUserChanging(string value);
        partial void OnCommentingUserChanged();
        /// <summary>
        /// There are no comments for Property Type in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Type
        {
            get
            {
                return this._Type;
            }
            set
            {
                this.OnTypeChanging(value);
                this._Type = value;
                this.OnTypeChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Type;
        partial void OnTypeChanging(string value);
        partial void OnTypeChanged();
        /// <summary>
        /// There are no comments for Property Comment in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Comment
        {
            get
            {
                return this._Comment;
            }
            set
            {
                this.OnCommentChanging(value);
                this._Comment = value;
                this.OnCommentChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Comment;
        partial void OnCommentChanging(string value);
        partial void OnCommentChanged();
        /// <summary>
        /// There are no comments for Property Role in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Role
        {
            get
            {
                return this._Role;
            }
            set
            {
                this.OnRoleChanging(value);
                this._Role = value;
                this.OnRoleChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Role;
        partial void OnRoleChanging(string value);
        partial void OnRoleChanged();
        /// <summary>
        /// There are no comments for Property Time in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.DateTime Time
        {
            get
            {
                return this._Time;
            }
            set
            {
                this.OnTimeChanging(value);
                this._Time = value;
                this.OnTimeChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.DateTime _Time;
        partial void OnTimeChanging(global::System.DateTime value);
        partial void OnTimeChanged();
        /// <summary>
        /// There are no comments for User in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public User User
        {
            get
            {
                return this._User;
            }
            set
            {
                this._User = value;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private User _User;
    }
    /// <summary>
    /// There are no comments for ComplexType eBay.Model.Entities.Condition in the schema.
    /// </summary>
    public partial class Condition
    {
        /// <summary>
        /// Create a new Condition object.
        /// </summary>
        /// <param name="ID">Initial value of Id.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static Condition CreateCondition(int ID)
        {
            Condition condition = new Condition();
            condition.Id = ID;
            return condition;
        }
        /// <summary>
        /// There are no comments for Property Id in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int Id
        {
            get
            {
                return this._Id;
            }
            set
            {
                this.OnIdChanging(value);
                this._Id = value;
                this.OnIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _Id;
        partial void OnIdChanging(int value);
        partial void OnIdChanged();
        /// <summary>
        /// There are no comments for Property Name in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Name
        {
            get
            {
                return this._Name;
            }
            set
            {
                this.OnNameChanging(value);
                this._Name = value;
                this.OnNameChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Name;
        partial void OnNameChanging(string value);
        partial void OnNameChanged();
    }
    /// <summary>
    /// There are no comments for ComplexType eBay.Model.Entities.ListingInfo in the schema.
    /// </summary>
    public partial class ListingInfo
    {
        /// <summary>
        /// Create a new ListingInfo object.
        /// </summary>
        /// <param name="bestOfferEnabled">Initial value of BestOfferEnabled.</param>
        /// <param name="buyItNowAvailable">Initial value of BuyItNowAvailable.</param>
        /// <param name="gift">Initial value of Gift.</param>
        /// <param name="startTime">Initial value of StartTime.</param>
        /// <param name="endTime">Initial value of EndTime.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static ListingInfo CreateListingInfo(bool bestOfferEnabled, bool buyItNowAvailable, bool gift, global::System.DateTime startTime, global::System.DateTime endTime)
        {
            ListingInfo listingInfo = new ListingInfo();
            listingInfo.BestOfferEnabled = bestOfferEnabled;
            listingInfo.BuyItNowAvailable = buyItNowAvailable;
            listingInfo.Gift = gift;
            listingInfo.StartTime = startTime;
            listingInfo.EndTime = endTime;
            return listingInfo;
        }
        /// <summary>
        /// There are no comments for Property BestOfferEnabled in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool BestOfferEnabled
        {
            get
            {
                return this._BestOfferEnabled;
            }
            set
            {
                this.OnBestOfferEnabledChanging(value);
                this._BestOfferEnabled = value;
                this.OnBestOfferEnabledChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _BestOfferEnabled;
        partial void OnBestOfferEnabledChanging(bool value);
        partial void OnBestOfferEnabledChanged();
        /// <summary>
        /// There are no comments for Property BuyItNowAvailable in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool BuyItNowAvailable
        {
            get
            {
                return this._BuyItNowAvailable;
            }
            set
            {
                this.OnBuyItNowAvailableChanging(value);
                this._BuyItNowAvailable = value;
                this.OnBuyItNowAvailableChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _BuyItNowAvailable;
        partial void OnBuyItNowAvailableChanging(bool value);
        partial void OnBuyItNowAvailableChanged();
        /// <summary>
        /// There are no comments for Property BuyItNowPrice in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<double> BuyItNowPrice
        {
            get
            {
                return this._BuyItNowPrice;
            }
            set
            {
                this.OnBuyItNowPriceChanging(value);
                this._BuyItNowPrice = value;
                this.OnBuyItNowPriceChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<double> _BuyItNowPrice;
        partial void OnBuyItNowPriceChanging(global::System.Nullable<double> value);
        partial void OnBuyItNowPriceChanged();
        /// <summary>
        /// There are no comments for Property ConvertedBuyItNowPrice in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<double> ConvertedBuyItNowPrice
        {
            get
            {
                return this._ConvertedBuyItNowPrice;
            }
            set
            {
                this.OnConvertedBuyItNowPriceChanging(value);
                this._ConvertedBuyItNowPrice = value;
                this.OnConvertedBuyItNowPriceChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<double> _ConvertedBuyItNowPrice;
        partial void OnConvertedBuyItNowPriceChanging(global::System.Nullable<double> value);
        partial void OnConvertedBuyItNowPriceChanged();
        /// <summary>
        /// There are no comments for Property Gift in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool Gift
        {
            get
            {
                return this._Gift;
            }
            set
            {
                this.OnGiftChanging(value);
                this._Gift = value;
                this.OnGiftChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _Gift;
        partial void OnGiftChanging(bool value);
        partial void OnGiftChanged();
        /// <summary>
        /// There are no comments for Property ListingType in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string ListingType
        {
            get
            {
                return this._ListingType;
            }
            set
            {
                this.OnListingTypeChanging(value);
                this._ListingType = value;
                this.OnListingTypeChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _ListingType;
        partial void OnListingTypeChanging(string value);
        partial void OnListingTypeChanged();
        /// <summary>
        /// There are no comments for Property StartTime in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.DateTime StartTime
        {
            get
            {
                return this._StartTime;
            }
            set
            {
                this.OnStartTimeChanging(value);
                this._StartTime = value;
                this.OnStartTimeChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.DateTime _StartTime;
        partial void OnStartTimeChanging(global::System.DateTime value);
        partial void OnStartTimeChanged();
        /// <summary>
        /// There are no comments for Property EndTime in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.DateTime EndTime
        {
            get
            {
                return this._EndTime;
            }
            set
            {
                this.OnEndTimeChanging(value);
                this._EndTime = value;
                this.OnEndTimeChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.DateTime _EndTime;
        partial void OnEndTimeChanging(global::System.DateTime value);
        partial void OnEndTimeChanged();
    }
    /// <summary>
    /// There are no comments for ComplexType eBay.Model.Entities.Distance in the schema.
    /// </summary>
    public partial class Distance
    {
        /// <summary>
        /// Create a new Distance object.
        /// </summary>
        /// <param name="value">Initial value of Value.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static Distance CreateDistance(double value)
        {
            Distance distance = new Distance();
            distance.Value = value;
            return distance;
        }
        /// <summary>
        /// There are no comments for Property Unit in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Unit
        {
            get
            {
                return this._Unit;
            }
            set
            {
                this.OnUnitChanging(value);
                this._Unit = value;
                this.OnUnitChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Unit;
        partial void OnUnitChanging(string value);
        partial void OnUnitChanged();
        /// <summary>
        /// There are no comments for Property Value in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public double Value
        {
            get
            {
                return this._Value;
            }
            set
            {
                this.OnValueChanging(value);
                this._Value = value;
                this.OnValueChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private double _Value;
        partial void OnValueChanging(double value);
        partial void OnValueChanged();
    }
    /// <summary>
    /// There are no comments for ComplexType eBay.Model.Entities.ShippingInformation in the schema.
    /// </summary>
    public partial class ShippingInformation
    {
        /// <summary>
        /// Create a new ShippingInformation object.
        /// </summary>
        /// <param name="expeditedShipping">Initial value of ExpeditedShipping.</param>
        /// <param name="handlingTime">Initial value of HandlingTime.</param>
        /// <param name="oneDayShippingAvailable">Initial value of OneDayShippingAvailable.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static ShippingInformation CreateShippingInformation(bool expeditedShipping, int handlingTime, bool oneDayShippingAvailable)
        {
            ShippingInformation shippingInformation = new ShippingInformation();
            shippingInformation.ExpeditedShipping = expeditedShipping;
            shippingInformation.HandlingTime = handlingTime;
            shippingInformation.OneDayShippingAvailable = oneDayShippingAvailable;
            return shippingInformation;
        }
        /// <summary>
        /// There are no comments for Property Delimiter in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Delimiter
        {
            get
            {
                return this._Delimiter;
            }
            set
            {
                this.OnDelimiterChanging(value);
                this._Delimiter = value;
                this.OnDelimiterChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Delimiter;
        partial void OnDelimiterChanging(string value);
        partial void OnDelimiterChanged();
        /// <summary>
        /// There are no comments for Property ExpeditedShipping in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool ExpeditedShipping
        {
            get
            {
                return this._ExpeditedShipping;
            }
            set
            {
                this.OnExpeditedShippingChanging(value);
                this._ExpeditedShipping = value;
                this.OnExpeditedShippingChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _ExpeditedShipping;
        partial void OnExpeditedShippingChanging(bool value);
        partial void OnExpeditedShippingChanged();
        /// <summary>
        /// There are no comments for Property HandlingTime in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int HandlingTime
        {
            get
            {
                return this._HandlingTime;
            }
            set
            {
                this.OnHandlingTimeChanging(value);
                this._HandlingTime = value;
                this.OnHandlingTimeChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _HandlingTime;
        partial void OnHandlingTimeChanging(int value);
        partial void OnHandlingTimeChanged();
        /// <summary>
        /// There are no comments for Property OneDayShippingAvailable in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool OneDayShippingAvailable
        {
            get
            {
                return this._OneDayShippingAvailable;
            }
            set
            {
                this.OnOneDayShippingAvailableChanging(value);
                this._OneDayShippingAvailable = value;
                this.OnOneDayShippingAvailableChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _OneDayShippingAvailable;
        partial void OnOneDayShippingAvailableChanging(bool value);
        partial void OnOneDayShippingAvailableChanged();
        /// <summary>
        /// There are no comments for Property ShippingServiceCost in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<double> ShippingServiceCost
        {
            get
            {
                return this._ShippingServiceCost;
            }
            set
            {
                this.OnShippingServiceCostChanging(value);
                this._ShippingServiceCost = value;
                this.OnShippingServiceCostChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<double> _ShippingServiceCost;
        partial void OnShippingServiceCostChanging(global::System.Nullable<double> value);
        partial void OnShippingServiceCostChanged();
        /// <summary>
        /// There are no comments for Property ShippingType in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string ShippingType
        {
            get
            {
                return this._ShippingType;
            }
            set
            {
                this.OnShippingTypeChanging(value);
                this._ShippingType = value;
                this.OnShippingTypeChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _ShippingType;
        partial void OnShippingTypeChanging(string value);
        partial void OnShippingTypeChanged();
    }
    /// <summary>
    /// There are no comments for eBay.Model.Entities.Item in the schema.
    /// </summary>
    /// <KeyProperties>
    /// Id
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("Id")]
    public partial class Item
    {
        /// <summary>
        /// Create a new Item object.
        /// </summary>
        /// <param name="ID">Initial value of Id.</param>
        /// <param name="currentPrice">Initial value of CurrentPrice.</param>
        /// <param name="minimumToBid">Initial value of MinimumToBid.</param>
        /// <param name="bidCount">Initial value of BidCount.</param>
        /// <param name="quantitySold">Initial value of QuantitySold.</param>
        /// <param name="autoPay">Initial value of AutoPay.</param>
        /// <param name="returnsAccepted">Initial value of ReturnsAccepted.</param>
        /// <param name="condition">Initial value of Condition.</param>
        /// <param name="listingInfo">Initial value of ListingInfo.</param>
        /// <param name="distance">Initial value of Distance.</param>
        /// <param name="shippingInformation">Initial value of ShippingInformation.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static Item CreateItem(string ID, double currentPrice, double minimumToBid, int bidCount, int quantitySold, bool autoPay, bool returnsAccepted, Condition condition, ListingInfo listingInfo, Distance distance, ShippingInformation shippingInformation)
        {
            Item item = new Item();
            item.Id = ID;
            item.CurrentPrice = currentPrice;
            item.MinimumToBid = minimumToBid;
            item.BidCount = bidCount;
            item.QuantitySold = quantitySold;
            item.AutoPay = autoPay;
            item.ReturnsAccepted = returnsAccepted;
            if ((condition == null))
            {
                throw new global::System.ArgumentNullException("condition");
            }
            item.Condition = condition;
            if ((listingInfo == null))
            {
                throw new global::System.ArgumentNullException("listingInfo");
            }
            item.ListingInfo = listingInfo;
            if ((distance == null))
            {
                throw new global::System.ArgumentNullException("distance");
            }
            item.Distance = distance;
            if ((shippingInformation == null))
            {
                throw new global::System.ArgumentNullException("shippingInformation");
            }
            item.ShippingInformation = shippingInformation;
            return item;
        }
        /// <summary>
        /// There are no comments for Property Id in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Id
        {
            get
            {
                return this._Id;
            }
            set
            {
                this.OnIdChanging(value);
                this._Id = value;
                this.OnIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Id;
        partial void OnIdChanging(string value);
        partial void OnIdChanged();
        /// <summary>
        /// There are no comments for Property UserId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string UserId
        {
            get
            {
                return this._UserId;
            }
            set
            {
                this.OnUserIdChanging(value);
                this._UserId = value;
                this.OnUserIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _UserId;
        partial void OnUserIdChanging(string value);
        partial void OnUserIdChanged();
        /// <summary>
        /// There are no comments for Property Title in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Title
        {
            get
            {
                return this._Title;
            }
            set
            {
                this.OnTitleChanging(value);
                this._Title = value;
                this.OnTitleChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Title;
        partial void OnTitleChanging(string value);
        partial void OnTitleChanged();
        /// <summary>
        /// There are no comments for Property Subtitle in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Subtitle
        {
            get
            {
                return this._Subtitle;
            }
            set
            {
                this.OnSubtitleChanging(value);
                this._Subtitle = value;
                this.OnSubtitleChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Subtitle;
        partial void OnSubtitleChanging(string value);
        partial void OnSubtitleChanged();
        /// <summary>
        /// There are no comments for Property SellingState in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string SellingState
        {
            get
            {
                return this._SellingState;
            }
            set
            {
                this.OnSellingStateChanging(value);
                this._SellingState = value;
                this.OnSellingStateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _SellingState;
        partial void OnSellingStateChanging(string value);
        partial void OnSellingStateChanged();
        /// <summary>
        /// There are no comments for Property TimeLeft in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string TimeLeft
        {
            get
            {
                return this._TimeLeft;
            }
            set
            {
                this.OnTimeLeftChanging(value);
                this._TimeLeft = value;
                this.OnTimeLeftChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _TimeLeft;
        partial void OnTimeLeftChanging(string value);
        partial void OnTimeLeftChanged();
        /// <summary>
        /// There are no comments for Property Currency in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Currency
        {
            get
            {
                return this._Currency;
            }
            set
            {
                this.OnCurrencyChanging(value);
                this._Currency = value;
                this.OnCurrencyChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Currency;
        partial void OnCurrencyChanging(string value);
        partial void OnCurrencyChanged();
        /// <summary>
        /// There are no comments for Property CurrentPrice in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public double CurrentPrice
        {
            get
            {
                return this._CurrentPrice;
            }
            set
            {
                this.OnCurrentPriceChanging(value);
                this._CurrentPrice = value;
                this.OnCurrentPriceChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private double _CurrentPrice;
        partial void OnCurrentPriceChanging(double value);
        partial void OnCurrentPriceChanged();
        /// <summary>
        /// There are no comments for Property MinimumToBid in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public double MinimumToBid
        {
            get
            {
                return this._MinimumToBid;
            }
            set
            {
                this.OnMinimumToBidChanging(value);
                this._MinimumToBid = value;
                this.OnMinimumToBidChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private double _MinimumToBid;
        partial void OnMinimumToBidChanging(double value);
        partial void OnMinimumToBidChanged();
        /// <summary>
        /// There are no comments for Property BidCount in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int BidCount
        {
            get
            {
                return this._BidCount;
            }
            set
            {
                this.OnBidCountChanging(value);
                this._BidCount = value;
                this.OnBidCountChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _BidCount;
        partial void OnBidCountChanging(int value);
        partial void OnBidCountChanged();
        /// <summary>
        /// There are no comments for Property Description in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Description
        {
            get
            {
                return this._Description;
            }
            set
            {
                this.OnDescriptionChanging(value);
                this._Description = value;
                this.OnDescriptionChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Description;
        partial void OnDescriptionChanging(string value);
        partial void OnDescriptionChanged();
        /// <summary>
        /// There are no comments for Property QuantitySold in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int QuantitySold
        {
            get
            {
                return this._QuantitySold;
            }
            set
            {
                this.OnQuantitySoldChanging(value);
                this._QuantitySold = value;
                this.OnQuantitySoldChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _QuantitySold;
        partial void OnQuantitySoldChanging(int value);
        partial void OnQuantitySoldChanged();
        /// <summary>
        /// There are no comments for Property AutoPay in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool AutoPay
        {
            get
            {
                return this._AutoPay;
            }
            set
            {
                this.OnAutoPayChanging(value);
                this._AutoPay = value;
                this.OnAutoPayChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _AutoPay;
        partial void OnAutoPayChanging(bool value);
        partial void OnAutoPayChanged();
        /// <summary>
        /// There are no comments for Property CharityId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string CharityId
        {
            get
            {
                return this._CharityId;
            }
            set
            {
                this.OnCharityIdChanging(value);
                this._CharityId = value;
                this.OnCharityIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _CharityId;
        partial void OnCharityIdChanging(string value);
        partial void OnCharityIdChanged();
        /// <summary>
        /// There are no comments for Property Country in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Country
        {
            get
            {
                return this._Country;
            }
            set
            {
                this.OnCountryChanging(value);
                this._Country = value;
                this.OnCountryChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Country;
        partial void OnCountryChanging(string value);
        partial void OnCountryChanged();
        /// <summary>
        /// There are no comments for Property Compatibility in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Compatibility
        {
            get
            {
                return this._Compatibility;
            }
            set
            {
                this.OnCompatibilityChanging(value);
                this._Compatibility = value;
                this.OnCompatibilityChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Compatibility;
        partial void OnCompatibilityChanging(string value);
        partial void OnCompatibilityChanged();
        /// <summary>
        /// There are no comments for Property GalleryUrl in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string GalleryUrl
        {
            get
            {
                return this._GalleryUrl;
            }
            set
            {
                this.OnGalleryUrlChanging(value);
                this._GalleryUrl = value;
                this.OnGalleryUrlChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _GalleryUrl;
        partial void OnGalleryUrlChanging(string value);
        partial void OnGalleryUrlChanged();
        /// <summary>
        /// There are no comments for Property GlobalId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string GlobalId
        {
            get
            {
                return this._GlobalId;
            }
            set
            {
                this.OnGlobalIdChanging(value);
                this._GlobalId = value;
                this.OnGlobalIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _GlobalId;
        partial void OnGlobalIdChanging(string value);
        partial void OnGlobalIdChanged();
        /// <summary>
        /// There are no comments for Property PostalCode in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string PostalCode
        {
            get
            {
                return this._PostalCode;
            }
            set
            {
                this.OnPostalCodeChanging(value);
                this._PostalCode = value;
                this.OnPostalCodeChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _PostalCode;
        partial void OnPostalCodeChanging(string value);
        partial void OnPostalCodeChanged();
        /// <summary>
        /// There are no comments for Property ReturnsAccepted in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool ReturnsAccepted
        {
            get
            {
                return this._ReturnsAccepted;
            }
            set
            {
                this.OnReturnsAcceptedChanging(value);
                this._ReturnsAccepted = value;
                this.OnReturnsAcceptedChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _ReturnsAccepted;
        partial void OnReturnsAcceptedChanging(bool value);
        partial void OnReturnsAcceptedChanged();
        /// <summary>
        /// There are no comments for Property PrimaryCategoryId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string PrimaryCategoryId
        {
            get
            {
                return this._PrimaryCategoryId;
            }
            set
            {
                this.OnPrimaryCategoryIdChanging(value);
                this._PrimaryCategoryId = value;
                this.OnPrimaryCategoryIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _PrimaryCategoryId;
        partial void OnPrimaryCategoryIdChanging(string value);
        partial void OnPrimaryCategoryIdChanged();
        /// <summary>
        /// There are no comments for Property SecondaryCategoryId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string SecondaryCategoryId
        {
            get
            {
                return this._SecondaryCategoryId;
            }
            set
            {
                this.OnSecondaryCategoryIdChanging(value);
                this._SecondaryCategoryId = value;
                this.OnSecondaryCategoryIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _SecondaryCategoryId;
        partial void OnSecondaryCategoryIdChanging(string value);
        partial void OnSecondaryCategoryIdChanged();
        /// <summary>
        /// There are no comments for Property Condition in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public Condition Condition
        {
            get
            {
                if (((this._Condition == null) 
                            && (this._ConditionInitialized != true)))
                {
                    this._Condition = new Condition();
                    this._ConditionInitialized = true;
                }
                return this._Condition;
            }
            set
            {
                this.OnConditionChanging(value);
                this._Condition = value;
                this._ConditionInitialized = true;
                this.OnConditionChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private Condition _Condition;
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _ConditionInitialized;
        partial void OnConditionChanging(Condition value);
        partial void OnConditionChanged();
        /// <summary>
        /// There are no comments for Property ListingInfo in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public ListingInfo ListingInfo
        {
            get
            {
                if (((this._ListingInfo == null) 
                            && (this._ListingInfoInitialized != true)))
                {
                    this._ListingInfo = new ListingInfo();
                    this._ListingInfoInitialized = true;
                }
                return this._ListingInfo;
            }
            set
            {
                this.OnListingInfoChanging(value);
                this._ListingInfo = value;
                this._ListingInfoInitialized = true;
                this.OnListingInfoChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private ListingInfo _ListingInfo;
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _ListingInfoInitialized;
        partial void OnListingInfoChanging(ListingInfo value);
        partial void OnListingInfoChanged();
        /// <summary>
        /// There are no comments for Property Distance in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public Distance Distance
        {
            get
            {
                if (((this._Distance == null) 
                            && (this._DistanceInitialized != true)))
                {
                    this._Distance = new Distance();
                    this._DistanceInitialized = true;
                }
                return this._Distance;
            }
            set
            {
                this.OnDistanceChanging(value);
                this._Distance = value;
                this._DistanceInitialized = true;
                this.OnDistanceChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private Distance _Distance;
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _DistanceInitialized;
        partial void OnDistanceChanging(Distance value);
        partial void OnDistanceChanged();
        /// <summary>
        /// There are no comments for Property ShippingInformation in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public ShippingInformation ShippingInformation
        {
            get
            {
                if (((this._ShippingInformation == null) 
                            && (this._ShippingInformationInitialized != true)))
                {
                    this._ShippingInformation = new ShippingInformation();
                    this._ShippingInformationInitialized = true;
                }
                return this._ShippingInformation;
            }
            set
            {
                this.OnShippingInformationChanging(value);
                this._ShippingInformation = value;
                this._ShippingInformationInitialized = true;
                this.OnShippingInformationChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private ShippingInformation _ShippingInformation;
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _ShippingInformationInitialized;
        partial void OnShippingInformationChanging(ShippingInformation value);
        partial void OnShippingInformationChanged();
        /// <summary>
        /// There are no comments for Property ViewItemUrl in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string ViewItemUrl
        {
            get
            {
                return this._ViewItemUrl;
            }
            set
            {
                this.OnViewItemUrlChanging(value);
                this._ViewItemUrl = value;
                this.OnViewItemUrlChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _ViewItemUrl;
        partial void OnViewItemUrlChanging(string value);
        partial void OnViewItemUrlChanged();
        /// <summary>
        /// There are no comments for Property PaymentMethods in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string PaymentMethods
        {
            get
            {
                return this._PaymentMethods;
            }
            set
            {
                this.OnPaymentMethodsChanging(value);
                this._PaymentMethods = value;
                this.OnPaymentMethodsChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _PaymentMethods;
        partial void OnPaymentMethodsChanging(string value);
        partial void OnPaymentMethodsChanged();
        /// <summary>
        /// There are no comments for PrimaryCategory in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public Category PrimaryCategory
        {
            get
            {
                return this._PrimaryCategory;
            }
            set
            {
                this._PrimaryCategory = value;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private Category _PrimaryCategory;
        /// <summary>
        /// There are no comments for SecondaryCategory in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public Category SecondaryCategory
        {
            get
            {
                return this._SecondaryCategory;
            }
            set
            {
                this._SecondaryCategory = value;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private Category _SecondaryCategory;
        /// <summary>
        /// There are no comments for Bidders in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Collections.ObjectModel.Collection<Bidder> Bidders
        {
            get
            {
                return this._Bidders;
            }
            set
            {
                if ((value != null))
                {
                    this._Bidders = value;
                }
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Collections.ObjectModel.Collection<Bidder> _Bidders = new global::System.Collections.ObjectModel.Collection<Bidder>();
        /// <summary>
        /// There are no comments for Transactions in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Collections.ObjectModel.Collection<Transaction> Transactions
        {
            get
            {
                return this._Transactions;
            }
            set
            {
                if ((value != null))
                {
                    this._Transactions = value;
                }
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Collections.ObjectModel.Collection<Transaction> _Transactions = new global::System.Collections.ObjectModel.Collection<Transaction>();
        /// <summary>
        /// There are no comments for Shippings in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Collections.ObjectModel.Collection<Shipping> Shippings
        {
            get
            {
                return this._Shippings;
            }
            set
            {
                if ((value != null))
                {
                    this._Shippings = value;
                }
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Collections.ObjectModel.Collection<Shipping> _Shippings = new global::System.Collections.ObjectModel.Collection<Shipping>();
        /// <summary>
        /// There are no comments for CrossPromotions in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Collections.ObjectModel.Collection<CrossPromotion> CrossPromotions
        {
            get
            {
                return this._CrossPromotions;
            }
            set
            {
                if ((value != null))
                {
                    this._CrossPromotions = value;
                }
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Collections.ObjectModel.Collection<CrossPromotion> _CrossPromotions = new global::System.Collections.ObjectModel.Collection<CrossPromotion>();
        /// <summary>
        /// There are no comments for User in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public User User
        {
            get
            {
                return this._User;
            }
            set
            {
                this._User = value;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private User _User;
    }
    /// <summary>
    /// There are no comments for eBay.Model.Entities.Shipping in the schema.
    /// </summary>
    /// <KeyProperties>
    /// Id
    /// ItemId
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("Id", "ItemId")]
    public partial class Shipping
    {
        /// <summary>
        /// Create a new Shipping object.
        /// </summary>
        /// <param name="itemId">Initial value of ItemId.</param>
        /// <param name="ID">Initial value of Id.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static Shipping CreateShipping(string itemId, string ID)
        {
            Shipping shipping = new Shipping();
            shipping.ItemId = itemId;
            shipping.Id = ID;
            return shipping;
        }
        /// <summary>
        /// There are no comments for Property ItemId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string ItemId
        {
            get
            {
                return this._ItemId;
            }
            set
            {
                this.OnItemIdChanging(value);
                this._ItemId = value;
                this.OnItemIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _ItemId;
        partial void OnItemIdChanging(string value);
        partial void OnItemIdChanged();
        /// <summary>
        /// There are no comments for Property Id in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Id
        {
            get
            {
                return this._Id;
            }
            set
            {
                this.OnIdChanging(value);
                this._Id = value;
                this.OnIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Id;
        partial void OnIdChanging(string value);
        partial void OnIdChanged();
        /// <summary>
        /// There are no comments for Property Service in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Service
        {
            get
            {
                return this._Service;
            }
            set
            {
                this.OnServiceChanging(value);
                this._Service = value;
                this.OnServiceChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Service;
        partial void OnServiceChanging(string value);
        partial void OnServiceChanged();
        /// <summary>
        /// There are no comments for Property Cost in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<double> Cost
        {
            get
            {
                return this._Cost;
            }
            set
            {
                this.OnCostChanging(value);
                this._Cost = value;
                this.OnCostChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<double> _Cost;
        partial void OnCostChanging(global::System.Nullable<double> value);
        partial void OnCostChanged();
        /// <summary>
        /// There are no comments for Property InsuranceCost in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<double> InsuranceCost
        {
            get
            {
                return this._InsuranceCost;
            }
            set
            {
                this.OnInsuranceCostChanging(value);
                this._InsuranceCost = value;
                this.OnInsuranceCostChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<double> _InsuranceCost;
        partial void OnInsuranceCostChanging(global::System.Nullable<double> value);
        partial void OnInsuranceCostChanged();
        /// <summary>
        /// There are no comments for Property AdditionalCost in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Nullable<double> AdditionalCost
        {
            get
            {
                return this._AdditionalCost;
            }
            set
            {
                this.OnAdditionalCostChanging(value);
                this._AdditionalCost = value;
                this.OnAdditionalCostChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Nullable<double> _AdditionalCost;
        partial void OnAdditionalCostChanging(global::System.Nullable<double> value);
        partial void OnAdditionalCostChanged();
        /// <summary>
        /// There are no comments for Property ShipToLocation in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string ShipToLocation
        {
            get
            {
                return this._ShipToLocation;
            }
            set
            {
                this.OnShipToLocationChanging(value);
                this._ShipToLocation = value;
                this.OnShipToLocationChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _ShipToLocation;
        partial void OnShipToLocationChanging(string value);
        partial void OnShipToLocationChanged();
    }
    /// <summary>
    /// There are no comments for eBay.Model.Entities.Transaction in the schema.
    /// </summary>
    /// <KeyProperties>
    /// ItemId
    /// TransactionId
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("ItemId", "TransactionId")]
    public partial class Transaction
    {
        /// <summary>
        /// Create a new Transaction object.
        /// </summary>
        /// <param name="itemId">Initial value of ItemId.</param>
        /// <param name="transactionId">Initial value of TransactionId.</param>
        /// <param name="quantityPurchased">Initial value of QuantityPurchased.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static Transaction CreateTransaction(string itemId, string transactionId, int quantityPurchased)
        {
            Transaction transaction = new Transaction();
            transaction.ItemId = itemId;
            transaction.TransactionId = transactionId;
            transaction.QuantityPurchased = quantityPurchased;
            return transaction;
        }
        /// <summary>
        /// There are no comments for Property ItemId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string ItemId
        {
            get
            {
                return this._ItemId;
            }
            set
            {
                this.OnItemIdChanging(value);
                this._ItemId = value;
                this.OnItemIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _ItemId;
        partial void OnItemIdChanging(string value);
        partial void OnItemIdChanged();
        /// <summary>
        /// There are no comments for Property TransactionId in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string TransactionId
        {
            get
            {
                return this._TransactionId;
            }
            set
            {
                this.OnTransactionIdChanging(value);
                this._TransactionId = value;
                this.OnTransactionIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _TransactionId;
        partial void OnTransactionIdChanging(string value);
        partial void OnTransactionIdChanged();
        /// <summary>
        /// There are no comments for Property AmountPaid in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string AmountPaid
        {
            get
            {
                return this._AmountPaid;
            }
            set
            {
                this.OnAmountPaidChanging(value);
                this._AmountPaid = value;
                this.OnAmountPaidChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _AmountPaid;
        partial void OnAmountPaidChanging(string value);
        partial void OnAmountPaidChanged();
        /// <summary>
        /// There are no comments for Property Buyer in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Buyer
        {
            get
            {
                return this._Buyer;
            }
            set
            {
                this.OnBuyerChanging(value);
                this._Buyer = value;
                this.OnBuyerChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Buyer;
        partial void OnBuyerChanging(string value);
        partial void OnBuyerChanged();
        /// <summary>
        /// There are no comments for Property CreatedDate in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string CreatedDate
        {
            get
            {
                return this._CreatedDate;
            }
            set
            {
                this.OnCreatedDateChanging(value);
                this._CreatedDate = value;
                this.OnCreatedDateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _CreatedDate;
        partial void OnCreatedDateChanging(string value);
        partial void OnCreatedDateChanged();
        /// <summary>
        /// There are no comments for Property QuantityPurchased in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int QuantityPurchased
        {
            get
            {
                return this._QuantityPurchased;
            }
            set
            {
                this.OnQuantityPurchasedChanging(value);
                this._QuantityPurchased = value;
                this.OnQuantityPurchasedChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _QuantityPurchased;
        partial void OnQuantityPurchasedChanging(int value);
        partial void OnQuantityPurchasedChanged();
        /// <summary>
        /// There are no comments for Item in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public Item Item
        {
            get
            {
                return this._Item;
            }
            set
            {
                this._Item = value;
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private Item _Item;
    }
    /// <summary>
    /// There are no comments for eBay.Model.Entities.User in the schema.
    /// </summary>
    /// <KeyProperties>
    /// Id
    /// </KeyProperties>
    [global::System.Data.Services.Common.DataServiceKeyAttribute("Id")]
    public partial class User
    {
        /// <summary>
        /// Create a new User object.
        /// </summary>
        /// <param name="ID">Initial value of Id.</param>
        /// <param name="feedbackScore">Initial value of FeedbackScore.</param>
        /// <param name="newUser">Initial value of NewUser.</param>
        /// <param name="topRatedSeller">Initial value of TopRatedSeller.</param>
        /// <param name="registrationDate">Initial value of RegistrationDate.</param>
        /// <param name="positiveFeedbackPercent">Initial value of PositiveFeedbackPercent.</param>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public static User CreateUser(string ID, int feedbackScore, bool newUser, bool topRatedSeller, global::System.DateTime registrationDate, float positiveFeedbackPercent)
        {
            User user = new User();
            user.Id = ID;
            user.FeedbackScore = feedbackScore;
            user.NewUser = newUser;
            user.TopRatedSeller = topRatedSeller;
            user.RegistrationDate = registrationDate;
            user.PositiveFeedbackPercent = positiveFeedbackPercent;
            return user;
        }
        /// <summary>
        /// There are no comments for Property Id in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Id
        {
            get
            {
                return this._Id;
            }
            set
            {
                this.OnIdChanging(value);
                this._Id = value;
                this.OnIdChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Id;
        partial void OnIdChanging(string value);
        partial void OnIdChanged();
        /// <summary>
        /// There are no comments for Property FeedbackRatingStar in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string FeedbackRatingStar
        {
            get
            {
                return this._FeedbackRatingStar;
            }
            set
            {
                this.OnFeedbackRatingStarChanging(value);
                this._FeedbackRatingStar = value;
                this.OnFeedbackRatingStarChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _FeedbackRatingStar;
        partial void OnFeedbackRatingStarChanging(string value);
        partial void OnFeedbackRatingStarChanged();
        /// <summary>
        /// There are no comments for Property FeedbackScore in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public int FeedbackScore
        {
            get
            {
                return this._FeedbackScore;
            }
            set
            {
                this.OnFeedbackScoreChanging(value);
                this._FeedbackScore = value;
                this.OnFeedbackScoreChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private int _FeedbackScore;
        partial void OnFeedbackScoreChanging(int value);
        partial void OnFeedbackScoreChanged();
        /// <summary>
        /// There are no comments for Property NewUser in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool NewUser
        {
            get
            {
                return this._NewUser;
            }
            set
            {
                this.OnNewUserChanging(value);
                this._NewUser = value;
                this.OnNewUserChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _NewUser;
        partial void OnNewUserChanging(bool value);
        partial void OnNewUserChanged();
        /// <summary>
        /// There are no comments for Property TopRatedSeller in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public bool TopRatedSeller
        {
            get
            {
                return this._TopRatedSeller;
            }
            set
            {
                this.OnTopRatedSellerChanging(value);
                this._TopRatedSeller = value;
                this.OnTopRatedSellerChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private bool _TopRatedSeller;
        partial void OnTopRatedSellerChanging(bool value);
        partial void OnTopRatedSellerChanged();
        /// <summary>
        /// There are no comments for Property RegistrationDate in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.DateTime RegistrationDate
        {
            get
            {
                return this._RegistrationDate;
            }
            set
            {
                this.OnRegistrationDateChanging(value);
                this._RegistrationDate = value;
                this.OnRegistrationDateChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.DateTime _RegistrationDate;
        partial void OnRegistrationDateChanging(global::System.DateTime value);
        partial void OnRegistrationDateChanged();
        /// <summary>
        /// There are no comments for Property RegistrationSite in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string RegistrationSite
        {
            get
            {
                return this._RegistrationSite;
            }
            set
            {
                this.OnRegistrationSiteChanging(value);
                this._RegistrationSite = value;
                this.OnRegistrationSiteChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _RegistrationSite;
        partial void OnRegistrationSiteChanging(string value);
        partial void OnRegistrationSiteChanged();
        /// <summary>
        /// There are no comments for Property Status in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public string Status
        {
            get
            {
                return this._Status;
            }
            set
            {
                this.OnStatusChanging(value);
                this._Status = value;
                this.OnStatusChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private string _Status;
        partial void OnStatusChanging(string value);
        partial void OnStatusChanged();
        /// <summary>
        /// There are no comments for Property PositiveFeedbackPercent in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public float PositiveFeedbackPercent
        {
            get
            {
                return this._PositiveFeedbackPercent;
            }
            set
            {
                this.OnPositiveFeedbackPercentChanging(value);
                this._PositiveFeedbackPercent = value;
                this.OnPositiveFeedbackPercentChanged();
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private float _PositiveFeedbackPercent;
        partial void OnPositiveFeedbackPercentChanging(float value);
        partial void OnPositiveFeedbackPercentChanged();
        /// <summary>
        /// There are no comments for Feedback in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Collections.ObjectModel.Collection<Feedback> Feedback
        {
            get
            {
                return this._Feedback;
            }
            set
            {
                if ((value != null))
                {
                    this._Feedback = value;
                }
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Collections.ObjectModel.Collection<Feedback> _Feedback = new global::System.Collections.ObjectModel.Collection<Feedback>();
        /// <summary>
        /// There are no comments for Items in the schema.
        /// </summary>
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        public global::System.Collections.ObjectModel.Collection<Item> Items
        {
            get
            {
                return this._Items;
            }
            set
            {
                if ((value != null))
                {
                    this._Items = value;
                }
            }
        }
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
        private global::System.Collections.ObjectModel.Collection<Item> _Items = new global::System.Collections.ObjectModel.Collection<Item>();
    }
}
