diff --git a/DataServiceDataSource/DataServiceDataSource_NetCore.sln b/DataServiceDataSource/DataServiceDataSource_NetCore.sln
index f61be3f8..210c907d 100644
--- a/DataServiceDataSource/DataServiceDataSource_NetCore.sln
+++ b/DataServiceDataSource/DataServiceDataSource_NetCore.sln
@@ -1,9 +1,9 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 16
-VisualStudioVersion = 16.0.31112.23
+# Visual Studio Version 17
+VisualStudioVersion = 17.7.34031.279
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OData4Consumption", "OData4Consumption\OData4Consumption.csproj", "{DCAD10B8-6C6E-4BB4-AB1F-D23AA90E03A3}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OData4Consumption", "OData4ConsumptionNetCore\OData4Consumption.csproj", "{60274A79-55AC-4171-82E2-AA98C9EC586E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -11,10 +11,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {DCAD10B8-6C6E-4BB4-AB1F-D23AA90E03A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {DCAD10B8-6C6E-4BB4-AB1F-D23AA90E03A3}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {DCAD10B8-6C6E-4BB4-AB1F-D23AA90E03A3}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {DCAD10B8-6C6E-4BB4-AB1F-D23AA90E03A3}.Release|Any CPU.Build.0 = Release|Any CPU
+ {60274A79-55AC-4171-82E2-AA98C9EC586E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {60274A79-55AC-4171-82E2-AA98C9EC586E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {60274A79-55AC-4171-82E2-AA98C9EC586E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {60274A79-55AC-4171-82E2-AA98C9EC586E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -22,13 +22,4 @@ Global
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {08EB110B-CCE8-4FA8-B8F5-63628E2B7EA3}
EndGlobalSection
- GlobalSection(TeamFoundationVersionControl) = preSolution
- SccNumberOfProjects = 2
- SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}
- SccTeamFoundationServer = https://tfsemea.progress.com/defaultcollection
- SccProjectUniqueName0 = OData4Consumption\\OData4Consumption.csproj
- SccProjectName0 = OData4Consumption
- SccLocalPath0 = OData4Consumption
- SccLocalPath1 = .
- EndGlobalSection
EndGlobal
diff --git a/DataServiceDataSource/OData4ConsumptionNetCore/App.xaml b/DataServiceDataSource/OData4ConsumptionNetCore/App.xaml
new file mode 100644
index 00000000..8d8fa106
--- /dev/null
+++ b/DataServiceDataSource/OData4ConsumptionNetCore/App.xaml
@@ -0,0 +1,8 @@
+
+
+
+
+
diff --git a/DataServiceDataSource/OData4ConsumptionNetCore/App.xaml.cs b/DataServiceDataSource/OData4ConsumptionNetCore/App.xaml.cs
new file mode 100644
index 00000000..eab2969f
--- /dev/null
+++ b/DataServiceDataSource/OData4ConsumptionNetCore/App.xaml.cs
@@ -0,0 +1,8 @@
+using System.Windows;
+
+namespace OData4Consumption
+{
+ public partial class App : Application
+ {
+ }
+}
diff --git a/DataServiceDataSource/OData4ConsumptionNetCore/Connected Services/OData Service/ConnectedService.json b/DataServiceDataSource/OData4ConsumptionNetCore/Connected Services/OData Service/ConnectedService.json
new file mode 100644
index 00000000..2ca200c4
--- /dev/null
+++ b/DataServiceDataSource/OData4ConsumptionNetCore/Connected Services/OData Service/ConnectedService.json
@@ -0,0 +1,26 @@
+{
+ "ProviderId": "Microsoft.OData.ConnectedService",
+ "Version": "0.2.0",
+ "GettingStartedDocument": {
+ "Uri": "http://odata.github.io/odata.net/"
+ },
+ "ExtendedData": {
+ "EnableNamingAlias": false,
+ "IgnoreUnexpectedElementsAndAttributes": false,
+ "IncludeT4File": false,
+ "ServiceName": "OData Service",
+ "Endpoint": "http://services.odata.org/V4/Northwind/Northwind.svc/$metadata",
+ "EdmxVersion": {
+ "Major": 4,
+ "Minor": 0,
+ "Build": 0,
+ "Revision": 0,
+ "MajorRevision": 0,
+ "MinorRevision": 0
+ },
+ "GeneratedFileNamePrefix": "NorthwindEntities",
+ "UseNameSpacePrefix": false,
+ "NamespacePrefix": null,
+ "UseDataServiceCollection": true
+ }
+}
\ No newline at end of file
diff --git a/DataServiceDataSource/OData4ConsumptionNetCore/Connected Services/OData Service/NorthwindEntities.cs b/DataServiceDataSource/OData4ConsumptionNetCore/Connected Services/OData Service/NorthwindEntities.cs
new file mode 100644
index 00000000..d64a36ed
--- /dev/null
+++ b/DataServiceDataSource/OData4ConsumptionNetCore/Connected Services/OData Service/NorthwindEntities.cs
@@ -0,0 +1,8549 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+// Generation date: 12.12.2017 г. 17:48:31
+namespace NorthwindModel
+{
+ ///
+ /// There are no comments for CategorySingle in the schema.
+ ///
+ public partial class CategorySingle : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new CategorySingle object.
+ ///
+ public CategorySingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new CategorySingle object.
+ ///
+ public CategorySingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new CategorySingle object.
+ ///
+ public CategorySingle(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ ///
+ /// There are no comments for Products in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceQuery Products
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._Products == null))
+ {
+ this._Products = Context.CreateQuery(GetPath("Products"));
+ }
+ return this._Products;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceQuery _Products;
+ }
+ ///
+ /// There are no comments for Category in the schema.
+ ///
+ ///
+ /// CategoryID
+ ///
+ [global::Microsoft.OData.Client.Key("CategoryID")]
+ public partial class Category : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new Category object.
+ ///
+ /// Initial value of CategoryID.
+ /// Initial value of CategoryName.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public int CategoryID
+ {
+ get
+ {
+ return this._CategoryID;
+ }
+ set
+ {
+ this.OnCategoryIDChanging(value);
+ this._CategoryID = value;
+ this.OnCategoryIDChanged();
+ this.OnPropertyChanged("CategoryID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private int _CategoryID;
+ partial void OnCategoryIDChanging(int value);
+ partial void OnCategoryIDChanged();
+ ///
+ /// There are no comments for Property CategoryName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string CategoryName
+ {
+ get
+ {
+ return this._CategoryName;
+ }
+ set
+ {
+ this.OnCategoryNameChanging(value);
+ this._CategoryName = value;
+ this.OnCategoryNameChanged();
+ this.OnPropertyChanged("CategoryName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _CategoryName;
+ partial void OnCategoryNameChanging(string value);
+ partial void OnCategoryNameChanged();
+ ///
+ /// There are no comments for Property Description in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Description
+ {
+ get
+ {
+ return this._Description;
+ }
+ set
+ {
+ this.OnDescriptionChanging(value);
+ this._Description = value;
+ this.OnDescriptionChanged();
+ this.OnPropertyChanged("Description");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Description;
+ partial void OnDescriptionChanging(string value);
+ partial void OnDescriptionChanged();
+ ///
+ /// There are no comments for Property Picture in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public byte[] Picture
+ {
+ get
+ {
+ return this._Picture;
+ }
+ set
+ {
+ this.OnPictureChanging(value);
+ this._Picture = value;
+ this.OnPictureChanged();
+ this.OnPropertyChanged("Picture");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private byte[] _Picture;
+ partial void OnPictureChanging(byte[] value);
+ partial void OnPictureChanged();
+ ///
+ /// There are no comments for Property Products in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceCollection Products
+ {
+ get
+ {
+ return this._Products;
+ }
+ set
+ {
+ this.OnProductsChanging(value);
+ this._Products = value;
+ this.OnProductsChanged();
+ this.OnPropertyChanged("Products");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceCollection _Products = new global::Microsoft.OData.Client.DataServiceCollection(null, global::Microsoft.OData.Client.TrackingMode.None);
+ partial void OnProductsChanging(global::Microsoft.OData.Client.DataServiceCollection value);
+ partial void OnProductsChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 CustomerDemographicSingle in the schema.
+ ///
+ public partial class CustomerDemographicSingle : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new CustomerDemographicSingle object.
+ ///
+ public CustomerDemographicSingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new CustomerDemographicSingle object.
+ ///
+ public CustomerDemographicSingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new CustomerDemographicSingle object.
+ ///
+ public CustomerDemographicSingle(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ ///
+ /// There are no comments for Customers in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceQuery Customers
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._Customers == null))
+ {
+ this._Customers = Context.CreateQuery(GetPath("Customers"));
+ }
+ return this._Customers;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceQuery _Customers;
+ }
+ ///
+ /// There are no comments for CustomerDemographic in the schema.
+ ///
+ ///
+ /// CustomerTypeID
+ ///
+ [global::Microsoft.OData.Client.Key("CustomerTypeID")]
+ public partial class CustomerDemographic : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new CustomerDemographic object.
+ ///
+ /// Initial value of CustomerTypeID.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public static CustomerDemographic CreateCustomerDemographic(string customerTypeID)
+ {
+ CustomerDemographic customerDemographic = new CustomerDemographic();
+ customerDemographic.CustomerTypeID = customerTypeID;
+ return customerDemographic;
+ }
+ ///
+ /// There are no comments for Property CustomerTypeID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string CustomerTypeID
+ {
+ get
+ {
+ return this._CustomerTypeID;
+ }
+ set
+ {
+ this.OnCustomerTypeIDChanging(value);
+ this._CustomerTypeID = value;
+ this.OnCustomerTypeIDChanged();
+ this.OnPropertyChanged("CustomerTypeID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _CustomerTypeID;
+ partial void OnCustomerTypeIDChanging(string value);
+ partial void OnCustomerTypeIDChanged();
+ ///
+ /// There are no comments for Property CustomerDesc in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string CustomerDesc
+ {
+ get
+ {
+ return this._CustomerDesc;
+ }
+ set
+ {
+ this.OnCustomerDescChanging(value);
+ this._CustomerDesc = value;
+ this.OnCustomerDescChanged();
+ this.OnPropertyChanged("CustomerDesc");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _CustomerDesc;
+ partial void OnCustomerDescChanging(string value);
+ partial void OnCustomerDescChanged();
+ ///
+ /// There are no comments for Property Customers in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceCollection Customers
+ {
+ get
+ {
+ return this._Customers;
+ }
+ set
+ {
+ this.OnCustomersChanging(value);
+ this._Customers = value;
+ this.OnCustomersChanged();
+ this.OnPropertyChanged("Customers");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceCollection _Customers = new global::Microsoft.OData.Client.DataServiceCollection(null, global::Microsoft.OData.Client.TrackingMode.None);
+ partial void OnCustomersChanging(global::Microsoft.OData.Client.DataServiceCollection value);
+ partial void OnCustomersChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 CustomerSingle in the schema.
+ ///
+ public partial class CustomerSingle : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new CustomerSingle object.
+ ///
+ public CustomerSingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new CustomerSingle object.
+ ///
+ public CustomerSingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new CustomerSingle object.
+ ///
+ public CustomerSingle(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ ///
+ /// There are no comments for Orders in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceQuery Orders
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._Orders == null))
+ {
+ this._Orders = Context.CreateQuery(GetPath("Orders"));
+ }
+ return this._Orders;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceQuery _Orders;
+ ///
+ /// There are no comments for CustomerDemographics in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceQuery CustomerDemographics
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._CustomerDemographics == null))
+ {
+ this._CustomerDemographics = Context.CreateQuery(GetPath("CustomerDemographics"));
+ }
+ return this._CustomerDemographics;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceQuery _CustomerDemographics;
+ }
+ ///
+ /// There are no comments for Customer in the schema.
+ ///
+ ///
+ /// CustomerID
+ ///
+ [global::Microsoft.OData.Client.Key("CustomerID")]
+ public partial class Customer : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new Customer object.
+ ///
+ /// Initial value of CustomerID.
+ /// Initial value of CompanyName.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public static Customer CreateCustomer(string customerID, string companyName)
+ {
+ Customer customer = new Customer();
+ customer.CustomerID = customerID;
+ customer.CompanyName = companyName;
+ return customer;
+ }
+ ///
+ /// There are no comments for Property CustomerID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string CustomerID
+ {
+ get
+ {
+ return this._CustomerID;
+ }
+ set
+ {
+ this.OnCustomerIDChanging(value);
+ this._CustomerID = value;
+ this.OnCustomerIDChanged();
+ this.OnPropertyChanged("CustomerID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _CustomerID;
+ partial void OnCustomerIDChanging(string value);
+ partial void OnCustomerIDChanged();
+ ///
+ /// There are no comments for Property CompanyName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string CompanyName
+ {
+ get
+ {
+ return this._CompanyName;
+ }
+ set
+ {
+ this.OnCompanyNameChanging(value);
+ this._CompanyName = value;
+ this.OnCompanyNameChanged();
+ this.OnPropertyChanged("CompanyName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _CompanyName;
+ partial void OnCompanyNameChanging(string value);
+ partial void OnCompanyNameChanged();
+ ///
+ /// There are no comments for Property ContactName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ContactName
+ {
+ get
+ {
+ return this._ContactName;
+ }
+ set
+ {
+ this.OnContactNameChanging(value);
+ this._ContactName = value;
+ this.OnContactNameChanged();
+ this.OnPropertyChanged("ContactName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ContactName;
+ partial void OnContactNameChanging(string value);
+ partial void OnContactNameChanged();
+ ///
+ /// There are no comments for Property ContactTitle in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ContactTitle
+ {
+ get
+ {
+ return this._ContactTitle;
+ }
+ set
+ {
+ this.OnContactTitleChanging(value);
+ this._ContactTitle = value;
+ this.OnContactTitleChanged();
+ this.OnPropertyChanged("ContactTitle");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ContactTitle;
+ partial void OnContactTitleChanging(string value);
+ partial void OnContactTitleChanged();
+ ///
+ /// There are no comments for Property Address in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Address
+ {
+ get
+ {
+ return this._Address;
+ }
+ set
+ {
+ this.OnAddressChanging(value);
+ this._Address = value;
+ this.OnAddressChanged();
+ this.OnPropertyChanged("Address");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Address;
+ partial void OnAddressChanging(string value);
+ partial void OnAddressChanged();
+ ///
+ /// There are no comments for Property City in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string City
+ {
+ get
+ {
+ return this._City;
+ }
+ set
+ {
+ this.OnCityChanging(value);
+ this._City = value;
+ this.OnCityChanged();
+ this.OnPropertyChanged("City");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _City;
+ partial void OnCityChanging(string value);
+ partial void OnCityChanged();
+ ///
+ /// There are no comments for Property Region in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Region
+ {
+ get
+ {
+ return this._Region;
+ }
+ set
+ {
+ this.OnRegionChanging(value);
+ this._Region = value;
+ this.OnRegionChanged();
+ this.OnPropertyChanged("Region");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Region;
+ partial void OnRegionChanging(string value);
+ partial void OnRegionChanged();
+ ///
+ /// There are no comments for Property PostalCode in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string PostalCode
+ {
+ get
+ {
+ return this._PostalCode;
+ }
+ set
+ {
+ this.OnPostalCodeChanging(value);
+ this._PostalCode = value;
+ this.OnPostalCodeChanged();
+ this.OnPropertyChanged("PostalCode");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _PostalCode;
+ partial void OnPostalCodeChanging(string value);
+ partial void OnPostalCodeChanged();
+ ///
+ /// There are no comments for Property Country in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Country
+ {
+ get
+ {
+ return this._Country;
+ }
+ set
+ {
+ this.OnCountryChanging(value);
+ this._Country = value;
+ this.OnCountryChanged();
+ this.OnPropertyChanged("Country");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Country;
+ partial void OnCountryChanging(string value);
+ partial void OnCountryChanged();
+ ///
+ /// There are no comments for Property Phone in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Phone
+ {
+ get
+ {
+ return this._Phone;
+ }
+ set
+ {
+ this.OnPhoneChanging(value);
+ this._Phone = value;
+ this.OnPhoneChanged();
+ this.OnPropertyChanged("Phone");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Phone;
+ partial void OnPhoneChanging(string value);
+ partial void OnPhoneChanged();
+ ///
+ /// There are no comments for Property Fax in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Fax
+ {
+ get
+ {
+ return this._Fax;
+ }
+ set
+ {
+ this.OnFaxChanging(value);
+ this._Fax = value;
+ this.OnFaxChanged();
+ this.OnPropertyChanged("Fax");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Fax;
+ partial void OnFaxChanging(string value);
+ partial void OnFaxChanged();
+ ///
+ /// There are no comments for Property Orders in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceCollection Orders
+ {
+ get
+ {
+ return this._Orders;
+ }
+ set
+ {
+ this.OnOrdersChanging(value);
+ this._Orders = value;
+ this.OnOrdersChanged();
+ this.OnPropertyChanged("Orders");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceCollection _Orders = new global::Microsoft.OData.Client.DataServiceCollection(null, global::Microsoft.OData.Client.TrackingMode.None);
+ partial void OnOrdersChanging(global::Microsoft.OData.Client.DataServiceCollection value);
+ partial void OnOrdersChanged();
+ ///
+ /// There are no comments for Property CustomerDemographics in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceCollection CustomerDemographics
+ {
+ get
+ {
+ return this._CustomerDemographics;
+ }
+ set
+ {
+ this.OnCustomerDemographicsChanging(value);
+ this._CustomerDemographics = value;
+ this.OnCustomerDemographicsChanged();
+ this.OnPropertyChanged("CustomerDemographics");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceCollection _CustomerDemographics = new global::Microsoft.OData.Client.DataServiceCollection(null, global::Microsoft.OData.Client.TrackingMode.None);
+ partial void OnCustomerDemographicsChanging(global::Microsoft.OData.Client.DataServiceCollection value);
+ partial void OnCustomerDemographicsChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 EmployeeSingle in the schema.
+ ///
+ public partial class EmployeeSingle : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new EmployeeSingle object.
+ ///
+ public EmployeeSingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new EmployeeSingle object.
+ ///
+ public EmployeeSingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new EmployeeSingle object.
+ ///
+ public EmployeeSingle(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ ///
+ /// There are no comments for Employees1 in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceQuery Employees1
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._Employees1 == null))
+ {
+ this._Employees1 = Context.CreateQuery(GetPath("Employees1"));
+ }
+ return this._Employees1;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceQuery _Employees1;
+ ///
+ /// There are no comments for Employee1 in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::NorthwindModel.EmployeeSingle Employee1
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._Employee1 == null))
+ {
+ this._Employee1 = new global::NorthwindModel.EmployeeSingle(this.Context, GetPath("Employee1"));
+ }
+ return this._Employee1;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::NorthwindModel.EmployeeSingle _Employee1;
+ ///
+ /// There are no comments for Orders in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceQuery Orders
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._Orders == null))
+ {
+ this._Orders = Context.CreateQuery(GetPath("Orders"));
+ }
+ return this._Orders;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceQuery _Orders;
+ ///
+ /// There are no comments for Territories in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceQuery Territories
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._Territories == null))
+ {
+ this._Territories = Context.CreateQuery(GetPath("Territories"));
+ }
+ return this._Territories;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceQuery _Territories;
+ }
+ ///
+ /// There are no comments for Employee in the schema.
+ ///
+ ///
+ /// EmployeeID
+ ///
+ [global::Microsoft.OData.Client.Key("EmployeeID")]
+ public partial class Employee : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new Employee object.
+ ///
+ /// Initial value of EmployeeID.
+ /// Initial value of LastName.
+ /// Initial value of FirstName.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public int EmployeeID
+ {
+ get
+ {
+ return this._EmployeeID;
+ }
+ set
+ {
+ this.OnEmployeeIDChanging(value);
+ this._EmployeeID = value;
+ this.OnEmployeeIDChanged();
+ this.OnPropertyChanged("EmployeeID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private int _EmployeeID;
+ partial void OnEmployeeIDChanging(int value);
+ partial void OnEmployeeIDChanged();
+ ///
+ /// There are no comments for Property LastName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string LastName
+ {
+ get
+ {
+ return this._LastName;
+ }
+ set
+ {
+ this.OnLastNameChanging(value);
+ this._LastName = value;
+ this.OnLastNameChanged();
+ this.OnPropertyChanged("LastName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _LastName;
+ partial void OnLastNameChanging(string value);
+ partial void OnLastNameChanged();
+ ///
+ /// There are no comments for Property FirstName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string FirstName
+ {
+ get
+ {
+ return this._FirstName;
+ }
+ set
+ {
+ this.OnFirstNameChanging(value);
+ this._FirstName = value;
+ this.OnFirstNameChanged();
+ this.OnPropertyChanged("FirstName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _FirstName;
+ partial void OnFirstNameChanging(string value);
+ partial void OnFirstNameChanged();
+ ///
+ /// There are no comments for Property Title in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Title
+ {
+ get
+ {
+ return this._Title;
+ }
+ set
+ {
+ this.OnTitleChanging(value);
+ this._Title = value;
+ this.OnTitleChanged();
+ this.OnPropertyChanged("Title");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Title;
+ partial void OnTitleChanging(string value);
+ partial void OnTitleChanged();
+ ///
+ /// There are no comments for Property TitleOfCourtesy in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string TitleOfCourtesy
+ {
+ get
+ {
+ return this._TitleOfCourtesy;
+ }
+ set
+ {
+ this.OnTitleOfCourtesyChanging(value);
+ this._TitleOfCourtesy = value;
+ this.OnTitleOfCourtesyChanged();
+ this.OnPropertyChanged("TitleOfCourtesy");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _TitleOfCourtesy;
+ partial void OnTitleOfCourtesyChanging(string value);
+ partial void OnTitleOfCourtesyChanged();
+ ///
+ /// There are no comments for Property BirthDate in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable BirthDate
+ {
+ get
+ {
+ return this._BirthDate;
+ }
+ set
+ {
+ this.OnBirthDateChanging(value);
+ this._BirthDate = value;
+ this.OnBirthDateChanged();
+ this.OnPropertyChanged("BirthDate");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable HireDate
+ {
+ get
+ {
+ return this._HireDate;
+ }
+ set
+ {
+ this.OnHireDateChanging(value);
+ this._HireDate = value;
+ this.OnHireDateChanged();
+ this.OnPropertyChanged("HireDate");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Address
+ {
+ get
+ {
+ return this._Address;
+ }
+ set
+ {
+ this.OnAddressChanging(value);
+ this._Address = value;
+ this.OnAddressChanged();
+ this.OnPropertyChanged("Address");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Address;
+ partial void OnAddressChanging(string value);
+ partial void OnAddressChanged();
+ ///
+ /// There are no comments for Property City in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string City
+ {
+ get
+ {
+ return this._City;
+ }
+ set
+ {
+ this.OnCityChanging(value);
+ this._City = value;
+ this.OnCityChanged();
+ this.OnPropertyChanged("City");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _City;
+ partial void OnCityChanging(string value);
+ partial void OnCityChanged();
+ ///
+ /// There are no comments for Property Region in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Region
+ {
+ get
+ {
+ return this._Region;
+ }
+ set
+ {
+ this.OnRegionChanging(value);
+ this._Region = value;
+ this.OnRegionChanged();
+ this.OnPropertyChanged("Region");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Region;
+ partial void OnRegionChanging(string value);
+ partial void OnRegionChanged();
+ ///
+ /// There are no comments for Property PostalCode in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string PostalCode
+ {
+ get
+ {
+ return this._PostalCode;
+ }
+ set
+ {
+ this.OnPostalCodeChanging(value);
+ this._PostalCode = value;
+ this.OnPostalCodeChanged();
+ this.OnPropertyChanged("PostalCode");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _PostalCode;
+ partial void OnPostalCodeChanging(string value);
+ partial void OnPostalCodeChanged();
+ ///
+ /// There are no comments for Property Country in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Country
+ {
+ get
+ {
+ return this._Country;
+ }
+ set
+ {
+ this.OnCountryChanging(value);
+ this._Country = value;
+ this.OnCountryChanged();
+ this.OnPropertyChanged("Country");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Country;
+ partial void OnCountryChanging(string value);
+ partial void OnCountryChanged();
+ ///
+ /// There are no comments for Property HomePhone in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string HomePhone
+ {
+ get
+ {
+ return this._HomePhone;
+ }
+ set
+ {
+ this.OnHomePhoneChanging(value);
+ this._HomePhone = value;
+ this.OnHomePhoneChanged();
+ this.OnPropertyChanged("HomePhone");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _HomePhone;
+ partial void OnHomePhoneChanging(string value);
+ partial void OnHomePhoneChanged();
+ ///
+ /// There are no comments for Property Extension in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Extension
+ {
+ get
+ {
+ return this._Extension;
+ }
+ set
+ {
+ this.OnExtensionChanging(value);
+ this._Extension = value;
+ this.OnExtensionChanged();
+ this.OnPropertyChanged("Extension");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Extension;
+ partial void OnExtensionChanging(string value);
+ partial void OnExtensionChanged();
+ ///
+ /// There are no comments for Property Photo in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public byte[] Photo
+ {
+ get
+ {
+ return this._Photo;
+ }
+ set
+ {
+ this.OnPhotoChanging(value);
+ this._Photo = value;
+ this.OnPhotoChanged();
+ this.OnPropertyChanged("Photo");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private byte[] _Photo;
+ partial void OnPhotoChanging(byte[] value);
+ partial void OnPhotoChanged();
+ ///
+ /// There are no comments for Property Notes in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Notes
+ {
+ get
+ {
+ return this._Notes;
+ }
+ set
+ {
+ this.OnNotesChanging(value);
+ this._Notes = value;
+ this.OnNotesChanged();
+ this.OnPropertyChanged("Notes");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Notes;
+ partial void OnNotesChanging(string value);
+ partial void OnNotesChanged();
+ ///
+ /// There are no comments for Property ReportsTo in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable ReportsTo
+ {
+ get
+ {
+ return this._ReportsTo;
+ }
+ set
+ {
+ this.OnReportsToChanging(value);
+ this._ReportsTo = value;
+ this.OnReportsToChanged();
+ this.OnPropertyChanged("ReportsTo");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string PhotoPath
+ {
+ get
+ {
+ return this._PhotoPath;
+ }
+ set
+ {
+ this.OnPhotoPathChanging(value);
+ this._PhotoPath = value;
+ this.OnPhotoPathChanged();
+ this.OnPropertyChanged("PhotoPath");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _PhotoPath;
+ partial void OnPhotoPathChanging(string value);
+ partial void OnPhotoPathChanged();
+ ///
+ /// There are no comments for Property Employees1 in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceCollection Employees1
+ {
+ get
+ {
+ return this._Employees1;
+ }
+ set
+ {
+ this.OnEmployees1Changing(value);
+ this._Employees1 = value;
+ this.OnEmployees1Changed();
+ this.OnPropertyChanged("Employees1");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceCollection _Employees1 = new global::Microsoft.OData.Client.DataServiceCollection(null, global::Microsoft.OData.Client.TrackingMode.None);
+ partial void OnEmployees1Changing(global::Microsoft.OData.Client.DataServiceCollection value);
+ partial void OnEmployees1Changed();
+ ///
+ /// There are no comments for Property Employee1 in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::NorthwindModel.Employee Employee1
+ {
+ get
+ {
+ return this._Employee1;
+ }
+ set
+ {
+ this.OnEmployee1Changing(value);
+ this._Employee1 = value;
+ this.OnEmployee1Changed();
+ this.OnPropertyChanged("Employee1");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::NorthwindModel.Employee _Employee1;
+ partial void OnEmployee1Changing(global::NorthwindModel.Employee value);
+ partial void OnEmployee1Changed();
+ ///
+ /// There are no comments for Property Orders in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceCollection Orders
+ {
+ get
+ {
+ return this._Orders;
+ }
+ set
+ {
+ this.OnOrdersChanging(value);
+ this._Orders = value;
+ this.OnOrdersChanged();
+ this.OnPropertyChanged("Orders");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceCollection _Orders = new global::Microsoft.OData.Client.DataServiceCollection(null, global::Microsoft.OData.Client.TrackingMode.None);
+ partial void OnOrdersChanging(global::Microsoft.OData.Client.DataServiceCollection value);
+ partial void OnOrdersChanged();
+ ///
+ /// There are no comments for Property Territories in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceCollection Territories
+ {
+ get
+ {
+ return this._Territories;
+ }
+ set
+ {
+ this.OnTerritoriesChanging(value);
+ this._Territories = value;
+ this.OnTerritoriesChanged();
+ this.OnPropertyChanged("Territories");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceCollection _Territories = new global::Microsoft.OData.Client.DataServiceCollection(null, global::Microsoft.OData.Client.TrackingMode.None);
+ partial void OnTerritoriesChanging(global::Microsoft.OData.Client.DataServiceCollection value);
+ partial void OnTerritoriesChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 Order_DetailSingle in the schema.
+ ///
+ public partial class Order_DetailSingle : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new Order_DetailSingle object.
+ ///
+ public Order_DetailSingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new Order_DetailSingle object.
+ ///
+ public Order_DetailSingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new Order_DetailSingle object.
+ ///
+ public Order_DetailSingle(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ ///
+ /// There are no comments for Order in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::NorthwindModel.OrderSingle Order
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._Order == null))
+ {
+ this._Order = new global::NorthwindModel.OrderSingle(this.Context, GetPath("Order"));
+ }
+ return this._Order;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::NorthwindModel.OrderSingle _Order;
+ ///
+ /// There are no comments for Product in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::NorthwindModel.ProductSingle Product
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._Product == null))
+ {
+ this._Product = new global::NorthwindModel.ProductSingle(this.Context, GetPath("Product"));
+ }
+ return this._Product;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::NorthwindModel.ProductSingle _Product;
+ }
+ ///
+ /// There are no comments for Order_Detail in the schema.
+ ///
+ ///
+ /// OrderID
+ /// ProductID
+ ///
+ [global::Microsoft.OData.Client.Key("OrderID", "ProductID")]
+ public partial class Order_Detail : global::Microsoft.OData.Client.BaseEntityType, 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.
+ /// Initial value of Order.
+ /// Initial value of Product.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public static Order_Detail CreateOrder_Detail(int orderID,
+ int productID,
+ decimal unitPrice,
+ short quantity,
+ float discount,
+ global::NorthwindModel.Order order,
+ global::NorthwindModel.Product product)
+ {
+ 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;
+ if ((order == null))
+ {
+ throw new global::System.ArgumentNullException("order");
+ }
+ order_Detail.Order = order;
+ if ((product == null))
+ {
+ throw new global::System.ArgumentNullException("product");
+ }
+ order_Detail.Product = product;
+ return order_Detail;
+ }
+ ///
+ /// There are no comments for Property OrderID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public int OrderID
+ {
+ get
+ {
+ return this._OrderID;
+ }
+ set
+ {
+ this.OnOrderIDChanging(value);
+ this._OrderID = value;
+ this.OnOrderIDChanged();
+ this.OnPropertyChanged("OrderID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private int _OrderID;
+ partial void OnOrderIDChanging(int value);
+ partial void OnOrderIDChanged();
+ ///
+ /// There are no comments for Property ProductID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public int ProductID
+ {
+ get
+ {
+ return this._ProductID;
+ }
+ set
+ {
+ this.OnProductIDChanging(value);
+ this._ProductID = value;
+ this.OnProductIDChanged();
+ this.OnPropertyChanged("ProductID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private int _ProductID;
+ partial void OnProductIDChanging(int value);
+ partial void OnProductIDChanged();
+ ///
+ /// There are no comments for Property UnitPrice in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public decimal UnitPrice
+ {
+ get
+ {
+ return this._UnitPrice;
+ }
+ set
+ {
+ this.OnUnitPriceChanging(value);
+ this._UnitPrice = value;
+ this.OnUnitPriceChanged();
+ this.OnPropertyChanged("UnitPrice");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private decimal _UnitPrice;
+ partial void OnUnitPriceChanging(decimal value);
+ partial void OnUnitPriceChanged();
+ ///
+ /// There are no comments for Property Quantity in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public short Quantity
+ {
+ get
+ {
+ return this._Quantity;
+ }
+ set
+ {
+ this.OnQuantityChanging(value);
+ this._Quantity = value;
+ this.OnQuantityChanged();
+ this.OnPropertyChanged("Quantity");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private short _Quantity;
+ partial void OnQuantityChanging(short value);
+ partial void OnQuantityChanged();
+ ///
+ /// There are no comments for Property Discount in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public float Discount
+ {
+ get
+ {
+ return this._Discount;
+ }
+ set
+ {
+ this.OnDiscountChanging(value);
+ this._Discount = value;
+ this.OnDiscountChanged();
+ this.OnPropertyChanged("Discount");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private float _Discount;
+ partial void OnDiscountChanging(float value);
+ partial void OnDiscountChanged();
+ ///
+ /// There are no comments for Property Order in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::NorthwindModel.Order Order
+ {
+ get
+ {
+ return this._Order;
+ }
+ set
+ {
+ this.OnOrderChanging(value);
+ this._Order = value;
+ this.OnOrderChanged();
+ this.OnPropertyChanged("Order");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::NorthwindModel.Order _Order;
+ partial void OnOrderChanging(global::NorthwindModel.Order value);
+ partial void OnOrderChanged();
+ ///
+ /// There are no comments for Property Product in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::NorthwindModel.Product Product
+ {
+ get
+ {
+ return this._Product;
+ }
+ set
+ {
+ this.OnProductChanging(value);
+ this._Product = value;
+ this.OnProductChanged();
+ this.OnPropertyChanged("Product");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::NorthwindModel.Product _Product;
+ partial void OnProductChanging(global::NorthwindModel.Product value);
+ partial void OnProductChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 OrderSingle in the schema.
+ ///
+ public partial class OrderSingle : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new OrderSingle object.
+ ///
+ public OrderSingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new OrderSingle object.
+ ///
+ public OrderSingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new OrderSingle object.
+ ///
+ public OrderSingle(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ ///
+ /// There are no comments for Customer in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::NorthwindModel.CustomerSingle Customer
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._Customer == null))
+ {
+ this._Customer = new global::NorthwindModel.CustomerSingle(this.Context, GetPath("Customer"));
+ }
+ return this._Customer;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::NorthwindModel.CustomerSingle _Customer;
+ ///
+ /// There are no comments for Employee in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::NorthwindModel.EmployeeSingle Employee
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._Employee == null))
+ {
+ this._Employee = new global::NorthwindModel.EmployeeSingle(this.Context, GetPath("Employee"));
+ }
+ return this._Employee;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::NorthwindModel.EmployeeSingle _Employee;
+ ///
+ /// There are no comments for Order_Details in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceQuery Order_Details
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._Order_Details == null))
+ {
+ this._Order_Details = Context.CreateQuery(GetPath("Order_Details"));
+ }
+ return this._Order_Details;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceQuery _Order_Details;
+ ///
+ /// There are no comments for Shipper in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::NorthwindModel.ShipperSingle Shipper
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._Shipper == null))
+ {
+ this._Shipper = new global::NorthwindModel.ShipperSingle(this.Context, GetPath("Shipper"));
+ }
+ return this._Shipper;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::NorthwindModel.ShipperSingle _Shipper;
+ }
+ ///
+ /// There are no comments for Order in the schema.
+ ///
+ ///
+ /// OrderID
+ ///
+ [global::Microsoft.OData.Client.Key("OrderID")]
+ public partial class Order : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new Order object.
+ ///
+ /// Initial value of OrderID.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public int OrderID
+ {
+ get
+ {
+ return this._OrderID;
+ }
+ set
+ {
+ this.OnOrderIDChanging(value);
+ this._OrderID = value;
+ this.OnOrderIDChanged();
+ this.OnPropertyChanged("OrderID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private int _OrderID;
+ partial void OnOrderIDChanging(int value);
+ partial void OnOrderIDChanged();
+ ///
+ /// There are no comments for Property CustomerID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string CustomerID
+ {
+ get
+ {
+ return this._CustomerID;
+ }
+ set
+ {
+ this.OnCustomerIDChanging(value);
+ this._CustomerID = value;
+ this.OnCustomerIDChanged();
+ this.OnPropertyChanged("CustomerID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _CustomerID;
+ partial void OnCustomerIDChanging(string value);
+ partial void OnCustomerIDChanged();
+ ///
+ /// There are no comments for Property EmployeeID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable EmployeeID
+ {
+ get
+ {
+ return this._EmployeeID;
+ }
+ set
+ {
+ this.OnEmployeeIDChanging(value);
+ this._EmployeeID = value;
+ this.OnEmployeeIDChanged();
+ this.OnPropertyChanged("EmployeeID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable OrderDate
+ {
+ get
+ {
+ return this._OrderDate;
+ }
+ set
+ {
+ this.OnOrderDateChanging(value);
+ this._OrderDate = value;
+ this.OnOrderDateChanged();
+ this.OnPropertyChanged("OrderDate");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable RequiredDate
+ {
+ get
+ {
+ return this._RequiredDate;
+ }
+ set
+ {
+ this.OnRequiredDateChanging(value);
+ this._RequiredDate = value;
+ this.OnRequiredDateChanged();
+ this.OnPropertyChanged("RequiredDate");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable ShippedDate
+ {
+ get
+ {
+ return this._ShippedDate;
+ }
+ set
+ {
+ this.OnShippedDateChanging(value);
+ this._ShippedDate = value;
+ this.OnShippedDateChanged();
+ this.OnPropertyChanged("ShippedDate");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable ShipVia
+ {
+ get
+ {
+ return this._ShipVia;
+ }
+ set
+ {
+ this.OnShipViaChanging(value);
+ this._ShipVia = value;
+ this.OnShipViaChanged();
+ this.OnPropertyChanged("ShipVia");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable Freight
+ {
+ get
+ {
+ return this._Freight;
+ }
+ set
+ {
+ this.OnFreightChanging(value);
+ this._Freight = value;
+ this.OnFreightChanged();
+ this.OnPropertyChanged("Freight");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ShipName
+ {
+ get
+ {
+ return this._ShipName;
+ }
+ set
+ {
+ this.OnShipNameChanging(value);
+ this._ShipName = value;
+ this.OnShipNameChanged();
+ this.OnPropertyChanged("ShipName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ShipName;
+ partial void OnShipNameChanging(string value);
+ partial void OnShipNameChanged();
+ ///
+ /// There are no comments for Property ShipAddress in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ShipAddress
+ {
+ get
+ {
+ return this._ShipAddress;
+ }
+ set
+ {
+ this.OnShipAddressChanging(value);
+ this._ShipAddress = value;
+ this.OnShipAddressChanged();
+ this.OnPropertyChanged("ShipAddress");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ShipAddress;
+ partial void OnShipAddressChanging(string value);
+ partial void OnShipAddressChanged();
+ ///
+ /// There are no comments for Property ShipCity in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ShipCity
+ {
+ get
+ {
+ return this._ShipCity;
+ }
+ set
+ {
+ this.OnShipCityChanging(value);
+ this._ShipCity = value;
+ this.OnShipCityChanged();
+ this.OnPropertyChanged("ShipCity");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ShipCity;
+ partial void OnShipCityChanging(string value);
+ partial void OnShipCityChanged();
+ ///
+ /// There are no comments for Property ShipRegion in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ShipRegion
+ {
+ get
+ {
+ return this._ShipRegion;
+ }
+ set
+ {
+ this.OnShipRegionChanging(value);
+ this._ShipRegion = value;
+ this.OnShipRegionChanged();
+ this.OnPropertyChanged("ShipRegion");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ShipRegion;
+ partial void OnShipRegionChanging(string value);
+ partial void OnShipRegionChanged();
+ ///
+ /// There are no comments for Property ShipPostalCode in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ShipPostalCode
+ {
+ get
+ {
+ return this._ShipPostalCode;
+ }
+ set
+ {
+ this.OnShipPostalCodeChanging(value);
+ this._ShipPostalCode = value;
+ this.OnShipPostalCodeChanged();
+ this.OnPropertyChanged("ShipPostalCode");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ShipPostalCode;
+ partial void OnShipPostalCodeChanging(string value);
+ partial void OnShipPostalCodeChanged();
+ ///
+ /// There are no comments for Property ShipCountry in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ShipCountry
+ {
+ get
+ {
+ return this._ShipCountry;
+ }
+ set
+ {
+ this.OnShipCountryChanging(value);
+ this._ShipCountry = value;
+ this.OnShipCountryChanged();
+ this.OnPropertyChanged("ShipCountry");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ShipCountry;
+ partial void OnShipCountryChanging(string value);
+ partial void OnShipCountryChanged();
+ ///
+ /// There are no comments for Property Customer in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::NorthwindModel.Customer Customer
+ {
+ get
+ {
+ return this._Customer;
+ }
+ set
+ {
+ this.OnCustomerChanging(value);
+ this._Customer = value;
+ this.OnCustomerChanged();
+ this.OnPropertyChanged("Customer");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::NorthwindModel.Customer _Customer;
+ partial void OnCustomerChanging(global::NorthwindModel.Customer value);
+ partial void OnCustomerChanged();
+ ///
+ /// There are no comments for Property Employee in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::NorthwindModel.Employee Employee
+ {
+ get
+ {
+ return this._Employee;
+ }
+ set
+ {
+ this.OnEmployeeChanging(value);
+ this._Employee = value;
+ this.OnEmployeeChanged();
+ this.OnPropertyChanged("Employee");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::NorthwindModel.Employee _Employee;
+ partial void OnEmployeeChanging(global::NorthwindModel.Employee value);
+ partial void OnEmployeeChanged();
+ ///
+ /// There are no comments for Property Order_Details in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceCollection Order_Details
+ {
+ get
+ {
+ return this._Order_Details;
+ }
+ set
+ {
+ this.OnOrder_DetailsChanging(value);
+ this._Order_Details = value;
+ this.OnOrder_DetailsChanged();
+ this.OnPropertyChanged("Order_Details");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceCollection _Order_Details = new global::Microsoft.OData.Client.DataServiceCollection(null, global::Microsoft.OData.Client.TrackingMode.None);
+ partial void OnOrder_DetailsChanging(global::Microsoft.OData.Client.DataServiceCollection value);
+ partial void OnOrder_DetailsChanged();
+ ///
+ /// There are no comments for Property Shipper in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::NorthwindModel.Shipper Shipper
+ {
+ get
+ {
+ return this._Shipper;
+ }
+ set
+ {
+ this.OnShipperChanging(value);
+ this._Shipper = value;
+ this.OnShipperChanged();
+ this.OnPropertyChanged("Shipper");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::NorthwindModel.Shipper _Shipper;
+ partial void OnShipperChanging(global::NorthwindModel.Shipper value);
+ partial void OnShipperChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 ProductSingle in the schema.
+ ///
+ public partial class ProductSingle : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new ProductSingle object.
+ ///
+ public ProductSingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new ProductSingle object.
+ ///
+ public ProductSingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new ProductSingle object.
+ ///
+ public ProductSingle(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ ///
+ /// There are no comments for Category in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::NorthwindModel.CategorySingle Category
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._Category == null))
+ {
+ this._Category = new global::NorthwindModel.CategorySingle(this.Context, GetPath("Category"));
+ }
+ return this._Category;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::NorthwindModel.CategorySingle _Category;
+ ///
+ /// There are no comments for Order_Details in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceQuery Order_Details
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._Order_Details == null))
+ {
+ this._Order_Details = Context.CreateQuery(GetPath("Order_Details"));
+ }
+ return this._Order_Details;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceQuery _Order_Details;
+ ///
+ /// There are no comments for Supplier in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::NorthwindModel.SupplierSingle Supplier
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._Supplier == null))
+ {
+ this._Supplier = new global::NorthwindModel.SupplierSingle(this.Context, GetPath("Supplier"));
+ }
+ return this._Supplier;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::NorthwindModel.SupplierSingle _Supplier;
+ }
+ ///
+ /// There are no comments for Product in the schema.
+ ///
+ ///
+ /// ProductID
+ ///
+ [global::Microsoft.OData.Client.Key("ProductID")]
+ public partial class Product : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new Product object.
+ ///
+ /// Initial value of ProductID.
+ /// Initial value of ProductName.
+ /// Initial value of Discontinued.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public int ProductID
+ {
+ get
+ {
+ return this._ProductID;
+ }
+ set
+ {
+ this.OnProductIDChanging(value);
+ this._ProductID = value;
+ this.OnProductIDChanged();
+ this.OnPropertyChanged("ProductID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private int _ProductID;
+ partial void OnProductIDChanging(int value);
+ partial void OnProductIDChanged();
+ ///
+ /// There are no comments for Property ProductName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ProductName
+ {
+ get
+ {
+ return this._ProductName;
+ }
+ set
+ {
+ this.OnProductNameChanging(value);
+ this._ProductName = value;
+ this.OnProductNameChanged();
+ this.OnPropertyChanged("ProductName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ProductName;
+ partial void OnProductNameChanging(string value);
+ partial void OnProductNameChanged();
+ ///
+ /// There are no comments for Property SupplierID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable SupplierID
+ {
+ get
+ {
+ return this._SupplierID;
+ }
+ set
+ {
+ this.OnSupplierIDChanging(value);
+ this._SupplierID = value;
+ this.OnSupplierIDChanged();
+ this.OnPropertyChanged("SupplierID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::System.Nullable _SupplierID;
+ partial void OnSupplierIDChanging(global::System.Nullable value);
+ partial void OnSupplierIDChanged();
+ ///
+ /// There are no comments for Property CategoryID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable CategoryID
+ {
+ get
+ {
+ return this._CategoryID;
+ }
+ set
+ {
+ this.OnCategoryIDChanging(value);
+ this._CategoryID = value;
+ this.OnCategoryIDChanged();
+ this.OnPropertyChanged("CategoryID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string QuantityPerUnit
+ {
+ get
+ {
+ return this._QuantityPerUnit;
+ }
+ set
+ {
+ this.OnQuantityPerUnitChanging(value);
+ this._QuantityPerUnit = value;
+ this.OnQuantityPerUnitChanged();
+ this.OnPropertyChanged("QuantityPerUnit");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _QuantityPerUnit;
+ partial void OnQuantityPerUnitChanging(string value);
+ partial void OnQuantityPerUnitChanged();
+ ///
+ /// There are no comments for Property UnitPrice in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable UnitPrice
+ {
+ get
+ {
+ return this._UnitPrice;
+ }
+ set
+ {
+ this.OnUnitPriceChanging(value);
+ this._UnitPrice = value;
+ this.OnUnitPriceChanged();
+ this.OnPropertyChanged("UnitPrice");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable UnitsInStock
+ {
+ get
+ {
+ return this._UnitsInStock;
+ }
+ set
+ {
+ this.OnUnitsInStockChanging(value);
+ this._UnitsInStock = value;
+ this.OnUnitsInStockChanged();
+ this.OnPropertyChanged("UnitsInStock");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable UnitsOnOrder
+ {
+ get
+ {
+ return this._UnitsOnOrder;
+ }
+ set
+ {
+ this.OnUnitsOnOrderChanging(value);
+ this._UnitsOnOrder = value;
+ this.OnUnitsOnOrderChanged();
+ this.OnPropertyChanged("UnitsOnOrder");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable ReorderLevel
+ {
+ get
+ {
+ return this._ReorderLevel;
+ }
+ set
+ {
+ this.OnReorderLevelChanging(value);
+ this._ReorderLevel = value;
+ this.OnReorderLevelChanged();
+ this.OnPropertyChanged("ReorderLevel");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public bool Discontinued
+ {
+ get
+ {
+ return this._Discontinued;
+ }
+ set
+ {
+ this.OnDiscontinuedChanging(value);
+ this._Discontinued = value;
+ this.OnDiscontinuedChanged();
+ this.OnPropertyChanged("Discontinued");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private bool _Discontinued;
+ partial void OnDiscontinuedChanging(bool value);
+ partial void OnDiscontinuedChanged();
+ ///
+ /// There are no comments for Property Category in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::NorthwindModel.Category Category
+ {
+ get
+ {
+ return this._Category;
+ }
+ set
+ {
+ this.OnCategoryChanging(value);
+ this._Category = value;
+ this.OnCategoryChanged();
+ this.OnPropertyChanged("Category");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::NorthwindModel.Category _Category;
+ partial void OnCategoryChanging(global::NorthwindModel.Category value);
+ partial void OnCategoryChanged();
+ ///
+ /// There are no comments for Property Order_Details in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceCollection Order_Details
+ {
+ get
+ {
+ return this._Order_Details;
+ }
+ set
+ {
+ this.OnOrder_DetailsChanging(value);
+ this._Order_Details = value;
+ this.OnOrder_DetailsChanged();
+ this.OnPropertyChanged("Order_Details");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceCollection _Order_Details = new global::Microsoft.OData.Client.DataServiceCollection(null, global::Microsoft.OData.Client.TrackingMode.None);
+ partial void OnOrder_DetailsChanging(global::Microsoft.OData.Client.DataServiceCollection value);
+ partial void OnOrder_DetailsChanged();
+ ///
+ /// There are no comments for Property Supplier in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::NorthwindModel.Supplier Supplier
+ {
+ get
+ {
+ return this._Supplier;
+ }
+ set
+ {
+ this.OnSupplierChanging(value);
+ this._Supplier = value;
+ this.OnSupplierChanged();
+ this.OnPropertyChanged("Supplier");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::NorthwindModel.Supplier _Supplier;
+ partial void OnSupplierChanging(global::NorthwindModel.Supplier value);
+ partial void OnSupplierChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 RegionSingle in the schema.
+ ///
+ public partial class RegionSingle : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new RegionSingle object.
+ ///
+ public RegionSingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new RegionSingle object.
+ ///
+ public RegionSingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new RegionSingle object.
+ ///
+ public RegionSingle(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ ///
+ /// There are no comments for Territories in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceQuery Territories
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._Territories == null))
+ {
+ this._Territories = Context.CreateQuery(GetPath("Territories"));
+ }
+ return this._Territories;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceQuery _Territories;
+ }
+ ///
+ /// There are no comments for Region in the schema.
+ ///
+ ///
+ /// RegionID
+ ///
+ [global::Microsoft.OData.Client.Key("RegionID")]
+ public partial class Region : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new Region object.
+ ///
+ /// Initial value of RegionID.
+ /// Initial value of RegionDescription.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public static Region CreateRegion(int regionID, string regionDescription)
+ {
+ Region region = new Region();
+ region.RegionID = regionID;
+ region.RegionDescription = regionDescription;
+ return region;
+ }
+ ///
+ /// There are no comments for Property RegionID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public int RegionID
+ {
+ get
+ {
+ return this._RegionID;
+ }
+ set
+ {
+ this.OnRegionIDChanging(value);
+ this._RegionID = value;
+ this.OnRegionIDChanged();
+ this.OnPropertyChanged("RegionID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private int _RegionID;
+ partial void OnRegionIDChanging(int value);
+ partial void OnRegionIDChanged();
+ ///
+ /// There are no comments for Property RegionDescription in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string RegionDescription
+ {
+ get
+ {
+ return this._RegionDescription;
+ }
+ set
+ {
+ this.OnRegionDescriptionChanging(value);
+ this._RegionDescription = value;
+ this.OnRegionDescriptionChanged();
+ this.OnPropertyChanged("RegionDescription");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _RegionDescription;
+ partial void OnRegionDescriptionChanging(string value);
+ partial void OnRegionDescriptionChanged();
+ ///
+ /// There are no comments for Property Territories in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceCollection Territories
+ {
+ get
+ {
+ return this._Territories;
+ }
+ set
+ {
+ this.OnTerritoriesChanging(value);
+ this._Territories = value;
+ this.OnTerritoriesChanged();
+ this.OnPropertyChanged("Territories");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceCollection _Territories = new global::Microsoft.OData.Client.DataServiceCollection(null, global::Microsoft.OData.Client.TrackingMode.None);
+ partial void OnTerritoriesChanging(global::Microsoft.OData.Client.DataServiceCollection value);
+ partial void OnTerritoriesChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 ShipperSingle in the schema.
+ ///
+ public partial class ShipperSingle : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new ShipperSingle object.
+ ///
+ public ShipperSingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new ShipperSingle object.
+ ///
+ public ShipperSingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new ShipperSingle object.
+ ///
+ public ShipperSingle(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ ///
+ /// There are no comments for Orders in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceQuery Orders
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._Orders == null))
+ {
+ this._Orders = Context.CreateQuery(GetPath("Orders"));
+ }
+ return this._Orders;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceQuery _Orders;
+ }
+ ///
+ /// There are no comments for Shipper in the schema.
+ ///
+ ///
+ /// ShipperID
+ ///
+ [global::Microsoft.OData.Client.Key("ShipperID")]
+ public partial class Shipper : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new Shipper object.
+ ///
+ /// Initial value of ShipperID.
+ /// Initial value of CompanyName.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public int ShipperID
+ {
+ get
+ {
+ return this._ShipperID;
+ }
+ set
+ {
+ this.OnShipperIDChanging(value);
+ this._ShipperID = value;
+ this.OnShipperIDChanged();
+ this.OnPropertyChanged("ShipperID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private int _ShipperID;
+ partial void OnShipperIDChanging(int value);
+ partial void OnShipperIDChanged();
+ ///
+ /// There are no comments for Property CompanyName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string CompanyName
+ {
+ get
+ {
+ return this._CompanyName;
+ }
+ set
+ {
+ this.OnCompanyNameChanging(value);
+ this._CompanyName = value;
+ this.OnCompanyNameChanged();
+ this.OnPropertyChanged("CompanyName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _CompanyName;
+ partial void OnCompanyNameChanging(string value);
+ partial void OnCompanyNameChanged();
+ ///
+ /// There are no comments for Property Phone in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Phone
+ {
+ get
+ {
+ return this._Phone;
+ }
+ set
+ {
+ this.OnPhoneChanging(value);
+ this._Phone = value;
+ this.OnPhoneChanged();
+ this.OnPropertyChanged("Phone");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Phone;
+ partial void OnPhoneChanging(string value);
+ partial void OnPhoneChanged();
+ ///
+ /// There are no comments for Property Orders in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceCollection Orders
+ {
+ get
+ {
+ return this._Orders;
+ }
+ set
+ {
+ this.OnOrdersChanging(value);
+ this._Orders = value;
+ this.OnOrdersChanged();
+ this.OnPropertyChanged("Orders");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceCollection _Orders = new global::Microsoft.OData.Client.DataServiceCollection(null, global::Microsoft.OData.Client.TrackingMode.None);
+ partial void OnOrdersChanging(global::Microsoft.OData.Client.DataServiceCollection value);
+ partial void OnOrdersChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 SupplierSingle in the schema.
+ ///
+ public partial class SupplierSingle : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new SupplierSingle object.
+ ///
+ public SupplierSingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new SupplierSingle object.
+ ///
+ public SupplierSingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new SupplierSingle object.
+ ///
+ public SupplierSingle(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ ///
+ /// There are no comments for Products in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceQuery Products
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._Products == null))
+ {
+ this._Products = Context.CreateQuery(GetPath("Products"));
+ }
+ return this._Products;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceQuery _Products;
+ }
+ ///
+ /// There are no comments for Supplier in the schema.
+ ///
+ ///
+ /// SupplierID
+ ///
+ [global::Microsoft.OData.Client.Key("SupplierID")]
+ public partial class Supplier : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new Supplier object.
+ ///
+ /// Initial value of SupplierID.
+ /// Initial value of CompanyName.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public static Supplier CreateSupplier(int supplierID, string companyName)
+ {
+ Supplier supplier = new Supplier();
+ supplier.SupplierID = supplierID;
+ supplier.CompanyName = companyName;
+ return supplier;
+ }
+ ///
+ /// There are no comments for Property SupplierID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public int SupplierID
+ {
+ get
+ {
+ return this._SupplierID;
+ }
+ set
+ {
+ this.OnSupplierIDChanging(value);
+ this._SupplierID = value;
+ this.OnSupplierIDChanged();
+ this.OnPropertyChanged("SupplierID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private int _SupplierID;
+ partial void OnSupplierIDChanging(int value);
+ partial void OnSupplierIDChanged();
+ ///
+ /// There are no comments for Property CompanyName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string CompanyName
+ {
+ get
+ {
+ return this._CompanyName;
+ }
+ set
+ {
+ this.OnCompanyNameChanging(value);
+ this._CompanyName = value;
+ this.OnCompanyNameChanged();
+ this.OnPropertyChanged("CompanyName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _CompanyName;
+ partial void OnCompanyNameChanging(string value);
+ partial void OnCompanyNameChanged();
+ ///
+ /// There are no comments for Property ContactName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ContactName
+ {
+ get
+ {
+ return this._ContactName;
+ }
+ set
+ {
+ this.OnContactNameChanging(value);
+ this._ContactName = value;
+ this.OnContactNameChanged();
+ this.OnPropertyChanged("ContactName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ContactName;
+ partial void OnContactNameChanging(string value);
+ partial void OnContactNameChanged();
+ ///
+ /// There are no comments for Property ContactTitle in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ContactTitle
+ {
+ get
+ {
+ return this._ContactTitle;
+ }
+ set
+ {
+ this.OnContactTitleChanging(value);
+ this._ContactTitle = value;
+ this.OnContactTitleChanged();
+ this.OnPropertyChanged("ContactTitle");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ContactTitle;
+ partial void OnContactTitleChanging(string value);
+ partial void OnContactTitleChanged();
+ ///
+ /// There are no comments for Property Address in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Address
+ {
+ get
+ {
+ return this._Address;
+ }
+ set
+ {
+ this.OnAddressChanging(value);
+ this._Address = value;
+ this.OnAddressChanged();
+ this.OnPropertyChanged("Address");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Address;
+ partial void OnAddressChanging(string value);
+ partial void OnAddressChanged();
+ ///
+ /// There are no comments for Property City in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string City
+ {
+ get
+ {
+ return this._City;
+ }
+ set
+ {
+ this.OnCityChanging(value);
+ this._City = value;
+ this.OnCityChanged();
+ this.OnPropertyChanged("City");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _City;
+ partial void OnCityChanging(string value);
+ partial void OnCityChanged();
+ ///
+ /// There are no comments for Property Region in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Region
+ {
+ get
+ {
+ return this._Region;
+ }
+ set
+ {
+ this.OnRegionChanging(value);
+ this._Region = value;
+ this.OnRegionChanged();
+ this.OnPropertyChanged("Region");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Region;
+ partial void OnRegionChanging(string value);
+ partial void OnRegionChanged();
+ ///
+ /// There are no comments for Property PostalCode in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string PostalCode
+ {
+ get
+ {
+ return this._PostalCode;
+ }
+ set
+ {
+ this.OnPostalCodeChanging(value);
+ this._PostalCode = value;
+ this.OnPostalCodeChanged();
+ this.OnPropertyChanged("PostalCode");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _PostalCode;
+ partial void OnPostalCodeChanging(string value);
+ partial void OnPostalCodeChanged();
+ ///
+ /// There are no comments for Property Country in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Country
+ {
+ get
+ {
+ return this._Country;
+ }
+ set
+ {
+ this.OnCountryChanging(value);
+ this._Country = value;
+ this.OnCountryChanged();
+ this.OnPropertyChanged("Country");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Country;
+ partial void OnCountryChanging(string value);
+ partial void OnCountryChanged();
+ ///
+ /// There are no comments for Property Phone in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Phone
+ {
+ get
+ {
+ return this._Phone;
+ }
+ set
+ {
+ this.OnPhoneChanging(value);
+ this._Phone = value;
+ this.OnPhoneChanged();
+ this.OnPropertyChanged("Phone");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Phone;
+ partial void OnPhoneChanging(string value);
+ partial void OnPhoneChanged();
+ ///
+ /// There are no comments for Property Fax in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Fax
+ {
+ get
+ {
+ return this._Fax;
+ }
+ set
+ {
+ this.OnFaxChanging(value);
+ this._Fax = value;
+ this.OnFaxChanged();
+ this.OnPropertyChanged("Fax");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Fax;
+ partial void OnFaxChanging(string value);
+ partial void OnFaxChanged();
+ ///
+ /// There are no comments for Property HomePage in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string HomePage
+ {
+ get
+ {
+ return this._HomePage;
+ }
+ set
+ {
+ this.OnHomePageChanging(value);
+ this._HomePage = value;
+ this.OnHomePageChanged();
+ this.OnPropertyChanged("HomePage");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _HomePage;
+ partial void OnHomePageChanging(string value);
+ partial void OnHomePageChanged();
+ ///
+ /// There are no comments for Property Products in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceCollection Products
+ {
+ get
+ {
+ return this._Products;
+ }
+ set
+ {
+ this.OnProductsChanging(value);
+ this._Products = value;
+ this.OnProductsChanged();
+ this.OnPropertyChanged("Products");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceCollection _Products = new global::Microsoft.OData.Client.DataServiceCollection(null, global::Microsoft.OData.Client.TrackingMode.None);
+ partial void OnProductsChanging(global::Microsoft.OData.Client.DataServiceCollection value);
+ partial void OnProductsChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 TerritorySingle in the schema.
+ ///
+ public partial class TerritorySingle : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new TerritorySingle object.
+ ///
+ public TerritorySingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new TerritorySingle object.
+ ///
+ public TerritorySingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new TerritorySingle object.
+ ///
+ public TerritorySingle(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ ///
+ /// There are no comments for Region in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::NorthwindModel.RegionSingle Region
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._Region == null))
+ {
+ this._Region = new global::NorthwindModel.RegionSingle(this.Context, GetPath("Region"));
+ }
+ return this._Region;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::NorthwindModel.RegionSingle _Region;
+ ///
+ /// There are no comments for Employees in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceQuery Employees
+ {
+ get
+ {
+ if (!this.IsComposable)
+ {
+ throw new global::System.NotSupportedException("The previous function is not composable.");
+ }
+ if ((this._Employees == null))
+ {
+ this._Employees = Context.CreateQuery(GetPath("Employees"));
+ }
+ return this._Employees;
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceQuery _Employees;
+ }
+ ///
+ /// There are no comments for Territory in the schema.
+ ///
+ ///
+ /// TerritoryID
+ ///
+ [global::Microsoft.OData.Client.Key("TerritoryID")]
+ public partial class Territory : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new Territory object.
+ ///
+ /// Initial value of TerritoryID.
+ /// Initial value of TerritoryDescription.
+ /// Initial value of RegionID.
+ /// Initial value of Region.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public static Territory CreateTerritory(string territoryID, string territoryDescription, int regionID, global::NorthwindModel.Region region)
+ {
+ Territory territory = new Territory();
+ territory.TerritoryID = territoryID;
+ territory.TerritoryDescription = territoryDescription;
+ territory.RegionID = regionID;
+ if ((region == null))
+ {
+ throw new global::System.ArgumentNullException("region");
+ }
+ territory.Region = region;
+ return territory;
+ }
+ ///
+ /// There are no comments for Property TerritoryID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string TerritoryID
+ {
+ get
+ {
+ return this._TerritoryID;
+ }
+ set
+ {
+ this.OnTerritoryIDChanging(value);
+ this._TerritoryID = value;
+ this.OnTerritoryIDChanged();
+ this.OnPropertyChanged("TerritoryID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _TerritoryID;
+ partial void OnTerritoryIDChanging(string value);
+ partial void OnTerritoryIDChanged();
+ ///
+ /// There are no comments for Property TerritoryDescription in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string TerritoryDescription
+ {
+ get
+ {
+ return this._TerritoryDescription;
+ }
+ set
+ {
+ this.OnTerritoryDescriptionChanging(value);
+ this._TerritoryDescription = value;
+ this.OnTerritoryDescriptionChanged();
+ this.OnPropertyChanged("TerritoryDescription");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _TerritoryDescription;
+ partial void OnTerritoryDescriptionChanging(string value);
+ partial void OnTerritoryDescriptionChanged();
+ ///
+ /// There are no comments for Property RegionID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public int RegionID
+ {
+ get
+ {
+ return this._RegionID;
+ }
+ set
+ {
+ this.OnRegionIDChanging(value);
+ this._RegionID = value;
+ this.OnRegionIDChanged();
+ this.OnPropertyChanged("RegionID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private int _RegionID;
+ partial void OnRegionIDChanging(int value);
+ partial void OnRegionIDChanged();
+ ///
+ /// There are no comments for Property Region in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::NorthwindModel.Region Region
+ {
+ get
+ {
+ return this._Region;
+ }
+ set
+ {
+ this.OnRegionChanging(value);
+ this._Region = value;
+ this.OnRegionChanged();
+ this.OnPropertyChanged("Region");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::NorthwindModel.Region _Region;
+ partial void OnRegionChanging(global::NorthwindModel.Region value);
+ partial void OnRegionChanged();
+ ///
+ /// There are no comments for Property Employees in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::Microsoft.OData.Client.DataServiceCollection Employees
+ {
+ get
+ {
+ return this._Employees;
+ }
+ set
+ {
+ this.OnEmployeesChanging(value);
+ this._Employees = value;
+ this.OnEmployeesChanged();
+ this.OnPropertyChanged("Employees");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::Microsoft.OData.Client.DataServiceCollection _Employees = new global::Microsoft.OData.Client.DataServiceCollection(null, global::Microsoft.OData.Client.TrackingMode.None);
+ partial void OnEmployeesChanging(global::Microsoft.OData.Client.DataServiceCollection value);
+ partial void OnEmployeesChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 Alphabetical_list_of_productSingle in the schema.
+ ///
+ public partial class Alphabetical_list_of_productSingle : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new Alphabetical_list_of_productSingle object.
+ ///
+ public Alphabetical_list_of_productSingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new Alphabetical_list_of_productSingle object.
+ ///
+ public Alphabetical_list_of_productSingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new Alphabetical_list_of_productSingle object.
+ ///
+ public Alphabetical_list_of_productSingle(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ }
+ ///
+ /// There are no comments for Alphabetical_list_of_product in the schema.
+ ///
+ ///
+ /// CategoryName
+ /// Discontinued
+ /// ProductID
+ /// ProductName
+ ///
+ [global::Microsoft.OData.Client.Key("CategoryName", "Discontinued", "ProductID", "ProductName")]
+ public partial class Alphabetical_list_of_product : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new Alphabetical_list_of_product object.
+ ///
+ /// Initial value of ProductID.
+ /// Initial value of ProductName.
+ /// Initial value of Discontinued.
+ /// Initial value of CategoryName.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public static Alphabetical_list_of_product CreateAlphabetical_list_of_product(int productID, string productName, bool discontinued, string categoryName)
+ {
+ Alphabetical_list_of_product alphabetical_list_of_product = new Alphabetical_list_of_product();
+ alphabetical_list_of_product.ProductID = productID;
+ alphabetical_list_of_product.ProductName = productName;
+ alphabetical_list_of_product.Discontinued = discontinued;
+ alphabetical_list_of_product.CategoryName = categoryName;
+ return alphabetical_list_of_product;
+ }
+ ///
+ /// There are no comments for Property ProductID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public int ProductID
+ {
+ get
+ {
+ return this._ProductID;
+ }
+ set
+ {
+ this.OnProductIDChanging(value);
+ this._ProductID = value;
+ this.OnProductIDChanged();
+ this.OnPropertyChanged("ProductID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private int _ProductID;
+ partial void OnProductIDChanging(int value);
+ partial void OnProductIDChanged();
+ ///
+ /// There are no comments for Property ProductName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ProductName
+ {
+ get
+ {
+ return this._ProductName;
+ }
+ set
+ {
+ this.OnProductNameChanging(value);
+ this._ProductName = value;
+ this.OnProductNameChanged();
+ this.OnPropertyChanged("ProductName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ProductName;
+ partial void OnProductNameChanging(string value);
+ partial void OnProductNameChanged();
+ ///
+ /// There are no comments for Property SupplierID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable SupplierID
+ {
+ get
+ {
+ return this._SupplierID;
+ }
+ set
+ {
+ this.OnSupplierIDChanging(value);
+ this._SupplierID = value;
+ this.OnSupplierIDChanged();
+ this.OnPropertyChanged("SupplierID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::System.Nullable _SupplierID;
+ partial void OnSupplierIDChanging(global::System.Nullable value);
+ partial void OnSupplierIDChanged();
+ ///
+ /// There are no comments for Property CategoryID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable CategoryID
+ {
+ get
+ {
+ return this._CategoryID;
+ }
+ set
+ {
+ this.OnCategoryIDChanging(value);
+ this._CategoryID = value;
+ this.OnCategoryIDChanged();
+ this.OnPropertyChanged("CategoryID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string QuantityPerUnit
+ {
+ get
+ {
+ return this._QuantityPerUnit;
+ }
+ set
+ {
+ this.OnQuantityPerUnitChanging(value);
+ this._QuantityPerUnit = value;
+ this.OnQuantityPerUnitChanged();
+ this.OnPropertyChanged("QuantityPerUnit");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _QuantityPerUnit;
+ partial void OnQuantityPerUnitChanging(string value);
+ partial void OnQuantityPerUnitChanged();
+ ///
+ /// There are no comments for Property UnitPrice in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable UnitPrice
+ {
+ get
+ {
+ return this._UnitPrice;
+ }
+ set
+ {
+ this.OnUnitPriceChanging(value);
+ this._UnitPrice = value;
+ this.OnUnitPriceChanged();
+ this.OnPropertyChanged("UnitPrice");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable UnitsInStock
+ {
+ get
+ {
+ return this._UnitsInStock;
+ }
+ set
+ {
+ this.OnUnitsInStockChanging(value);
+ this._UnitsInStock = value;
+ this.OnUnitsInStockChanged();
+ this.OnPropertyChanged("UnitsInStock");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable UnitsOnOrder
+ {
+ get
+ {
+ return this._UnitsOnOrder;
+ }
+ set
+ {
+ this.OnUnitsOnOrderChanging(value);
+ this._UnitsOnOrder = value;
+ this.OnUnitsOnOrderChanged();
+ this.OnPropertyChanged("UnitsOnOrder");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable ReorderLevel
+ {
+ get
+ {
+ return this._ReorderLevel;
+ }
+ set
+ {
+ this.OnReorderLevelChanging(value);
+ this._ReorderLevel = value;
+ this.OnReorderLevelChanged();
+ this.OnPropertyChanged("ReorderLevel");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public bool Discontinued
+ {
+ get
+ {
+ return this._Discontinued;
+ }
+ set
+ {
+ this.OnDiscontinuedChanging(value);
+ this._Discontinued = value;
+ this.OnDiscontinuedChanged();
+ this.OnPropertyChanged("Discontinued");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private bool _Discontinued;
+ partial void OnDiscontinuedChanging(bool value);
+ partial void OnDiscontinuedChanged();
+ ///
+ /// There are no comments for Property CategoryName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string CategoryName
+ {
+ get
+ {
+ return this._CategoryName;
+ }
+ set
+ {
+ this.OnCategoryNameChanging(value);
+ this._CategoryName = value;
+ this.OnCategoryNameChanged();
+ this.OnPropertyChanged("CategoryName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _CategoryName;
+ partial void OnCategoryNameChanging(string value);
+ partial void OnCategoryNameChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 Category_Sales_for_1997Single in the schema.
+ ///
+ public partial class Category_Sales_for_1997Single : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new Category_Sales_for_1997Single object.
+ ///
+ public Category_Sales_for_1997Single(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new Category_Sales_for_1997Single object.
+ ///
+ public Category_Sales_for_1997Single(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new Category_Sales_for_1997Single object.
+ ///
+ public Category_Sales_for_1997Single(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ }
+ ///
+ /// There are no comments for Category_Sales_for_1997 in the schema.
+ ///
+ ///
+ /// CategoryName
+ ///
+ [global::Microsoft.OData.Client.Key("CategoryName")]
+ public partial class Category_Sales_for_1997 : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new Category_Sales_for_1997 object.
+ ///
+ /// Initial value of CategoryName.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public static Category_Sales_for_1997 CreateCategory_Sales_for_1997(string categoryName)
+ {
+ Category_Sales_for_1997 category_Sales_for_1997 = new Category_Sales_for_1997();
+ category_Sales_for_1997.CategoryName = categoryName;
+ return category_Sales_for_1997;
+ }
+ ///
+ /// There are no comments for Property CategoryName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string CategoryName
+ {
+ get
+ {
+ return this._CategoryName;
+ }
+ set
+ {
+ this.OnCategoryNameChanging(value);
+ this._CategoryName = value;
+ this.OnCategoryNameChanged();
+ this.OnPropertyChanged("CategoryName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _CategoryName;
+ partial void OnCategoryNameChanging(string value);
+ partial void OnCategoryNameChanged();
+ ///
+ /// There are no comments for Property CategorySales in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable CategorySales
+ {
+ get
+ {
+ return this._CategorySales;
+ }
+ set
+ {
+ this.OnCategorySalesChanging(value);
+ this._CategorySales = value;
+ this.OnCategorySalesChanged();
+ this.OnPropertyChanged("CategorySales");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::System.Nullable _CategorySales;
+ partial void OnCategorySalesChanging(global::System.Nullable value);
+ partial void OnCategorySalesChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 Current_Product_ListSingle in the schema.
+ ///
+ public partial class Current_Product_ListSingle : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new Current_Product_ListSingle object.
+ ///
+ public Current_Product_ListSingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new Current_Product_ListSingle object.
+ ///
+ public Current_Product_ListSingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new Current_Product_ListSingle object.
+ ///
+ public Current_Product_ListSingle(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ }
+ ///
+ /// There are no comments for Current_Product_List in the schema.
+ ///
+ ///
+ /// ProductID
+ /// ProductName
+ ///
+ [global::Microsoft.OData.Client.Key("ProductID", "ProductName")]
+ public partial class Current_Product_List : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new Current_Product_List object.
+ ///
+ /// Initial value of ProductID.
+ /// Initial value of ProductName.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public static Current_Product_List CreateCurrent_Product_List(int productID, string productName)
+ {
+ Current_Product_List current_Product_List = new Current_Product_List();
+ current_Product_List.ProductID = productID;
+ current_Product_List.ProductName = productName;
+ return current_Product_List;
+ }
+ ///
+ /// There are no comments for Property ProductID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public int ProductID
+ {
+ get
+ {
+ return this._ProductID;
+ }
+ set
+ {
+ this.OnProductIDChanging(value);
+ this._ProductID = value;
+ this.OnProductIDChanged();
+ this.OnPropertyChanged("ProductID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private int _ProductID;
+ partial void OnProductIDChanging(int value);
+ partial void OnProductIDChanged();
+ ///
+ /// There are no comments for Property ProductName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ProductName
+ {
+ get
+ {
+ return this._ProductName;
+ }
+ set
+ {
+ this.OnProductNameChanging(value);
+ this._ProductName = value;
+ this.OnProductNameChanged();
+ this.OnPropertyChanged("ProductName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ProductName;
+ partial void OnProductNameChanging(string value);
+ partial void OnProductNameChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 Customer_and_Suppliers_by_CitySingle in the schema.
+ ///
+ public partial class Customer_and_Suppliers_by_CitySingle : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new Customer_and_Suppliers_by_CitySingle object.
+ ///
+ public Customer_and_Suppliers_by_CitySingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new Customer_and_Suppliers_by_CitySingle object.
+ ///
+ public Customer_and_Suppliers_by_CitySingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new Customer_and_Suppliers_by_CitySingle object.
+ ///
+ public Customer_and_Suppliers_by_CitySingle(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ }
+ ///
+ /// There are no comments for Customer_and_Suppliers_by_City in the schema.
+ ///
+ ///
+ /// CompanyName
+ /// Relationship
+ ///
+ [global::Microsoft.OData.Client.Key("CompanyName", "Relationship")]
+ public partial class Customer_and_Suppliers_by_City : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new Customer_and_Suppliers_by_City object.
+ ///
+ /// Initial value of CompanyName.
+ /// Initial value of Relationship.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public static Customer_and_Suppliers_by_City CreateCustomer_and_Suppliers_by_City(string companyName, string relationship)
+ {
+ Customer_and_Suppliers_by_City customer_and_Suppliers_by_City = new Customer_and_Suppliers_by_City();
+ customer_and_Suppliers_by_City.CompanyName = companyName;
+ customer_and_Suppliers_by_City.Relationship = relationship;
+ return customer_and_Suppliers_by_City;
+ }
+ ///
+ /// There are no comments for Property City in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string City
+ {
+ get
+ {
+ return this._City;
+ }
+ set
+ {
+ this.OnCityChanging(value);
+ this._City = value;
+ this.OnCityChanged();
+ this.OnPropertyChanged("City");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _City;
+ partial void OnCityChanging(string value);
+ partial void OnCityChanged();
+ ///
+ /// There are no comments for Property CompanyName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string CompanyName
+ {
+ get
+ {
+ return this._CompanyName;
+ }
+ set
+ {
+ this.OnCompanyNameChanging(value);
+ this._CompanyName = value;
+ this.OnCompanyNameChanged();
+ this.OnPropertyChanged("CompanyName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _CompanyName;
+ partial void OnCompanyNameChanging(string value);
+ partial void OnCompanyNameChanged();
+ ///
+ /// There are no comments for Property ContactName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ContactName
+ {
+ get
+ {
+ return this._ContactName;
+ }
+ set
+ {
+ this.OnContactNameChanging(value);
+ this._ContactName = value;
+ this.OnContactNameChanged();
+ this.OnPropertyChanged("ContactName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ContactName;
+ partial void OnContactNameChanging(string value);
+ partial void OnContactNameChanged();
+ ///
+ /// There are no comments for Property Relationship in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Relationship
+ {
+ get
+ {
+ return this._Relationship;
+ }
+ set
+ {
+ this.OnRelationshipChanging(value);
+ this._Relationship = value;
+ this.OnRelationshipChanged();
+ this.OnPropertyChanged("Relationship");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Relationship;
+ partial void OnRelationshipChanging(string value);
+ partial void OnRelationshipChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 InvoiceSingle in the schema.
+ ///
+ public partial class InvoiceSingle : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new InvoiceSingle object.
+ ///
+ public InvoiceSingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new InvoiceSingle object.
+ ///
+ public InvoiceSingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new InvoiceSingle object.
+ ///
+ public InvoiceSingle(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ }
+ ///
+ /// There are no comments for Invoice in the schema.
+ ///
+ ///
+ /// CustomerName
+ /// Discount
+ /// OrderID
+ /// ProductID
+ /// ProductName
+ /// Quantity
+ /// Salesperson
+ /// ShipperName
+ /// UnitPrice
+ ///
+ [global::Microsoft.OData.Client.Key("CustomerName", "Discount", "OrderID", "ProductID", "ProductName", "Quantity", "Salesperson", "ShipperName", "UnitPrice")]
+ public partial class Invoice : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new Invoice object.
+ ///
+ /// Initial value of CustomerName.
+ /// Initial value of Salesperson.
+ /// Initial value of OrderID.
+ /// Initial value of ShipperName.
+ /// Initial value of ProductID.
+ /// Initial value of ProductName.
+ /// Initial value of UnitPrice.
+ /// Initial value of Quantity.
+ /// Initial value of Discount.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public static Invoice CreateInvoice(string customerName,
+ string salesperson,
+ int orderID,
+ string shipperName,
+ int productID,
+ string productName,
+ decimal unitPrice,
+ short quantity,
+ float discount)
+ {
+ Invoice invoice = new Invoice();
+ invoice.CustomerName = customerName;
+ invoice.Salesperson = salesperson;
+ invoice.OrderID = orderID;
+ invoice.ShipperName = shipperName;
+ invoice.ProductID = productID;
+ invoice.ProductName = productName;
+ invoice.UnitPrice = unitPrice;
+ invoice.Quantity = quantity;
+ invoice.Discount = discount;
+ return invoice;
+ }
+ ///
+ /// There are no comments for Property ShipName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ShipName
+ {
+ get
+ {
+ return this._ShipName;
+ }
+ set
+ {
+ this.OnShipNameChanging(value);
+ this._ShipName = value;
+ this.OnShipNameChanged();
+ this.OnPropertyChanged("ShipName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ShipName;
+ partial void OnShipNameChanging(string value);
+ partial void OnShipNameChanged();
+ ///
+ /// There are no comments for Property ShipAddress in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ShipAddress
+ {
+ get
+ {
+ return this._ShipAddress;
+ }
+ set
+ {
+ this.OnShipAddressChanging(value);
+ this._ShipAddress = value;
+ this.OnShipAddressChanged();
+ this.OnPropertyChanged("ShipAddress");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ShipAddress;
+ partial void OnShipAddressChanging(string value);
+ partial void OnShipAddressChanged();
+ ///
+ /// There are no comments for Property ShipCity in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ShipCity
+ {
+ get
+ {
+ return this._ShipCity;
+ }
+ set
+ {
+ this.OnShipCityChanging(value);
+ this._ShipCity = value;
+ this.OnShipCityChanged();
+ this.OnPropertyChanged("ShipCity");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ShipCity;
+ partial void OnShipCityChanging(string value);
+ partial void OnShipCityChanged();
+ ///
+ /// There are no comments for Property ShipRegion in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ShipRegion
+ {
+ get
+ {
+ return this._ShipRegion;
+ }
+ set
+ {
+ this.OnShipRegionChanging(value);
+ this._ShipRegion = value;
+ this.OnShipRegionChanged();
+ this.OnPropertyChanged("ShipRegion");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ShipRegion;
+ partial void OnShipRegionChanging(string value);
+ partial void OnShipRegionChanged();
+ ///
+ /// There are no comments for Property ShipPostalCode in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ShipPostalCode
+ {
+ get
+ {
+ return this._ShipPostalCode;
+ }
+ set
+ {
+ this.OnShipPostalCodeChanging(value);
+ this._ShipPostalCode = value;
+ this.OnShipPostalCodeChanged();
+ this.OnPropertyChanged("ShipPostalCode");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ShipPostalCode;
+ partial void OnShipPostalCodeChanging(string value);
+ partial void OnShipPostalCodeChanged();
+ ///
+ /// There are no comments for Property ShipCountry in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ShipCountry
+ {
+ get
+ {
+ return this._ShipCountry;
+ }
+ set
+ {
+ this.OnShipCountryChanging(value);
+ this._ShipCountry = value;
+ this.OnShipCountryChanged();
+ this.OnPropertyChanged("ShipCountry");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ShipCountry;
+ partial void OnShipCountryChanging(string value);
+ partial void OnShipCountryChanged();
+ ///
+ /// There are no comments for Property CustomerID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string CustomerID
+ {
+ get
+ {
+ return this._CustomerID;
+ }
+ set
+ {
+ this.OnCustomerIDChanging(value);
+ this._CustomerID = value;
+ this.OnCustomerIDChanged();
+ this.OnPropertyChanged("CustomerID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _CustomerID;
+ partial void OnCustomerIDChanging(string value);
+ partial void OnCustomerIDChanged();
+ ///
+ /// There are no comments for Property CustomerName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string CustomerName
+ {
+ get
+ {
+ return this._CustomerName;
+ }
+ set
+ {
+ this.OnCustomerNameChanging(value);
+ this._CustomerName = value;
+ this.OnCustomerNameChanged();
+ this.OnPropertyChanged("CustomerName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _CustomerName;
+ partial void OnCustomerNameChanging(string value);
+ partial void OnCustomerNameChanged();
+ ///
+ /// There are no comments for Property Address in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Address
+ {
+ get
+ {
+ return this._Address;
+ }
+ set
+ {
+ this.OnAddressChanging(value);
+ this._Address = value;
+ this.OnAddressChanged();
+ this.OnPropertyChanged("Address");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Address;
+ partial void OnAddressChanging(string value);
+ partial void OnAddressChanged();
+ ///
+ /// There are no comments for Property City in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string City
+ {
+ get
+ {
+ return this._City;
+ }
+ set
+ {
+ this.OnCityChanging(value);
+ this._City = value;
+ this.OnCityChanged();
+ this.OnPropertyChanged("City");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _City;
+ partial void OnCityChanging(string value);
+ partial void OnCityChanged();
+ ///
+ /// There are no comments for Property Region in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Region
+ {
+ get
+ {
+ return this._Region;
+ }
+ set
+ {
+ this.OnRegionChanging(value);
+ this._Region = value;
+ this.OnRegionChanged();
+ this.OnPropertyChanged("Region");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Region;
+ partial void OnRegionChanging(string value);
+ partial void OnRegionChanged();
+ ///
+ /// There are no comments for Property PostalCode in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string PostalCode
+ {
+ get
+ {
+ return this._PostalCode;
+ }
+ set
+ {
+ this.OnPostalCodeChanging(value);
+ this._PostalCode = value;
+ this.OnPostalCodeChanged();
+ this.OnPropertyChanged("PostalCode");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _PostalCode;
+ partial void OnPostalCodeChanging(string value);
+ partial void OnPostalCodeChanged();
+ ///
+ /// There are no comments for Property Country in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Country
+ {
+ get
+ {
+ return this._Country;
+ }
+ set
+ {
+ this.OnCountryChanging(value);
+ this._Country = value;
+ this.OnCountryChanged();
+ this.OnPropertyChanged("Country");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Country;
+ partial void OnCountryChanging(string value);
+ partial void OnCountryChanged();
+ ///
+ /// There are no comments for Property Salesperson in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Salesperson
+ {
+ get
+ {
+ return this._Salesperson;
+ }
+ set
+ {
+ this.OnSalespersonChanging(value);
+ this._Salesperson = value;
+ this.OnSalespersonChanged();
+ this.OnPropertyChanged("Salesperson");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Salesperson;
+ partial void OnSalespersonChanging(string value);
+ partial void OnSalespersonChanged();
+ ///
+ /// There are no comments for Property OrderID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public int OrderID
+ {
+ get
+ {
+ return this._OrderID;
+ }
+ set
+ {
+ this.OnOrderIDChanging(value);
+ this._OrderID = value;
+ this.OnOrderIDChanged();
+ this.OnPropertyChanged("OrderID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private int _OrderID;
+ partial void OnOrderIDChanging(int value);
+ partial void OnOrderIDChanged();
+ ///
+ /// There are no comments for Property OrderDate in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable OrderDate
+ {
+ get
+ {
+ return this._OrderDate;
+ }
+ set
+ {
+ this.OnOrderDateChanging(value);
+ this._OrderDate = value;
+ this.OnOrderDateChanged();
+ this.OnPropertyChanged("OrderDate");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable RequiredDate
+ {
+ get
+ {
+ return this._RequiredDate;
+ }
+ set
+ {
+ this.OnRequiredDateChanging(value);
+ this._RequiredDate = value;
+ this.OnRequiredDateChanged();
+ this.OnPropertyChanged("RequiredDate");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable ShippedDate
+ {
+ get
+ {
+ return this._ShippedDate;
+ }
+ set
+ {
+ this.OnShippedDateChanging(value);
+ this._ShippedDate = value;
+ this.OnShippedDateChanged();
+ this.OnPropertyChanged("ShippedDate");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::System.Nullable _ShippedDate;
+ partial void OnShippedDateChanging(global::System.Nullable value);
+ partial void OnShippedDateChanged();
+ ///
+ /// There are no comments for Property ShipperName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ShipperName
+ {
+ get
+ {
+ return this._ShipperName;
+ }
+ set
+ {
+ this.OnShipperNameChanging(value);
+ this._ShipperName = value;
+ this.OnShipperNameChanged();
+ this.OnPropertyChanged("ShipperName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ShipperName;
+ partial void OnShipperNameChanging(string value);
+ partial void OnShipperNameChanged();
+ ///
+ /// There are no comments for Property ProductID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public int ProductID
+ {
+ get
+ {
+ return this._ProductID;
+ }
+ set
+ {
+ this.OnProductIDChanging(value);
+ this._ProductID = value;
+ this.OnProductIDChanged();
+ this.OnPropertyChanged("ProductID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private int _ProductID;
+ partial void OnProductIDChanging(int value);
+ partial void OnProductIDChanged();
+ ///
+ /// There are no comments for Property ProductName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ProductName
+ {
+ get
+ {
+ return this._ProductName;
+ }
+ set
+ {
+ this.OnProductNameChanging(value);
+ this._ProductName = value;
+ this.OnProductNameChanged();
+ this.OnPropertyChanged("ProductName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ProductName;
+ partial void OnProductNameChanging(string value);
+ partial void OnProductNameChanged();
+ ///
+ /// There are no comments for Property UnitPrice in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public decimal UnitPrice
+ {
+ get
+ {
+ return this._UnitPrice;
+ }
+ set
+ {
+ this.OnUnitPriceChanging(value);
+ this._UnitPrice = value;
+ this.OnUnitPriceChanged();
+ this.OnPropertyChanged("UnitPrice");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private decimal _UnitPrice;
+ partial void OnUnitPriceChanging(decimal value);
+ partial void OnUnitPriceChanged();
+ ///
+ /// There are no comments for Property Quantity in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public short Quantity
+ {
+ get
+ {
+ return this._Quantity;
+ }
+ set
+ {
+ this.OnQuantityChanging(value);
+ this._Quantity = value;
+ this.OnQuantityChanged();
+ this.OnPropertyChanged("Quantity");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private short _Quantity;
+ partial void OnQuantityChanging(short value);
+ partial void OnQuantityChanged();
+ ///
+ /// There are no comments for Property Discount in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public float Discount
+ {
+ get
+ {
+ return this._Discount;
+ }
+ set
+ {
+ this.OnDiscountChanging(value);
+ this._Discount = value;
+ this.OnDiscountChanged();
+ this.OnPropertyChanged("Discount");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private float _Discount;
+ partial void OnDiscountChanging(float value);
+ partial void OnDiscountChanged();
+ ///
+ /// There are no comments for Property ExtendedPrice in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable ExtendedPrice
+ {
+ get
+ {
+ return this._ExtendedPrice;
+ }
+ set
+ {
+ this.OnExtendedPriceChanging(value);
+ this._ExtendedPrice = value;
+ this.OnExtendedPriceChanged();
+ this.OnPropertyChanged("ExtendedPrice");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::System.Nullable _ExtendedPrice;
+ partial void OnExtendedPriceChanging(global::System.Nullable value);
+ partial void OnExtendedPriceChanged();
+ ///
+ /// There are no comments for Property Freight in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable Freight
+ {
+ get
+ {
+ return this._Freight;
+ }
+ set
+ {
+ this.OnFreightChanging(value);
+ this._Freight = value;
+ this.OnFreightChanged();
+ this.OnPropertyChanged("Freight");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::System.Nullable _Freight;
+ partial void OnFreightChanging(global::System.Nullable value);
+ partial void OnFreightChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 Order_Details_ExtendedSingle in the schema.
+ ///
+ public partial class Order_Details_ExtendedSingle : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new Order_Details_ExtendedSingle object.
+ ///
+ public Order_Details_ExtendedSingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new Order_Details_ExtendedSingle object.
+ ///
+ public Order_Details_ExtendedSingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new Order_Details_ExtendedSingle object.
+ ///
+ public Order_Details_ExtendedSingle(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ }
+ ///
+ /// There are no comments for Order_Details_Extended in the schema.
+ ///
+ ///
+ /// Discount
+ /// OrderID
+ /// ProductID
+ /// ProductName
+ /// Quantity
+ /// UnitPrice
+ ///
+ [global::Microsoft.OData.Client.Key("Discount", "OrderID", "ProductID", "ProductName", "Quantity", "UnitPrice")]
+ public partial class Order_Details_Extended : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new Order_Details_Extended object.
+ ///
+ /// Initial value of OrderID.
+ /// Initial value of ProductID.
+ /// Initial value of ProductName.
+ /// Initial value of UnitPrice.
+ /// Initial value of Quantity.
+ /// Initial value of Discount.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public static Order_Details_Extended CreateOrder_Details_Extended(int orderID,
+ int productID,
+ string productName,
+ decimal unitPrice,
+ short quantity,
+ float discount)
+ {
+ Order_Details_Extended order_Details_Extended = new Order_Details_Extended();
+ order_Details_Extended.OrderID = orderID;
+ order_Details_Extended.ProductID = productID;
+ order_Details_Extended.ProductName = productName;
+ order_Details_Extended.UnitPrice = unitPrice;
+ order_Details_Extended.Quantity = quantity;
+ order_Details_Extended.Discount = discount;
+ return order_Details_Extended;
+ }
+ ///
+ /// There are no comments for Property OrderID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public int OrderID
+ {
+ get
+ {
+ return this._OrderID;
+ }
+ set
+ {
+ this.OnOrderIDChanging(value);
+ this._OrderID = value;
+ this.OnOrderIDChanged();
+ this.OnPropertyChanged("OrderID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private int _OrderID;
+ partial void OnOrderIDChanging(int value);
+ partial void OnOrderIDChanged();
+ ///
+ /// There are no comments for Property ProductID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public int ProductID
+ {
+ get
+ {
+ return this._ProductID;
+ }
+ set
+ {
+ this.OnProductIDChanging(value);
+ this._ProductID = value;
+ this.OnProductIDChanged();
+ this.OnPropertyChanged("ProductID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private int _ProductID;
+ partial void OnProductIDChanging(int value);
+ partial void OnProductIDChanged();
+ ///
+ /// There are no comments for Property ProductName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ProductName
+ {
+ get
+ {
+ return this._ProductName;
+ }
+ set
+ {
+ this.OnProductNameChanging(value);
+ this._ProductName = value;
+ this.OnProductNameChanged();
+ this.OnPropertyChanged("ProductName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ProductName;
+ partial void OnProductNameChanging(string value);
+ partial void OnProductNameChanged();
+ ///
+ /// There are no comments for Property UnitPrice in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public decimal UnitPrice
+ {
+ get
+ {
+ return this._UnitPrice;
+ }
+ set
+ {
+ this.OnUnitPriceChanging(value);
+ this._UnitPrice = value;
+ this.OnUnitPriceChanged();
+ this.OnPropertyChanged("UnitPrice");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private decimal _UnitPrice;
+ partial void OnUnitPriceChanging(decimal value);
+ partial void OnUnitPriceChanged();
+ ///
+ /// There are no comments for Property Quantity in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public short Quantity
+ {
+ get
+ {
+ return this._Quantity;
+ }
+ set
+ {
+ this.OnQuantityChanging(value);
+ this._Quantity = value;
+ this.OnQuantityChanged();
+ this.OnPropertyChanged("Quantity");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private short _Quantity;
+ partial void OnQuantityChanging(short value);
+ partial void OnQuantityChanged();
+ ///
+ /// There are no comments for Property Discount in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public float Discount
+ {
+ get
+ {
+ return this._Discount;
+ }
+ set
+ {
+ this.OnDiscountChanging(value);
+ this._Discount = value;
+ this.OnDiscountChanged();
+ this.OnPropertyChanged("Discount");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private float _Discount;
+ partial void OnDiscountChanging(float value);
+ partial void OnDiscountChanged();
+ ///
+ /// There are no comments for Property ExtendedPrice in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable ExtendedPrice
+ {
+ get
+ {
+ return this._ExtendedPrice;
+ }
+ set
+ {
+ this.OnExtendedPriceChanging(value);
+ this._ExtendedPrice = value;
+ this.OnExtendedPriceChanged();
+ this.OnPropertyChanged("ExtendedPrice");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::System.Nullable _ExtendedPrice;
+ partial void OnExtendedPriceChanging(global::System.Nullable value);
+ partial void OnExtendedPriceChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 Order_SubtotalSingle in the schema.
+ ///
+ public partial class Order_SubtotalSingle : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new Order_SubtotalSingle object.
+ ///
+ public Order_SubtotalSingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new Order_SubtotalSingle object.
+ ///
+ public Order_SubtotalSingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new Order_SubtotalSingle object.
+ ///
+ public Order_SubtotalSingle(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ }
+ ///
+ /// There are no comments for Order_Subtotal in the schema.
+ ///
+ ///
+ /// OrderID
+ ///
+ [global::Microsoft.OData.Client.Key("OrderID")]
+ public partial class Order_Subtotal : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new Order_Subtotal object.
+ ///
+ /// Initial value of OrderID.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public static Order_Subtotal CreateOrder_Subtotal(int orderID)
+ {
+ Order_Subtotal order_Subtotal = new Order_Subtotal();
+ order_Subtotal.OrderID = orderID;
+ return order_Subtotal;
+ }
+ ///
+ /// There are no comments for Property OrderID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public int OrderID
+ {
+ get
+ {
+ return this._OrderID;
+ }
+ set
+ {
+ this.OnOrderIDChanging(value);
+ this._OrderID = value;
+ this.OnOrderIDChanged();
+ this.OnPropertyChanged("OrderID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private int _OrderID;
+ partial void OnOrderIDChanging(int value);
+ partial void OnOrderIDChanged();
+ ///
+ /// There are no comments for Property Subtotal in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable Subtotal
+ {
+ get
+ {
+ return this._Subtotal;
+ }
+ set
+ {
+ this.OnSubtotalChanging(value);
+ this._Subtotal = value;
+ this.OnSubtotalChanged();
+ this.OnPropertyChanged("Subtotal");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::System.Nullable _Subtotal;
+ partial void OnSubtotalChanging(global::System.Nullable value);
+ partial void OnSubtotalChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 Orders_QrySingle in the schema.
+ ///
+ public partial class Orders_QrySingle : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new Orders_QrySingle object.
+ ///
+ public Orders_QrySingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new Orders_QrySingle object.
+ ///
+ public Orders_QrySingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new Orders_QrySingle object.
+ ///
+ public Orders_QrySingle(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ }
+ ///
+ /// There are no comments for Orders_Qry in the schema.
+ ///
+ ///
+ /// CompanyName
+ /// OrderID
+ ///
+ [global::Microsoft.OData.Client.Key("CompanyName", "OrderID")]
+ public partial class Orders_Qry : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new Orders_Qry object.
+ ///
+ /// Initial value of OrderID.
+ /// Initial value of CompanyName.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public static Orders_Qry CreateOrders_Qry(int orderID, string companyName)
+ {
+ Orders_Qry orders_Qry = new Orders_Qry();
+ orders_Qry.OrderID = orderID;
+ orders_Qry.CompanyName = companyName;
+ return orders_Qry;
+ }
+ ///
+ /// There are no comments for Property OrderID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public int OrderID
+ {
+ get
+ {
+ return this._OrderID;
+ }
+ set
+ {
+ this.OnOrderIDChanging(value);
+ this._OrderID = value;
+ this.OnOrderIDChanged();
+ this.OnPropertyChanged("OrderID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private int _OrderID;
+ partial void OnOrderIDChanging(int value);
+ partial void OnOrderIDChanged();
+ ///
+ /// There are no comments for Property CustomerID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string CustomerID
+ {
+ get
+ {
+ return this._CustomerID;
+ }
+ set
+ {
+ this.OnCustomerIDChanging(value);
+ this._CustomerID = value;
+ this.OnCustomerIDChanged();
+ this.OnPropertyChanged("CustomerID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _CustomerID;
+ partial void OnCustomerIDChanging(string value);
+ partial void OnCustomerIDChanged();
+ ///
+ /// There are no comments for Property EmployeeID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable EmployeeID
+ {
+ get
+ {
+ return this._EmployeeID;
+ }
+ set
+ {
+ this.OnEmployeeIDChanging(value);
+ this._EmployeeID = value;
+ this.OnEmployeeIDChanged();
+ this.OnPropertyChanged("EmployeeID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable OrderDate
+ {
+ get
+ {
+ return this._OrderDate;
+ }
+ set
+ {
+ this.OnOrderDateChanging(value);
+ this._OrderDate = value;
+ this.OnOrderDateChanged();
+ this.OnPropertyChanged("OrderDate");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable RequiredDate
+ {
+ get
+ {
+ return this._RequiredDate;
+ }
+ set
+ {
+ this.OnRequiredDateChanging(value);
+ this._RequiredDate = value;
+ this.OnRequiredDateChanged();
+ this.OnPropertyChanged("RequiredDate");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable ShippedDate
+ {
+ get
+ {
+ return this._ShippedDate;
+ }
+ set
+ {
+ this.OnShippedDateChanging(value);
+ this._ShippedDate = value;
+ this.OnShippedDateChanged();
+ this.OnPropertyChanged("ShippedDate");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable ShipVia
+ {
+ get
+ {
+ return this._ShipVia;
+ }
+ set
+ {
+ this.OnShipViaChanging(value);
+ this._ShipVia = value;
+ this.OnShipViaChanged();
+ this.OnPropertyChanged("ShipVia");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable Freight
+ {
+ get
+ {
+ return this._Freight;
+ }
+ set
+ {
+ this.OnFreightChanging(value);
+ this._Freight = value;
+ this.OnFreightChanged();
+ this.OnPropertyChanged("Freight");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ShipName
+ {
+ get
+ {
+ return this._ShipName;
+ }
+ set
+ {
+ this.OnShipNameChanging(value);
+ this._ShipName = value;
+ this.OnShipNameChanged();
+ this.OnPropertyChanged("ShipName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ShipName;
+ partial void OnShipNameChanging(string value);
+ partial void OnShipNameChanged();
+ ///
+ /// There are no comments for Property ShipAddress in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ShipAddress
+ {
+ get
+ {
+ return this._ShipAddress;
+ }
+ set
+ {
+ this.OnShipAddressChanging(value);
+ this._ShipAddress = value;
+ this.OnShipAddressChanged();
+ this.OnPropertyChanged("ShipAddress");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ShipAddress;
+ partial void OnShipAddressChanging(string value);
+ partial void OnShipAddressChanged();
+ ///
+ /// There are no comments for Property ShipCity in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ShipCity
+ {
+ get
+ {
+ return this._ShipCity;
+ }
+ set
+ {
+ this.OnShipCityChanging(value);
+ this._ShipCity = value;
+ this.OnShipCityChanged();
+ this.OnPropertyChanged("ShipCity");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ShipCity;
+ partial void OnShipCityChanging(string value);
+ partial void OnShipCityChanged();
+ ///
+ /// There are no comments for Property ShipRegion in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ShipRegion
+ {
+ get
+ {
+ return this._ShipRegion;
+ }
+ set
+ {
+ this.OnShipRegionChanging(value);
+ this._ShipRegion = value;
+ this.OnShipRegionChanged();
+ this.OnPropertyChanged("ShipRegion");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ShipRegion;
+ partial void OnShipRegionChanging(string value);
+ partial void OnShipRegionChanged();
+ ///
+ /// There are no comments for Property ShipPostalCode in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ShipPostalCode
+ {
+ get
+ {
+ return this._ShipPostalCode;
+ }
+ set
+ {
+ this.OnShipPostalCodeChanging(value);
+ this._ShipPostalCode = value;
+ this.OnShipPostalCodeChanged();
+ this.OnPropertyChanged("ShipPostalCode");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ShipPostalCode;
+ partial void OnShipPostalCodeChanging(string value);
+ partial void OnShipPostalCodeChanged();
+ ///
+ /// There are no comments for Property ShipCountry in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ShipCountry
+ {
+ get
+ {
+ return this._ShipCountry;
+ }
+ set
+ {
+ this.OnShipCountryChanging(value);
+ this._ShipCountry = value;
+ this.OnShipCountryChanged();
+ this.OnPropertyChanged("ShipCountry");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ShipCountry;
+ partial void OnShipCountryChanging(string value);
+ partial void OnShipCountryChanged();
+ ///
+ /// There are no comments for Property CompanyName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string CompanyName
+ {
+ get
+ {
+ return this._CompanyName;
+ }
+ set
+ {
+ this.OnCompanyNameChanging(value);
+ this._CompanyName = value;
+ this.OnCompanyNameChanged();
+ this.OnPropertyChanged("CompanyName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _CompanyName;
+ partial void OnCompanyNameChanging(string value);
+ partial void OnCompanyNameChanged();
+ ///
+ /// There are no comments for Property Address in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Address
+ {
+ get
+ {
+ return this._Address;
+ }
+ set
+ {
+ this.OnAddressChanging(value);
+ this._Address = value;
+ this.OnAddressChanged();
+ this.OnPropertyChanged("Address");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Address;
+ partial void OnAddressChanging(string value);
+ partial void OnAddressChanged();
+ ///
+ /// There are no comments for Property City in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string City
+ {
+ get
+ {
+ return this._City;
+ }
+ set
+ {
+ this.OnCityChanging(value);
+ this._City = value;
+ this.OnCityChanged();
+ this.OnPropertyChanged("City");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _City;
+ partial void OnCityChanging(string value);
+ partial void OnCityChanged();
+ ///
+ /// There are no comments for Property Region in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Region
+ {
+ get
+ {
+ return this._Region;
+ }
+ set
+ {
+ this.OnRegionChanging(value);
+ this._Region = value;
+ this.OnRegionChanged();
+ this.OnPropertyChanged("Region");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Region;
+ partial void OnRegionChanging(string value);
+ partial void OnRegionChanged();
+ ///
+ /// There are no comments for Property PostalCode in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string PostalCode
+ {
+ get
+ {
+ return this._PostalCode;
+ }
+ set
+ {
+ this.OnPostalCodeChanging(value);
+ this._PostalCode = value;
+ this.OnPostalCodeChanged();
+ this.OnPropertyChanged("PostalCode");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _PostalCode;
+ partial void OnPostalCodeChanging(string value);
+ partial void OnPostalCodeChanged();
+ ///
+ /// There are no comments for Property Country in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string Country
+ {
+ get
+ {
+ return this._Country;
+ }
+ set
+ {
+ this.OnCountryChanging(value);
+ this._Country = value;
+ this.OnCountryChanged();
+ this.OnPropertyChanged("Country");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _Country;
+ partial void OnCountryChanging(string value);
+ partial void OnCountryChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 Product_Sales_for_1997Single in the schema.
+ ///
+ public partial class Product_Sales_for_1997Single : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new Product_Sales_for_1997Single object.
+ ///
+ public Product_Sales_for_1997Single(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new Product_Sales_for_1997Single object.
+ ///
+ public Product_Sales_for_1997Single(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new Product_Sales_for_1997Single object.
+ ///
+ public Product_Sales_for_1997Single(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ }
+ ///
+ /// There are no comments for Product_Sales_for_1997 in the schema.
+ ///
+ ///
+ /// CategoryName
+ /// ProductName
+ ///
+ [global::Microsoft.OData.Client.Key("CategoryName", "ProductName")]
+ public partial class Product_Sales_for_1997 : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new Product_Sales_for_1997 object.
+ ///
+ /// Initial value of CategoryName.
+ /// Initial value of ProductName.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public static Product_Sales_for_1997 CreateProduct_Sales_for_1997(string categoryName, string productName)
+ {
+ Product_Sales_for_1997 product_Sales_for_1997 = new Product_Sales_for_1997();
+ product_Sales_for_1997.CategoryName = categoryName;
+ product_Sales_for_1997.ProductName = productName;
+ return product_Sales_for_1997;
+ }
+ ///
+ /// There are no comments for Property CategoryName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string CategoryName
+ {
+ get
+ {
+ return this._CategoryName;
+ }
+ set
+ {
+ this.OnCategoryNameChanging(value);
+ this._CategoryName = value;
+ this.OnCategoryNameChanged();
+ this.OnPropertyChanged("CategoryName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _CategoryName;
+ partial void OnCategoryNameChanging(string value);
+ partial void OnCategoryNameChanged();
+ ///
+ /// There are no comments for Property ProductName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ProductName
+ {
+ get
+ {
+ return this._ProductName;
+ }
+ set
+ {
+ this.OnProductNameChanging(value);
+ this._ProductName = value;
+ this.OnProductNameChanged();
+ this.OnPropertyChanged("ProductName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ProductName;
+ partial void OnProductNameChanging(string value);
+ partial void OnProductNameChanged();
+ ///
+ /// There are no comments for Property ProductSales in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable ProductSales
+ {
+ get
+ {
+ return this._ProductSales;
+ }
+ set
+ {
+ this.OnProductSalesChanging(value);
+ this._ProductSales = value;
+ this.OnProductSalesChanged();
+ this.OnPropertyChanged("ProductSales");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::System.Nullable _ProductSales;
+ partial void OnProductSalesChanging(global::System.Nullable value);
+ partial void OnProductSalesChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 Products_Above_Average_PriceSingle in the schema.
+ ///
+ public partial class Products_Above_Average_PriceSingle : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new Products_Above_Average_PriceSingle object.
+ ///
+ public Products_Above_Average_PriceSingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new Products_Above_Average_PriceSingle object.
+ ///
+ public Products_Above_Average_PriceSingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new Products_Above_Average_PriceSingle object.
+ ///
+ public Products_Above_Average_PriceSingle(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ }
+ ///
+ /// There are no comments for Products_Above_Average_Price in the schema.
+ ///
+ ///
+ /// ProductName
+ ///
+ [global::Microsoft.OData.Client.Key("ProductName")]
+ public partial class Products_Above_Average_Price : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new Products_Above_Average_Price object.
+ ///
+ /// Initial value of ProductName.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public static Products_Above_Average_Price CreateProducts_Above_Average_Price(string productName)
+ {
+ Products_Above_Average_Price products_Above_Average_Price = new Products_Above_Average_Price();
+ products_Above_Average_Price.ProductName = productName;
+ return products_Above_Average_Price;
+ }
+ ///
+ /// There are no comments for Property ProductName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ProductName
+ {
+ get
+ {
+ return this._ProductName;
+ }
+ set
+ {
+ this.OnProductNameChanging(value);
+ this._ProductName = value;
+ this.OnProductNameChanged();
+ this.OnPropertyChanged("ProductName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ProductName;
+ partial void OnProductNameChanging(string value);
+ partial void OnProductNameChanged();
+ ///
+ /// There are no comments for Property UnitPrice in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable UnitPrice
+ {
+ get
+ {
+ return this._UnitPrice;
+ }
+ set
+ {
+ this.OnUnitPriceChanging(value);
+ this._UnitPrice = value;
+ this.OnUnitPriceChanged();
+ this.OnPropertyChanged("UnitPrice");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::System.Nullable _UnitPrice;
+ partial void OnUnitPriceChanging(global::System.Nullable value);
+ partial void OnUnitPriceChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 Products_by_CategorySingle in the schema.
+ ///
+ public partial class Products_by_CategorySingle : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new Products_by_CategorySingle object.
+ ///
+ public Products_by_CategorySingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new Products_by_CategorySingle object.
+ ///
+ public Products_by_CategorySingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new Products_by_CategorySingle object.
+ ///
+ public Products_by_CategorySingle(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ }
+ ///
+ /// There are no comments for Products_by_Category in the schema.
+ ///
+ ///
+ /// CategoryName
+ /// Discontinued
+ /// ProductName
+ ///
+ [global::Microsoft.OData.Client.Key("CategoryName", "Discontinued", "ProductName")]
+ public partial class Products_by_Category : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new Products_by_Category object.
+ ///
+ /// Initial value of CategoryName.
+ /// Initial value of ProductName.
+ /// Initial value of Discontinued.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public static Products_by_Category CreateProducts_by_Category(string categoryName, string productName, bool discontinued)
+ {
+ Products_by_Category products_by_Category = new Products_by_Category();
+ products_by_Category.CategoryName = categoryName;
+ products_by_Category.ProductName = productName;
+ products_by_Category.Discontinued = discontinued;
+ return products_by_Category;
+ }
+ ///
+ /// There are no comments for Property CategoryName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string CategoryName
+ {
+ get
+ {
+ return this._CategoryName;
+ }
+ set
+ {
+ this.OnCategoryNameChanging(value);
+ this._CategoryName = value;
+ this.OnCategoryNameChanged();
+ this.OnPropertyChanged("CategoryName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _CategoryName;
+ partial void OnCategoryNameChanging(string value);
+ partial void OnCategoryNameChanged();
+ ///
+ /// There are no comments for Property ProductName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ProductName
+ {
+ get
+ {
+ return this._ProductName;
+ }
+ set
+ {
+ this.OnProductNameChanging(value);
+ this._ProductName = value;
+ this.OnProductNameChanged();
+ this.OnPropertyChanged("ProductName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ProductName;
+ partial void OnProductNameChanging(string value);
+ partial void OnProductNameChanged();
+ ///
+ /// There are no comments for Property QuantityPerUnit in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string QuantityPerUnit
+ {
+ get
+ {
+ return this._QuantityPerUnit;
+ }
+ set
+ {
+ this.OnQuantityPerUnitChanging(value);
+ this._QuantityPerUnit = value;
+ this.OnQuantityPerUnitChanged();
+ this.OnPropertyChanged("QuantityPerUnit");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _QuantityPerUnit;
+ partial void OnQuantityPerUnitChanging(string value);
+ partial void OnQuantityPerUnitChanged();
+ ///
+ /// There are no comments for Property UnitsInStock in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable UnitsInStock
+ {
+ get
+ {
+ return this._UnitsInStock;
+ }
+ set
+ {
+ this.OnUnitsInStockChanging(value);
+ this._UnitsInStock = value;
+ this.OnUnitsInStockChanged();
+ this.OnPropertyChanged("UnitsInStock");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::System.Nullable _UnitsInStock;
+ partial void OnUnitsInStockChanging(global::System.Nullable value);
+ partial void OnUnitsInStockChanged();
+ ///
+ /// There are no comments for Property Discontinued in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public bool Discontinued
+ {
+ get
+ {
+ return this._Discontinued;
+ }
+ set
+ {
+ this.OnDiscontinuedChanging(value);
+ this._Discontinued = value;
+ this.OnDiscontinuedChanged();
+ this.OnPropertyChanged("Discontinued");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private bool _Discontinued;
+ partial void OnDiscontinuedChanging(bool value);
+ partial void OnDiscontinuedChanged();
+ ///
+ /// This event is raised when the value of the property is changed
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// The value of the property is changed
+ ///
+ /// property name
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.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 Sales_by_CategorySingle in the schema.
+ ///
+ public partial class Sales_by_CategorySingle : global::Microsoft.OData.Client.DataServiceQuerySingle
+ {
+ ///
+ /// Initialize a new Sales_by_CategorySingle object.
+ ///
+ public Sales_by_CategorySingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
+ : base(context, path) {}
+
+ ///
+ /// Initialize a new Sales_by_CategorySingle object.
+ ///
+ public Sales_by_CategorySingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
+ : base(context, path, isComposable) {}
+
+ ///
+ /// Initialize a new Sales_by_CategorySingle object.
+ ///
+ public Sales_by_CategorySingle(global::Microsoft.OData.Client.DataServiceQuerySingle query)
+ : base(query) {}
+
+ }
+ ///
+ /// There are no comments for Sales_by_Category in the schema.
+ ///
+ ///
+ /// CategoryID
+ /// CategoryName
+ /// ProductName
+ ///
+ [global::Microsoft.OData.Client.Key("CategoryID", "CategoryName", "ProductName")]
+ public partial class Sales_by_Category : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
+ {
+ ///
+ /// Create a new Sales_by_Category object.
+ ///
+ /// Initial value of CategoryID.
+ /// Initial value of CategoryName.
+ /// Initial value of ProductName.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public static Sales_by_Category CreateSales_by_Category(int categoryID, string categoryName, string productName)
+ {
+ Sales_by_Category sales_by_Category = new Sales_by_Category();
+ sales_by_Category.CategoryID = categoryID;
+ sales_by_Category.CategoryName = categoryName;
+ sales_by_Category.ProductName = productName;
+ return sales_by_Category;
+ }
+ ///
+ /// There are no comments for Property CategoryID in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public int CategoryID
+ {
+ get
+ {
+ return this._CategoryID;
+ }
+ set
+ {
+ this.OnCategoryIDChanging(value);
+ this._CategoryID = value;
+ this.OnCategoryIDChanged();
+ this.OnPropertyChanged("CategoryID");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private int _CategoryID;
+ partial void OnCategoryIDChanging(int value);
+ partial void OnCategoryIDChanged();
+ ///
+ /// There are no comments for Property CategoryName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string CategoryName
+ {
+ get
+ {
+ return this._CategoryName;
+ }
+ set
+ {
+ this.OnCategoryNameChanging(value);
+ this._CategoryName = value;
+ this.OnCategoryNameChanged();
+ this.OnPropertyChanged("CategoryName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _CategoryName;
+ partial void OnCategoryNameChanging(string value);
+ partial void OnCategoryNameChanged();
+ ///
+ /// There are no comments for Property ProductName in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public string ProductName
+ {
+ get
+ {
+ return this._ProductName;
+ }
+ set
+ {
+ this.OnProductNameChanging(value);
+ this._ProductName = value;
+ this.OnProductNameChanged();
+ this.OnPropertyChanged("ProductName");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private string _ProductName;
+ partial void OnProductNameChanging(string value);
+ partial void OnProductNameChanged();
+ ///
+ /// There are no comments for Property ProductSales in the schema.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ public global::System.Nullable ProductSales
+ {
+ get
+ {
+ return this._ProductSales;
+ }
+ set
+ {
+ this.OnProductSalesChanging(value);
+ this._ProductSales = value;
+ this.OnProductSalesChanged();
+ this.OnPropertyChanged("ProductSales");
+ }
+ }
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
+ private global::System.Nullable _ProductSales;
+ partial void OnProductSalesChanging(global::System.Nullable value);
+ partial void OnProductSalesChanged();
+ ///