//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.296 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ // Original file name: // Generation date: 5/3/2013 1:33:16 PM namespace Xceed.Wpf.Toolkit.LiveExplorer.NorthwindDataService { /// /// There are no comments for NorthwindEntities in the schema. /// public partial class NorthwindEntities : global::System.Data.Services.Client.DataServiceContext { /// /// Initialize a new NorthwindEntities object. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public NorthwindEntities(global::System.Uri serviceRoot) : base(serviceRoot) { this.ResolveName = new global::System.Func(this.ResolveNameFromType); this.ResolveType = new global::System.Func(this.ResolveTypeFromName); this.OnContextCreated(); } partial void OnContextCreated(); /// /// 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. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] protected global::System.Type ResolveTypeFromName(string typeName) { if (typeName.StartsWith("NorthwindModel", global::System.StringComparison.Ordinal)) { return this.GetType().Assembly.GetType(string.Concat("Xceed.Wpf.Toolkit.LiveExplorer.NorthwindDataService", typeName.Substring(14)), false); } return null; } /// /// 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. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] protected string ResolveNameFromType(global::System.Type clientType) { if (clientType.Namespace.Equals("Xceed.Wpf.Toolkit.LiveExplorer.NorthwindDataService", global::System.StringComparison.Ordinal)) { return string.Concat("NorthwindModel.", clientType.Name); } return null; } /// /// There are no comments for Categories in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Data.Services.Client.DataServiceQuery Categories { get { if ((this._Categories == null)) { this._Categories = base.CreateQuery("Categories"); } return this._Categories; } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Data.Services.Client.DataServiceQuery _Categories; /// /// There are no comments for Contacts in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Data.Services.Client.DataServiceQuery Contacts { get { if ((this._Contacts == null)) { this._Contacts = base.CreateQuery("Contacts"); } return this._Contacts; } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Data.Services.Client.DataServiceQuery _Contacts; /// /// There are no comments for Customers in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Data.Services.Client.DataServiceQuery Customers { get { if ((this._Customers == null)) { this._Customers = base.CreateQuery("Customers"); } return this._Customers; } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Data.Services.Client.DataServiceQuery _Customers; /// /// There are no comments for Employees in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Data.Services.Client.DataServiceQuery Employees { get { if ((this._Employees == null)) { this._Employees = base.CreateQuery("Employees"); } return this._Employees; } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Data.Services.Client.DataServiceQuery _Employees; /// /// There are no comments for Order_Details in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Data.Services.Client.DataServiceQuery Order_Details { get { if ((this._Order_Details == null)) { this._Order_Details = base.CreateQuery("Order_Details"); } return this._Order_Details; } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Data.Services.Client.DataServiceQuery _Order_Details; /// /// There are no comments for Orders in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Data.Services.Client.DataServiceQuery Orders { get { if ((this._Orders == null)) { this._Orders = base.CreateQuery("Orders"); } return this._Orders; } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Data.Services.Client.DataServiceQuery _Orders; /// /// There are no comments for Products in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Data.Services.Client.DataServiceQuery Products { get { if ((this._Products == null)) { this._Products = base.CreateQuery("Products"); } return this._Products; } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Data.Services.Client.DataServiceQuery _Products; /// /// There are no comments for Shippers in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Data.Services.Client.DataServiceQuery Shippers { get { if ((this._Shippers == null)) { this._Shippers = base.CreateQuery("Shippers"); } return this._Shippers; } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Data.Services.Client.DataServiceQuery _Shippers; /// /// There are no comments for Categories in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public void AddToCategories(Category category) { base.AddObject("Categories", category); } /// /// There are no comments for Contacts in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public void AddToContacts(Contact contact) { base.AddObject("Contacts", contact); } /// /// There are no comments for Customers in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public void AddToCustomers(Customer customer) { base.AddObject("Customers", customer); } /// /// There are no comments for Employees in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public void AddToEmployees(Employee employee) { base.AddObject("Employees", employee); } /// /// There are no comments for Order_Details in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public void AddToOrder_Details(Order_Detail order_Detail) { base.AddObject("Order_Details", order_Detail); } /// /// There are no comments for Orders in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public void AddToOrders(Order order) { base.AddObject("Orders", order); } /// /// There are no comments for Products in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public void AddToProducts(Product product) { base.AddObject("Products", product); } /// /// There are no comments for Shippers in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public void AddToShippers(Shipper shipper) { base.AddObject("Shippers", shipper); } } /// /// There are no comments for NorthwindModel.Category in the schema. /// /// /// CategoryID /// [global::System.Data.Services.Common.EntitySetAttribute("Categories")] [global::System.Data.Services.Common.DataServiceKeyAttribute("CategoryID")] public partial class Category : global::System.ComponentModel.INotifyPropertyChanged { /// /// Create a new Category object. /// /// Initial value of CategoryID. /// Initial value of CategoryName. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public static Category CreateCategory(int categoryID, string categoryName) { Category category = new Category(); category.CategoryID = categoryID; category.CategoryName = categoryName; return category; } /// /// There are no comments for Property CategoryID in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public int CategoryID { get { return this._CategoryID; } set { this.OnCategoryIDChanging(value); this._CategoryID = value; this.OnCategoryIDChanged(); this.OnPropertyChanged("CategoryID"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private int _CategoryID; partial void OnCategoryIDChanging(int value); partial void OnCategoryIDChanged(); /// /// There are no comments for Property CategoryName in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string CategoryName { get { return this._CategoryName; } set { this.OnCategoryNameChanging(value); this._CategoryName = value; this.OnCategoryNameChanged(); this.OnPropertyChanged("CategoryName"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _CategoryName; partial void OnCategoryNameChanging(string value); partial void OnCategoryNameChanged(); /// /// There are no comments for Property Description in the schema. /// [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(); this.OnPropertyChanged("Description"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _Description; partial void OnDescriptionChanging(string value); partial void OnDescriptionChanged(); /// /// There are no comments for Property Picture in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public byte[] Picture { get { if ((this._Picture != null)) { return ((byte[])(this._Picture.Clone())); } else { return null; } } set { this.OnPictureChanging(value); this._Picture = value; this.OnPictureChanged(); this.OnPropertyChanged("Picture"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private byte[] _Picture; partial void OnPictureChanging(byte[] value); partial void OnPictureChanged(); /// /// There are no comments for Products in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Data.Services.Client.DataServiceCollection Products { get { return this._Products; } set { this._Products = value; this.OnPropertyChanged("Products"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Data.Services.Client.DataServiceCollection _Products = new global::System.Data.Services.Client.DataServiceCollection(null, System.Data.Services.Client.TrackingMode.None); [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged; [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] protected virtual void OnPropertyChanged(string property) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new global::System.ComponentModel.PropertyChangedEventArgs(property)); } } } /// /// There are no comments for NorthwindModel.Contact in the schema. /// /// /// ContactID /// [global::System.Data.Services.Common.EntitySetAttribute("Contacts")] [global::System.Data.Services.Common.DataServiceKeyAttribute("ContactID")] public partial class Contact : global::System.ComponentModel.INotifyPropertyChanged { /// /// Create a new Contact object. /// /// Initial value of ContactID. /// Initial value of CompanyName. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public static Contact CreateContact(int contactID, string companyName) { Contact contact = new Contact(); contact.ContactID = contactID; contact.CompanyName = companyName; return contact; } /// /// There are no comments for Property ContactID in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public int ContactID { get { return this._ContactID; } set { this.OnContactIDChanging(value); this._ContactID = value; this.OnContactIDChanged(); this.OnPropertyChanged("ContactID"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private int _ContactID; partial void OnContactIDChanging(int value); partial void OnContactIDChanged(); /// /// There are no comments for Property ContactType in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string ContactType { get { return this._ContactType; } set { this.OnContactTypeChanging(value); this._ContactType = value; this.OnContactTypeChanged(); this.OnPropertyChanged("ContactType"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _ContactType; partial void OnContactTypeChanging(string value); partial void OnContactTypeChanged(); /// /// There are no comments for Property CompanyName in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string CompanyName { get { return this._CompanyName; } set { this.OnCompanyNameChanging(value); this._CompanyName = value; this.OnCompanyNameChanged(); this.OnPropertyChanged("CompanyName"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _CompanyName; partial void OnCompanyNameChanging(string value); partial void OnCompanyNameChanged(); /// /// There are no comments for Property ContactName in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string ContactName { get { return this._ContactName; } set { this.OnContactNameChanging(value); this._ContactName = value; this.OnContactNameChanged(); this.OnPropertyChanged("ContactName"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _ContactName; partial void OnContactNameChanging(string value); partial void OnContactNameChanged(); /// /// There are no comments for Property ContactTitle in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string ContactTitle { get { return this._ContactTitle; } set { this.OnContactTitleChanging(value); this._ContactTitle = value; this.OnContactTitleChanged(); this.OnPropertyChanged("ContactTitle"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _ContactTitle; partial void OnContactTitleChanging(string value); partial void OnContactTitleChanged(); /// /// There are no comments for Property Address in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string Address { get { return this._Address; } set { this.OnAddressChanging(value); this._Address = value; this.OnAddressChanged(); this.OnPropertyChanged("Address"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _Address; partial void OnAddressChanging(string value); partial void OnAddressChanged(); /// /// There are no comments for Property City in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string City { get { return this._City; } set { this.OnCityChanging(value); this._City = value; this.OnCityChanged(); this.OnPropertyChanged("City"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _City; partial void OnCityChanging(string value); partial void OnCityChanged(); /// /// There are no comments for Property Region in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string Region { get { return this._Region; } set { this.OnRegionChanging(value); this._Region = value; this.OnRegionChanged(); this.OnPropertyChanged("Region"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _Region; partial void OnRegionChanging(string value); partial void OnRegionChanged(); /// /// There are no comments for Property PostalCode in the schema. /// [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(); this.OnPropertyChanged("PostalCode"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _PostalCode; partial void OnPostalCodeChanging(string value); partial void OnPostalCodeChanged(); /// /// There are no comments for Property Country in the schema. /// [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(); this.OnPropertyChanged("Country"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _Country; partial void OnCountryChanging(string value); partial void OnCountryChanged(); /// /// There are no comments for Property Phone in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string Phone { get { return this._Phone; } set { this.OnPhoneChanging(value); this._Phone = value; this.OnPhoneChanged(); this.OnPropertyChanged("Phone"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _Phone; partial void OnPhoneChanging(string value); partial void OnPhoneChanged(); /// /// There are no comments for Property Extension in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string Extension { get { return this._Extension; } set { this.OnExtensionChanging(value); this._Extension = value; this.OnExtensionChanged(); this.OnPropertyChanged("Extension"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _Extension; partial void OnExtensionChanging(string value); partial void OnExtensionChanged(); /// /// There are no comments for Property Fax in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string Fax { get { return this._Fax; } set { this.OnFaxChanging(value); this._Fax = value; this.OnFaxChanged(); this.OnPropertyChanged("Fax"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _Fax; partial void OnFaxChanging(string value); partial void OnFaxChanged(); /// /// There are no comments for Property HomePage in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string HomePage { get { return this._HomePage; } set { this.OnHomePageChanging(value); this._HomePage = value; this.OnHomePageChanged(); this.OnPropertyChanged("HomePage"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _HomePage; partial void OnHomePageChanging(string value); partial void OnHomePageChanged(); /// /// There are no comments for Property PhotoPath in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string PhotoPath { get { return this._PhotoPath; } set { this.OnPhotoPathChanging(value); this._PhotoPath = value; this.OnPhotoPathChanged(); this.OnPropertyChanged("PhotoPath"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _PhotoPath; partial void OnPhotoPathChanging(string value); partial void OnPhotoPathChanged(); /// /// There are no comments for Property Photo in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public byte[] Photo { get { if ((this._Photo != null)) { return ((byte[])(this._Photo.Clone())); } else { return null; } } set { this.OnPhotoChanging(value); this._Photo = value; this.OnPhotoChanged(); this.OnPropertyChanged("Photo"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private byte[] _Photo; partial void OnPhotoChanging(byte[] value); partial void OnPhotoChanged(); [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged; [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] protected virtual void OnPropertyChanged(string property) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new global::System.ComponentModel.PropertyChangedEventArgs(property)); } } } /// /// There are no comments for NorthwindModel.Customer in the schema. /// /// /// CustomerID /// [global::System.Data.Services.Common.EntitySetAttribute("Customers")] [global::System.Data.Services.Common.DataServiceKeyAttribute("CustomerID")] public partial class Customer : global::System.ComponentModel.INotifyPropertyChanged { /// /// Create a new Customer object. /// /// Initial value of CustomerID. /// Initial value of Acronym. /// Initial value of CompanyName. /// Initial value of EmployeeID. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public static Customer CreateCustomer(int customerID, string acronym, string companyName, int employeeID) { Customer customer = new Customer(); customer.CustomerID = customerID; customer.Acronym = acronym; customer.CompanyName = companyName; customer.EmployeeID = employeeID; return customer; } /// /// There are no comments for Property CustomerID in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public int CustomerID { get { return this._CustomerID; } set { this.OnCustomerIDChanging(value); this._CustomerID = value; this.OnCustomerIDChanged(); this.OnPropertyChanged("CustomerID"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private int _CustomerID; partial void OnCustomerIDChanging(int value); partial void OnCustomerIDChanged(); /// /// There are no comments for Property Acronym in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string Acronym { get { return this._Acronym; } set { this.OnAcronymChanging(value); this._Acronym = value; this.OnAcronymChanged(); this.OnPropertyChanged("Acronym"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _Acronym; partial void OnAcronymChanging(string value); partial void OnAcronymChanged(); /// /// There are no comments for Property CompanyName in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string CompanyName { get { return this._CompanyName; } set { this.OnCompanyNameChanging(value); this._CompanyName = value; this.OnCompanyNameChanged(); this.OnPropertyChanged("CompanyName"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _CompanyName; partial void OnCompanyNameChanging(string value); partial void OnCompanyNameChanged(); /// /// There are no comments for Property ContactName in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string ContactName { get { return this._ContactName; } set { this.OnContactNameChanging(value); this._ContactName = value; this.OnContactNameChanged(); this.OnPropertyChanged("ContactName"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _ContactName; partial void OnContactNameChanging(string value); partial void OnContactNameChanged(); /// /// There are no comments for Property ContactTitle in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string ContactTitle { get { return this._ContactTitle; } set { this.OnContactTitleChanging(value); this._ContactTitle = value; this.OnContactTitleChanged(); this.OnPropertyChanged("ContactTitle"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _ContactTitle; partial void OnContactTitleChanging(string value); partial void OnContactTitleChanged(); /// /// There are no comments for Property Address in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string Address { get { return this._Address; } set { this.OnAddressChanging(value); this._Address = value; this.OnAddressChanged(); this.OnPropertyChanged("Address"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _Address; partial void OnAddressChanging(string value); partial void OnAddressChanged(); /// /// There are no comments for Property City in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string City { get { return this._City; } set { this.OnCityChanging(value); this._City = value; this.OnCityChanged(); this.OnPropertyChanged("City"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _City; partial void OnCityChanging(string value); partial void OnCityChanged(); /// /// There are no comments for Property Region in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string Region { get { return this._Region; } set { this.OnRegionChanging(value); this._Region = value; this.OnRegionChanged(); this.OnPropertyChanged("Region"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _Region; partial void OnRegionChanging(string value); partial void OnRegionChanged(); /// /// There are no comments for Property PostalCode in the schema. /// [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(); this.OnPropertyChanged("PostalCode"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _PostalCode; partial void OnPostalCodeChanging(string value); partial void OnPostalCodeChanged(); /// /// There are no comments for Property Country in the schema. /// [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(); this.OnPropertyChanged("Country"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _Country; partial void OnCountryChanging(string value); partial void OnCountryChanged(); /// /// There are no comments for Property Phone in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string Phone { get { return this._Phone; } set { this.OnPhoneChanging(value); this._Phone = value; this.OnPhoneChanged(); this.OnPropertyChanged("Phone"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _Phone; partial void OnPhoneChanging(string value); partial void OnPhoneChanged(); /// /// There are no comments for Property Fax in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string Fax { get { return this._Fax; } set { this.OnFaxChanging(value); this._Fax = value; this.OnFaxChanged(); this.OnPropertyChanged("Fax"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _Fax; partial void OnFaxChanging(string value); partial void OnFaxChanged(); /// /// There are no comments for Property EmployeeID in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public int EmployeeID { get { return this._EmployeeID; } set { this.OnEmployeeIDChanging(value); this._EmployeeID = value; this.OnEmployeeIDChanged(); this.OnPropertyChanged("EmployeeID"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private int _EmployeeID; partial void OnEmployeeIDChanging(int value); partial void OnEmployeeIDChanged(); /// /// There are no comments for Employee in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public Employee Employee { get { return this._Employee; } set { this._Employee = value; this.OnPropertyChanged("Employee"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private Employee _Employee; /// /// There are no comments for Orders in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Data.Services.Client.DataServiceCollection Orders { get { return this._Orders; } set { this._Orders = value; this.OnPropertyChanged("Orders"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Data.Services.Client.DataServiceCollection _Orders = new global::System.Data.Services.Client.DataServiceCollection(null, System.Data.Services.Client.TrackingMode.None); [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged; [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] protected virtual void OnPropertyChanged(string property) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new global::System.ComponentModel.PropertyChangedEventArgs(property)); } } } /// /// There are no comments for NorthwindModel.Employee in the schema. /// /// /// EmployeeID /// [global::System.Data.Services.Common.EntitySetAttribute("Employees")] [global::System.Data.Services.Common.DataServiceKeyAttribute("EmployeeID")] public partial class Employee : global::System.ComponentModel.INotifyPropertyChanged { /// /// Create a new Employee object. /// /// Initial value of EmployeeID. /// Initial value of LastName. /// Initial value of FirstName. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public static Employee CreateEmployee(int employeeID, string lastName, string firstName) { Employee employee = new Employee(); employee.EmployeeID = employeeID; employee.LastName = lastName; employee.FirstName = firstName; return employee; } /// /// There are no comments for Property EmployeeID in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public int EmployeeID { get { return this._EmployeeID; } set { this.OnEmployeeIDChanging(value); this._EmployeeID = value; this.OnEmployeeIDChanged(); this.OnPropertyChanged("EmployeeID"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private int _EmployeeID; partial void OnEmployeeIDChanging(int value); partial void OnEmployeeIDChanged(); /// /// There are no comments for Property LastName in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string LastName { get { return this._LastName; } set { this.OnLastNameChanging(value); this._LastName = value; this.OnLastNameChanged(); this.OnPropertyChanged("LastName"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _LastName; partial void OnLastNameChanging(string value); partial void OnLastNameChanged(); /// /// There are no comments for Property FirstName in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string FirstName { get { return this._FirstName; } set { this.OnFirstNameChanging(value); this._FirstName = value; this.OnFirstNameChanged(); this.OnPropertyChanged("FirstName"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _FirstName; partial void OnFirstNameChanging(string value); partial void OnFirstNameChanged(); /// /// There are no comments for Property Title in the schema. /// [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(); this.OnPropertyChanged("Title"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _Title; partial void OnTitleChanging(string value); partial void OnTitleChanged(); /// /// There are no comments for Property TitleOfCourtesy in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string TitleOfCourtesy { get { return this._TitleOfCourtesy; } set { this.OnTitleOfCourtesyChanging(value); this._TitleOfCourtesy = value; this.OnTitleOfCourtesyChanged(); this.OnPropertyChanged("TitleOfCourtesy"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _TitleOfCourtesy; partial void OnTitleOfCourtesyChanging(string value); partial void OnTitleOfCourtesyChanged(); /// /// There are no comments for Property BirthDate in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Nullable BirthDate { get { return this._BirthDate; } set { this.OnBirthDateChanging(value); this._BirthDate = value; this.OnBirthDateChanged(); this.OnPropertyChanged("BirthDate"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Nullable _BirthDate; partial void OnBirthDateChanging(global::System.Nullable value); partial void OnBirthDateChanged(); /// /// There are no comments for Property HireDate in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Nullable HireDate { get { return this._HireDate; } set { this.OnHireDateChanging(value); this._HireDate = value; this.OnHireDateChanged(); this.OnPropertyChanged("HireDate"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Nullable _HireDate; partial void OnHireDateChanging(global::System.Nullable value); partial void OnHireDateChanged(); /// /// There are no comments for Property Address in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string Address { get { return this._Address; } set { this.OnAddressChanging(value); this._Address = value; this.OnAddressChanged(); this.OnPropertyChanged("Address"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _Address; partial void OnAddressChanging(string value); partial void OnAddressChanged(); /// /// There are no comments for Property City in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string City { get { return this._City; } set { this.OnCityChanging(value); this._City = value; this.OnCityChanged(); this.OnPropertyChanged("City"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _City; partial void OnCityChanging(string value); partial void OnCityChanged(); /// /// There are no comments for Property Region in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string Region { get { return this._Region; } set { this.OnRegionChanging(value); this._Region = value; this.OnRegionChanged(); this.OnPropertyChanged("Region"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _Region; partial void OnRegionChanging(string value); partial void OnRegionChanged(); /// /// There are no comments for Property PostalCode in the schema. /// [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(); this.OnPropertyChanged("PostalCode"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _PostalCode; partial void OnPostalCodeChanging(string value); partial void OnPostalCodeChanged(); /// /// There are no comments for Property Country in the schema. /// [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(); this.OnPropertyChanged("Country"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _Country; partial void OnCountryChanging(string value); partial void OnCountryChanged(); /// /// There are no comments for Property HomePhone in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string HomePhone { get { return this._HomePhone; } set { this.OnHomePhoneChanging(value); this._HomePhone = value; this.OnHomePhoneChanged(); this.OnPropertyChanged("HomePhone"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _HomePhone; partial void OnHomePhoneChanging(string value); partial void OnHomePhoneChanged(); /// /// There are no comments for Property Extension in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string Extension { get { return this._Extension; } set { this.OnExtensionChanging(value); this._Extension = value; this.OnExtensionChanged(); this.OnPropertyChanged("Extension"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _Extension; partial void OnExtensionChanging(string value); partial void OnExtensionChanged(); /// /// There are no comments for Property Photo in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public byte[] Photo { get { if ((this._Photo != null)) { return ((byte[])(this._Photo.Clone())); } else { return null; } } set { this.OnPhotoChanging(value); this._Photo = value; this.OnPhotoChanged(); this.OnPropertyChanged("Photo"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private byte[] _Photo; partial void OnPhotoChanging(byte[] value); partial void OnPhotoChanged(); /// /// There are no comments for Property Notes in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string Notes { get { return this._Notes; } set { this.OnNotesChanging(value); this._Notes = value; this.OnNotesChanged(); this.OnPropertyChanged("Notes"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _Notes; partial void OnNotesChanging(string value); partial void OnNotesChanged(); /// /// There are no comments for Property ReportsTo in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Nullable ReportsTo { get { return this._ReportsTo; } set { this.OnReportsToChanging(value); this._ReportsTo = value; this.OnReportsToChanged(); this.OnPropertyChanged("ReportsTo"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Nullable _ReportsTo; partial void OnReportsToChanging(global::System.Nullable value); partial void OnReportsToChanged(); /// /// There are no comments for Property PhotoPath in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string PhotoPath { get { return this._PhotoPath; } set { this.OnPhotoPathChanging(value); this._PhotoPath = value; this.OnPhotoPathChanged(); this.OnPropertyChanged("PhotoPath"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _PhotoPath; partial void OnPhotoPathChanging(string value); partial void OnPhotoPathChanged(); /// /// There are no comments for Customers in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Data.Services.Client.DataServiceCollection Customers { get { return this._Customers; } set { this._Customers = value; this.OnPropertyChanged("Customers"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Data.Services.Client.DataServiceCollection _Customers = new global::System.Data.Services.Client.DataServiceCollection(null, System.Data.Services.Client.TrackingMode.None); /// /// There are no comments for Employees1 in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Data.Services.Client.DataServiceCollection Employees1 { get { return this._Employees1; } set { this._Employees1 = value; this.OnPropertyChanged("Employees1"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Data.Services.Client.DataServiceCollection _Employees1 = new global::System.Data.Services.Client.DataServiceCollection(null, System.Data.Services.Client.TrackingMode.None); /// /// There are no comments for Employee1 in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public Employee Employee1 { get { return this._Employee1; } set { this._Employee1 = value; this.OnPropertyChanged("Employee1"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private Employee _Employee1; /// /// There are no comments for Orders in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Data.Services.Client.DataServiceCollection Orders { get { return this._Orders; } set { this._Orders = value; this.OnPropertyChanged("Orders"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Data.Services.Client.DataServiceCollection _Orders = new global::System.Data.Services.Client.DataServiceCollection(null, System.Data.Services.Client.TrackingMode.None); [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged; [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] protected virtual void OnPropertyChanged(string property) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new global::System.ComponentModel.PropertyChangedEventArgs(property)); } } } /// /// There are no comments for NorthwindModel.Order_Detail in the schema. /// /// /// OrderID /// ProductID /// [global::System.Data.Services.Common.EntitySetAttribute("Order_Details")] [global::System.Data.Services.Common.DataServiceKeyAttribute("OrderID", "ProductID")] public partial class Order_Detail : global::System.ComponentModel.INotifyPropertyChanged { /// /// Create a new Order_Detail object. /// /// Initial value of OrderID. /// Initial value of ProductID. /// Initial value of UnitPrice. /// Initial value of Quantity. /// Initial value of Discount. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public static Order_Detail CreateOrder_Detail(int orderID, int productID, decimal unitPrice, short quantity, float discount) { Order_Detail order_Detail = new Order_Detail(); order_Detail.OrderID = orderID; order_Detail.ProductID = productID; order_Detail.UnitPrice = unitPrice; order_Detail.Quantity = quantity; order_Detail.Discount = discount; return order_Detail; } /// /// There are no comments for Property OrderID in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public int OrderID { get { return this._OrderID; } set { this.OnOrderIDChanging(value); this._OrderID = value; this.OnOrderIDChanged(); this.OnPropertyChanged("OrderID"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private int _OrderID; partial void OnOrderIDChanging(int value); partial void OnOrderIDChanged(); /// /// There are no comments for Property ProductID in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public int ProductID { get { return this._ProductID; } set { this.OnProductIDChanging(value); this._ProductID = value; this.OnProductIDChanged(); this.OnPropertyChanged("ProductID"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private int _ProductID; partial void OnProductIDChanging(int value); partial void OnProductIDChanged(); /// /// There are no comments for Property UnitPrice in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public decimal UnitPrice { get { return this._UnitPrice; } set { this.OnUnitPriceChanging(value); this._UnitPrice = value; this.OnUnitPriceChanged(); this.OnPropertyChanged("UnitPrice"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private decimal _UnitPrice; partial void OnUnitPriceChanging(decimal value); partial void OnUnitPriceChanged(); /// /// There are no comments for Property Quantity in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public short Quantity { get { return this._Quantity; } set { this.OnQuantityChanging(value); this._Quantity = value; this.OnQuantityChanged(); this.OnPropertyChanged("Quantity"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private short _Quantity; partial void OnQuantityChanging(short value); partial void OnQuantityChanged(); /// /// There are no comments for Property Discount in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public float Discount { get { return this._Discount; } set { this.OnDiscountChanging(value); this._Discount = value; this.OnDiscountChanged(); this.OnPropertyChanged("Discount"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private float _Discount; partial void OnDiscountChanging(float value); partial void OnDiscountChanged(); /// /// There are no comments for Order in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public Order Order { get { return this._Order; } set { this._Order = value; this.OnPropertyChanged("Order"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private Order _Order; /// /// There are no comments for Product in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public Product Product { get { return this._Product; } set { this._Product = value; this.OnPropertyChanged("Product"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private Product _Product; [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged; [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] protected virtual void OnPropertyChanged(string property) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new global::System.ComponentModel.PropertyChangedEventArgs(property)); } } } /// /// There are no comments for NorthwindModel.Order in the schema. /// /// /// OrderID /// [global::System.Data.Services.Common.EntitySetAttribute("Orders")] [global::System.Data.Services.Common.DataServiceKeyAttribute("OrderID")] public partial class Order : global::System.ComponentModel.INotifyPropertyChanged { /// /// Create a new Order object. /// /// Initial value of OrderID. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public static Order CreateOrder(int orderID) { Order order = new Order(); order.OrderID = orderID; return order; } /// /// There are no comments for Property OrderID in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public int OrderID { get { return this._OrderID; } set { this.OnOrderIDChanging(value); this._OrderID = value; this.OnOrderIDChanged(); this.OnPropertyChanged("OrderID"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private int _OrderID; partial void OnOrderIDChanging(int value); partial void OnOrderIDChanged(); /// /// There are no comments for Property CustomerID in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Nullable CustomerID { get { return this._CustomerID; } set { this.OnCustomerIDChanging(value); this._CustomerID = value; this.OnCustomerIDChanged(); this.OnPropertyChanged("CustomerID"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Nullable _CustomerID; partial void OnCustomerIDChanging(global::System.Nullable value); partial void OnCustomerIDChanged(); /// /// There are no comments for Property EmployeeID in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Nullable EmployeeID { get { return this._EmployeeID; } set { this.OnEmployeeIDChanging(value); this._EmployeeID = value; this.OnEmployeeIDChanged(); this.OnPropertyChanged("EmployeeID"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Nullable _EmployeeID; partial void OnEmployeeIDChanging(global::System.Nullable value); partial void OnEmployeeIDChanged(); /// /// There are no comments for Property OrderDate in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Nullable OrderDate { get { return this._OrderDate; } set { this.OnOrderDateChanging(value); this._OrderDate = value; this.OnOrderDateChanged(); this.OnPropertyChanged("OrderDate"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Nullable _OrderDate; partial void OnOrderDateChanging(global::System.Nullable value); partial void OnOrderDateChanged(); /// /// There are no comments for Property RequiredDate in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Nullable RequiredDate { get { return this._RequiredDate; } set { this.OnRequiredDateChanging(value); this._RequiredDate = value; this.OnRequiredDateChanged(); this.OnPropertyChanged("RequiredDate"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Nullable _RequiredDate; partial void OnRequiredDateChanging(global::System.Nullable value); partial void OnRequiredDateChanged(); /// /// There are no comments for Property ShippedDate in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Nullable ShippedDate { get { return this._ShippedDate; } set { this.OnShippedDateChanging(value); this._ShippedDate = value; this.OnShippedDateChanged(); this.OnPropertyChanged("ShippedDate"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Nullable _ShippedDate; partial void OnShippedDateChanging(global::System.Nullable value); partial void OnShippedDateChanged(); /// /// There are no comments for Property ShipVia in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Nullable ShipVia { get { return this._ShipVia; } set { this.OnShipViaChanging(value); this._ShipVia = value; this.OnShipViaChanged(); this.OnPropertyChanged("ShipVia"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Nullable _ShipVia; partial void OnShipViaChanging(global::System.Nullable value); partial void OnShipViaChanged(); /// /// There are no comments for Property Freight in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Nullable Freight { get { return this._Freight; } set { this.OnFreightChanging(value); this._Freight = value; this.OnFreightChanged(); this.OnPropertyChanged("Freight"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Nullable _Freight; partial void OnFreightChanging(global::System.Nullable value); partial void OnFreightChanged(); /// /// There are no comments for Property ShipName in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string ShipName { get { return this._ShipName; } set { this.OnShipNameChanging(value); this._ShipName = value; this.OnShipNameChanged(); this.OnPropertyChanged("ShipName"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _ShipName; partial void OnShipNameChanging(string value); partial void OnShipNameChanged(); /// /// There are no comments for Property ShipAddress in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string ShipAddress { get { return this._ShipAddress; } set { this.OnShipAddressChanging(value); this._ShipAddress = value; this.OnShipAddressChanged(); this.OnPropertyChanged("ShipAddress"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _ShipAddress; partial void OnShipAddressChanging(string value); partial void OnShipAddressChanged(); /// /// There are no comments for Property ShipCity in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string ShipCity { get { return this._ShipCity; } set { this.OnShipCityChanging(value); this._ShipCity = value; this.OnShipCityChanged(); this.OnPropertyChanged("ShipCity"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _ShipCity; partial void OnShipCityChanging(string value); partial void OnShipCityChanged(); /// /// There are no comments for Property ShipRegion in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string ShipRegion { get { return this._ShipRegion; } set { this.OnShipRegionChanging(value); this._ShipRegion = value; this.OnShipRegionChanged(); this.OnPropertyChanged("ShipRegion"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _ShipRegion; partial void OnShipRegionChanging(string value); partial void OnShipRegionChanged(); /// /// There are no comments for Property ShipPostalCode in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string ShipPostalCode { get { return this._ShipPostalCode; } set { this.OnShipPostalCodeChanging(value); this._ShipPostalCode = value; this.OnShipPostalCodeChanged(); this.OnPropertyChanged("ShipPostalCode"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _ShipPostalCode; partial void OnShipPostalCodeChanging(string value); partial void OnShipPostalCodeChanged(); /// /// There are no comments for Property ShipCountry in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string ShipCountry { get { return this._ShipCountry; } set { this.OnShipCountryChanging(value); this._ShipCountry = value; this.OnShipCountryChanged(); this.OnPropertyChanged("ShipCountry"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _ShipCountry; partial void OnShipCountryChanging(string value); partial void OnShipCountryChanged(); /// /// There are no comments for Customer in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public Customer Customer { get { return this._Customer; } set { this._Customer = value; this.OnPropertyChanged("Customer"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private Customer _Customer; /// /// There are no comments for Employee in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public Employee Employee { get { return this._Employee; } set { this._Employee = value; this.OnPropertyChanged("Employee"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private Employee _Employee; /// /// There are no comments for Order_Details in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Data.Services.Client.DataServiceCollection Order_Details { get { return this._Order_Details; } set { this._Order_Details = value; this.OnPropertyChanged("Order_Details"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Data.Services.Client.DataServiceCollection _Order_Details = new global::System.Data.Services.Client.DataServiceCollection(null, System.Data.Services.Client.TrackingMode.None); /// /// There are no comments for Shipper in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public Shipper Shipper { get { return this._Shipper; } set { this._Shipper = value; this.OnPropertyChanged("Shipper"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private Shipper _Shipper; [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged; [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] protected virtual void OnPropertyChanged(string property) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new global::System.ComponentModel.PropertyChangedEventArgs(property)); } } } /// /// There are no comments for NorthwindModel.Product in the schema. /// /// /// ProductID /// [global::System.Data.Services.Common.EntitySetAttribute("Products")] [global::System.Data.Services.Common.DataServiceKeyAttribute("ProductID")] public partial class Product : global::System.ComponentModel.INotifyPropertyChanged { /// /// Create a new Product object. /// /// Initial value of ProductID. /// Initial value of ProductName. /// Initial value of Discontinued. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public static Product CreateProduct(int productID, string productName, bool discontinued) { Product product = new Product(); product.ProductID = productID; product.ProductName = productName; product.Discontinued = discontinued; return product; } /// /// There are no comments for Property ProductID in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public int ProductID { get { return this._ProductID; } set { this.OnProductIDChanging(value); this._ProductID = value; this.OnProductIDChanged(); this.OnPropertyChanged("ProductID"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private int _ProductID; partial void OnProductIDChanging(int value); partial void OnProductIDChanged(); /// /// There are no comments for Property ProductName in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string ProductName { get { return this._ProductName; } set { this.OnProductNameChanging(value); this._ProductName = value; this.OnProductNameChanged(); this.OnPropertyChanged("ProductName"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _ProductName; partial void OnProductNameChanging(string value); partial void OnProductNameChanged(); /// /// There are no comments for Property CategoryID in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Nullable CategoryID { get { return this._CategoryID; } set { this.OnCategoryIDChanging(value); this._CategoryID = value; this.OnCategoryIDChanged(); this.OnPropertyChanged("CategoryID"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Nullable _CategoryID; partial void OnCategoryIDChanging(global::System.Nullable value); partial void OnCategoryIDChanged(); /// /// There are no comments for Property QuantityPerUnit in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string QuantityPerUnit { get { return this._QuantityPerUnit; } set { this.OnQuantityPerUnitChanging(value); this._QuantityPerUnit = value; this.OnQuantityPerUnitChanged(); this.OnPropertyChanged("QuantityPerUnit"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _QuantityPerUnit; partial void OnQuantityPerUnitChanging(string value); partial void OnQuantityPerUnitChanged(); /// /// There are no comments for Property UnitPrice in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Nullable UnitPrice { get { return this._UnitPrice; } set { this.OnUnitPriceChanging(value); this._UnitPrice = value; this.OnUnitPriceChanged(); this.OnPropertyChanged("UnitPrice"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Nullable _UnitPrice; partial void OnUnitPriceChanging(global::System.Nullable value); partial void OnUnitPriceChanged(); /// /// There are no comments for Property UnitsInStock in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Nullable UnitsInStock { get { return this._UnitsInStock; } set { this.OnUnitsInStockChanging(value); this._UnitsInStock = value; this.OnUnitsInStockChanged(); this.OnPropertyChanged("UnitsInStock"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Nullable _UnitsInStock; partial void OnUnitsInStockChanging(global::System.Nullable value); partial void OnUnitsInStockChanged(); /// /// There are no comments for Property UnitsOnOrder in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Nullable UnitsOnOrder { get { return this._UnitsOnOrder; } set { this.OnUnitsOnOrderChanging(value); this._UnitsOnOrder = value; this.OnUnitsOnOrderChanged(); this.OnPropertyChanged("UnitsOnOrder"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Nullable _UnitsOnOrder; partial void OnUnitsOnOrderChanging(global::System.Nullable value); partial void OnUnitsOnOrderChanged(); /// /// There are no comments for Property ReorderLevel in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Nullable ReorderLevel { get { return this._ReorderLevel; } set { this.OnReorderLevelChanging(value); this._ReorderLevel = value; this.OnReorderLevelChanged(); this.OnPropertyChanged("ReorderLevel"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Nullable _ReorderLevel; partial void OnReorderLevelChanging(global::System.Nullable value); partial void OnReorderLevelChanged(); /// /// There are no comments for Property Discontinued in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public bool Discontinued { get { return this._Discontinued; } set { this.OnDiscontinuedChanging(value); this._Discontinued = value; this.OnDiscontinuedChanged(); this.OnPropertyChanged("Discontinued"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private bool _Discontinued; partial void OnDiscontinuedChanging(bool value); partial void OnDiscontinuedChanged(); /// /// There are no comments for Property Picture in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public byte[] Picture { get { if ((this._Picture != null)) { return ((byte[])(this._Picture.Clone())); } else { return null; } } set { this.OnPictureChanging(value); this._Picture = value; this.OnPictureChanged(); this.OnPropertyChanged("Picture"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private byte[] _Picture; partial void OnPictureChanging(byte[] value); partial void OnPictureChanged(); /// /// There are no comments for Property PicturePath in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string PicturePath { get { return this._PicturePath; } set { this.OnPicturePathChanging(value); this._PicturePath = value; this.OnPicturePathChanged(); this.OnPropertyChanged("PicturePath"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _PicturePath; partial void OnPicturePathChanging(string value); partial void OnPicturePathChanged(); /// /// There are no comments for Category in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public Category Category { get { return this._Category; } set { this._Category = value; this.OnPropertyChanged("Category"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private Category _Category; /// /// There are no comments for Order_Details in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Data.Services.Client.DataServiceCollection Order_Details { get { return this._Order_Details; } set { this._Order_Details = value; this.OnPropertyChanged("Order_Details"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Data.Services.Client.DataServiceCollection _Order_Details = new global::System.Data.Services.Client.DataServiceCollection(null, System.Data.Services.Client.TrackingMode.None); [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged; [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] protected virtual void OnPropertyChanged(string property) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new global::System.ComponentModel.PropertyChangedEventArgs(property)); } } } /// /// There are no comments for NorthwindModel.Shipper in the schema. /// /// /// ShipperID /// [global::System.Data.Services.Common.EntitySetAttribute("Shippers")] [global::System.Data.Services.Common.DataServiceKeyAttribute("ShipperID")] public partial class Shipper : global::System.ComponentModel.INotifyPropertyChanged { /// /// Create a new Shipper object. /// /// Initial value of ShipperID. /// Initial value of CompanyName. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public static Shipper CreateShipper(int shipperID, string companyName) { Shipper shipper = new Shipper(); shipper.ShipperID = shipperID; shipper.CompanyName = companyName; return shipper; } /// /// There are no comments for Property ShipperID in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public int ShipperID { get { return this._ShipperID; } set { this.OnShipperIDChanging(value); this._ShipperID = value; this.OnShipperIDChanged(); this.OnPropertyChanged("ShipperID"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private int _ShipperID; partial void OnShipperIDChanging(int value); partial void OnShipperIDChanged(); /// /// There are no comments for Property CompanyName in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string CompanyName { get { return this._CompanyName; } set { this.OnCompanyNameChanging(value); this._CompanyName = value; this.OnCompanyNameChanged(); this.OnPropertyChanged("CompanyName"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _CompanyName; partial void OnCompanyNameChanging(string value); partial void OnCompanyNameChanged(); /// /// There are no comments for Property Phone in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public string Phone { get { return this._Phone; } set { this.OnPhoneChanging(value); this._Phone = value; this.OnPhoneChanged(); this.OnPropertyChanged("Phone"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private string _Phone; partial void OnPhoneChanging(string value); partial void OnPhoneChanged(); /// /// There are no comments for Orders in the schema. /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public global::System.Data.Services.Client.DataServiceCollection Orders { get { return this._Orders; } set { this._Orders = value; this.OnPropertyChanged("Orders"); } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] private global::System.Data.Services.Client.DataServiceCollection _Orders = new global::System.Data.Services.Client.DataServiceCollection(null, System.Data.Services.Client.TrackingMode.None); [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged; [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")] protected virtual void OnPropertyChanged(string property) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new global::System.ComponentModel.PropertyChangedEventArgs(property)); } } } }