//------------------------------------------------------------------------------ // // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated. // //------------------------------------------------------------------------------ using System; using System.ComponentModel; using System.Data.EntityClient; using System.Data.Objects; using System.Data.Objects.DataClasses; using System.Linq; using System.Runtime.Serialization; using System.Xml.Serialization; [assembly: EdmSchemaAttribute()] #region EDM Relationship Metadata [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_Customers_BillingProfiles", "BillingProfile", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.BillingProfile), "Customer", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.Customer), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_CustomerInventory_Customer", "Customer", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.Customer), "CustomerInventory", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.CustomerInventory), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_CustomerInventory_InventoryItemTypes", "InventoryItemType", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.InventoryItemType), "CustomerInventory", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.CustomerInventory), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_CustomerInventory_OperatorLogins", "OperatorLogin", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.OperatorLogin), "CustomerInventory", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.CustomerInventory), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_CustomerLogins_Customers", "Customer", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.Customer), "CustomerLogin", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.CustomerLogin), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_WorkloadBags_CustomerLogins", "CustomerLogin", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.CustomerLogin), "CustomerWorkloadBag", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.CustomerWorkloadBag), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_Workloads_CustomerLogins", "CustomerLogin", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.CustomerLogin), "Workload", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.Workload), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_Customers_OperatorLogins", "OperatorLogin", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.OperatorLogin), "Customer", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.Customer), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_InventoryItems_Customers", "Customer", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.Customer), "InventoryItem", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.InventoryItem), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_Workloads_Customers", "Customer", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.Customer), "Workload", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.Workload), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_WorkloadBags_Workloads", "Workload", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.Workload), "CustomerWorkloadBag", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.CustomerWorkloadBag), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_InventoryItems_InventoryItemTypes", "InventoryItemType", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.InventoryItemType), "InventoryItem", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.InventoryItem), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_InventoryItemTypes_InventoryItemTypeCategories", "InventoryItemTypeCategory", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.InventoryItemTypeCategory), "InventoryItemType", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.InventoryItemType), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_InventoryItemTypes_InventoryItemTypeSize", "InventoryItemTypeSize", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.InventoryItemTypeSize), "InventoryItemType", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.InventoryItemType), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_OperatorLogins_OperatorRoles", "OperatorRole", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.OperatorRole), "OperatorLogin", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.OperatorLogin), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_Workloads_OperatorLogins", "OperatorLogin", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.OperatorLogin), "Workload", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.Workload), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_Workloads_WorkloadStatus", "WorkloadStatu", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.WorkloadStatus), "Workload", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.Workload), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_Workloads_WorkloadTypes", "WorkloadType", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.WorkloadType), "Workload", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.Workload), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_Invoices_Customers", "Customer", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.Customer), "Invoice", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.Invoice), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_InvoiceItems_InventoryItemTypes", "InventoryItemType", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.InventoryItemType), "InvoiceItem", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.InvoiceItem), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_InvoiceItems_Invoices", "Invoice", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.Invoice), "InvoiceItem", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.InvoiceItem), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_InvoiceItems_OperatorLogins", "OperatorLogin", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.OperatorLogin), "InvoiceItem", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.InvoiceItem), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_Invoices_InvoiceStatus", "InvoiceStatu", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.InvoiceStatus), "Invoice", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.Invoice), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_Invoices_OperatorLogins", "OperatorLogin", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.OperatorLogin), "Invoice", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.Invoice), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_Invoices_Workloads", "Workload", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.Workload), "Invoice", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.Invoice), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_Dispatches_DispatchStatus", "DispatchStatu", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.DispatchStatu), "Dispatch", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.Dispatch), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_Dispatches_Invoices", "Invoice", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.Invoice), "Dispatch", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.Dispatch), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_Dispatches_OperatorLogins", "OperatorLogin", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.OperatorLogin), "Dispatch", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.Dispatch), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_DispatchItems_Dispatches", "Dispatch", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.Dispatch), "DispatchItem", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.DispatchItem), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_DispatchItems_InvoiceItems", "InvoiceItem", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.InvoiceItem), "DispatchItem", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.DispatchItem), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_WorkloadItems_CustomerInventory", "CustomerInventory", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.CustomerInventory), "WorkloadItem", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.WorkloadItem), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_WorkloadItems_CustomerLogins", "CustomerLogin", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.CustomerLogin), "WorkloadItem", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.WorkloadItem), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_WorkloadItems_OperatorLogins", "OperatorLogin", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.OperatorLogin), "WorkloadItem", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.WorkloadItem), true)] [assembly: EdmRelationshipAttribute("PersonalLaundryModel", "FK_WorkloadItems_Workloads", "Workload", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(Common.Workload), "WorkloadItem", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(Common.WorkloadItem), true)] #endregion namespace Common { #region Contexts /// /// No Metadata Documentation available. /// public partial class PersonalLaundryEntities : ObjectContext { #region Constructors /// /// Initializes a new PersonalLaundryEntities object using the connection string found in the 'PersonalLaundryEntities' section of the application configuration file. /// public PersonalLaundryEntities() : base("name=PersonalLaundryEntities", "PersonalLaundryEntities") { this.ContextOptions.LazyLoadingEnabled = true; OnContextCreated(); } /// /// Initialize a new PersonalLaundryEntities object. /// public PersonalLaundryEntities(string connectionString) : base(connectionString, "PersonalLaundryEntities") { this.ContextOptions.LazyLoadingEnabled = true; OnContextCreated(); } /// /// Initialize a new PersonalLaundryEntities object. /// public PersonalLaundryEntities(EntityConnection connection) : base(connection, "PersonalLaundryEntities") { this.ContextOptions.LazyLoadingEnabled = true; OnContextCreated(); } #endregion #region Partial Methods partial void OnContextCreated(); #endregion #region ObjectSet Properties /// /// No Metadata Documentation available. /// public ObjectSet BillingProfiles { get { if ((_BillingProfiles == null)) { _BillingProfiles = base.CreateObjectSet("BillingProfiles"); } return _BillingProfiles; } } private ObjectSet _BillingProfiles; /// /// No Metadata Documentation available. /// public ObjectSet CustomerInventories { get { if ((_CustomerInventories == null)) { _CustomerInventories = base.CreateObjectSet("CustomerInventories"); } return _CustomerInventories; } } private ObjectSet _CustomerInventories; /// /// No Metadata Documentation available. /// public ObjectSet CustomerLogins { get { if ((_CustomerLogins == null)) { _CustomerLogins = base.CreateObjectSet("CustomerLogins"); } return _CustomerLogins; } } private ObjectSet _CustomerLogins; /// /// No Metadata Documentation available. /// public ObjectSet Customers { get { if ((_Customers == null)) { _Customers = base.CreateObjectSet("Customers"); } return _Customers; } } private ObjectSet _Customers; /// /// No Metadata Documentation available. /// public ObjectSet CustomerWorkloadBags { get { if ((_CustomerWorkloadBags == null)) { _CustomerWorkloadBags = base.CreateObjectSet("CustomerWorkloadBags"); } return _CustomerWorkloadBags; } } private ObjectSet _CustomerWorkloadBags; /// /// No Metadata Documentation available. /// public ObjectSet InventoryItems { get { if ((_InventoryItems == null)) { _InventoryItems = base.CreateObjectSet("InventoryItems"); } return _InventoryItems; } } private ObjectSet _InventoryItems; /// /// No Metadata Documentation available. /// public ObjectSet InventoryItemTypeCategories { get { if ((_InventoryItemTypeCategories == null)) { _InventoryItemTypeCategories = base.CreateObjectSet("InventoryItemTypeCategories"); } return _InventoryItemTypeCategories; } } private ObjectSet _InventoryItemTypeCategories; /// /// No Metadata Documentation available. /// public ObjectSet InventoryItemTypes { get { if ((_InventoryItemTypes == null)) { _InventoryItemTypes = base.CreateObjectSet("InventoryItemTypes"); } return _InventoryItemTypes; } } private ObjectSet _InventoryItemTypes; /// /// No Metadata Documentation available. /// public ObjectSet InventoryItemTypeSizes { get { if ((_InventoryItemTypeSizes == null)) { _InventoryItemTypeSizes = base.CreateObjectSet("InventoryItemTypeSizes"); } return _InventoryItemTypeSizes; } } private ObjectSet _InventoryItemTypeSizes; /// /// No Metadata Documentation available. /// public ObjectSet OperatorLogins { get { if ((_OperatorLogins == null)) { _OperatorLogins = base.CreateObjectSet("OperatorLogins"); } return _OperatorLogins; } } private ObjectSet _OperatorLogins; /// /// No Metadata Documentation available. /// public ObjectSet OperatorRoles { get { if ((_OperatorRoles == null)) { _OperatorRoles = base.CreateObjectSet("OperatorRoles"); } return _OperatorRoles; } } private ObjectSet _OperatorRoles; /// /// No Metadata Documentation available. /// public ObjectSet Workloads { get { if ((_Workloads == null)) { _Workloads = base.CreateObjectSet("Workloads"); } return _Workloads; } } private ObjectSet _Workloads; /// /// No Metadata Documentation available. /// public ObjectSet WorkloadStatuses { get { if ((_WorkloadStatuses == null)) { _WorkloadStatuses = base.CreateObjectSet("WorkloadStatuses"); } return _WorkloadStatuses; } } private ObjectSet _WorkloadStatuses; /// /// No Metadata Documentation available. /// public ObjectSet WorkloadTypes { get { if ((_WorkloadTypes == null)) { _WorkloadTypes = base.CreateObjectSet("WorkloadTypes"); } return _WorkloadTypes; } } private ObjectSet _WorkloadTypes; /// /// No Metadata Documentation available. /// public ObjectSet vwCustomerBagsWaitingCountings { get { if ((_vwCustomerBagsWaitingCountings == null)) { _vwCustomerBagsWaitingCountings = base.CreateObjectSet("vwCustomerBagsWaitingCountings"); } return _vwCustomerBagsWaitingCountings; } } private ObjectSet _vwCustomerBagsWaitingCountings; /// /// No Metadata Documentation available. /// public ObjectSet vwWorkloadStatusReports { get { if ((_vwWorkloadStatusReports == null)) { _vwWorkloadStatusReports = base.CreateObjectSet("vwWorkloadStatusReports"); } return _vwWorkloadStatusReports; } } private ObjectSet _vwWorkloadStatusReports; /// /// No Metadata Documentation available. /// public ObjectSet vwWorkloadCategoryTypeCounts { get { if ((_vwWorkloadCategoryTypeCounts == null)) { _vwWorkloadCategoryTypeCounts = base.CreateObjectSet("vwWorkloadCategoryTypeCounts"); } return _vwWorkloadCategoryTypeCounts; } } private ObjectSet _vwWorkloadCategoryTypeCounts; /// /// No Metadata Documentation available. /// public ObjectSet vwInventoryItemTypes { get { if ((_vwInventoryItemTypes == null)) { _vwInventoryItemTypes = base.CreateObjectSet("vwInventoryItemTypes"); } return _vwInventoryItemTypes; } } private ObjectSet _vwInventoryItemTypes; /// /// No Metadata Documentation available. /// public ObjectSet InvoiceItems { get { if ((_InvoiceItems == null)) { _InvoiceItems = base.CreateObjectSet("InvoiceItems"); } return _InvoiceItems; } } private ObjectSet _InvoiceItems; /// /// No Metadata Documentation available. /// public ObjectSet Invoices { get { if ((_Invoices == null)) { _Invoices = base.CreateObjectSet("Invoices"); } return _Invoices; } } private ObjectSet _Invoices; /// /// No Metadata Documentation available. /// public ObjectSet InvoiceStatuses { get { if ((_InvoiceStatuses == null)) { _InvoiceStatuses = base.CreateObjectSet("InvoiceStatuses"); } return _InvoiceStatuses; } } private ObjectSet _InvoiceStatuses; /// /// No Metadata Documentation available. /// public ObjectSet Settings { get { if ((_Settings == null)) { _Settings = base.CreateObjectSet("Settings"); } return _Settings; } } private ObjectSet _Settings; /// /// No Metadata Documentation available. /// public ObjectSet CustomerInventoryForWorkloads { get { if ((_CustomerInventoryForWorkloads == null)) { _CustomerInventoryForWorkloads = base.CreateObjectSet("CustomerInventoryForWorkloads"); } return _CustomerInventoryForWorkloads; } } private ObjectSet _CustomerInventoryForWorkloads; /// /// No Metadata Documentation available. /// public ObjectSet CustomerInventoryForWorkloadCloseds { get { if ((_CustomerInventoryForWorkloadCloseds == null)) { _CustomerInventoryForWorkloadCloseds = base.CreateObjectSet("CustomerInventoryForWorkloadCloseds"); } return _CustomerInventoryForWorkloadCloseds; } } private ObjectSet _CustomerInventoryForWorkloadCloseds; /// /// No Metadata Documentation available. /// public ObjectSet Dispatches { get { if ((_Dispatches == null)) { _Dispatches = base.CreateObjectSet("Dispatches"); } return _Dispatches; } } private ObjectSet _Dispatches; /// /// No Metadata Documentation available. /// public ObjectSet DispatchItems { get { if ((_DispatchItems == null)) { _DispatchItems = base.CreateObjectSet("DispatchItems"); } return _DispatchItems; } } private ObjectSet _DispatchItems; /// /// No Metadata Documentation available. /// public ObjectSet DispatchStatus { get { if ((_DispatchStatus == null)) { _DispatchStatus = base.CreateObjectSet("DispatchStatus"); } return _DispatchStatus; } } private ObjectSet _DispatchStatus; /// /// No Metadata Documentation available. /// public ObjectSet WorkloadItems { get { if ((_WorkloadItems == null)) { _WorkloadItems = base.CreateObjectSet("WorkloadItems"); } return _WorkloadItems; } } private ObjectSet _WorkloadItems; #endregion #region AddTo Methods /// /// Deprecated Method for adding a new object to the BillingProfiles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToBillingProfiles(BillingProfile billingProfile) { base.AddObject("BillingProfiles", billingProfile); } /// /// Deprecated Method for adding a new object to the CustomerInventories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToCustomerInventories(CustomerInventory customerInventory) { base.AddObject("CustomerInventories", customerInventory); } /// /// Deprecated Method for adding a new object to the CustomerLogins EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToCustomerLogins(CustomerLogin customerLogin) { base.AddObject("CustomerLogins", customerLogin); } /// /// Deprecated Method for adding a new object to the Customers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToCustomers(Customer customer) { base.AddObject("Customers", customer); } /// /// Deprecated Method for adding a new object to the CustomerWorkloadBags EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToCustomerWorkloadBags(CustomerWorkloadBag customerWorkloadBag) { base.AddObject("CustomerWorkloadBags", customerWorkloadBag); } /// /// Deprecated Method for adding a new object to the InventoryItems EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToInventoryItems(InventoryItem inventoryItem) { base.AddObject("InventoryItems", inventoryItem); } /// /// Deprecated Method for adding a new object to the InventoryItemTypeCategories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToInventoryItemTypeCategories(InventoryItemTypeCategory inventoryItemTypeCategory) { base.AddObject("InventoryItemTypeCategories", inventoryItemTypeCategory); } /// /// Deprecated Method for adding a new object to the InventoryItemTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToInventoryItemTypes(InventoryItemType inventoryItemType) { base.AddObject("InventoryItemTypes", inventoryItemType); } /// /// Deprecated Method for adding a new object to the InventoryItemTypeSizes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToInventoryItemTypeSizes(InventoryItemTypeSize inventoryItemTypeSize) { base.AddObject("InventoryItemTypeSizes", inventoryItemTypeSize); } /// /// Deprecated Method for adding a new object to the OperatorLogins EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToOperatorLogins(OperatorLogin operatorLogin) { base.AddObject("OperatorLogins", operatorLogin); } /// /// Deprecated Method for adding a new object to the OperatorRoles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToOperatorRoles(OperatorRole operatorRole) { base.AddObject("OperatorRoles", operatorRole); } /// /// Deprecated Method for adding a new object to the Workloads EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToWorkloads(Workload workload) { base.AddObject("Workloads", workload); } /// /// Deprecated Method for adding a new object to the WorkloadStatuses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToWorkloadStatuses(WorkloadStatus workloadStatus) { base.AddObject("WorkloadStatuses", workloadStatus); } /// /// Deprecated Method for adding a new object to the WorkloadTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToWorkloadTypes(WorkloadType workloadType) { base.AddObject("WorkloadTypes", workloadType); } /// /// Deprecated Method for adding a new object to the vwCustomerBagsWaitingCountings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddTovwCustomerBagsWaitingCountings(vwCustomerBagsWaitingCounting vwCustomerBagsWaitingCounting) { base.AddObject("vwCustomerBagsWaitingCountings", vwCustomerBagsWaitingCounting); } /// /// Deprecated Method for adding a new object to the vwWorkloadStatusReports EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddTovwWorkloadStatusReports(vwWorkloadStatusReport vwWorkloadStatusReport) { base.AddObject("vwWorkloadStatusReports", vwWorkloadStatusReport); } /// /// Deprecated Method for adding a new object to the vwWorkloadCategoryTypeCounts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddTovwWorkloadCategoryTypeCounts(vwWorkloadCategoryTypeCount vwWorkloadCategoryTypeCount) { base.AddObject("vwWorkloadCategoryTypeCounts", vwWorkloadCategoryTypeCount); } /// /// Deprecated Method for adding a new object to the vwInventoryItemTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddTovwInventoryItemTypes(vwInventoryItemType vwInventoryItemType) { base.AddObject("vwInventoryItemTypes", vwInventoryItemType); } /// /// Deprecated Method for adding a new object to the InvoiceItems EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToInvoiceItems(InvoiceItem invoiceItem) { base.AddObject("InvoiceItems", invoiceItem); } /// /// Deprecated Method for adding a new object to the Invoices EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToInvoices(Invoice invoice) { base.AddObject("Invoices", invoice); } /// /// Deprecated Method for adding a new object to the InvoiceStatuses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToInvoiceStatuses(InvoiceStatus invoiceStatus) { base.AddObject("InvoiceStatuses", invoiceStatus); } /// /// Deprecated Method for adding a new object to the Settings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToSettings(Setting setting) { base.AddObject("Settings", setting); } /// /// Deprecated Method for adding a new object to the CustomerInventoryForWorkloads EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToCustomerInventoryForWorkloads(CustomerInventoryForWorkload customerInventoryForWorkload) { base.AddObject("CustomerInventoryForWorkloads", customerInventoryForWorkload); } /// /// Deprecated Method for adding a new object to the CustomerInventoryForWorkloadCloseds EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToCustomerInventoryForWorkloadCloseds(CustomerInventoryForWorkloadClosed customerInventoryForWorkloadClosed) { base.AddObject("CustomerInventoryForWorkloadCloseds", customerInventoryForWorkloadClosed); } /// /// Deprecated Method for adding a new object to the Dispatches EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToDispatches(Dispatch dispatch) { base.AddObject("Dispatches", dispatch); } /// /// Deprecated Method for adding a new object to the DispatchItems EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToDispatchItems(DispatchItem dispatchItem) { base.AddObject("DispatchItems", dispatchItem); } /// /// Deprecated Method for adding a new object to the DispatchStatus EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToDispatchStatus(DispatchStatu dispatchStatu) { base.AddObject("DispatchStatus", dispatchStatu); } /// /// Deprecated Method for adding a new object to the WorkloadItems EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// public void AddToWorkloadItems(WorkloadItem workloadItem) { base.AddObject("WorkloadItems", workloadItem); } #endregion #region Function Imports /// /// No Metadata Documentation available. /// /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult LoginOperator(global::System.String username, global::System.String password) { ObjectParameter usernameParameter; if (username != null) { usernameParameter = new ObjectParameter("Username", username); } else { usernameParameter = new ObjectParameter("Username", typeof(global::System.String)); } ObjectParameter passwordParameter; if (password != null) { passwordParameter = new ObjectParameter("Password", password); } else { passwordParameter = new ObjectParameter("Password", typeof(global::System.String)); } return base.ExecuteFunction("LoginOperator", usernameParameter, passwordParameter); } /// /// No Metadata Documentation available. /// /// /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult LoginOperator(global::System.String username, global::System.String password, MergeOption mergeOption) { ObjectParameter usernameParameter; if (username != null) { usernameParameter = new ObjectParameter("Username", username); } else { usernameParameter = new ObjectParameter("Username", typeof(global::System.String)); } ObjectParameter passwordParameter; if (password != null) { passwordParameter = new ObjectParameter("Password", password); } else { passwordParameter = new ObjectParameter("Password", typeof(global::System.String)); } return base.ExecuteFunction("LoginOperator", mergeOption, usernameParameter, passwordParameter); } /// /// No Metadata Documentation available. /// /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult UpdateOperatorLogin(global::System.String username, global::System.String password, Nullable operatorRoleId) { ObjectParameter usernameParameter; if (username != null) { usernameParameter = new ObjectParameter("Username", username); } else { usernameParameter = new ObjectParameter("Username", typeof(global::System.String)); } ObjectParameter passwordParameter; if (password != null) { passwordParameter = new ObjectParameter("Password", password); } else { passwordParameter = new ObjectParameter("Password", typeof(global::System.String)); } ObjectParameter operatorRoleIdParameter; if (operatorRoleId.HasValue) { operatorRoleIdParameter = new ObjectParameter("OperatorRoleId", operatorRoleId); } else { operatorRoleIdParameter = new ObjectParameter("OperatorRoleId", typeof(global::System.Int32)); } return base.ExecuteFunction("UpdateOperatorLogin", usernameParameter, passwordParameter, operatorRoleIdParameter); } /// /// No Metadata Documentation available. /// /// /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult UpdateOperatorLogin(global::System.String username, global::System.String password, Nullable operatorRoleId, MergeOption mergeOption) { ObjectParameter usernameParameter; if (username != null) { usernameParameter = new ObjectParameter("Username", username); } else { usernameParameter = new ObjectParameter("Username", typeof(global::System.String)); } ObjectParameter passwordParameter; if (password != null) { passwordParameter = new ObjectParameter("Password", password); } else { passwordParameter = new ObjectParameter("Password", typeof(global::System.String)); } ObjectParameter operatorRoleIdParameter; if (operatorRoleId.HasValue) { operatorRoleIdParameter = new ObjectParameter("OperatorRoleId", operatorRoleId); } else { operatorRoleIdParameter = new ObjectParameter("OperatorRoleId", typeof(global::System.Int32)); } return base.ExecuteFunction("UpdateOperatorLogin", mergeOption, usernameParameter, passwordParameter, operatorRoleIdParameter); } /// /// No Metadata Documentation available. /// /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult UpdateCustomerLogin(Nullable customerId, global::System.String emailAddress, global::System.String password, Nullable isActive, Nullable isLockedOut) { ObjectParameter customerIdParameter; if (customerId.HasValue) { customerIdParameter = new ObjectParameter("CustomerId", customerId); } else { customerIdParameter = new ObjectParameter("CustomerId", typeof(global::System.Int32)); } ObjectParameter emailAddressParameter; if (emailAddress != null) { emailAddressParameter = new ObjectParameter("EmailAddress", emailAddress); } else { emailAddressParameter = new ObjectParameter("EmailAddress", typeof(global::System.String)); } ObjectParameter passwordParameter; if (password != null) { passwordParameter = new ObjectParameter("Password", password); } else { passwordParameter = new ObjectParameter("Password", typeof(global::System.String)); } ObjectParameter isActiveParameter; if (isActive.HasValue) { isActiveParameter = new ObjectParameter("IsActive", isActive); } else { isActiveParameter = new ObjectParameter("IsActive", typeof(global::System.Boolean)); } ObjectParameter isLockedOutParameter; if (isLockedOut.HasValue) { isLockedOutParameter = new ObjectParameter("IsLockedOut", isLockedOut); } else { isLockedOutParameter = new ObjectParameter("IsLockedOut", typeof(global::System.Boolean)); } return base.ExecuteFunction("UpdateCustomerLogin", customerIdParameter, emailAddressParameter, passwordParameter, isActiveParameter, isLockedOutParameter); } /// /// No Metadata Documentation available. /// /// /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult UpdateCustomerLogin(Nullable customerId, global::System.String emailAddress, global::System.String password, Nullable isActive, Nullable isLockedOut, MergeOption mergeOption) { ObjectParameter customerIdParameter; if (customerId.HasValue) { customerIdParameter = new ObjectParameter("CustomerId", customerId); } else { customerIdParameter = new ObjectParameter("CustomerId", typeof(global::System.Int32)); } ObjectParameter emailAddressParameter; if (emailAddress != null) { emailAddressParameter = new ObjectParameter("EmailAddress", emailAddress); } else { emailAddressParameter = new ObjectParameter("EmailAddress", typeof(global::System.String)); } ObjectParameter passwordParameter; if (password != null) { passwordParameter = new ObjectParameter("Password", password); } else { passwordParameter = new ObjectParameter("Password", typeof(global::System.String)); } ObjectParameter isActiveParameter; if (isActive.HasValue) { isActiveParameter = new ObjectParameter("IsActive", isActive); } else { isActiveParameter = new ObjectParameter("IsActive", typeof(global::System.Boolean)); } ObjectParameter isLockedOutParameter; if (isLockedOut.HasValue) { isLockedOutParameter = new ObjectParameter("IsLockedOut", isLockedOut); } else { isLockedOutParameter = new ObjectParameter("IsLockedOut", typeof(global::System.Boolean)); } return base.ExecuteFunction("UpdateCustomerLogin", mergeOption, customerIdParameter, emailAddressParameter, passwordParameter, isActiveParameter, isLockedOutParameter); } /// /// No Metadata Documentation available. /// /// No Metadata Documentation available. public ObjectResult GetCustomerInventory(Nullable customerId) { ObjectParameter customerIdParameter; if (customerId.HasValue) { customerIdParameter = new ObjectParameter("CustomerId", customerId); } else { customerIdParameter = new ObjectParameter("CustomerId", typeof(global::System.Int32)); } return base.ExecuteFunction("GetCustomerInventory", customerIdParameter); } /// /// No Metadata Documentation available. /// /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult UpdateCustomerInventory(Nullable customerId, Nullable inventoryItemTypeId, Nullable costGeneralWash, Nullable costRepeatWash, Nullable costStainWash, Nullable operatorLoginId) { ObjectParameter customerIdParameter; if (customerId.HasValue) { customerIdParameter = new ObjectParameter("CustomerId", customerId); } else { customerIdParameter = new ObjectParameter("CustomerId", typeof(global::System.Int32)); } ObjectParameter inventoryItemTypeIdParameter; if (inventoryItemTypeId.HasValue) { inventoryItemTypeIdParameter = new ObjectParameter("InventoryItemTypeId", inventoryItemTypeId); } else { inventoryItemTypeIdParameter = new ObjectParameter("InventoryItemTypeId", typeof(global::System.Int32)); } ObjectParameter costGeneralWashParameter; if (costGeneralWash.HasValue) { costGeneralWashParameter = new ObjectParameter("CostGeneralWash", costGeneralWash); } else { costGeneralWashParameter = new ObjectParameter("CostGeneralWash", typeof(global::System.Int32)); } ObjectParameter costRepeatWashParameter; if (costRepeatWash.HasValue) { costRepeatWashParameter = new ObjectParameter("CostRepeatWash", costRepeatWash); } else { costRepeatWashParameter = new ObjectParameter("CostRepeatWash", typeof(global::System.Int32)); } ObjectParameter costStainWashParameter; if (costStainWash.HasValue) { costStainWashParameter = new ObjectParameter("CostStainWash", costStainWash); } else { costStainWashParameter = new ObjectParameter("CostStainWash", typeof(global::System.Int32)); } ObjectParameter operatorLoginIdParameter; if (operatorLoginId.HasValue) { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", operatorLoginId); } else { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", typeof(global::System.Int32)); } return base.ExecuteFunction("UpdateCustomerInventory", customerIdParameter, inventoryItemTypeIdParameter, costGeneralWashParameter, costRepeatWashParameter, costStainWashParameter, operatorLoginIdParameter); } /// /// No Metadata Documentation available. /// /// /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult UpdateCustomerInventory(Nullable customerId, Nullable inventoryItemTypeId, Nullable costGeneralWash, Nullable costRepeatWash, Nullable costStainWash, Nullable operatorLoginId, MergeOption mergeOption) { ObjectParameter customerIdParameter; if (customerId.HasValue) { customerIdParameter = new ObjectParameter("CustomerId", customerId); } else { customerIdParameter = new ObjectParameter("CustomerId", typeof(global::System.Int32)); } ObjectParameter inventoryItemTypeIdParameter; if (inventoryItemTypeId.HasValue) { inventoryItemTypeIdParameter = new ObjectParameter("InventoryItemTypeId", inventoryItemTypeId); } else { inventoryItemTypeIdParameter = new ObjectParameter("InventoryItemTypeId", typeof(global::System.Int32)); } ObjectParameter costGeneralWashParameter; if (costGeneralWash.HasValue) { costGeneralWashParameter = new ObjectParameter("CostGeneralWash", costGeneralWash); } else { costGeneralWashParameter = new ObjectParameter("CostGeneralWash", typeof(global::System.Int32)); } ObjectParameter costRepeatWashParameter; if (costRepeatWash.HasValue) { costRepeatWashParameter = new ObjectParameter("CostRepeatWash", costRepeatWash); } else { costRepeatWashParameter = new ObjectParameter("CostRepeatWash", typeof(global::System.Int32)); } ObjectParameter costStainWashParameter; if (costStainWash.HasValue) { costStainWashParameter = new ObjectParameter("CostStainWash", costStainWash); } else { costStainWashParameter = new ObjectParameter("CostStainWash", typeof(global::System.Int32)); } ObjectParameter operatorLoginIdParameter; if (operatorLoginId.HasValue) { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", operatorLoginId); } else { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", typeof(global::System.Int32)); } return base.ExecuteFunction("UpdateCustomerInventory", mergeOption, customerIdParameter, inventoryItemTypeIdParameter, costGeneralWashParameter, costRepeatWashParameter, costStainWashParameter, operatorLoginIdParameter); } /// /// No Metadata Documentation available. /// /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult LoginCustomer(global::System.String emailAddress, global::System.String password, global::System.String iPAddress) { ObjectParameter emailAddressParameter; if (emailAddress != null) { emailAddressParameter = new ObjectParameter("EmailAddress", emailAddress); } else { emailAddressParameter = new ObjectParameter("EmailAddress", typeof(global::System.String)); } ObjectParameter passwordParameter; if (password != null) { passwordParameter = new ObjectParameter("Password", password); } else { passwordParameter = new ObjectParameter("Password", typeof(global::System.String)); } ObjectParameter iPAddressParameter; if (iPAddress != null) { iPAddressParameter = new ObjectParameter("IPAddress", iPAddress); } else { iPAddressParameter = new ObjectParameter("IPAddress", typeof(global::System.String)); } return base.ExecuteFunction("LoginCustomer", emailAddressParameter, passwordParameter, iPAddressParameter); } /// /// No Metadata Documentation available. /// /// /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult LoginCustomer(global::System.String emailAddress, global::System.String password, global::System.String iPAddress, MergeOption mergeOption) { ObjectParameter emailAddressParameter; if (emailAddress != null) { emailAddressParameter = new ObjectParameter("EmailAddress", emailAddress); } else { emailAddressParameter = new ObjectParameter("EmailAddress", typeof(global::System.String)); } ObjectParameter passwordParameter; if (password != null) { passwordParameter = new ObjectParameter("Password", password); } else { passwordParameter = new ObjectParameter("Password", typeof(global::System.String)); } ObjectParameter iPAddressParameter; if (iPAddress != null) { iPAddressParameter = new ObjectParameter("IPAddress", iPAddress); } else { iPAddressParameter = new ObjectParameter("IPAddress", typeof(global::System.String)); } return base.ExecuteFunction("LoginCustomer", mergeOption, emailAddressParameter, passwordParameter, iPAddressParameter); } /// /// No Metadata Documentation available. /// /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult CreateWorkload(Nullable customerLoginId, Nullable workloadTypeId) { ObjectParameter customerLoginIdParameter; if (customerLoginId.HasValue) { customerLoginIdParameter = new ObjectParameter("CustomerLoginId", customerLoginId); } else { customerLoginIdParameter = new ObjectParameter("CustomerLoginId", typeof(global::System.Int32)); } ObjectParameter workloadTypeIdParameter; if (workloadTypeId.HasValue) { workloadTypeIdParameter = new ObjectParameter("WorkloadTypeId", workloadTypeId); } else { workloadTypeIdParameter = new ObjectParameter("WorkloadTypeId", typeof(global::System.Int32)); } return base.ExecuteFunction("CreateWorkload", customerLoginIdParameter, workloadTypeIdParameter); } /// /// No Metadata Documentation available. /// /// /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult CreateWorkload(Nullable customerLoginId, Nullable workloadTypeId, MergeOption mergeOption) { ObjectParameter customerLoginIdParameter; if (customerLoginId.HasValue) { customerLoginIdParameter = new ObjectParameter("CustomerLoginId", customerLoginId); } else { customerLoginIdParameter = new ObjectParameter("CustomerLoginId", typeof(global::System.Int32)); } ObjectParameter workloadTypeIdParameter; if (workloadTypeId.HasValue) { workloadTypeIdParameter = new ObjectParameter("WorkloadTypeId", workloadTypeId); } else { workloadTypeIdParameter = new ObjectParameter("WorkloadTypeId", typeof(global::System.Int32)); } return base.ExecuteFunction("CreateWorkload", mergeOption, customerLoginIdParameter, workloadTypeIdParameter); } /// /// No Metadata Documentation available. /// /// No Metadata Documentation available. public ObjectResult GetCustomerLoginFromGuid(global::System.String guid) { ObjectParameter guidParameter; if (guid != null) { guidParameter = new ObjectParameter("Guid", guid); } else { guidParameter = new ObjectParameter("Guid", typeof(global::System.String)); } return base.ExecuteFunction("GetCustomerLoginFromGuid", guidParameter); } /// /// No Metadata Documentation available. /// /// /// No Metadata Documentation available. public ObjectResult GetCustomerLoginFromGuid(global::System.String guid, MergeOption mergeOption) { ObjectParameter guidParameter; if (guid != null) { guidParameter = new ObjectParameter("Guid", guid); } else { guidParameter = new ObjectParameter("Guid", typeof(global::System.String)); } return base.ExecuteFunction("GetCustomerLoginFromGuid", mergeOption, guidParameter); } /// /// No Metadata Documentation available. /// /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult UpdateCustomerWorkloadBag(Nullable customerLoginId, Nullable workloadId, global::System.String uniqueReference) { ObjectParameter customerLoginIdParameter; if (customerLoginId.HasValue) { customerLoginIdParameter = new ObjectParameter("CustomerLoginId", customerLoginId); } else { customerLoginIdParameter = new ObjectParameter("CustomerLoginId", typeof(global::System.Int32)); } ObjectParameter workloadIdParameter; if (workloadId.HasValue) { workloadIdParameter = new ObjectParameter("WorkloadId", workloadId); } else { workloadIdParameter = new ObjectParameter("WorkloadId", typeof(global::System.Int32)); } ObjectParameter uniqueReferenceParameter; if (uniqueReference != null) { uniqueReferenceParameter = new ObjectParameter("UniqueReference", uniqueReference); } else { uniqueReferenceParameter = new ObjectParameter("UniqueReference", typeof(global::System.String)); } return base.ExecuteFunction("UpdateCustomerWorkloadBag", customerLoginIdParameter, workloadIdParameter, uniqueReferenceParameter); } /// /// No Metadata Documentation available. /// /// /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult UpdateCustomerWorkloadBag(Nullable customerLoginId, Nullable workloadId, global::System.String uniqueReference, MergeOption mergeOption) { ObjectParameter customerLoginIdParameter; if (customerLoginId.HasValue) { customerLoginIdParameter = new ObjectParameter("CustomerLoginId", customerLoginId); } else { customerLoginIdParameter = new ObjectParameter("CustomerLoginId", typeof(global::System.Int32)); } ObjectParameter workloadIdParameter; if (workloadId.HasValue) { workloadIdParameter = new ObjectParameter("WorkloadId", workloadId); } else { workloadIdParameter = new ObjectParameter("WorkloadId", typeof(global::System.Int32)); } ObjectParameter uniqueReferenceParameter; if (uniqueReference != null) { uniqueReferenceParameter = new ObjectParameter("UniqueReference", uniqueReference); } else { uniqueReferenceParameter = new ObjectParameter("UniqueReference", typeof(global::System.String)); } return base.ExecuteFunction("UpdateCustomerWorkloadBag", mergeOption, customerLoginIdParameter, workloadIdParameter, uniqueReferenceParameter); } /// /// No Metadata Documentation available. /// /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult AcceptCustomerBag(Nullable customerId, global::System.String uniqueReference, Nullable operatorLoginId) { ObjectParameter customerIdParameter; if (customerId.HasValue) { customerIdParameter = new ObjectParameter("CustomerId", customerId); } else { customerIdParameter = new ObjectParameter("CustomerId", typeof(global::System.Int32)); } ObjectParameter uniqueReferenceParameter; if (uniqueReference != null) { uniqueReferenceParameter = new ObjectParameter("UniqueReference", uniqueReference); } else { uniqueReferenceParameter = new ObjectParameter("UniqueReference", typeof(global::System.String)); } ObjectParameter operatorLoginIdParameter; if (operatorLoginId.HasValue) { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", operatorLoginId); } else { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", typeof(global::System.Int32)); } return base.ExecuteFunction("AcceptCustomerBag", customerIdParameter, uniqueReferenceParameter, operatorLoginIdParameter); } /// /// No Metadata Documentation available. /// /// /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult AcceptCustomerBag(Nullable customerId, global::System.String uniqueReference, Nullable operatorLoginId, MergeOption mergeOption) { ObjectParameter customerIdParameter; if (customerId.HasValue) { customerIdParameter = new ObjectParameter("CustomerId", customerId); } else { customerIdParameter = new ObjectParameter("CustomerId", typeof(global::System.Int32)); } ObjectParameter uniqueReferenceParameter; if (uniqueReference != null) { uniqueReferenceParameter = new ObjectParameter("UniqueReference", uniqueReference); } else { uniqueReferenceParameter = new ObjectParameter("UniqueReference", typeof(global::System.String)); } ObjectParameter operatorLoginIdParameter; if (operatorLoginId.HasValue) { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", operatorLoginId); } else { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", typeof(global::System.Int32)); } return base.ExecuteFunction("AcceptCustomerBag", mergeOption, customerIdParameter, uniqueReferenceParameter, operatorLoginIdParameter); } /// /// No Metadata Documentation available. /// /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult GenerateInvoiceFromWorkloadCounts(Nullable workloadId, Nullable operatorLoginId) { ObjectParameter workloadIdParameter; if (workloadId.HasValue) { workloadIdParameter = new ObjectParameter("WorkloadId", workloadId); } else { workloadIdParameter = new ObjectParameter("WorkloadId", typeof(global::System.Int32)); } ObjectParameter operatorLoginIdParameter; if (operatorLoginId.HasValue) { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", operatorLoginId); } else { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", typeof(global::System.Int32)); } return base.ExecuteFunction("GenerateInvoiceFromWorkloadCounts", workloadIdParameter, operatorLoginIdParameter); } /// /// No Metadata Documentation available. /// /// /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult GenerateInvoiceFromWorkloadCounts(Nullable workloadId, Nullable operatorLoginId, MergeOption mergeOption) { ObjectParameter workloadIdParameter; if (workloadId.HasValue) { workloadIdParameter = new ObjectParameter("WorkloadId", workloadId); } else { workloadIdParameter = new ObjectParameter("WorkloadId", typeof(global::System.Int32)); } ObjectParameter operatorLoginIdParameter; if (operatorLoginId.HasValue) { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", operatorLoginId); } else { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", typeof(global::System.Int32)); } return base.ExecuteFunction("GenerateInvoiceFromWorkloadCounts", mergeOption, workloadIdParameter, operatorLoginIdParameter); } /// /// No Metadata Documentation available. /// /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult UpdateInvoiceItemCount(Nullable invoiceId, Nullable inventoryItemTypeId, Nullable count, Nullable operatorLoginId) { ObjectParameter invoiceIdParameter; if (invoiceId.HasValue) { invoiceIdParameter = new ObjectParameter("InvoiceId", invoiceId); } else { invoiceIdParameter = new ObjectParameter("InvoiceId", typeof(global::System.Int32)); } ObjectParameter inventoryItemTypeIdParameter; if (inventoryItemTypeId.HasValue) { inventoryItemTypeIdParameter = new ObjectParameter("InventoryItemTypeId", inventoryItemTypeId); } else { inventoryItemTypeIdParameter = new ObjectParameter("InventoryItemTypeId", typeof(global::System.Int32)); } ObjectParameter countParameter; if (count.HasValue) { countParameter = new ObjectParameter("Count", count); } else { countParameter = new ObjectParameter("Count", typeof(global::System.Int32)); } ObjectParameter operatorLoginIdParameter; if (operatorLoginId.HasValue) { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", operatorLoginId); } else { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", typeof(global::System.Int32)); } return base.ExecuteFunction("UpdateInvoiceItemCount", invoiceIdParameter, inventoryItemTypeIdParameter, countParameter, operatorLoginIdParameter); } /// /// No Metadata Documentation available. /// /// /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult UpdateInvoiceItemCount(Nullable invoiceId, Nullable inventoryItemTypeId, Nullable count, Nullable operatorLoginId, MergeOption mergeOption) { ObjectParameter invoiceIdParameter; if (invoiceId.HasValue) { invoiceIdParameter = new ObjectParameter("InvoiceId", invoiceId); } else { invoiceIdParameter = new ObjectParameter("InvoiceId", typeof(global::System.Int32)); } ObjectParameter inventoryItemTypeIdParameter; if (inventoryItemTypeId.HasValue) { inventoryItemTypeIdParameter = new ObjectParameter("InventoryItemTypeId", inventoryItemTypeId); } else { inventoryItemTypeIdParameter = new ObjectParameter("InventoryItemTypeId", typeof(global::System.Int32)); } ObjectParameter countParameter; if (count.HasValue) { countParameter = new ObjectParameter("Count", count); } else { countParameter = new ObjectParameter("Count", typeof(global::System.Int32)); } ObjectParameter operatorLoginIdParameter; if (operatorLoginId.HasValue) { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", operatorLoginId); } else { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", typeof(global::System.Int32)); } return base.ExecuteFunction("UpdateInvoiceItemCount", mergeOption, invoiceIdParameter, inventoryItemTypeIdParameter, countParameter, operatorLoginIdParameter); } /// /// No Metadata Documentation available. /// /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult FinishCounting(Nullable workloadId, Nullable operatorLoginId) { ObjectParameter workloadIdParameter; if (workloadId.HasValue) { workloadIdParameter = new ObjectParameter("WorkloadId", workloadId); } else { workloadIdParameter = new ObjectParameter("WorkloadId", typeof(global::System.Int32)); } ObjectParameter operatorLoginIdParameter; if (operatorLoginId.HasValue) { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", operatorLoginId); } else { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", typeof(global::System.Int32)); } return base.ExecuteFunction("FinishCounting", workloadIdParameter, operatorLoginIdParameter); } /// /// No Metadata Documentation available. /// /// /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult FinishCounting(Nullable workloadId, Nullable operatorLoginId, MergeOption mergeOption) { ObjectParameter workloadIdParameter; if (workloadId.HasValue) { workloadIdParameter = new ObjectParameter("WorkloadId", workloadId); } else { workloadIdParameter = new ObjectParameter("WorkloadId", typeof(global::System.Int32)); } ObjectParameter operatorLoginIdParameter; if (operatorLoginId.HasValue) { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", operatorLoginId); } else { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", typeof(global::System.Int32)); } return base.ExecuteFunction("FinishCounting", mergeOption, workloadIdParameter, operatorLoginIdParameter); } /// /// No Metadata Documentation available. /// /// No Metadata Documentation available. public ObjectResult GetInvoiceForPrinter(Nullable invoiceId) { ObjectParameter invoiceIdParameter; if (invoiceId.HasValue) { invoiceIdParameter = new ObjectParameter("InvoiceId", invoiceId); } else { invoiceIdParameter = new ObjectParameter("InvoiceId", typeof(global::System.Int32)); } return base.ExecuteFunction("GetInvoiceForPrinter", invoiceIdParameter); } /// /// No Metadata Documentation available. /// /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult DispatchItem(Nullable invoiceItemId, Nullable count, Nullable operatorLoginId) { ObjectParameter invoiceItemIdParameter; if (invoiceItemId.HasValue) { invoiceItemIdParameter = new ObjectParameter("InvoiceItemId", invoiceItemId); } else { invoiceItemIdParameter = new ObjectParameter("InvoiceItemId", typeof(global::System.Int32)); } ObjectParameter countParameter; if (count.HasValue) { countParameter = new ObjectParameter("Count", count); } else { countParameter = new ObjectParameter("Count", typeof(global::System.Int32)); } ObjectParameter operatorLoginIdParameter; if (operatorLoginId.HasValue) { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", operatorLoginId); } else { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", typeof(global::System.Int32)); } return base.ExecuteFunction("DispatchItem", invoiceItemIdParameter, countParameter, operatorLoginIdParameter); } /// /// No Metadata Documentation available. /// /// /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult DispatchItem(Nullable invoiceItemId, Nullable count, Nullable operatorLoginId, MergeOption mergeOption) { ObjectParameter invoiceItemIdParameter; if (invoiceItemId.HasValue) { invoiceItemIdParameter = new ObjectParameter("InvoiceItemId", invoiceItemId); } else { invoiceItemIdParameter = new ObjectParameter("InvoiceItemId", typeof(global::System.Int32)); } ObjectParameter countParameter; if (count.HasValue) { countParameter = new ObjectParameter("Count", count); } else { countParameter = new ObjectParameter("Count", typeof(global::System.Int32)); } ObjectParameter operatorLoginIdParameter; if (operatorLoginId.HasValue) { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", operatorLoginId); } else { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", typeof(global::System.Int32)); } return base.ExecuteFunction("DispatchItem", mergeOption, invoiceItemIdParameter, countParameter, operatorLoginIdParameter); } /// /// No Metadata Documentation available. /// /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult UpdateWorkloadItem(Nullable workloadId, Nullable customerInventoryId, Nullable count, Nullable customerLoginId, Nullable operatorLoginId) { ObjectParameter workloadIdParameter; if (workloadId.HasValue) { workloadIdParameter = new ObjectParameter("WorkloadId", workloadId); } else { workloadIdParameter = new ObjectParameter("WorkloadId", typeof(global::System.Int32)); } ObjectParameter customerInventoryIdParameter; if (customerInventoryId.HasValue) { customerInventoryIdParameter = new ObjectParameter("CustomerInventoryId", customerInventoryId); } else { customerInventoryIdParameter = new ObjectParameter("CustomerInventoryId", typeof(global::System.Int32)); } ObjectParameter countParameter; if (count.HasValue) { countParameter = new ObjectParameter("Count", count); } else { countParameter = new ObjectParameter("Count", typeof(global::System.Int32)); } ObjectParameter customerLoginIdParameter; if (customerLoginId.HasValue) { customerLoginIdParameter = new ObjectParameter("CustomerLoginId", customerLoginId); } else { customerLoginIdParameter = new ObjectParameter("CustomerLoginId", typeof(global::System.Int32)); } ObjectParameter operatorLoginIdParameter; if (operatorLoginId.HasValue) { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", operatorLoginId); } else { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", typeof(global::System.Int32)); } return base.ExecuteFunction("UpdateWorkloadItem", workloadIdParameter, customerInventoryIdParameter, countParameter, customerLoginIdParameter, operatorLoginIdParameter); } /// /// No Metadata Documentation available. /// /// /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. /// No Metadata Documentation available. public ObjectResult UpdateWorkloadItem(Nullable workloadId, Nullable customerInventoryId, Nullable count, Nullable customerLoginId, Nullable operatorLoginId, MergeOption mergeOption) { ObjectParameter workloadIdParameter; if (workloadId.HasValue) { workloadIdParameter = new ObjectParameter("WorkloadId", workloadId); } else { workloadIdParameter = new ObjectParameter("WorkloadId", typeof(global::System.Int32)); } ObjectParameter customerInventoryIdParameter; if (customerInventoryId.HasValue) { customerInventoryIdParameter = new ObjectParameter("CustomerInventoryId", customerInventoryId); } else { customerInventoryIdParameter = new ObjectParameter("CustomerInventoryId", typeof(global::System.Int32)); } ObjectParameter countParameter; if (count.HasValue) { countParameter = new ObjectParameter("Count", count); } else { countParameter = new ObjectParameter("Count", typeof(global::System.Int32)); } ObjectParameter customerLoginIdParameter; if (customerLoginId.HasValue) { customerLoginIdParameter = new ObjectParameter("CustomerLoginId", customerLoginId); } else { customerLoginIdParameter = new ObjectParameter("CustomerLoginId", typeof(global::System.Int32)); } ObjectParameter operatorLoginIdParameter; if (operatorLoginId.HasValue) { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", operatorLoginId); } else { operatorLoginIdParameter = new ObjectParameter("OperatorLoginId", typeof(global::System.Int32)); } return base.ExecuteFunction("UpdateWorkloadItem", mergeOption, workloadIdParameter, customerInventoryIdParameter, countParameter, customerLoginIdParameter, operatorLoginIdParameter); } #endregion } #endregion #region Entities /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="BillingProfile")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class BillingProfile : EntityObject { #region Factory Method /// /// Create a new BillingProfile object. /// /// Initial value of the BillingProfileId property. /// Initial value of the ProfileName property. /// Initial value of the IncludeRewashInInvoice property. public static BillingProfile CreateBillingProfile(global::System.Int32 billingProfileId, global::System.String profileName, global::System.Boolean includeRewashInInvoice) { BillingProfile billingProfile = new BillingProfile(); billingProfile.BillingProfileId = billingProfileId; billingProfile.ProfileName = profileName; billingProfile.IncludeRewashInInvoice = includeRewashInInvoice; return billingProfile; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 BillingProfileId { get { return _BillingProfileId; } set { if (_BillingProfileId != value) { OnBillingProfileIdChanging(value); ReportPropertyChanging("BillingProfileId"); _BillingProfileId = StructuralObject.SetValidValue(value); ReportPropertyChanged("BillingProfileId"); OnBillingProfileIdChanged(); } } } private global::System.Int32 _BillingProfileId; partial void OnBillingProfileIdChanging(global::System.Int32 value); partial void OnBillingProfileIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String ProfileName { get { return _ProfileName; } set { OnProfileNameChanging(value); ReportPropertyChanging("ProfileName"); _ProfileName = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("ProfileName"); OnProfileNameChanged(); } } private global::System.String _ProfileName; partial void OnProfileNameChanging(global::System.String value); partial void OnProfileNameChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Boolean IncludeRewashInInvoice { get { return _IncludeRewashInInvoice; } set { OnIncludeRewashInInvoiceChanging(value); ReportPropertyChanging("IncludeRewashInInvoice"); _IncludeRewashInInvoice = StructuralObject.SetValidValue(value); ReportPropertyChanged("IncludeRewashInInvoice"); OnIncludeRewashInInvoiceChanged(); } } private global::System.Boolean _IncludeRewashInInvoice; partial void OnIncludeRewashInInvoiceChanging(global::System.Boolean value); partial void OnIncludeRewashInInvoiceChanged(); #endregion #region Navigation Properties /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Customers_BillingProfiles", "Customer")] public EntityCollection Customers { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_Customers_BillingProfiles", "Customer"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_Customers_BillingProfiles", "Customer", value); } } } #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="Customer")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class Customer : EntityObject { #region Factory Method /// /// Create a new Customer object. /// /// Initial value of the CustomerId property. /// Initial value of the Name property. /// Initial value of the BillingProfileId property. /// Initial value of the OperatorLoginId property. /// Initial value of the EmailAddress property. public static Customer CreateCustomer(global::System.Int32 customerId, global::System.String name, global::System.Int32 billingProfileId, global::System.Int32 operatorLoginId, global::System.String emailAddress) { Customer customer = new Customer(); customer.CustomerId = customerId; customer.Name = name; customer.BillingProfileId = billingProfileId; customer.OperatorLoginId = operatorLoginId; customer.EmailAddress = emailAddress; return customer; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 CustomerId { get { return _CustomerId; } set { if (_CustomerId != value) { OnCustomerIdChanging(value); ReportPropertyChanging("CustomerId"); _CustomerId = StructuralObject.SetValidValue(value); ReportPropertyChanged("CustomerId"); OnCustomerIdChanged(); } } } private global::System.Int32 _CustomerId; partial void OnCustomerIdChanging(global::System.Int32 value); partial void OnCustomerIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String Name { get { return _Name; } set { OnNameChanging(value); ReportPropertyChanging("Name"); _Name = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Name"); OnNameChanged(); } } private global::System.String _Name; partial void OnNameChanging(global::System.String value); partial void OnNameChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 BillingProfileId { get { return _BillingProfileId; } set { OnBillingProfileIdChanging(value); ReportPropertyChanging("BillingProfileId"); _BillingProfileId = StructuralObject.SetValidValue(value); ReportPropertyChanged("BillingProfileId"); OnBillingProfileIdChanged(); } } private global::System.Int32 _BillingProfileId; partial void OnBillingProfileIdChanging(global::System.Int32 value); partial void OnBillingProfileIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 OperatorLoginId { get { return _OperatorLoginId; } set { OnOperatorLoginIdChanging(value); ReportPropertyChanging("OperatorLoginId"); _OperatorLoginId = StructuralObject.SetValidValue(value); ReportPropertyChanged("OperatorLoginId"); OnOperatorLoginIdChanged(); } } private global::System.Int32 _OperatorLoginId; partial void OnOperatorLoginIdChanging(global::System.Int32 value); partial void OnOperatorLoginIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String EmailAddress { get { return _EmailAddress; } set { OnEmailAddressChanging(value); ReportPropertyChanging("EmailAddress"); _EmailAddress = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("EmailAddress"); OnEmailAddressChanged(); } } private global::System.String _EmailAddress; partial void OnEmailAddressChanging(global::System.String value); partial void OnEmailAddressChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] [DataMemberAttribute()] public global::System.String ContactName { get { return _ContactName; } set { OnContactNameChanging(value); ReportPropertyChanging("ContactName"); _ContactName = StructuralObject.SetValidValue(value, true); ReportPropertyChanged("ContactName"); OnContactNameChanged(); } } private global::System.String _ContactName; partial void OnContactNameChanging(global::System.String value); partial void OnContactNameChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] [DataMemberAttribute()] public global::System.String AddressLine1 { get { return _AddressLine1; } set { OnAddressLine1Changing(value); ReportPropertyChanging("AddressLine1"); _AddressLine1 = StructuralObject.SetValidValue(value, true); ReportPropertyChanged("AddressLine1"); OnAddressLine1Changed(); } } private global::System.String _AddressLine1; partial void OnAddressLine1Changing(global::System.String value); partial void OnAddressLine1Changed(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] [DataMemberAttribute()] public global::System.String AddressLine2 { get { return _AddressLine2; } set { OnAddressLine2Changing(value); ReportPropertyChanging("AddressLine2"); _AddressLine2 = StructuralObject.SetValidValue(value, true); ReportPropertyChanged("AddressLine2"); OnAddressLine2Changed(); } } private global::System.String _AddressLine2; partial void OnAddressLine2Changing(global::System.String value); partial void OnAddressLine2Changed(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] [DataMemberAttribute()] public global::System.String AddressCity { get { return _AddressCity; } set { OnAddressCityChanging(value); ReportPropertyChanging("AddressCity"); _AddressCity = StructuralObject.SetValidValue(value, true); ReportPropertyChanged("AddressCity"); OnAddressCityChanged(); } } private global::System.String _AddressCity; partial void OnAddressCityChanging(global::System.String value); partial void OnAddressCityChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] [DataMemberAttribute()] public global::System.String AddressPostCode { get { return _AddressPostCode; } set { OnAddressPostCodeChanging(value); ReportPropertyChanging("AddressPostCode"); _AddressPostCode = StructuralObject.SetValidValue(value, true); ReportPropertyChanged("AddressPostCode"); OnAddressPostCodeChanged(); } } private global::System.String _AddressPostCode; partial void OnAddressPostCodeChanging(global::System.String value); partial void OnAddressPostCodeChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] [DataMemberAttribute()] public global::System.String VATNumber { get { return _VATNumber; } set { OnVATNumberChanging(value); ReportPropertyChanging("VATNumber"); _VATNumber = StructuralObject.SetValidValue(value, true); ReportPropertyChanged("VATNumber"); OnVATNumberChanged(); } } private global::System.String _VATNumber; partial void OnVATNumberChanging(global::System.String value); partial void OnVATNumberChanged(); #endregion #region Navigation Properties /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Customers_BillingProfiles", "BillingProfile")] public BillingProfile BillingProfile { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Customers_BillingProfiles", "BillingProfile").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Customers_BillingProfiles", "BillingProfile").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference BillingProfileReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Customers_BillingProfiles", "BillingProfile"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_Customers_BillingProfiles", "BillingProfile", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_CustomerInventory_Customer", "CustomerInventory")] public EntityCollection CustomerInventories { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_CustomerInventory_Customer", "CustomerInventory"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_CustomerInventory_Customer", "CustomerInventory", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_CustomerLogins_Customers", "CustomerLogin")] public EntityCollection CustomerLogins { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_CustomerLogins_Customers", "CustomerLogin"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_CustomerLogins_Customers", "CustomerLogin", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Customers_OperatorLogins", "OperatorLogin")] public OperatorLogin OperatorLogin { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Customers_OperatorLogins", "OperatorLogin").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Customers_OperatorLogins", "OperatorLogin").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference OperatorLoginReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Customers_OperatorLogins", "OperatorLogin"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_Customers_OperatorLogins", "OperatorLogin", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_InventoryItems_Customers", "InventoryItem")] public EntityCollection InventoryItems { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_InventoryItems_Customers", "InventoryItem"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_InventoryItems_Customers", "InventoryItem", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Workloads_Customers", "Workload")] public EntityCollection Workloads { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_Workloads_Customers", "Workload"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_Workloads_Customers", "Workload", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Invoices_Customers", "Invoice")] public EntityCollection Invoices { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_Invoices_Customers", "Invoice"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_Invoices_Customers", "Invoice", value); } } } #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="CustomerInventory")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class CustomerInventory : EntityObject { #region Factory Method /// /// Create a new CustomerInventory object. /// /// Initial value of the CustomerInventoryId property. /// Initial value of the CustomerId property. /// Initial value of the InventoryItemTypeId property. /// Initial value of the OperatorLoginId property. /// Initial value of the TimeStamp property. /// Initial value of the CostGeneralWash property. /// Initial value of the CostRepeatWash property. /// Initial value of the CostStainWash property. public static CustomerInventory CreateCustomerInventory(global::System.Int32 customerInventoryId, global::System.Int32 customerId, global::System.Int32 inventoryItemTypeId, global::System.Int32 operatorLoginId, global::System.DateTime timeStamp, global::System.Int32 costGeneralWash, global::System.Int32 costRepeatWash, global::System.Int32 costStainWash) { CustomerInventory customerInventory = new CustomerInventory(); customerInventory.CustomerInventoryId = customerInventoryId; customerInventory.CustomerId = customerId; customerInventory.InventoryItemTypeId = inventoryItemTypeId; customerInventory.OperatorLoginId = operatorLoginId; customerInventory.TimeStamp = timeStamp; customerInventory.CostGeneralWash = costGeneralWash; customerInventory.CostRepeatWash = costRepeatWash; customerInventory.CostStainWash = costStainWash; return customerInventory; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 CustomerInventoryId { get { return _CustomerInventoryId; } set { if (_CustomerInventoryId != value) { OnCustomerInventoryIdChanging(value); ReportPropertyChanging("CustomerInventoryId"); _CustomerInventoryId = StructuralObject.SetValidValue(value); ReportPropertyChanged("CustomerInventoryId"); OnCustomerInventoryIdChanged(); } } } private global::System.Int32 _CustomerInventoryId; partial void OnCustomerInventoryIdChanging(global::System.Int32 value); partial void OnCustomerInventoryIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 CustomerId { get { return _CustomerId; } set { OnCustomerIdChanging(value); ReportPropertyChanging("CustomerId"); _CustomerId = StructuralObject.SetValidValue(value); ReportPropertyChanged("CustomerId"); OnCustomerIdChanged(); } } private global::System.Int32 _CustomerId; partial void OnCustomerIdChanging(global::System.Int32 value); partial void OnCustomerIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 InventoryItemTypeId { get { return _InventoryItemTypeId; } set { OnInventoryItemTypeIdChanging(value); ReportPropertyChanging("InventoryItemTypeId"); _InventoryItemTypeId = StructuralObject.SetValidValue(value); ReportPropertyChanged("InventoryItemTypeId"); OnInventoryItemTypeIdChanged(); } } private global::System.Int32 _InventoryItemTypeId; partial void OnInventoryItemTypeIdChanging(global::System.Int32 value); partial void OnInventoryItemTypeIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 OperatorLoginId { get { return _OperatorLoginId; } set { OnOperatorLoginIdChanging(value); ReportPropertyChanging("OperatorLoginId"); _OperatorLoginId = StructuralObject.SetValidValue(value); ReportPropertyChanged("OperatorLoginId"); OnOperatorLoginIdChanged(); } } private global::System.Int32 _OperatorLoginId; partial void OnOperatorLoginIdChanging(global::System.Int32 value); partial void OnOperatorLoginIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.DateTime TimeStamp { get { return _TimeStamp; } set { OnTimeStampChanging(value); ReportPropertyChanging("TimeStamp"); _TimeStamp = StructuralObject.SetValidValue(value); ReportPropertyChanged("TimeStamp"); OnTimeStampChanged(); } } private global::System.DateTime _TimeStamp; partial void OnTimeStampChanging(global::System.DateTime value); partial void OnTimeStampChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 CostGeneralWash { get { return _CostGeneralWash; } set { OnCostGeneralWashChanging(value); ReportPropertyChanging("CostGeneralWash"); _CostGeneralWash = StructuralObject.SetValidValue(value); ReportPropertyChanged("CostGeneralWash"); OnCostGeneralWashChanged(); } } private global::System.Int32 _CostGeneralWash; partial void OnCostGeneralWashChanging(global::System.Int32 value); partial void OnCostGeneralWashChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 CostRepeatWash { get { return _CostRepeatWash; } set { OnCostRepeatWashChanging(value); ReportPropertyChanging("CostRepeatWash"); _CostRepeatWash = StructuralObject.SetValidValue(value); ReportPropertyChanged("CostRepeatWash"); OnCostRepeatWashChanged(); } } private global::System.Int32 _CostRepeatWash; partial void OnCostRepeatWashChanging(global::System.Int32 value); partial void OnCostRepeatWashChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 CostStainWash { get { return _CostStainWash; } set { OnCostStainWashChanging(value); ReportPropertyChanging("CostStainWash"); _CostStainWash = StructuralObject.SetValidValue(value); ReportPropertyChanged("CostStainWash"); OnCostStainWashChanged(); } } private global::System.Int32 _CostStainWash; partial void OnCostStainWashChanging(global::System.Int32 value); partial void OnCostStainWashChanged(); #endregion #region Navigation Properties /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_CustomerInventory_Customer", "Customer")] public Customer Customer { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_CustomerInventory_Customer", "Customer").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_CustomerInventory_Customer", "Customer").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference CustomerReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_CustomerInventory_Customer", "Customer"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_CustomerInventory_Customer", "Customer", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_CustomerInventory_InventoryItemTypes", "InventoryItemType")] public InventoryItemType InventoryItemType { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_CustomerInventory_InventoryItemTypes", "InventoryItemType").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_CustomerInventory_InventoryItemTypes", "InventoryItemType").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference InventoryItemTypeReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_CustomerInventory_InventoryItemTypes", "InventoryItemType"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_CustomerInventory_InventoryItemTypes", "InventoryItemType", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_CustomerInventory_OperatorLogins", "OperatorLogin")] public OperatorLogin OperatorLogin { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_CustomerInventory_OperatorLogins", "OperatorLogin").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_CustomerInventory_OperatorLogins", "OperatorLogin").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference OperatorLoginReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_CustomerInventory_OperatorLogins", "OperatorLogin"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_CustomerInventory_OperatorLogins", "OperatorLogin", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_WorkloadItems_CustomerInventory", "WorkloadItem")] public EntityCollection WorkloadItems { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_WorkloadItems_CustomerInventory", "WorkloadItem"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_WorkloadItems_CustomerInventory", "WorkloadItem", value); } } } #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="CustomerInventoryForWorkload")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class CustomerInventoryForWorkload : EntityObject { #region Factory Method /// /// Create a new CustomerInventoryForWorkload object. /// /// Initial value of the CustomerId property. /// Initial value of the CustomerInventoryId property. /// Initial value of the Category property. /// Initial value of the ItemType property. /// Initial value of the Size property. /// Initial value of the TCOrderPriority property. /// Initial value of the TSOrderPriority property. public static CustomerInventoryForWorkload CreateCustomerInventoryForWorkload(global::System.Int32 customerId, global::System.Int32 customerInventoryId, global::System.String category, global::System.String itemType, global::System.String size, global::System.Int32 tCOrderPriority, global::System.Int32 tSOrderPriority) { CustomerInventoryForWorkload customerInventoryForWorkload = new CustomerInventoryForWorkload(); customerInventoryForWorkload.CustomerId = customerId; customerInventoryForWorkload.CustomerInventoryId = customerInventoryId; customerInventoryForWorkload.Category = category; customerInventoryForWorkload.ItemType = itemType; customerInventoryForWorkload.Size = size; customerInventoryForWorkload.TCOrderPriority = tCOrderPriority; customerInventoryForWorkload.TSOrderPriority = tSOrderPriority; return customerInventoryForWorkload; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 CustomerId { get { return _CustomerId; } set { if (_CustomerId != value) { OnCustomerIdChanging(value); ReportPropertyChanging("CustomerId"); _CustomerId = StructuralObject.SetValidValue(value); ReportPropertyChanged("CustomerId"); OnCustomerIdChanged(); } } } private global::System.Int32 _CustomerId; partial void OnCustomerIdChanging(global::System.Int32 value); partial void OnCustomerIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 CustomerInventoryId { get { return _CustomerInventoryId; } set { if (_CustomerInventoryId != value) { OnCustomerInventoryIdChanging(value); ReportPropertyChanging("CustomerInventoryId"); _CustomerInventoryId = StructuralObject.SetValidValue(value); ReportPropertyChanged("CustomerInventoryId"); OnCustomerInventoryIdChanged(); } } } private global::System.Int32 _CustomerInventoryId; partial void OnCustomerInventoryIdChanging(global::System.Int32 value); partial void OnCustomerInventoryIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.String Category { get { return _Category; } set { if (_Category != value) { OnCategoryChanging(value); ReportPropertyChanging("Category"); _Category = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Category"); OnCategoryChanged(); } } } private global::System.String _Category; partial void OnCategoryChanging(global::System.String value); partial void OnCategoryChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.String ItemType { get { return _ItemType; } set { if (_ItemType != value) { OnItemTypeChanging(value); ReportPropertyChanging("ItemType"); _ItemType = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("ItemType"); OnItemTypeChanged(); } } } private global::System.String _ItemType; partial void OnItemTypeChanging(global::System.String value); partial void OnItemTypeChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.String Size { get { return _Size; } set { if (_Size != value) { OnSizeChanging(value); ReportPropertyChanging("Size"); _Size = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Size"); OnSizeChanged(); } } } private global::System.String _Size; partial void OnSizeChanging(global::System.String value); partial void OnSizeChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] [DataMemberAttribute()] public global::System.String Count { get { return _Count; } set { OnCountChanging(value); ReportPropertyChanging("Count"); _Count = StructuralObject.SetValidValue(value, true); ReportPropertyChanged("Count"); OnCountChanged(); } } private global::System.String _Count; partial void OnCountChanging(global::System.String value); partial void OnCountChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 TCOrderPriority { get { return _TCOrderPriority; } set { if (_TCOrderPriority != value) { OnTCOrderPriorityChanging(value); ReportPropertyChanging("TCOrderPriority"); _TCOrderPriority = StructuralObject.SetValidValue(value); ReportPropertyChanged("TCOrderPriority"); OnTCOrderPriorityChanged(); } } } private global::System.Int32 _TCOrderPriority; partial void OnTCOrderPriorityChanging(global::System.Int32 value); partial void OnTCOrderPriorityChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 TSOrderPriority { get { return _TSOrderPriority; } set { if (_TSOrderPriority != value) { OnTSOrderPriorityChanging(value); ReportPropertyChanging("TSOrderPriority"); _TSOrderPriority = StructuralObject.SetValidValue(value); ReportPropertyChanged("TSOrderPriority"); OnTSOrderPriorityChanged(); } } } private global::System.Int32 _TSOrderPriority; partial void OnTSOrderPriorityChanging(global::System.Int32 value); partial void OnTSOrderPriorityChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] [DataMemberAttribute()] public Nullable WorkloadId { get { return _WorkloadId; } set { OnWorkloadIdChanging(value); ReportPropertyChanging("WorkloadId"); _WorkloadId = StructuralObject.SetValidValue(value); ReportPropertyChanged("WorkloadId"); OnWorkloadIdChanged(); } } private Nullable _WorkloadId; partial void OnWorkloadIdChanging(Nullable value); partial void OnWorkloadIdChanged(); #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="CustomerInventoryForWorkloadClosed")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class CustomerInventoryForWorkloadClosed : EntityObject { #region Factory Method /// /// Create a new CustomerInventoryForWorkloadClosed object. /// /// Initial value of the CustomerId property. /// Initial value of the CustomerInventoryId property. /// Initial value of the Category property. /// Initial value of the ItemType property. /// Initial value of the Size property. /// Initial value of the TCOrderPriority property. /// Initial value of the TSOrderPriority property. public static CustomerInventoryForWorkloadClosed CreateCustomerInventoryForWorkloadClosed(global::System.Int32 customerId, global::System.Int32 customerInventoryId, global::System.String category, global::System.String itemType, global::System.String size, global::System.Int32 tCOrderPriority, global::System.Int32 tSOrderPriority) { CustomerInventoryForWorkloadClosed customerInventoryForWorkloadClosed = new CustomerInventoryForWorkloadClosed(); customerInventoryForWorkloadClosed.CustomerId = customerId; customerInventoryForWorkloadClosed.CustomerInventoryId = customerInventoryId; customerInventoryForWorkloadClosed.Category = category; customerInventoryForWorkloadClosed.ItemType = itemType; customerInventoryForWorkloadClosed.Size = size; customerInventoryForWorkloadClosed.TCOrderPriority = tCOrderPriority; customerInventoryForWorkloadClosed.TSOrderPriority = tSOrderPriority; return customerInventoryForWorkloadClosed; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 CustomerId { get { return _CustomerId; } set { if (_CustomerId != value) { OnCustomerIdChanging(value); ReportPropertyChanging("CustomerId"); _CustomerId = StructuralObject.SetValidValue(value); ReportPropertyChanged("CustomerId"); OnCustomerIdChanged(); } } } private global::System.Int32 _CustomerId; partial void OnCustomerIdChanging(global::System.Int32 value); partial void OnCustomerIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 CustomerInventoryId { get { return _CustomerInventoryId; } set { if (_CustomerInventoryId != value) { OnCustomerInventoryIdChanging(value); ReportPropertyChanging("CustomerInventoryId"); _CustomerInventoryId = StructuralObject.SetValidValue(value); ReportPropertyChanged("CustomerInventoryId"); OnCustomerInventoryIdChanged(); } } } private global::System.Int32 _CustomerInventoryId; partial void OnCustomerInventoryIdChanging(global::System.Int32 value); partial void OnCustomerInventoryIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.String Category { get { return _Category; } set { if (_Category != value) { OnCategoryChanging(value); ReportPropertyChanging("Category"); _Category = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Category"); OnCategoryChanged(); } } } private global::System.String _Category; partial void OnCategoryChanging(global::System.String value); partial void OnCategoryChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.String ItemType { get { return _ItemType; } set { if (_ItemType != value) { OnItemTypeChanging(value); ReportPropertyChanging("ItemType"); _ItemType = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("ItemType"); OnItemTypeChanged(); } } } private global::System.String _ItemType; partial void OnItemTypeChanging(global::System.String value); partial void OnItemTypeChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.String Size { get { return _Size; } set { if (_Size != value) { OnSizeChanging(value); ReportPropertyChanging("Size"); _Size = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Size"); OnSizeChanged(); } } } private global::System.String _Size; partial void OnSizeChanging(global::System.String value); partial void OnSizeChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] [DataMemberAttribute()] public global::System.String Count { get { return _Count; } set { OnCountChanging(value); ReportPropertyChanging("Count"); _Count = StructuralObject.SetValidValue(value, true); ReportPropertyChanged("Count"); OnCountChanged(); } } private global::System.String _Count; partial void OnCountChanging(global::System.String value); partial void OnCountChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 TCOrderPriority { get { return _TCOrderPriority; } set { if (_TCOrderPriority != value) { OnTCOrderPriorityChanging(value); ReportPropertyChanging("TCOrderPriority"); _TCOrderPriority = StructuralObject.SetValidValue(value); ReportPropertyChanged("TCOrderPriority"); OnTCOrderPriorityChanged(); } } } private global::System.Int32 _TCOrderPriority; partial void OnTCOrderPriorityChanging(global::System.Int32 value); partial void OnTCOrderPriorityChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 TSOrderPriority { get { return _TSOrderPriority; } set { if (_TSOrderPriority != value) { OnTSOrderPriorityChanging(value); ReportPropertyChanging("TSOrderPriority"); _TSOrderPriority = StructuralObject.SetValidValue(value); ReportPropertyChanged("TSOrderPriority"); OnTSOrderPriorityChanged(); } } } private global::System.Int32 _TSOrderPriority; partial void OnTSOrderPriorityChanging(global::System.Int32 value); partial void OnTSOrderPriorityChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] [DataMemberAttribute()] public Nullable WorkloadId { get { return _WorkloadId; } set { OnWorkloadIdChanging(value); ReportPropertyChanging("WorkloadId"); _WorkloadId = StructuralObject.SetValidValue(value); ReportPropertyChanged("WorkloadId"); OnWorkloadIdChanged(); } } private Nullable _WorkloadId; partial void OnWorkloadIdChanging(Nullable value); partial void OnWorkloadIdChanged(); #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="CustomerLogin")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class CustomerLogin : EntityObject { #region Factory Method /// /// Create a new CustomerLogin object. /// /// Initial value of the CustomerLoginId property. /// Initial value of the GUID property. /// Initial value of the CustomerId property. /// Initial value of the EmailAddress property. /// Initial value of the Password property. /// Initial value of the IsActive property. /// Initial value of the IsLockedOut property. public static CustomerLogin CreateCustomerLogin(global::System.Int32 customerLoginId, global::System.Guid gUID, global::System.Int32 customerId, global::System.String emailAddress, global::System.String password, global::System.Boolean isActive, global::System.Boolean isLockedOut) { CustomerLogin customerLogin = new CustomerLogin(); customerLogin.CustomerLoginId = customerLoginId; customerLogin.GUID = gUID; customerLogin.CustomerId = customerId; customerLogin.EmailAddress = emailAddress; customerLogin.Password = password; customerLogin.IsActive = isActive; customerLogin.IsLockedOut = isLockedOut; return customerLogin; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 CustomerLoginId { get { return _CustomerLoginId; } set { if (_CustomerLoginId != value) { OnCustomerLoginIdChanging(value); ReportPropertyChanging("CustomerLoginId"); _CustomerLoginId = StructuralObject.SetValidValue(value); ReportPropertyChanged("CustomerLoginId"); OnCustomerLoginIdChanged(); } } } private global::System.Int32 _CustomerLoginId; partial void OnCustomerLoginIdChanging(global::System.Int32 value); partial void OnCustomerLoginIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Guid GUID { get { return _GUID; } set { OnGUIDChanging(value); ReportPropertyChanging("GUID"); _GUID = StructuralObject.SetValidValue(value); ReportPropertyChanged("GUID"); OnGUIDChanged(); } } private global::System.Guid _GUID; partial void OnGUIDChanging(global::System.Guid value); partial void OnGUIDChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 CustomerId { get { return _CustomerId; } set { OnCustomerIdChanging(value); ReportPropertyChanging("CustomerId"); _CustomerId = StructuralObject.SetValidValue(value); ReportPropertyChanged("CustomerId"); OnCustomerIdChanged(); } } private global::System.Int32 _CustomerId; partial void OnCustomerIdChanging(global::System.Int32 value); partial void OnCustomerIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String EmailAddress { get { return _EmailAddress; } set { OnEmailAddressChanging(value); ReportPropertyChanging("EmailAddress"); _EmailAddress = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("EmailAddress"); OnEmailAddressChanged(); } } private global::System.String _EmailAddress; partial void OnEmailAddressChanging(global::System.String value); partial void OnEmailAddressChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String Password { get { return _Password; } set { OnPasswordChanging(value); ReportPropertyChanging("Password"); _Password = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Password"); OnPasswordChanged(); } } private global::System.String _Password; partial void OnPasswordChanging(global::System.String value); partial void OnPasswordChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Boolean IsActive { get { return _IsActive; } set { OnIsActiveChanging(value); ReportPropertyChanging("IsActive"); _IsActive = StructuralObject.SetValidValue(value); ReportPropertyChanged("IsActive"); OnIsActiveChanged(); } } private global::System.Boolean _IsActive; partial void OnIsActiveChanging(global::System.Boolean value); partial void OnIsActiveChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Boolean IsLockedOut { get { return _IsLockedOut; } set { OnIsLockedOutChanging(value); ReportPropertyChanging("IsLockedOut"); _IsLockedOut = StructuralObject.SetValidValue(value); ReportPropertyChanged("IsLockedOut"); OnIsLockedOutChanged(); } } private global::System.Boolean _IsLockedOut; partial void OnIsLockedOutChanging(global::System.Boolean value); partial void OnIsLockedOutChanged(); #endregion #region Navigation Properties /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_CustomerLogins_Customers", "Customer")] public Customer Customer { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_CustomerLogins_Customers", "Customer").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_CustomerLogins_Customers", "Customer").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference CustomerReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_CustomerLogins_Customers", "Customer"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_CustomerLogins_Customers", "Customer", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_WorkloadBags_CustomerLogins", "CustomerWorkloadBag")] public EntityCollection CustomerWorkloadBags { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_WorkloadBags_CustomerLogins", "CustomerWorkloadBag"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_WorkloadBags_CustomerLogins", "CustomerWorkloadBag", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Workloads_CustomerLogins", "Workload")] public EntityCollection Workloads { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_Workloads_CustomerLogins", "Workload"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_Workloads_CustomerLogins", "Workload", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_WorkloadItems_CustomerLogins", "WorkloadItem")] public EntityCollection WorkloadItems { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_WorkloadItems_CustomerLogins", "WorkloadItem"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_WorkloadItems_CustomerLogins", "WorkloadItem", value); } } } #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="CustomerWorkloadBag")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class CustomerWorkloadBag : EntityObject { #region Factory Method /// /// Create a new CustomerWorkloadBag object. /// /// Initial value of the WorkloadBagId property. /// Initial value of the WorkloadId property. /// Initial value of the UniqueReference property. /// Initial value of the TimeStamp property. /// Initial value of the CustomerLoginId property. /// Initial value of the TimeReceived property. /// Initial value of the OperatorLoginId property. public static CustomerWorkloadBag CreateCustomerWorkloadBag(global::System.Int32 workloadBagId, global::System.Int32 workloadId, global::System.String uniqueReference, global::System.DateTime timeStamp, global::System.Int32 customerLoginId, global::System.DateTime timeReceived, global::System.Int32 operatorLoginId) { CustomerWorkloadBag customerWorkloadBag = new CustomerWorkloadBag(); customerWorkloadBag.WorkloadBagId = workloadBagId; customerWorkloadBag.WorkloadId = workloadId; customerWorkloadBag.UniqueReference = uniqueReference; customerWorkloadBag.TimeStamp = timeStamp; customerWorkloadBag.CustomerLoginId = customerLoginId; customerWorkloadBag.TimeReceived = timeReceived; customerWorkloadBag.OperatorLoginId = operatorLoginId; return customerWorkloadBag; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 WorkloadBagId { get { return _WorkloadBagId; } set { if (_WorkloadBagId != value) { OnWorkloadBagIdChanging(value); ReportPropertyChanging("WorkloadBagId"); _WorkloadBagId = StructuralObject.SetValidValue(value); ReportPropertyChanged("WorkloadBagId"); OnWorkloadBagIdChanged(); } } } private global::System.Int32 _WorkloadBagId; partial void OnWorkloadBagIdChanging(global::System.Int32 value); partial void OnWorkloadBagIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 WorkloadId { get { return _WorkloadId; } set { OnWorkloadIdChanging(value); ReportPropertyChanging("WorkloadId"); _WorkloadId = StructuralObject.SetValidValue(value); ReportPropertyChanged("WorkloadId"); OnWorkloadIdChanged(); } } private global::System.Int32 _WorkloadId; partial void OnWorkloadIdChanging(global::System.Int32 value); partial void OnWorkloadIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String UniqueReference { get { return _UniqueReference; } set { OnUniqueReferenceChanging(value); ReportPropertyChanging("UniqueReference"); _UniqueReference = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("UniqueReference"); OnUniqueReferenceChanged(); } } private global::System.String _UniqueReference; partial void OnUniqueReferenceChanging(global::System.String value); partial void OnUniqueReferenceChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.DateTime TimeStamp { get { return _TimeStamp; } set { OnTimeStampChanging(value); ReportPropertyChanging("TimeStamp"); _TimeStamp = StructuralObject.SetValidValue(value); ReportPropertyChanged("TimeStamp"); OnTimeStampChanged(); } } private global::System.DateTime _TimeStamp; partial void OnTimeStampChanging(global::System.DateTime value); partial void OnTimeStampChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 CustomerLoginId { get { return _CustomerLoginId; } set { OnCustomerLoginIdChanging(value); ReportPropertyChanging("CustomerLoginId"); _CustomerLoginId = StructuralObject.SetValidValue(value); ReportPropertyChanged("CustomerLoginId"); OnCustomerLoginIdChanged(); } } private global::System.Int32 _CustomerLoginId; partial void OnCustomerLoginIdChanging(global::System.Int32 value); partial void OnCustomerLoginIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.DateTime TimeReceived { get { return _TimeReceived; } set { OnTimeReceivedChanging(value); ReportPropertyChanging("TimeReceived"); _TimeReceived = StructuralObject.SetValidValue(value); ReportPropertyChanged("TimeReceived"); OnTimeReceivedChanged(); } } private global::System.DateTime _TimeReceived; partial void OnTimeReceivedChanging(global::System.DateTime value); partial void OnTimeReceivedChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 OperatorLoginId { get { return _OperatorLoginId; } set { OnOperatorLoginIdChanging(value); ReportPropertyChanging("OperatorLoginId"); _OperatorLoginId = StructuralObject.SetValidValue(value); ReportPropertyChanged("OperatorLoginId"); OnOperatorLoginIdChanged(); } } private global::System.Int32 _OperatorLoginId; partial void OnOperatorLoginIdChanging(global::System.Int32 value); partial void OnOperatorLoginIdChanged(); #endregion #region Navigation Properties /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_WorkloadBags_CustomerLogins", "CustomerLogin")] public CustomerLogin CustomerLogin { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_WorkloadBags_CustomerLogins", "CustomerLogin").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_WorkloadBags_CustomerLogins", "CustomerLogin").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference CustomerLoginReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_WorkloadBags_CustomerLogins", "CustomerLogin"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_WorkloadBags_CustomerLogins", "CustomerLogin", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_WorkloadBags_Workloads", "Workload")] public Workload Workload { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_WorkloadBags_Workloads", "Workload").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_WorkloadBags_Workloads", "Workload").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference WorkloadReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_WorkloadBags_Workloads", "Workload"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_WorkloadBags_Workloads", "Workload", value); } } } #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="Dispatch")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class Dispatch : EntityObject { #region Factory Method /// /// Create a new Dispatch object. /// /// Initial value of the DispatchId property. /// Initial value of the InvoiceId property. /// Initial value of the DateCreated property. /// Initial value of the OperatorLoginId property. /// Initial value of the DispatchStatusId property. public static Dispatch CreateDispatch(global::System.Int32 dispatchId, global::System.Int32 invoiceId, global::System.DateTime dateCreated, global::System.Int32 operatorLoginId, global::System.Int32 dispatchStatusId) { Dispatch dispatch = new Dispatch(); dispatch.DispatchId = dispatchId; dispatch.InvoiceId = invoiceId; dispatch.DateCreated = dateCreated; dispatch.OperatorLoginId = operatorLoginId; dispatch.DispatchStatusId = dispatchStatusId; return dispatch; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 DispatchId { get { return _DispatchId; } set { if (_DispatchId != value) { OnDispatchIdChanging(value); ReportPropertyChanging("DispatchId"); _DispatchId = StructuralObject.SetValidValue(value); ReportPropertyChanged("DispatchId"); OnDispatchIdChanged(); } } } private global::System.Int32 _DispatchId; partial void OnDispatchIdChanging(global::System.Int32 value); partial void OnDispatchIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 InvoiceId { get { return _InvoiceId; } set { OnInvoiceIdChanging(value); ReportPropertyChanging("InvoiceId"); _InvoiceId = StructuralObject.SetValidValue(value); ReportPropertyChanged("InvoiceId"); OnInvoiceIdChanged(); } } private global::System.Int32 _InvoiceId; partial void OnInvoiceIdChanging(global::System.Int32 value); partial void OnInvoiceIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.DateTime DateCreated { get { return _DateCreated; } set { OnDateCreatedChanging(value); ReportPropertyChanging("DateCreated"); _DateCreated = StructuralObject.SetValidValue(value); ReportPropertyChanged("DateCreated"); OnDateCreatedChanged(); } } private global::System.DateTime _DateCreated; partial void OnDateCreatedChanging(global::System.DateTime value); partial void OnDateCreatedChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 OperatorLoginId { get { return _OperatorLoginId; } set { OnOperatorLoginIdChanging(value); ReportPropertyChanging("OperatorLoginId"); _OperatorLoginId = StructuralObject.SetValidValue(value); ReportPropertyChanged("OperatorLoginId"); OnOperatorLoginIdChanged(); } } private global::System.Int32 _OperatorLoginId; partial void OnOperatorLoginIdChanging(global::System.Int32 value); partial void OnOperatorLoginIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 DispatchStatusId { get { return _DispatchStatusId; } set { OnDispatchStatusIdChanging(value); ReportPropertyChanging("DispatchStatusId"); _DispatchStatusId = StructuralObject.SetValidValue(value); ReportPropertyChanged("DispatchStatusId"); OnDispatchStatusIdChanged(); } } private global::System.Int32 _DispatchStatusId; partial void OnDispatchStatusIdChanging(global::System.Int32 value); partial void OnDispatchStatusIdChanged(); #endregion #region Navigation Properties /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Dispatches_DispatchStatus", "DispatchStatu")] public DispatchStatu DispatchStatu { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Dispatches_DispatchStatus", "DispatchStatu").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Dispatches_DispatchStatus", "DispatchStatu").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference DispatchStatuReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Dispatches_DispatchStatus", "DispatchStatu"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_Dispatches_DispatchStatus", "DispatchStatu", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Dispatches_Invoices", "Invoice")] public Invoice Invoice { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Dispatches_Invoices", "Invoice").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Dispatches_Invoices", "Invoice").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference InvoiceReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Dispatches_Invoices", "Invoice"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_Dispatches_Invoices", "Invoice", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Dispatches_OperatorLogins", "OperatorLogin")] public OperatorLogin OperatorLogin { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Dispatches_OperatorLogins", "OperatorLogin").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Dispatches_OperatorLogins", "OperatorLogin").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference OperatorLoginReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Dispatches_OperatorLogins", "OperatorLogin"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_Dispatches_OperatorLogins", "OperatorLogin", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_DispatchItems_Dispatches", "DispatchItem")] public EntityCollection DispatchItems { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_DispatchItems_Dispatches", "DispatchItem"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_DispatchItems_Dispatches", "DispatchItem", value); } } } #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="DispatchItem")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class DispatchItem : EntityObject { #region Factory Method /// /// Create a new DispatchItem object. /// /// Initial value of the DispatchItemId property. /// Initial value of the DispatchId property. /// Initial value of the InvoiceItemId property. /// Initial value of the ItemCount property. public static DispatchItem CreateDispatchItem(global::System.Int32 dispatchItemId, global::System.Int32 dispatchId, global::System.Int32 invoiceItemId, global::System.Int32 itemCount) { DispatchItem dispatchItem = new DispatchItem(); dispatchItem.DispatchItemId = dispatchItemId; dispatchItem.DispatchId = dispatchId; dispatchItem.InvoiceItemId = invoiceItemId; dispatchItem.ItemCount = itemCount; return dispatchItem; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 DispatchItemId { get { return _DispatchItemId; } set { if (_DispatchItemId != value) { OnDispatchItemIdChanging(value); ReportPropertyChanging("DispatchItemId"); _DispatchItemId = StructuralObject.SetValidValue(value); ReportPropertyChanged("DispatchItemId"); OnDispatchItemIdChanged(); } } } private global::System.Int32 _DispatchItemId; partial void OnDispatchItemIdChanging(global::System.Int32 value); partial void OnDispatchItemIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 DispatchId { get { return _DispatchId; } set { OnDispatchIdChanging(value); ReportPropertyChanging("DispatchId"); _DispatchId = StructuralObject.SetValidValue(value); ReportPropertyChanged("DispatchId"); OnDispatchIdChanged(); } } private global::System.Int32 _DispatchId; partial void OnDispatchIdChanging(global::System.Int32 value); partial void OnDispatchIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 InvoiceItemId { get { return _InvoiceItemId; } set { OnInvoiceItemIdChanging(value); ReportPropertyChanging("InvoiceItemId"); _InvoiceItemId = StructuralObject.SetValidValue(value); ReportPropertyChanged("InvoiceItemId"); OnInvoiceItemIdChanged(); } } private global::System.Int32 _InvoiceItemId; partial void OnInvoiceItemIdChanging(global::System.Int32 value); partial void OnInvoiceItemIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 ItemCount { get { return _ItemCount; } set { OnItemCountChanging(value); ReportPropertyChanging("ItemCount"); _ItemCount = StructuralObject.SetValidValue(value); ReportPropertyChanged("ItemCount"); OnItemCountChanged(); } } private global::System.Int32 _ItemCount; partial void OnItemCountChanging(global::System.Int32 value); partial void OnItemCountChanged(); #endregion #region Navigation Properties /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_DispatchItems_Dispatches", "Dispatch")] public Dispatch Dispatch { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_DispatchItems_Dispatches", "Dispatch").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_DispatchItems_Dispatches", "Dispatch").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference DispatchReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_DispatchItems_Dispatches", "Dispatch"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_DispatchItems_Dispatches", "Dispatch", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_DispatchItems_InvoiceItems", "InvoiceItem")] public InvoiceItem InvoiceItem { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_DispatchItems_InvoiceItems", "InvoiceItem").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_DispatchItems_InvoiceItems", "InvoiceItem").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference InvoiceItemReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_DispatchItems_InvoiceItems", "InvoiceItem"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_DispatchItems_InvoiceItems", "InvoiceItem", value); } } } #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="DispatchStatu")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class DispatchStatu : EntityObject { #region Factory Method /// /// Create a new DispatchStatu object. /// /// Initial value of the DispatchStatusId property. /// Initial value of the Status property. public static DispatchStatu CreateDispatchStatu(global::System.Int32 dispatchStatusId, global::System.String status) { DispatchStatu dispatchStatu = new DispatchStatu(); dispatchStatu.DispatchStatusId = dispatchStatusId; dispatchStatu.Status = status; return dispatchStatu; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 DispatchStatusId { get { return _DispatchStatusId; } set { if (_DispatchStatusId != value) { OnDispatchStatusIdChanging(value); ReportPropertyChanging("DispatchStatusId"); _DispatchStatusId = StructuralObject.SetValidValue(value); ReportPropertyChanged("DispatchStatusId"); OnDispatchStatusIdChanged(); } } } private global::System.Int32 _DispatchStatusId; partial void OnDispatchStatusIdChanging(global::System.Int32 value); partial void OnDispatchStatusIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String Status { get { return _Status; } set { OnStatusChanging(value); ReportPropertyChanging("Status"); _Status = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Status"); OnStatusChanged(); } } private global::System.String _Status; partial void OnStatusChanging(global::System.String value); partial void OnStatusChanged(); #endregion #region Navigation Properties /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Dispatches_DispatchStatus", "Dispatch")] public EntityCollection Dispatches { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_Dispatches_DispatchStatus", "Dispatch"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_Dispatches_DispatchStatus", "Dispatch", value); } } } #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="InventoryItem")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class InventoryItem : EntityObject { #region Factory Method /// /// Create a new InventoryItem object. /// /// Initial value of the InventoryItemId property. /// Initial value of the InventoryItemTypeId property. /// Initial value of the CustomerId property. /// Initial value of the UniqueId property. public static InventoryItem CreateInventoryItem(global::System.Int32 inventoryItemId, global::System.Int32 inventoryItemTypeId, global::System.Int32 customerId, global::System.Int32 uniqueId) { InventoryItem inventoryItem = new InventoryItem(); inventoryItem.InventoryItemId = inventoryItemId; inventoryItem.InventoryItemTypeId = inventoryItemTypeId; inventoryItem.CustomerId = customerId; inventoryItem.UniqueId = uniqueId; return inventoryItem; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 InventoryItemId { get { return _InventoryItemId; } set { if (_InventoryItemId != value) { OnInventoryItemIdChanging(value); ReportPropertyChanging("InventoryItemId"); _InventoryItemId = StructuralObject.SetValidValue(value); ReportPropertyChanged("InventoryItemId"); OnInventoryItemIdChanged(); } } } private global::System.Int32 _InventoryItemId; partial void OnInventoryItemIdChanging(global::System.Int32 value); partial void OnInventoryItemIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 InventoryItemTypeId { get { return _InventoryItemTypeId; } set { OnInventoryItemTypeIdChanging(value); ReportPropertyChanging("InventoryItemTypeId"); _InventoryItemTypeId = StructuralObject.SetValidValue(value); ReportPropertyChanged("InventoryItemTypeId"); OnInventoryItemTypeIdChanged(); } } private global::System.Int32 _InventoryItemTypeId; partial void OnInventoryItemTypeIdChanging(global::System.Int32 value); partial void OnInventoryItemTypeIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 CustomerId { get { return _CustomerId; } set { OnCustomerIdChanging(value); ReportPropertyChanging("CustomerId"); _CustomerId = StructuralObject.SetValidValue(value); ReportPropertyChanged("CustomerId"); OnCustomerIdChanged(); } } private global::System.Int32 _CustomerId; partial void OnCustomerIdChanging(global::System.Int32 value); partial void OnCustomerIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 UniqueId { get { return _UniqueId; } set { OnUniqueIdChanging(value); ReportPropertyChanging("UniqueId"); _UniqueId = StructuralObject.SetValidValue(value); ReportPropertyChanged("UniqueId"); OnUniqueIdChanged(); } } private global::System.Int32 _UniqueId; partial void OnUniqueIdChanging(global::System.Int32 value); partial void OnUniqueIdChanged(); #endregion #region Navigation Properties /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_InventoryItems_Customers", "Customer")] public Customer Customer { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_InventoryItems_Customers", "Customer").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_InventoryItems_Customers", "Customer").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference CustomerReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_InventoryItems_Customers", "Customer"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_InventoryItems_Customers", "Customer", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_InventoryItems_InventoryItemTypes", "InventoryItemType")] public InventoryItemType InventoryItemType { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_InventoryItems_InventoryItemTypes", "InventoryItemType").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_InventoryItems_InventoryItemTypes", "InventoryItemType").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference InventoryItemTypeReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_InventoryItems_InventoryItemTypes", "InventoryItemType"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_InventoryItems_InventoryItemTypes", "InventoryItemType", value); } } } #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="InventoryItemType")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class InventoryItemType : EntityObject { #region Factory Method /// /// Create a new InventoryItemType object. /// /// Initial value of the InventoryItemTypeId property. /// Initial value of the InventoryItemTypeCategoryId property. /// Initial value of the InventoryItemTypeSizeId property. /// Initial value of the ItemType property. public static InventoryItemType CreateInventoryItemType(global::System.Int32 inventoryItemTypeId, global::System.Int32 inventoryItemTypeCategoryId, global::System.Int32 inventoryItemTypeSizeId, global::System.String itemType) { InventoryItemType inventoryItemType = new InventoryItemType(); inventoryItemType.InventoryItemTypeId = inventoryItemTypeId; inventoryItemType.InventoryItemTypeCategoryId = inventoryItemTypeCategoryId; inventoryItemType.InventoryItemTypeSizeId = inventoryItemTypeSizeId; inventoryItemType.ItemType = itemType; return inventoryItemType; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 InventoryItemTypeId { get { return _InventoryItemTypeId; } set { if (_InventoryItemTypeId != value) { OnInventoryItemTypeIdChanging(value); ReportPropertyChanging("InventoryItemTypeId"); _InventoryItemTypeId = StructuralObject.SetValidValue(value); ReportPropertyChanged("InventoryItemTypeId"); OnInventoryItemTypeIdChanged(); } } } private global::System.Int32 _InventoryItemTypeId; partial void OnInventoryItemTypeIdChanging(global::System.Int32 value); partial void OnInventoryItemTypeIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 InventoryItemTypeCategoryId { get { return _InventoryItemTypeCategoryId; } set { OnInventoryItemTypeCategoryIdChanging(value); ReportPropertyChanging("InventoryItemTypeCategoryId"); _InventoryItemTypeCategoryId = StructuralObject.SetValidValue(value); ReportPropertyChanged("InventoryItemTypeCategoryId"); OnInventoryItemTypeCategoryIdChanged(); } } private global::System.Int32 _InventoryItemTypeCategoryId; partial void OnInventoryItemTypeCategoryIdChanging(global::System.Int32 value); partial void OnInventoryItemTypeCategoryIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 InventoryItemTypeSizeId { get { return _InventoryItemTypeSizeId; } set { OnInventoryItemTypeSizeIdChanging(value); ReportPropertyChanging("InventoryItemTypeSizeId"); _InventoryItemTypeSizeId = StructuralObject.SetValidValue(value); ReportPropertyChanged("InventoryItemTypeSizeId"); OnInventoryItemTypeSizeIdChanged(); } } private global::System.Int32 _InventoryItemTypeSizeId; partial void OnInventoryItemTypeSizeIdChanging(global::System.Int32 value); partial void OnInventoryItemTypeSizeIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String ItemType { get { return _ItemType; } set { OnItemTypeChanging(value); ReportPropertyChanging("ItemType"); _ItemType = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("ItemType"); OnItemTypeChanged(); } } private global::System.String _ItemType; partial void OnItemTypeChanging(global::System.String value); partial void OnItemTypeChanged(); #endregion #region Navigation Properties /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_CustomerInventory_InventoryItemTypes", "CustomerInventory")] public EntityCollection CustomerInventories { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_CustomerInventory_InventoryItemTypes", "CustomerInventory"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_CustomerInventory_InventoryItemTypes", "CustomerInventory", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_InventoryItems_InventoryItemTypes", "InventoryItem")] public EntityCollection InventoryItems { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_InventoryItems_InventoryItemTypes", "InventoryItem"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_InventoryItems_InventoryItemTypes", "InventoryItem", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_InventoryItemTypes_InventoryItemTypeCategories", "InventoryItemTypeCategory")] public InventoryItemTypeCategory InventoryItemTypeCategory { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_InventoryItemTypes_InventoryItemTypeCategories", "InventoryItemTypeCategory").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_InventoryItemTypes_InventoryItemTypeCategories", "InventoryItemTypeCategory").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference InventoryItemTypeCategoryReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_InventoryItemTypes_InventoryItemTypeCategories", "InventoryItemTypeCategory"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_InventoryItemTypes_InventoryItemTypeCategories", "InventoryItemTypeCategory", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_InventoryItemTypes_InventoryItemTypeSize", "InventoryItemTypeSize")] public InventoryItemTypeSize InventoryItemTypeSize { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_InventoryItemTypes_InventoryItemTypeSize", "InventoryItemTypeSize").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_InventoryItemTypes_InventoryItemTypeSize", "InventoryItemTypeSize").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference InventoryItemTypeSizeReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_InventoryItemTypes_InventoryItemTypeSize", "InventoryItemTypeSize"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_InventoryItemTypes_InventoryItemTypeSize", "InventoryItemTypeSize", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_InvoiceItems_InventoryItemTypes", "InvoiceItem")] public EntityCollection InvoiceItems { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_InvoiceItems_InventoryItemTypes", "InvoiceItem"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_InvoiceItems_InventoryItemTypes", "InvoiceItem", value); } } } #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="InventoryItemTypeCategory")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class InventoryItemTypeCategory : EntityObject { #region Factory Method /// /// Create a new InventoryItemTypeCategory object. /// /// Initial value of the InventoryItemTypeCategoryId property. /// Initial value of the Category property. /// Initial value of the OrderPriority property. public static InventoryItemTypeCategory CreateInventoryItemTypeCategory(global::System.Int32 inventoryItemTypeCategoryId, global::System.String category, global::System.Int32 orderPriority) { InventoryItemTypeCategory inventoryItemTypeCategory = new InventoryItemTypeCategory(); inventoryItemTypeCategory.InventoryItemTypeCategoryId = inventoryItemTypeCategoryId; inventoryItemTypeCategory.Category = category; inventoryItemTypeCategory.OrderPriority = orderPriority; return inventoryItemTypeCategory; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 InventoryItemTypeCategoryId { get { return _InventoryItemTypeCategoryId; } set { if (_InventoryItemTypeCategoryId != value) { OnInventoryItemTypeCategoryIdChanging(value); ReportPropertyChanging("InventoryItemTypeCategoryId"); _InventoryItemTypeCategoryId = StructuralObject.SetValidValue(value); ReportPropertyChanged("InventoryItemTypeCategoryId"); OnInventoryItemTypeCategoryIdChanged(); } } } private global::System.Int32 _InventoryItemTypeCategoryId; partial void OnInventoryItemTypeCategoryIdChanging(global::System.Int32 value); partial void OnInventoryItemTypeCategoryIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String Category { get { return _Category; } set { OnCategoryChanging(value); ReportPropertyChanging("Category"); _Category = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Category"); OnCategoryChanged(); } } private global::System.String _Category; partial void OnCategoryChanging(global::System.String value); partial void OnCategoryChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 OrderPriority { get { return _OrderPriority; } set { OnOrderPriorityChanging(value); ReportPropertyChanging("OrderPriority"); _OrderPriority = StructuralObject.SetValidValue(value); ReportPropertyChanged("OrderPriority"); OnOrderPriorityChanged(); } } private global::System.Int32 _OrderPriority; partial void OnOrderPriorityChanging(global::System.Int32 value); partial void OnOrderPriorityChanged(); #endregion #region Navigation Properties /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_InventoryItemTypes_InventoryItemTypeCategories", "InventoryItemType")] public EntityCollection InventoryItemTypes { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_InventoryItemTypes_InventoryItemTypeCategories", "InventoryItemType"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_InventoryItemTypes_InventoryItemTypeCategories", "InventoryItemType", value); } } } #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="InventoryItemTypeSize")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class InventoryItemTypeSize : EntityObject { #region Factory Method /// /// Create a new InventoryItemTypeSize object. /// /// Initial value of the InventoryItemTypeSizeId property. /// Initial value of the Size property. /// Initial value of the OrderPriority property. public static InventoryItemTypeSize CreateInventoryItemTypeSize(global::System.Int32 inventoryItemTypeSizeId, global::System.String size, global::System.Int32 orderPriority) { InventoryItemTypeSize inventoryItemTypeSize = new InventoryItemTypeSize(); inventoryItemTypeSize.InventoryItemTypeSizeId = inventoryItemTypeSizeId; inventoryItemTypeSize.Size = size; inventoryItemTypeSize.OrderPriority = orderPriority; return inventoryItemTypeSize; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 InventoryItemTypeSizeId { get { return _InventoryItemTypeSizeId; } set { if (_InventoryItemTypeSizeId != value) { OnInventoryItemTypeSizeIdChanging(value); ReportPropertyChanging("InventoryItemTypeSizeId"); _InventoryItemTypeSizeId = StructuralObject.SetValidValue(value); ReportPropertyChanged("InventoryItemTypeSizeId"); OnInventoryItemTypeSizeIdChanged(); } } } private global::System.Int32 _InventoryItemTypeSizeId; partial void OnInventoryItemTypeSizeIdChanging(global::System.Int32 value); partial void OnInventoryItemTypeSizeIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String Size { get { return _Size; } set { OnSizeChanging(value); ReportPropertyChanging("Size"); _Size = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Size"); OnSizeChanged(); } } private global::System.String _Size; partial void OnSizeChanging(global::System.String value); partial void OnSizeChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 OrderPriority { get { return _OrderPriority; } set { OnOrderPriorityChanging(value); ReportPropertyChanging("OrderPriority"); _OrderPriority = StructuralObject.SetValidValue(value); ReportPropertyChanged("OrderPriority"); OnOrderPriorityChanged(); } } private global::System.Int32 _OrderPriority; partial void OnOrderPriorityChanging(global::System.Int32 value); partial void OnOrderPriorityChanged(); #endregion #region Navigation Properties /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_InventoryItemTypes_InventoryItemTypeSize", "InventoryItemType")] public EntityCollection InventoryItemTypes { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_InventoryItemTypes_InventoryItemTypeSize", "InventoryItemType"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_InventoryItemTypes_InventoryItemTypeSize", "InventoryItemType", value); } } } #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="Invoice")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class Invoice : EntityObject { #region Factory Method /// /// Create a new Invoice object. /// /// Initial value of the InvoiceId property. /// Initial value of the CustomerId property. /// Initial value of the WorkloadId property. /// Initial value of the DateCreated property. /// Initial value of the OperatorLoginId property. /// Initial value of the InvoiceStatusId property. public static Invoice CreateInvoice(global::System.Int32 invoiceId, global::System.Int32 customerId, global::System.Int32 workloadId, global::System.DateTime dateCreated, global::System.Int32 operatorLoginId, global::System.Int32 invoiceStatusId) { Invoice invoice = new Invoice(); invoice.InvoiceId = invoiceId; invoice.CustomerId = customerId; invoice.WorkloadId = workloadId; invoice.DateCreated = dateCreated; invoice.OperatorLoginId = operatorLoginId; invoice.InvoiceStatusId = invoiceStatusId; return invoice; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 InvoiceId { get { return _InvoiceId; } set { if (_InvoiceId != value) { OnInvoiceIdChanging(value); ReportPropertyChanging("InvoiceId"); _InvoiceId = StructuralObject.SetValidValue(value); ReportPropertyChanged("InvoiceId"); OnInvoiceIdChanged(); } } } private global::System.Int32 _InvoiceId; partial void OnInvoiceIdChanging(global::System.Int32 value); partial void OnInvoiceIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 CustomerId { get { return _CustomerId; } set { OnCustomerIdChanging(value); ReportPropertyChanging("CustomerId"); _CustomerId = StructuralObject.SetValidValue(value); ReportPropertyChanged("CustomerId"); OnCustomerIdChanged(); } } private global::System.Int32 _CustomerId; partial void OnCustomerIdChanging(global::System.Int32 value); partial void OnCustomerIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 WorkloadId { get { return _WorkloadId; } set { OnWorkloadIdChanging(value); ReportPropertyChanging("WorkloadId"); _WorkloadId = StructuralObject.SetValidValue(value); ReportPropertyChanged("WorkloadId"); OnWorkloadIdChanged(); } } private global::System.Int32 _WorkloadId; partial void OnWorkloadIdChanging(global::System.Int32 value); partial void OnWorkloadIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.DateTime DateCreated { get { return _DateCreated; } set { OnDateCreatedChanging(value); ReportPropertyChanging("DateCreated"); _DateCreated = StructuralObject.SetValidValue(value); ReportPropertyChanged("DateCreated"); OnDateCreatedChanged(); } } private global::System.DateTime _DateCreated; partial void OnDateCreatedChanging(global::System.DateTime value); partial void OnDateCreatedChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 OperatorLoginId { get { return _OperatorLoginId; } set { OnOperatorLoginIdChanging(value); ReportPropertyChanging("OperatorLoginId"); _OperatorLoginId = StructuralObject.SetValidValue(value); ReportPropertyChanged("OperatorLoginId"); OnOperatorLoginIdChanged(); } } private global::System.Int32 _OperatorLoginId; partial void OnOperatorLoginIdChanging(global::System.Int32 value); partial void OnOperatorLoginIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 InvoiceStatusId { get { return _InvoiceStatusId; } set { OnInvoiceStatusIdChanging(value); ReportPropertyChanging("InvoiceStatusId"); _InvoiceStatusId = StructuralObject.SetValidValue(value); ReportPropertyChanged("InvoiceStatusId"); OnInvoiceStatusIdChanged(); } } private global::System.Int32 _InvoiceStatusId; partial void OnInvoiceStatusIdChanging(global::System.Int32 value); partial void OnInvoiceStatusIdChanged(); #endregion #region Navigation Properties /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Invoices_Customers", "Customer")] public Customer Customer { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Invoices_Customers", "Customer").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Invoices_Customers", "Customer").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference CustomerReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Invoices_Customers", "Customer"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_Invoices_Customers", "Customer", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_InvoiceItems_Invoices", "InvoiceItem")] public EntityCollection InvoiceItems { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_InvoiceItems_Invoices", "InvoiceItem"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_InvoiceItems_Invoices", "InvoiceItem", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Invoices_InvoiceStatus", "InvoiceStatu")] public InvoiceStatus InvoiceStatu { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Invoices_InvoiceStatus", "InvoiceStatu").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Invoices_InvoiceStatus", "InvoiceStatu").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference InvoiceStatuReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Invoices_InvoiceStatus", "InvoiceStatu"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_Invoices_InvoiceStatus", "InvoiceStatu", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Invoices_OperatorLogins", "OperatorLogin")] public OperatorLogin OperatorLogin { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Invoices_OperatorLogins", "OperatorLogin").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Invoices_OperatorLogins", "OperatorLogin").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference OperatorLoginReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Invoices_OperatorLogins", "OperatorLogin"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_Invoices_OperatorLogins", "OperatorLogin", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Invoices_Workloads", "Workload")] public Workload Workload { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Invoices_Workloads", "Workload").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Invoices_Workloads", "Workload").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference WorkloadReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Invoices_Workloads", "Workload"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_Invoices_Workloads", "Workload", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Dispatches_Invoices", "Dispatch")] public EntityCollection Dispatches { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_Dispatches_Invoices", "Dispatch"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_Dispatches_Invoices", "Dispatch", value); } } } #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="InvoiceItem")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class InvoiceItem : EntityObject { #region Factory Method /// /// Create a new InvoiceItem object. /// /// Initial value of the InvoiceItemId property. /// Initial value of the InvoiceId property. /// Initial value of the InventoryItemTypeId property. /// Initial value of the OperatorLoginId property. /// Initial value of the ItemCount property. public static InvoiceItem CreateInvoiceItem(global::System.Int32 invoiceItemId, global::System.Int32 invoiceId, global::System.Int32 inventoryItemTypeId, global::System.Int32 operatorLoginId, global::System.Int32 itemCount) { InvoiceItem invoiceItem = new InvoiceItem(); invoiceItem.InvoiceItemId = invoiceItemId; invoiceItem.InvoiceId = invoiceId; invoiceItem.InventoryItemTypeId = inventoryItemTypeId; invoiceItem.OperatorLoginId = operatorLoginId; invoiceItem.ItemCount = itemCount; return invoiceItem; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 InvoiceItemId { get { return _InvoiceItemId; } set { if (_InvoiceItemId != value) { OnInvoiceItemIdChanging(value); ReportPropertyChanging("InvoiceItemId"); _InvoiceItemId = StructuralObject.SetValidValue(value); ReportPropertyChanged("InvoiceItemId"); OnInvoiceItemIdChanged(); } } } private global::System.Int32 _InvoiceItemId; partial void OnInvoiceItemIdChanging(global::System.Int32 value); partial void OnInvoiceItemIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 InvoiceId { get { return _InvoiceId; } set { OnInvoiceIdChanging(value); ReportPropertyChanging("InvoiceId"); _InvoiceId = StructuralObject.SetValidValue(value); ReportPropertyChanged("InvoiceId"); OnInvoiceIdChanged(); } } private global::System.Int32 _InvoiceId; partial void OnInvoiceIdChanging(global::System.Int32 value); partial void OnInvoiceIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 InventoryItemTypeId { get { return _InventoryItemTypeId; } set { OnInventoryItemTypeIdChanging(value); ReportPropertyChanging("InventoryItemTypeId"); _InventoryItemTypeId = StructuralObject.SetValidValue(value); ReportPropertyChanged("InventoryItemTypeId"); OnInventoryItemTypeIdChanged(); } } private global::System.Int32 _InventoryItemTypeId; partial void OnInventoryItemTypeIdChanging(global::System.Int32 value); partial void OnInventoryItemTypeIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] [DataMemberAttribute()] public Nullable Cost { get { return _Cost; } set { OnCostChanging(value); ReportPropertyChanging("Cost"); _Cost = StructuralObject.SetValidValue(value); ReportPropertyChanged("Cost"); OnCostChanged(); } } private Nullable _Cost; partial void OnCostChanging(Nullable value); partial void OnCostChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 OperatorLoginId { get { return _OperatorLoginId; } set { OnOperatorLoginIdChanging(value); ReportPropertyChanging("OperatorLoginId"); _OperatorLoginId = StructuralObject.SetValidValue(value); ReportPropertyChanged("OperatorLoginId"); OnOperatorLoginIdChanged(); } } private global::System.Int32 _OperatorLoginId; partial void OnOperatorLoginIdChanging(global::System.Int32 value); partial void OnOperatorLoginIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 ItemCount { get { return _ItemCount; } set { OnItemCountChanging(value); ReportPropertyChanging("ItemCount"); _ItemCount = StructuralObject.SetValidValue(value); ReportPropertyChanged("ItemCount"); OnItemCountChanged(); } } private global::System.Int32 _ItemCount; partial void OnItemCountChanging(global::System.Int32 value); partial void OnItemCountChanged(); #endregion #region Navigation Properties /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_InvoiceItems_InventoryItemTypes", "InventoryItemType")] public InventoryItemType InventoryItemType { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_InvoiceItems_InventoryItemTypes", "InventoryItemType").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_InvoiceItems_InventoryItemTypes", "InventoryItemType").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference InventoryItemTypeReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_InvoiceItems_InventoryItemTypes", "InventoryItemType"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_InvoiceItems_InventoryItemTypes", "InventoryItemType", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_InvoiceItems_Invoices", "Invoice")] public Invoice Invoice { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_InvoiceItems_Invoices", "Invoice").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_InvoiceItems_Invoices", "Invoice").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference InvoiceReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_InvoiceItems_Invoices", "Invoice"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_InvoiceItems_Invoices", "Invoice", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_InvoiceItems_OperatorLogins", "OperatorLogin")] public OperatorLogin OperatorLogin { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_InvoiceItems_OperatorLogins", "OperatorLogin").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_InvoiceItems_OperatorLogins", "OperatorLogin").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference OperatorLoginReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_InvoiceItems_OperatorLogins", "OperatorLogin"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_InvoiceItems_OperatorLogins", "OperatorLogin", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_DispatchItems_InvoiceItems", "DispatchItem")] public EntityCollection DispatchItems { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_DispatchItems_InvoiceItems", "DispatchItem"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_DispatchItems_InvoiceItems", "DispatchItem", value); } } } #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="InvoiceStatus")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class InvoiceStatus : EntityObject { #region Factory Method /// /// Create a new InvoiceStatus object. /// /// Initial value of the InvoiceStatusId property. /// Initial value of the Status property. public static InvoiceStatus CreateInvoiceStatus(global::System.Int32 invoiceStatusId, global::System.String status) { InvoiceStatus invoiceStatus = new InvoiceStatus(); invoiceStatus.InvoiceStatusId = invoiceStatusId; invoiceStatus.Status = status; return invoiceStatus; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 InvoiceStatusId { get { return _InvoiceStatusId; } set { if (_InvoiceStatusId != value) { OnInvoiceStatusIdChanging(value); ReportPropertyChanging("InvoiceStatusId"); _InvoiceStatusId = StructuralObject.SetValidValue(value); ReportPropertyChanged("InvoiceStatusId"); OnInvoiceStatusIdChanged(); } } } private global::System.Int32 _InvoiceStatusId; partial void OnInvoiceStatusIdChanging(global::System.Int32 value); partial void OnInvoiceStatusIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String Status { get { return _Status; } set { OnStatusChanging(value); ReportPropertyChanging("Status"); _Status = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Status"); OnStatusChanged(); } } private global::System.String _Status; partial void OnStatusChanging(global::System.String value); partial void OnStatusChanged(); #endregion #region Navigation Properties /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Invoices_InvoiceStatus", "Invoice")] public EntityCollection Invoices { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_Invoices_InvoiceStatus", "Invoice"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_Invoices_InvoiceStatus", "Invoice", value); } } } #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="OperatorLogin")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class OperatorLogin : EntityObject { #region Factory Method /// /// Create a new OperatorLogin object. /// /// Initial value of the OperatorLoginId property. /// Initial value of the Username property. /// Initial value of the Password property. /// Initial value of the OperatorRoleId property. public static OperatorLogin CreateOperatorLogin(global::System.Int32 operatorLoginId, global::System.String username, global::System.String password, global::System.Int32 operatorRoleId) { OperatorLogin operatorLogin = new OperatorLogin(); operatorLogin.OperatorLoginId = operatorLoginId; operatorLogin.Username = username; operatorLogin.Password = password; operatorLogin.OperatorRoleId = operatorRoleId; return operatorLogin; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 OperatorLoginId { get { return _OperatorLoginId; } set { if (_OperatorLoginId != value) { OnOperatorLoginIdChanging(value); ReportPropertyChanging("OperatorLoginId"); _OperatorLoginId = StructuralObject.SetValidValue(value); ReportPropertyChanged("OperatorLoginId"); OnOperatorLoginIdChanged(); } } } private global::System.Int32 _OperatorLoginId; partial void OnOperatorLoginIdChanging(global::System.Int32 value); partial void OnOperatorLoginIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String Username { get { return _Username; } set { OnUsernameChanging(value); ReportPropertyChanging("Username"); _Username = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Username"); OnUsernameChanged(); } } private global::System.String _Username; partial void OnUsernameChanging(global::System.String value); partial void OnUsernameChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String Password { get { return _Password; } set { OnPasswordChanging(value); ReportPropertyChanging("Password"); _Password = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Password"); OnPasswordChanged(); } } private global::System.String _Password; partial void OnPasswordChanging(global::System.String value); partial void OnPasswordChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 OperatorRoleId { get { return _OperatorRoleId; } set { OnOperatorRoleIdChanging(value); ReportPropertyChanging("OperatorRoleId"); _OperatorRoleId = StructuralObject.SetValidValue(value); ReportPropertyChanged("OperatorRoleId"); OnOperatorRoleIdChanged(); } } private global::System.Int32 _OperatorRoleId; partial void OnOperatorRoleIdChanging(global::System.Int32 value); partial void OnOperatorRoleIdChanged(); #endregion #region Navigation Properties /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_CustomerInventory_OperatorLogins", "CustomerInventory")] public EntityCollection CustomerInventories { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_CustomerInventory_OperatorLogins", "CustomerInventory"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_CustomerInventory_OperatorLogins", "CustomerInventory", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Customers_OperatorLogins", "Customer")] public EntityCollection Customers { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_Customers_OperatorLogins", "Customer"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_Customers_OperatorLogins", "Customer", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_OperatorLogins_OperatorRoles", "OperatorRole")] public OperatorRole OperatorRole { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_OperatorLogins_OperatorRoles", "OperatorRole").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_OperatorLogins_OperatorRoles", "OperatorRole").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference OperatorRoleReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_OperatorLogins_OperatorRoles", "OperatorRole"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_OperatorLogins_OperatorRoles", "OperatorRole", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Workloads_OperatorLogins", "Workload")] public EntityCollection Workloads { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_Workloads_OperatorLogins", "Workload"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_Workloads_OperatorLogins", "Workload", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_InvoiceItems_OperatorLogins", "InvoiceItem")] public EntityCollection InvoiceItems { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_InvoiceItems_OperatorLogins", "InvoiceItem"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_InvoiceItems_OperatorLogins", "InvoiceItem", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Invoices_OperatorLogins", "Invoice")] public EntityCollection Invoices { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_Invoices_OperatorLogins", "Invoice"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_Invoices_OperatorLogins", "Invoice", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Dispatches_OperatorLogins", "Dispatch")] public EntityCollection Dispatches { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_Dispatches_OperatorLogins", "Dispatch"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_Dispatches_OperatorLogins", "Dispatch", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_WorkloadItems_OperatorLogins", "WorkloadItem")] public EntityCollection WorkloadItems { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_WorkloadItems_OperatorLogins", "WorkloadItem"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_WorkloadItems_OperatorLogins", "WorkloadItem", value); } } } #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="OperatorRole")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class OperatorRole : EntityObject { #region Factory Method /// /// Create a new OperatorRole object. /// /// Initial value of the OperatorRoleId property. /// Initial value of the RoleName property. /// Initial value of the CanLogin property. public static OperatorRole CreateOperatorRole(global::System.Int32 operatorRoleId, global::System.String roleName, global::System.Boolean canLogin) { OperatorRole operatorRole = new OperatorRole(); operatorRole.OperatorRoleId = operatorRoleId; operatorRole.RoleName = roleName; operatorRole.CanLogin = canLogin; return operatorRole; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 OperatorRoleId { get { return _OperatorRoleId; } set { if (_OperatorRoleId != value) { OnOperatorRoleIdChanging(value); ReportPropertyChanging("OperatorRoleId"); _OperatorRoleId = StructuralObject.SetValidValue(value); ReportPropertyChanged("OperatorRoleId"); OnOperatorRoleIdChanged(); } } } private global::System.Int32 _OperatorRoleId; partial void OnOperatorRoleIdChanging(global::System.Int32 value); partial void OnOperatorRoleIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String RoleName { get { return _RoleName; } set { OnRoleNameChanging(value); ReportPropertyChanging("RoleName"); _RoleName = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("RoleName"); OnRoleNameChanged(); } } private global::System.String _RoleName; partial void OnRoleNameChanging(global::System.String value); partial void OnRoleNameChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Boolean CanLogin { get { return _CanLogin; } set { OnCanLoginChanging(value); ReportPropertyChanging("CanLogin"); _CanLogin = StructuralObject.SetValidValue(value); ReportPropertyChanged("CanLogin"); OnCanLoginChanged(); } } private global::System.Boolean _CanLogin; partial void OnCanLoginChanging(global::System.Boolean value); partial void OnCanLoginChanged(); #endregion #region Navigation Properties /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_OperatorLogins_OperatorRoles", "OperatorLogin")] public EntityCollection OperatorLogins { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_OperatorLogins_OperatorRoles", "OperatorLogin"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_OperatorLogins_OperatorRoles", "OperatorLogin", value); } } } #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="Setting")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class Setting : EntityObject { #region Factory Method /// /// Create a new Setting object. /// /// Initial value of the SettingId property. /// Initial value of the SettingName property. public static Setting CreateSetting(global::System.Int32 settingId, global::System.String settingName) { Setting setting = new Setting(); setting.SettingId = settingId; setting.SettingName = settingName; return setting; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 SettingId { get { return _SettingId; } set { if (_SettingId != value) { OnSettingIdChanging(value); ReportPropertyChanging("SettingId"); _SettingId = StructuralObject.SetValidValue(value); ReportPropertyChanged("SettingId"); OnSettingIdChanged(); } } } private global::System.Int32 _SettingId; partial void OnSettingIdChanging(global::System.Int32 value); partial void OnSettingIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String SettingName { get { return _SettingName; } set { OnSettingNameChanging(value); ReportPropertyChanging("SettingName"); _SettingName = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("SettingName"); OnSettingNameChanged(); } } private global::System.String _SettingName; partial void OnSettingNameChanging(global::System.String value); partial void OnSettingNameChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] [DataMemberAttribute()] public global::System.String SettingValue { get { return _SettingValue; } set { OnSettingValueChanging(value); ReportPropertyChanging("SettingValue"); _SettingValue = StructuralObject.SetValidValue(value, true); ReportPropertyChanged("SettingValue"); OnSettingValueChanged(); } } private global::System.String _SettingValue; partial void OnSettingValueChanging(global::System.String value); partial void OnSettingValueChanged(); #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="vwCustomerBagsWaitingCounting")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class vwCustomerBagsWaitingCounting : EntityObject { #region Factory Method /// /// Create a new vwCustomerBagsWaitingCounting object. /// /// Initial value of the CustomerId property. /// Initial value of the Name property. public static vwCustomerBagsWaitingCounting CreatevwCustomerBagsWaitingCounting(global::System.Int32 customerId, global::System.String name) { vwCustomerBagsWaitingCounting vwCustomerBagsWaitingCounting = new vwCustomerBagsWaitingCounting(); vwCustomerBagsWaitingCounting.CustomerId = customerId; vwCustomerBagsWaitingCounting.Name = name; return vwCustomerBagsWaitingCounting; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 CustomerId { get { return _CustomerId; } set { if (_CustomerId != value) { OnCustomerIdChanging(value); ReportPropertyChanging("CustomerId"); _CustomerId = StructuralObject.SetValidValue(value); ReportPropertyChanged("CustomerId"); OnCustomerIdChanged(); } } } private global::System.Int32 _CustomerId; partial void OnCustomerIdChanging(global::System.Int32 value); partial void OnCustomerIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.String Name { get { return _Name; } set { if (_Name != value) { OnNameChanging(value); ReportPropertyChanging("Name"); _Name = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Name"); OnNameChanged(); } } } private global::System.String _Name; partial void OnNameChanging(global::System.String value); partial void OnNameChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] [DataMemberAttribute()] public Nullable BagCount { get { return _BagCount; } set { OnBagCountChanging(value); ReportPropertyChanging("BagCount"); _BagCount = StructuralObject.SetValidValue(value); ReportPropertyChanged("BagCount"); OnBagCountChanged(); } } private Nullable _BagCount; partial void OnBagCountChanging(Nullable value); partial void OnBagCountChanged(); #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="vwInventoryItemType")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class vwInventoryItemType : EntityObject { #region Factory Method /// /// Create a new vwInventoryItemType object. /// /// Initial value of the Category property. /// Initial value of the ItemType property. public static vwInventoryItemType CreatevwInventoryItemType(global::System.String category, global::System.String itemType) { vwInventoryItemType vwInventoryItemType = new vwInventoryItemType(); vwInventoryItemType.Category = category; vwInventoryItemType.ItemType = itemType; return vwInventoryItemType; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.String Category { get { return _Category; } set { if (_Category != value) { OnCategoryChanging(value); ReportPropertyChanging("Category"); _Category = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Category"); OnCategoryChanged(); } } } private global::System.String _Category; partial void OnCategoryChanging(global::System.String value); partial void OnCategoryChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.String ItemType { get { return _ItemType; } set { if (_ItemType != value) { OnItemTypeChanging(value); ReportPropertyChanging("ItemType"); _ItemType = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("ItemType"); OnItemTypeChanged(); } } } private global::System.String _ItemType; partial void OnItemTypeChanging(global::System.String value); partial void OnItemTypeChanged(); #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="vwWorkloadCategoryTypeCount")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class vwWorkloadCategoryTypeCount : EntityObject { #region Factory Method /// /// Create a new vwWorkloadCategoryTypeCount object. /// /// Initial value of the WorkloadId property. /// Initial value of the Category property. /// Initial value of the ItemType property. public static vwWorkloadCategoryTypeCount CreatevwWorkloadCategoryTypeCount(global::System.Int32 workloadId, global::System.String category, global::System.String itemType) { vwWorkloadCategoryTypeCount vwWorkloadCategoryTypeCount = new vwWorkloadCategoryTypeCount(); vwWorkloadCategoryTypeCount.WorkloadId = workloadId; vwWorkloadCategoryTypeCount.Category = category; vwWorkloadCategoryTypeCount.ItemType = itemType; return vwWorkloadCategoryTypeCount; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 WorkloadId { get { return _WorkloadId; } set { if (_WorkloadId != value) { OnWorkloadIdChanging(value); ReportPropertyChanging("WorkloadId"); _WorkloadId = StructuralObject.SetValidValue(value); ReportPropertyChanged("WorkloadId"); OnWorkloadIdChanged(); } } } private global::System.Int32 _WorkloadId; partial void OnWorkloadIdChanging(global::System.Int32 value); partial void OnWorkloadIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.String Category { get { return _Category; } set { if (_Category != value) { OnCategoryChanging(value); ReportPropertyChanging("Category"); _Category = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Category"); OnCategoryChanged(); } } } private global::System.String _Category; partial void OnCategoryChanging(global::System.String value); partial void OnCategoryChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.String ItemType { get { return _ItemType; } set { if (_ItemType != value) { OnItemTypeChanging(value); ReportPropertyChanging("ItemType"); _ItemType = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("ItemType"); OnItemTypeChanged(); } } } private global::System.String _ItemType; partial void OnItemTypeChanging(global::System.String value); partial void OnItemTypeChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] [DataMemberAttribute()] public Nullable ItemCount { get { return _ItemCount; } set { OnItemCountChanging(value); ReportPropertyChanging("ItemCount"); _ItemCount = StructuralObject.SetValidValue(value); ReportPropertyChanged("ItemCount"); OnItemCountChanged(); } } private Nullable _ItemCount; partial void OnItemCountChanging(Nullable value); partial void OnItemCountChanged(); #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="vwWorkloadStatusReport")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class vwWorkloadStatusReport : EntityObject { #region Factory Method /// /// Create a new vwWorkloadStatusReport object. /// /// Initial value of the WorkloadStatusId property. /// Initial value of the Status property. public static vwWorkloadStatusReport CreatevwWorkloadStatusReport(global::System.Int32 workloadStatusId, global::System.String status) { vwWorkloadStatusReport vwWorkloadStatusReport = new vwWorkloadStatusReport(); vwWorkloadStatusReport.WorkloadStatusId = workloadStatusId; vwWorkloadStatusReport.Status = status; return vwWorkloadStatusReport; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 WorkloadStatusId { get { return _WorkloadStatusId; } set { if (_WorkloadStatusId != value) { OnWorkloadStatusIdChanging(value); ReportPropertyChanging("WorkloadStatusId"); _WorkloadStatusId = StructuralObject.SetValidValue(value); ReportPropertyChanged("WorkloadStatusId"); OnWorkloadStatusIdChanged(); } } } private global::System.Int32 _WorkloadStatusId; partial void OnWorkloadStatusIdChanging(global::System.Int32 value); partial void OnWorkloadStatusIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.String Status { get { return _Status; } set { if (_Status != value) { OnStatusChanging(value); ReportPropertyChanging("Status"); _Status = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Status"); OnStatusChanged(); } } } private global::System.String _Status; partial void OnStatusChanging(global::System.String value); partial void OnStatusChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] [DataMemberAttribute()] public Nullable Customers { get { return _Customers; } set { OnCustomersChanging(value); ReportPropertyChanging("Customers"); _Customers = StructuralObject.SetValidValue(value); ReportPropertyChanged("Customers"); OnCustomersChanged(); } } private Nullable _Customers; partial void OnCustomersChanging(Nullable value); partial void OnCustomersChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] [DataMemberAttribute()] public Nullable TotalItems { get { return _TotalItems; } set { OnTotalItemsChanging(value); ReportPropertyChanging("TotalItems"); _TotalItems = StructuralObject.SetValidValue(value); ReportPropertyChanged("TotalItems"); OnTotalItemsChanged(); } } private Nullable _TotalItems; partial void OnTotalItemsChanging(Nullable value); partial void OnTotalItemsChanged(); #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="Workload")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class Workload : EntityObject { #region Factory Method /// /// Create a new Workload object. /// /// Initial value of the WorkloadId property. /// Initial value of the CustomerId property. /// Initial value of the CustomerLoginId property. /// Initial value of the DateCreated property. /// Initial value of the WorkloadStatusId property. /// Initial value of the OperatorLoginId property. /// Initial value of the WorkloadTypeId property. public static Workload CreateWorkload(global::System.Int32 workloadId, global::System.Int32 customerId, global::System.Int32 customerLoginId, global::System.DateTime dateCreated, global::System.Int32 workloadStatusId, global::System.Int32 operatorLoginId, global::System.Int32 workloadTypeId) { Workload workload = new Workload(); workload.WorkloadId = workloadId; workload.CustomerId = customerId; workload.CustomerLoginId = customerLoginId; workload.DateCreated = dateCreated; workload.WorkloadStatusId = workloadStatusId; workload.OperatorLoginId = operatorLoginId; workload.WorkloadTypeId = workloadTypeId; return workload; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 WorkloadId { get { return _WorkloadId; } set { if (_WorkloadId != value) { OnWorkloadIdChanging(value); ReportPropertyChanging("WorkloadId"); _WorkloadId = StructuralObject.SetValidValue(value); ReportPropertyChanged("WorkloadId"); OnWorkloadIdChanged(); } } } private global::System.Int32 _WorkloadId; partial void OnWorkloadIdChanging(global::System.Int32 value); partial void OnWorkloadIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 CustomerId { get { return _CustomerId; } set { OnCustomerIdChanging(value); ReportPropertyChanging("CustomerId"); _CustomerId = StructuralObject.SetValidValue(value); ReportPropertyChanged("CustomerId"); OnCustomerIdChanged(); } } private global::System.Int32 _CustomerId; partial void OnCustomerIdChanging(global::System.Int32 value); partial void OnCustomerIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 CustomerLoginId { get { return _CustomerLoginId; } set { OnCustomerLoginIdChanging(value); ReportPropertyChanging("CustomerLoginId"); _CustomerLoginId = StructuralObject.SetValidValue(value); ReportPropertyChanged("CustomerLoginId"); OnCustomerLoginIdChanged(); } } private global::System.Int32 _CustomerLoginId; partial void OnCustomerLoginIdChanging(global::System.Int32 value); partial void OnCustomerLoginIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.DateTime DateCreated { get { return _DateCreated; } set { OnDateCreatedChanging(value); ReportPropertyChanging("DateCreated"); _DateCreated = StructuralObject.SetValidValue(value); ReportPropertyChanged("DateCreated"); OnDateCreatedChanged(); } } private global::System.DateTime _DateCreated; partial void OnDateCreatedChanging(global::System.DateTime value); partial void OnDateCreatedChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 WorkloadStatusId { get { return _WorkloadStatusId; } set { OnWorkloadStatusIdChanging(value); ReportPropertyChanging("WorkloadStatusId"); _WorkloadStatusId = StructuralObject.SetValidValue(value); ReportPropertyChanged("WorkloadStatusId"); OnWorkloadStatusIdChanged(); } } private global::System.Int32 _WorkloadStatusId; partial void OnWorkloadStatusIdChanging(global::System.Int32 value); partial void OnWorkloadStatusIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 OperatorLoginId { get { return _OperatorLoginId; } set { OnOperatorLoginIdChanging(value); ReportPropertyChanging("OperatorLoginId"); _OperatorLoginId = StructuralObject.SetValidValue(value); ReportPropertyChanged("OperatorLoginId"); OnOperatorLoginIdChanged(); } } private global::System.Int32 _OperatorLoginId; partial void OnOperatorLoginIdChanging(global::System.Int32 value); partial void OnOperatorLoginIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 WorkloadTypeId { get { return _WorkloadTypeId; } set { OnWorkloadTypeIdChanging(value); ReportPropertyChanging("WorkloadTypeId"); _WorkloadTypeId = StructuralObject.SetValidValue(value); ReportPropertyChanged("WorkloadTypeId"); OnWorkloadTypeIdChanged(); } } private global::System.Int32 _WorkloadTypeId; partial void OnWorkloadTypeIdChanging(global::System.Int32 value); partial void OnWorkloadTypeIdChanged(); #endregion #region Navigation Properties /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Workloads_CustomerLogins", "CustomerLogin")] public CustomerLogin CustomerLogin { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Workloads_CustomerLogins", "CustomerLogin").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Workloads_CustomerLogins", "CustomerLogin").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference CustomerLoginReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Workloads_CustomerLogins", "CustomerLogin"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_Workloads_CustomerLogins", "CustomerLogin", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Workloads_Customers", "Customer")] public Customer Customer { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Workloads_Customers", "Customer").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Workloads_Customers", "Customer").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference CustomerReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Workloads_Customers", "Customer"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_Workloads_Customers", "Customer", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_WorkloadBags_Workloads", "CustomerWorkloadBag")] public EntityCollection CustomerWorkloadBags { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_WorkloadBags_Workloads", "CustomerWorkloadBag"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_WorkloadBags_Workloads", "CustomerWorkloadBag", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Workloads_OperatorLogins", "OperatorLogin")] public OperatorLogin OperatorLogin { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Workloads_OperatorLogins", "OperatorLogin").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Workloads_OperatorLogins", "OperatorLogin").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference OperatorLoginReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Workloads_OperatorLogins", "OperatorLogin"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_Workloads_OperatorLogins", "OperatorLogin", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Workloads_WorkloadStatus", "WorkloadStatu")] public WorkloadStatus WorkloadStatus { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Workloads_WorkloadStatus", "WorkloadStatu").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Workloads_WorkloadStatus", "WorkloadStatu").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference WorkloadStatusReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Workloads_WorkloadStatus", "WorkloadStatu"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_Workloads_WorkloadStatus", "WorkloadStatu", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Workloads_WorkloadTypes", "WorkloadType")] public WorkloadType WorkloadType { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Workloads_WorkloadTypes", "WorkloadType").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Workloads_WorkloadTypes", "WorkloadType").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference WorkloadTypeReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_Workloads_WorkloadTypes", "WorkloadType"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_Workloads_WorkloadTypes", "WorkloadType", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Invoices_Workloads", "Invoice")] public EntityCollection Invoices { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_Invoices_Workloads", "Invoice"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_Invoices_Workloads", "Invoice", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_WorkloadItems_Workloads", "WorkloadItem")] public EntityCollection WorkloadItems { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_WorkloadItems_Workloads", "WorkloadItem"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_WorkloadItems_Workloads", "WorkloadItem", value); } } } #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="WorkloadItem")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class WorkloadItem : EntityObject { #region Factory Method /// /// Create a new WorkloadItem object. /// /// Initial value of the WorkloadItemId property. /// Initial value of the WorkloadId property. /// Initial value of the CustomerInventoryId property. /// Initial value of the ItemCount property. /// Initial value of the CustomerLoginId property. /// Initial value of the OperatorLoginId property. /// Initial value of the TimeStamp property. public static WorkloadItem CreateWorkloadItem(global::System.Int32 workloadItemId, global::System.Int32 workloadId, global::System.Int32 customerInventoryId, global::System.Int32 itemCount, global::System.Int32 customerLoginId, global::System.Int32 operatorLoginId, global::System.DateTime timeStamp) { WorkloadItem workloadItem = new WorkloadItem(); workloadItem.WorkloadItemId = workloadItemId; workloadItem.WorkloadId = workloadId; workloadItem.CustomerInventoryId = customerInventoryId; workloadItem.ItemCount = itemCount; workloadItem.CustomerLoginId = customerLoginId; workloadItem.OperatorLoginId = operatorLoginId; workloadItem.TimeStamp = timeStamp; return workloadItem; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 WorkloadItemId { get { return _WorkloadItemId; } set { if (_WorkloadItemId != value) { OnWorkloadItemIdChanging(value); ReportPropertyChanging("WorkloadItemId"); _WorkloadItemId = StructuralObject.SetValidValue(value); ReportPropertyChanged("WorkloadItemId"); OnWorkloadItemIdChanged(); } } } private global::System.Int32 _WorkloadItemId; partial void OnWorkloadItemIdChanging(global::System.Int32 value); partial void OnWorkloadItemIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 WorkloadId { get { return _WorkloadId; } set { OnWorkloadIdChanging(value); ReportPropertyChanging("WorkloadId"); _WorkloadId = StructuralObject.SetValidValue(value); ReportPropertyChanged("WorkloadId"); OnWorkloadIdChanged(); } } private global::System.Int32 _WorkloadId; partial void OnWorkloadIdChanging(global::System.Int32 value); partial void OnWorkloadIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 CustomerInventoryId { get { return _CustomerInventoryId; } set { OnCustomerInventoryIdChanging(value); ReportPropertyChanging("CustomerInventoryId"); _CustomerInventoryId = StructuralObject.SetValidValue(value); ReportPropertyChanged("CustomerInventoryId"); OnCustomerInventoryIdChanged(); } } private global::System.Int32 _CustomerInventoryId; partial void OnCustomerInventoryIdChanging(global::System.Int32 value); partial void OnCustomerInventoryIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 ItemCount { get { return _ItemCount; } set { OnItemCountChanging(value); ReportPropertyChanging("ItemCount"); _ItemCount = StructuralObject.SetValidValue(value); ReportPropertyChanged("ItemCount"); OnItemCountChanged(); } } private global::System.Int32 _ItemCount; partial void OnItemCountChanging(global::System.Int32 value); partial void OnItemCountChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 CustomerLoginId { get { return _CustomerLoginId; } set { OnCustomerLoginIdChanging(value); ReportPropertyChanging("CustomerLoginId"); _CustomerLoginId = StructuralObject.SetValidValue(value); ReportPropertyChanged("CustomerLoginId"); OnCustomerLoginIdChanged(); } } private global::System.Int32 _CustomerLoginId; partial void OnCustomerLoginIdChanging(global::System.Int32 value); partial void OnCustomerLoginIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 OperatorLoginId { get { return _OperatorLoginId; } set { OnOperatorLoginIdChanging(value); ReportPropertyChanging("OperatorLoginId"); _OperatorLoginId = StructuralObject.SetValidValue(value); ReportPropertyChanged("OperatorLoginId"); OnOperatorLoginIdChanged(); } } private global::System.Int32 _OperatorLoginId; partial void OnOperatorLoginIdChanging(global::System.Int32 value); partial void OnOperatorLoginIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.DateTime TimeStamp { get { return _TimeStamp; } set { OnTimeStampChanging(value); ReportPropertyChanging("TimeStamp"); _TimeStamp = StructuralObject.SetValidValue(value); ReportPropertyChanged("TimeStamp"); OnTimeStampChanged(); } } private global::System.DateTime _TimeStamp; partial void OnTimeStampChanging(global::System.DateTime value); partial void OnTimeStampChanged(); #endregion #region Navigation Properties /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_WorkloadItems_CustomerInventory", "CustomerInventory")] public CustomerInventory CustomerInventory { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_WorkloadItems_CustomerInventory", "CustomerInventory").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_WorkloadItems_CustomerInventory", "CustomerInventory").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference CustomerInventoryReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_WorkloadItems_CustomerInventory", "CustomerInventory"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_WorkloadItems_CustomerInventory", "CustomerInventory", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_WorkloadItems_CustomerLogins", "CustomerLogin")] public CustomerLogin CustomerLogin { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_WorkloadItems_CustomerLogins", "CustomerLogin").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_WorkloadItems_CustomerLogins", "CustomerLogin").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference CustomerLoginReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_WorkloadItems_CustomerLogins", "CustomerLogin"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_WorkloadItems_CustomerLogins", "CustomerLogin", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_WorkloadItems_OperatorLogins", "OperatorLogin")] public OperatorLogin OperatorLogin { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_WorkloadItems_OperatorLogins", "OperatorLogin").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_WorkloadItems_OperatorLogins", "OperatorLogin").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference OperatorLoginReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_WorkloadItems_OperatorLogins", "OperatorLogin"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_WorkloadItems_OperatorLogins", "OperatorLogin", value); } } } /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_WorkloadItems_Workloads", "Workload")] public Workload Workload { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_WorkloadItems_Workloads", "Workload").Value; } set { ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_WorkloadItems_Workloads", "Workload").Value = value; } } /// /// No Metadata Documentation available. /// [BrowsableAttribute(false)] [DataMemberAttribute()] public EntityReference WorkloadReference { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference("PersonalLaundryModel.FK_WorkloadItems_Workloads", "Workload"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference("PersonalLaundryModel.FK_WorkloadItems_Workloads", "Workload", value); } } } #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="WorkloadStatus")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class WorkloadStatus : EntityObject { #region Factory Method /// /// Create a new WorkloadStatus object. /// /// Initial value of the WorkloadStatusId property. /// Initial value of the Status property. public static WorkloadStatus CreateWorkloadStatus(global::System.Int32 workloadStatusId, global::System.String status) { WorkloadStatus workloadStatus = new WorkloadStatus(); workloadStatus.WorkloadStatusId = workloadStatusId; workloadStatus.Status = status; return workloadStatus; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 WorkloadStatusId { get { return _WorkloadStatusId; } set { if (_WorkloadStatusId != value) { OnWorkloadStatusIdChanging(value); ReportPropertyChanging("WorkloadStatusId"); _WorkloadStatusId = StructuralObject.SetValidValue(value); ReportPropertyChanged("WorkloadStatusId"); OnWorkloadStatusIdChanged(); } } } private global::System.Int32 _WorkloadStatusId; partial void OnWorkloadStatusIdChanging(global::System.Int32 value); partial void OnWorkloadStatusIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String Status { get { return _Status; } set { OnStatusChanging(value); ReportPropertyChanging("Status"); _Status = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Status"); OnStatusChanged(); } } private global::System.String _Status; partial void OnStatusChanging(global::System.String value); partial void OnStatusChanged(); #endregion #region Navigation Properties /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Workloads_WorkloadStatus", "Workload")] public EntityCollection Workloads { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_Workloads_WorkloadStatus", "Workload"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_Workloads_WorkloadStatus", "Workload", value); } } } #endregion } /// /// No Metadata Documentation available. /// [EdmEntityTypeAttribute(NamespaceName="PersonalLaundryModel", Name="WorkloadType")] [Serializable()] [DataContractAttribute(IsReference=true)] public partial class WorkloadType : EntityObject { #region Factory Method /// /// Create a new WorkloadType object. /// /// Initial value of the WorkloadTypeId property. /// Initial value of the Type property. /// Initial value of the CanStartCycle property. public static WorkloadType CreateWorkloadType(global::System.Int32 workloadTypeId, global::System.String type, global::System.Boolean canStartCycle) { WorkloadType workloadType = new WorkloadType(); workloadType.WorkloadTypeId = workloadTypeId; workloadType.Type = type; workloadType.CanStartCycle = canStartCycle; return workloadType; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 WorkloadTypeId { get { return _WorkloadTypeId; } set { if (_WorkloadTypeId != value) { OnWorkloadTypeIdChanging(value); ReportPropertyChanging("WorkloadTypeId"); _WorkloadTypeId = StructuralObject.SetValidValue(value); ReportPropertyChanged("WorkloadTypeId"); OnWorkloadTypeIdChanged(); } } } private global::System.Int32 _WorkloadTypeId; partial void OnWorkloadTypeIdChanging(global::System.Int32 value); partial void OnWorkloadTypeIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String Type { get { return _Type; } set { OnTypeChanging(value); ReportPropertyChanging("Type"); _Type = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Type"); OnTypeChanged(); } } private global::System.String _Type; partial void OnTypeChanging(global::System.String value); partial void OnTypeChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Boolean CanStartCycle { get { return _CanStartCycle; } set { OnCanStartCycleChanging(value); ReportPropertyChanging("CanStartCycle"); _CanStartCycle = StructuralObject.SetValidValue(value); ReportPropertyChanged("CanStartCycle"); OnCanStartCycleChanged(); } } private global::System.Boolean _CanStartCycle; partial void OnCanStartCycleChanging(global::System.Boolean value); partial void OnCanStartCycleChanged(); #endregion #region Navigation Properties /// /// No Metadata Documentation available. /// [XmlIgnoreAttribute()] [SoapIgnoreAttribute()] [DataMemberAttribute()] [EdmRelationshipNavigationPropertyAttribute("PersonalLaundryModel", "FK_Workloads_WorkloadTypes", "Workload")] public EntityCollection Workloads { get { return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection("PersonalLaundryModel.FK_Workloads_WorkloadTypes", "Workload"); } set { if ((value != null)) { ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection("PersonalLaundryModel.FK_Workloads_WorkloadTypes", "Workload", value); } } } #endregion } #endregion #region ComplexTypes /// /// No Metadata Documentation available. /// [EdmComplexTypeAttribute(NamespaceName="PersonalLaundryModel", Name="GetCustomerInventory_Result")] [DataContractAttribute(IsReference=true)] [Serializable()] public partial class GetCustomerInventory_Result : ComplexObject { #region Factory Method /// /// Create a new GetCustomerInventory_Result object. /// /// Initial value of the InventoryItemTypeId property. /// Initial value of the Category property. /// Initial value of the ItemType property. /// Initial value of the Size property. public static GetCustomerInventory_Result CreateGetCustomerInventory_Result(global::System.Int32 inventoryItemTypeId, global::System.String category, global::System.String itemType, global::System.String size) { GetCustomerInventory_Result getCustomerInventory_Result = new GetCustomerInventory_Result(); getCustomerInventory_Result.InventoryItemTypeId = inventoryItemTypeId; getCustomerInventory_Result.Category = category; getCustomerInventory_Result.ItemType = itemType; getCustomerInventory_Result.Size = size; return getCustomerInventory_Result; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 InventoryItemTypeId { get { return _InventoryItemTypeId; } set { OnInventoryItemTypeIdChanging(value); ReportPropertyChanging("InventoryItemTypeId"); _InventoryItemTypeId = StructuralObject.SetValidValue(value); ReportPropertyChanged("InventoryItemTypeId"); OnInventoryItemTypeIdChanged(); } } private global::System.Int32 _InventoryItemTypeId; partial void OnInventoryItemTypeIdChanging(global::System.Int32 value); partial void OnInventoryItemTypeIdChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String Category { get { return _Category; } set { OnCategoryChanging(value); ReportPropertyChanging("Category"); _Category = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Category"); OnCategoryChanged(); } } private global::System.String _Category; partial void OnCategoryChanging(global::System.String value); partial void OnCategoryChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String ItemType { get { return _ItemType; } set { OnItemTypeChanging(value); ReportPropertyChanging("ItemType"); _ItemType = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("ItemType"); OnItemTypeChanged(); } } private global::System.String _ItemType; partial void OnItemTypeChanging(global::System.String value); partial void OnItemTypeChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String Size { get { return _Size; } set { OnSizeChanging(value); ReportPropertyChanging("Size"); _Size = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Size"); OnSizeChanged(); } } private global::System.String _Size; partial void OnSizeChanging(global::System.String value); partial void OnSizeChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] [DataMemberAttribute()] public Nullable CostGeneralWash { get { return _CostGeneralWash; } set { OnCostGeneralWashChanging(value); ReportPropertyChanging("CostGeneralWash"); _CostGeneralWash = StructuralObject.SetValidValue(value); ReportPropertyChanged("CostGeneralWash"); OnCostGeneralWashChanged(); } } private Nullable _CostGeneralWash; partial void OnCostGeneralWashChanging(Nullable value); partial void OnCostGeneralWashChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] [DataMemberAttribute()] public Nullable CostRepeatWash { get { return _CostRepeatWash; } set { OnCostRepeatWashChanging(value); ReportPropertyChanging("CostRepeatWash"); _CostRepeatWash = StructuralObject.SetValidValue(value); ReportPropertyChanged("CostRepeatWash"); OnCostRepeatWashChanged(); } } private Nullable _CostRepeatWash; partial void OnCostRepeatWashChanging(Nullable value); partial void OnCostRepeatWashChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] [DataMemberAttribute()] public Nullable CostStainWash { get { return _CostStainWash; } set { OnCostStainWashChanging(value); ReportPropertyChanging("CostStainWash"); _CostStainWash = StructuralObject.SetValidValue(value); ReportPropertyChanged("CostStainWash"); OnCostStainWashChanged(); } } private Nullable _CostStainWash; partial void OnCostStainWashChanging(Nullable value); partial void OnCostStainWashChanged(); #endregion } /// /// No Metadata Documentation available. /// [EdmComplexTypeAttribute(NamespaceName="PersonalLaundryModel", Name="GetInvoiceForPrinter_Result")] [DataContractAttribute(IsReference=true)] [Serializable()] public partial class GetInvoiceForPrinter_Result : ComplexObject { #region Factory Method /// /// Create a new GetInvoiceForPrinter_Result object. /// /// Initial value of the Category property. /// Initial value of the ItemType property. /// Initial value of the Size property. /// Initial value of the Count property. public static GetInvoiceForPrinter_Result CreateGetInvoiceForPrinter_Result(global::System.String category, global::System.String itemType, global::System.String size, global::System.Int32 count) { GetInvoiceForPrinter_Result getInvoiceForPrinter_Result = new GetInvoiceForPrinter_Result(); getInvoiceForPrinter_Result.Category = category; getInvoiceForPrinter_Result.ItemType = itemType; getInvoiceForPrinter_Result.Size = size; getInvoiceForPrinter_Result.Count = count; return getInvoiceForPrinter_Result; } #endregion #region Primitive Properties /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String Category { get { return _Category; } set { OnCategoryChanging(value); ReportPropertyChanging("Category"); _Category = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Category"); OnCategoryChanged(); } } private global::System.String _Category; partial void OnCategoryChanging(global::System.String value); partial void OnCategoryChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String ItemType { get { return _ItemType; } set { OnItemTypeChanging(value); ReportPropertyChanging("ItemType"); _ItemType = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("ItemType"); OnItemTypeChanged(); } } private global::System.String _ItemType; partial void OnItemTypeChanging(global::System.String value); partial void OnItemTypeChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.String Size { get { return _Size; } set { OnSizeChanging(value); ReportPropertyChanging("Size"); _Size = StructuralObject.SetValidValue(value, false); ReportPropertyChanged("Size"); OnSizeChanged(); } } private global::System.String _Size; partial void OnSizeChanging(global::System.String value); partial void OnSizeChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)] [DataMemberAttribute()] public global::System.Int32 Count { get { return _Count; } set { OnCountChanging(value); ReportPropertyChanging("Count"); _Count = StructuralObject.SetValidValue(value); ReportPropertyChanged("Count"); OnCountChanged(); } } private global::System.Int32 _Count; partial void OnCountChanging(global::System.Int32 value); partial void OnCountChanged(); /// /// No Metadata Documentation available. /// [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)] [DataMemberAttribute()] public Nullable Cost { get { return _Cost; } set { OnCostChanging(value); ReportPropertyChanging("Cost"); _Cost = StructuralObject.SetValidValue(value); ReportPropertyChanged("Cost"); OnCostChanged(); } } private Nullable _Cost; partial void OnCostChanging(Nullable value); partial void OnCostChanged(); #endregion } #endregion }