diff --git a/src/Spd.Manager.Screening/ApplicationManager.cs b/src/Spd.Manager.Screening/ApplicationManager.cs index 74d401b2d..ca9b36272 100644 --- a/src/Spd.Manager.Screening/ApplicationManager.cs +++ b/src/Spd.Manager.Screening/ApplicationManager.cs @@ -102,7 +102,6 @@ public ApplicationManager(IApplicationRepository applicationRepository, public async Task Handle(ApplicationCreateCommand request, CancellationToken ct) { - _logger.LogDebug($"applicationCreateCommand={request}"); ApplicationCreateResponse result = new(); if (request.ApplicationCreateRequest.RequireDuplicateCheck) { diff --git a/src/Spd.Resource.Repository/Application/ApplicationRepository.Application.cs b/src/Spd.Resource.Repository/Application/ApplicationRepository.Application.cs index e72818ed0..3ef814a58 100644 --- a/src/Spd.Resource.Repository/Application/ApplicationRepository.Application.cs +++ b/src/Spd.Resource.Repository/Application/ApplicationRepository.Application.cs @@ -177,6 +177,14 @@ public async Task ProcessAppWithSharableClearanceAsync(ApplicationCreateCmd crea _context.SetLink(clearanceaccess, nameof(clearanceaccess.owningteam), team); _context.SetLink(clearanceaccess, nameof(clearanceaccess.ownerid), team); await _context.SaveChangesAsync(ct); + + spd_clearanceaccess? clearAccess = await _context.GetClearanceAccessById((Guid)clearanceaccess.spd_clearanceaccessid, ct); + if (clearAccess == null) throw new ApiException(HttpStatusCode.InternalServerError, "cannot find clearance access."); + var result = await clearAccess.spd_ClearanceAccessNotification().GetValueAsync(ct); + if (result.IsSuccess != true) + { + _logger.LogError("ClearanceAccessNotification failed with error {Error}", result.Result); + } } private spd_alias? GetAlias(AliasCreateCmd aliasCreateCmd, contact contact) @@ -511,4 +519,3 @@ private void AddAlias(AliasCreateCmd createAliasCmd, contact contact) } } - diff --git a/src/Spd.Utilities.Dynamics/Connected Services/OData Service/ConnectedService.json b/src/Spd.Utilities.Dynamics/Connected Services/OData Service/ConnectedService.json index 6bd6c8552..84274e830 100644 --- a/src/Spd.Utilities.Dynamics/Connected Services/OData Service/ConnectedService.json +++ b/src/Spd.Utilities.Dynamics/Connected Services/OData Service/ConnectedService.json @@ -28,7 +28,7 @@ "MakeTypesInternal": false, "OpenGeneratedFilesInIDE": false, "GenerateMultipleFiles": false, - "CustomHttpHeaders": "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ims0Y3BkRmdybU0yMHJhcThYVVRxMVlpaXNISSIsImtpZCI6Ims0Y3BkRmdybU0yMHJhcThYVVRxMVlpaXNISSJ9.eyJhdWQiOiJodHRwczovL3NwZC1zcGFyYy5kZXYuamFnLmdvdi5iYy5jYS9hcGkvZGF0YS92OS4wLyIsImlzcyI6Imh0dHA6Ly9zdHN0ZXN0Lmdvdi5iYy5jYS9hZGZzL3NlcnZpY2VzL3RydXN0IiwiaWF0IjoxNzMyNTc1MzIyLCJuYmYiOjE3MzI1NzUzMjIsImV4cCI6MTczMjU3ODkyMiwidXBuIjoic3BkX29zYWRAZ292LmJjLmNhIiwidW5pcXVlX25hbWUiOiJJRElSXFxTUERfT1NBRCIsImFwcHR5cGUiOiJDb25maWRlbnRpYWwiLCJhcHBpZCI6IjAxNzRiMjAzLWNkY2YtNDE2NC04NTMyLTBhNGM0ZmRmZGY2MiIsImF1dGhtZXRob2QiOiJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6YWM6Y2xhc3NlczpQYXNzd29yZFByb3RlY3RlZFRyYW5zcG9ydCIsImF1dGhfdGltZSI6IjIwMjQtMTEtMjVUMjI6NTU6MjIuMjcwWiIsInZlciI6IjEuMCIsInNjcCI6Im9wZW5pZCJ9.eNB4tXkmo4E3n_WOBW3sSwmSHsOmRF5sJnRq6sel6ljy-ka6pskUeJrn6CaMj8ycix6UIAwdoRePyMrvPqzBxz5Hf2E24U-XvUwcYzDJQeiRvc3_UY6kG3K_zUQaW828Kq_CmG6LvuxcNSjx5WMNZv7jx7klEozMlGzSEt19voAmm2wMZhoq6QnTGZKfAwvxGVv3ZBmfsvEuy5n8VLV1P608FwpHNwvBelxdnllNfZaGHqzZ--zNDFeGtKr_ffJbIYnAgg6Uih7cWsepg1lmJuprlkyDdvhYIv2lLdcpcEU6Mv7EmHiL0TiR_NvD4QxiKXPNrxwxJyHAoDjG8pIX5w", + "CustomHttpHeaders": "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ims0Y3BkRmdybU0yMHJhcThYVVRxMVlpaXNISSIsImtpZCI6Ims0Y3BkRmdybU0yMHJhcThYVVRxMVlpaXNISSJ9.eyJhdWQiOiJodHRwczovL3NwZC1zcGFyYy5kZXYuamFnLmdvdi5iYy5jYS9hcGkvZGF0YS92OS4wLyIsImlzcyI6Imh0dHA6Ly9zdHN0ZXN0Lmdvdi5iYy5jYS9hZGZzL3NlcnZpY2VzL3RydXN0IiwiaWF0IjoxNzMyOTE5NDk4LCJuYmYiOjE3MzI5MTk0OTgsImV4cCI6MTczMjkyMzA5OCwidXBuIjoic3BkX29zYWRAZ292LmJjLmNhIiwidW5pcXVlX25hbWUiOiJJRElSXFxTUERfT1NBRCIsImFwcHR5cGUiOiJDb25maWRlbnRpYWwiLCJhcHBpZCI6IjAxNzRiMjAzLWNkY2YtNDE2NC04NTMyLTBhNGM0ZmRmZGY2MiIsImF1dGhtZXRob2QiOiJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6YWM6Y2xhc3NlczpQYXNzd29yZFByb3RlY3RlZFRyYW5zcG9ydCIsImF1dGhfdGltZSI6IjIwMjQtMTEtMjlUMjI6MzE6MzguNTA5WiIsInZlciI6IjEuMCIsInNjcCI6Im9wZW5pZCJ9.nOgFXgXZp2QHldwkBHhawyoK7PDF4AWwMMfjXUsepGjIjn9Z3q4cUM485eH3ZPQYCjQWFe01crytn2FzOevWJMKiC98dF7e3mtqMf8mPdN4hKCVLuS0BqGncTvha4RK0B3O7AN39Qrh0mUd53RyzgHlT2TSBz7M2ZurH0j_8VDFfg6A83KO3v6lCFFPYNiJ8jwTL_7h93YWCelYTaKqnbcx2pymwkyYcbvzpqClSD3nSfk2B7Ev3pha6vuBqCTWpCGCUmq7gZDObrDgshUAokOSPXQ1lwWD0DXc-xnGp-dtYnG5bouu-JiPpAEG08zt-mhGI3ClQFhZ_Zc8XOZzmfA", "IncludeWebProxy": false, "WebProxyHost": null, "IncludeWebProxyNetworkCredentials": false, diff --git a/src/Spd.Utilities.Dynamics/Connected Services/OData Service/OData ServiceCsdl.xml b/src/Spd.Utilities.Dynamics/Connected Services/OData Service/OData ServiceCsdl.xml index 7e41dbe71..ec596e256 100644 --- a/src/Spd.Utilities.Dynamics/Connected Services/OData Service/OData ServiceCsdl.xml +++ b/src/Spd.Utilities.Dynamics/Connected Services/OData Service/OData ServiceCsdl.xml @@ -391,6 +391,7 @@ + @@ -7817,6 +7818,7 @@ + @@ -29474,6 +29476,7 @@ + @@ -29485,6 +29488,7 @@ + @@ -29507,7 +29511,6 @@ - @@ -29580,6 +29583,9 @@ + + + @@ -29929,36 +29935,37 @@ - - - + + + - - - - - - - + + + + + - - - + - - + + + - - - + - + + + + + + + @@ -30014,6 +30021,12 @@ + + + + + + @@ -30704,6 +30717,7 @@ + @@ -30885,6 +30899,8 @@ + + @@ -31829,25 +31845,28 @@ - - + + - - - + + + + + + - + @@ -32196,6 +32215,15 @@ + + + + + + + + + @@ -45228,6 +45256,7 @@ + @@ -47702,6 +47731,7 @@ + @@ -53979,6 +54009,7 @@ + @@ -54127,6 +54158,8 @@ + + @@ -54380,6 +54413,7 @@ + @@ -54431,8 +54465,10 @@ + + @@ -54845,6 +54881,7 @@ + diff --git a/src/Spd.Utilities.Dynamics/Connected Services/OData Service/Reference.cs b/src/Spd.Utilities.Dynamics/Connected Services/OData Service/Reference.cs index 3a6032e5c..1d5f3b810 100644 --- a/src/Spd.Utilities.Dynamics/Connected Services/OData Service/Reference.cs +++ b/src/Spd.Utilities.Dynamics/Connected Services/OData Service/Reference.cs @@ -8,7 +8,7 @@ // //------------------------------------------------------------------------------ -// Generation date: 11/25/2024 2:55:53 PM +// Generation date: 11/29/2024 2:32:08 PM namespace Microsoft.Dynamics.CRM { /// @@ -7257,6 +7257,23 @@ protected string ResolveNameFromType(global::System.Type clientType) [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] private global::Microsoft.OData.Client.DataServiceQuery _spd_spd_complaint_spd_actset; /// + /// There are no comments for spd_spd_licence_spd_licenceconditionset in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::Microsoft.OData.Client.DataServiceQuery spd_spd_licence_spd_licenceconditionset + { + get + { + if ((this._spd_spd_licence_spd_licenceconditionset == null)) + { + this._spd_spd_licence_spd_licenceconditionset = base.CreateQuery("spd_spd_licence_spd_licenceconditionset"); + } + return this._spd_spd_licence_spd_licenceconditionset; + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::Microsoft.OData.Client.DataServiceQuery _spd_spd_licence_spd_licenceconditionset; + /// /// There are no comments for spd_spd_role_spd_portaluserset in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] @@ -11567,6 +11584,14 @@ public virtual void AddTospd_spd_complaint_spd_actset(spd_spd_complaint_spd_act base.AddObject("spd_spd_complaint_spd_actset", spd_spd_complaint_spd_act); } /// + /// There are no comments for spd_spd_licence_spd_licenceconditionset in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual void AddTospd_spd_licence_spd_licenceconditionset(spd_spd_licence_spd_licencecondition spd_spd_licence_spd_licencecondition) + { + base.AddObject("spd_spd_licence_spd_licenceconditionset", spd_spd_licence_spd_licencecondition); + } + /// /// There are no comments for spd_spd_role_spd_portaluserset in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] @@ -17735,6 +17760,27 @@ public accountSingle(global::Microsoft.OData.Client.DataServiceQuerySingle _account_spd_generaladministrativetasks; + /// + /// There are no comments for spd_account_spd_fine_Party in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::Microsoft.OData.Client.DataServiceQuery spd_account_spd_fine_Party + { + get + { + if (!this.IsComposable) + { + throw new global::System.NotSupportedException("The previous function is not composable."); + } + if ((this._spd_account_spd_fine_Party == null)) + { + this._spd_account_spd_fine_Party = Context.CreateQuery(GetPath("spd_account_spd_fine_Party")); + } + return this._spd_account_spd_fine_Party; + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::Microsoft.OData.Client.DataServiceQuery _spd_account_spd_fine_Party; } /// /// There are no comments for account in the schema. @@ -24803,6 +24849,28 @@ public virtual string spd_cassitenumber partial void Onaccount_spd_generaladministrativetasksChanging(global::Microsoft.OData.Client.DataServiceCollection value); partial void Onaccount_spd_generaladministrativetasksChanged(); /// + /// There are no comments for Property spd_account_spd_fine_Party in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::Microsoft.OData.Client.DataServiceCollection spd_account_spd_fine_Party + { + get + { + return this._spd_account_spd_fine_Party; + } + set + { + this.Onspd_account_spd_fine_PartyChanging(value); + this._spd_account_spd_fine_Party = value; + this.Onspd_account_spd_fine_PartyChanged(); + this.OnPropertyChanged("spd_account_spd_fine_Party"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::Microsoft.OData.Client.DataServiceCollection _spd_account_spd_fine_Party = new global::Microsoft.OData.Client.DataServiceCollection(null, global::Microsoft.OData.Client.TrackingMode.None); + partial void Onspd_account_spd_fine_PartyChanging(global::Microsoft.OData.Client.DataServiceCollection value); + partial void Onspd_account_spd_fine_PartyChanged(); + /// /// There are no comments for spd_ClearanceSummary in the schema. /// public virtual global::Microsoft.OData.Client.DataServiceActionQuerySingle spd_ClearanceSummary() @@ -186227,6 +186295,27 @@ public contactSingle(global::Microsoft.OData.Client.DataServiceQuerySingle _contact_spd_generaladministrativetasks; + /// + /// There are no comments for spd_contact_spd_fine_Party in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::Microsoft.OData.Client.DataServiceQuery spd_contact_spd_fine_Party + { + get + { + if (!this.IsComposable) + { + throw new global::System.NotSupportedException("The previous function is not composable."); + } + if ((this._spd_contact_spd_fine_Party == null)) + { + this._spd_contact_spd_fine_Party = Context.CreateQuery(GetPath("spd_contact_spd_fine_Party")); + } + return this._spd_contact_spd_fine_Party; + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::Microsoft.OData.Client.DataServiceQuery _spd_contact_spd_fine_Party; } /// /// There are no comments for contact in the schema. @@ -193689,6 +193778,28 @@ public virtual string spd_weight partial void Oncontact_spd_generaladministrativetasksChanging(global::Microsoft.OData.Client.DataServiceCollection value); partial void Oncontact_spd_generaladministrativetasksChanged(); /// + /// There are no comments for Property spd_contact_spd_fine_Party in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::Microsoft.OData.Client.DataServiceCollection spd_contact_spd_fine_Party + { + get + { + return this._spd_contact_spd_fine_Party; + } + set + { + this.Onspd_contact_spd_fine_PartyChanging(value); + this._spd_contact_spd_fine_Party = value; + this.Onspd_contact_spd_fine_PartyChanged(); + this.OnPropertyChanged("spd_contact_spd_fine_Party"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::Microsoft.OData.Client.DataServiceCollection _spd_contact_spd_fine_Party = new global::Microsoft.OData.Client.DataServiceCollection(null, global::Microsoft.OData.Client.TrackingMode.None); + partial void Onspd_contact_spd_fine_PartyChanging(global::Microsoft.OData.Client.DataServiceCollection value); + partial void Onspd_contact_spd_fine_PartyChanged(); + /// /// There are no comments for msdyn_GDPROptoutContact in the schema. /// public virtual global::Microsoft.OData.Client.DataServiceActionQuery msdyn_GDPROptoutContact(bool optout) @@ -682699,6 +682810,27 @@ public spd_complaintSingle(global::Microsoft.OData.Client.DataServiceQuerySingle } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] private global::Microsoft.OData.Client.DataServiceQuery _spd_complaint_spd_generaladministrativetasks; + /// + /// There are no comments for spd_complainantlicenceid in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::Microsoft.Dynamics.CRM.spd_licenceSingle spd_complainantlicenceid + { + get + { + if (!this.IsComposable) + { + throw new global::System.NotSupportedException("The previous function is not composable."); + } + if ((this._spd_complainantlicenceid == null)) + { + this._spd_complainantlicenceid = new global::Microsoft.Dynamics.CRM.spd_licenceSingle(this.Context, GetPath("spd_complainantlicenceid")); + } + return this._spd_complainantlicenceid; + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::Microsoft.Dynamics.CRM.spd_licenceSingle _spd_complainantlicenceid; } /// /// There are no comments for spd_complaint in the schema. @@ -682725,6 +682857,7 @@ public partial class spd_complaint : crmbaseentity /// Initial value of spd_businessid. /// Initial value of spd_offenderid. /// Initial value of spd_addressid. + /// Initial value of spd_complainantlicenceid. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] public static spd_complaint Createspd_complaint(global::Microsoft.Dynamics.CRM.systemuser createdby, global::Microsoft.Dynamics.CRM.systemuser createdonbehalfby, @@ -682737,7 +682870,8 @@ public static spd_complaint Createspd_complaint(global::Microsoft.Dynamics.CRM.s global::Microsoft.Dynamics.CRM.spd_licence spd_licenceid, global::Microsoft.Dynamics.CRM.account spd_businessid, global::Microsoft.Dynamics.CRM.contact spd_offenderid, - global::Microsoft.Dynamics.CRM.spd_address spd_addressid) + global::Microsoft.Dynamics.CRM.spd_address spd_addressid, + global::Microsoft.Dynamics.CRM.spd_licence spd_complainantlicenceid) { spd_complaint spd_complaint = new spd_complaint(); if ((createdby == null)) @@ -682800,6 +682934,11 @@ public static spd_complaint Createspd_complaint(global::Microsoft.Dynamics.CRM.s throw new global::System.ArgumentNullException("spd_addressid"); } spd_complaint.spd_addressid = spd_addressid; + if ((spd_complainantlicenceid == null)) + { + throw new global::System.ArgumentNullException("spd_complainantlicenceid"); + } + spd_complaint.spd_complainantlicenceid = spd_complainantlicenceid; return spd_complaint; } /// @@ -682979,6 +683118,28 @@ public virtual string spd_complainantpostalcode partial void On_owninguser_valueChanging(global::System.Nullable value); partial void On_owninguser_valueChanged(); /// + /// There are no comments for Property _spd_complainantlicenceid_value in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::System.Nullable _spd_complainantlicenceid_value + { + get + { + return this.__spd_complainantlicenceid_value; + } + set + { + this.On_spd_complainantlicenceid_valueChanging(value); + this.__spd_complainantlicenceid_value = value; + this.On_spd_complainantlicenceid_valueChanged(); + this.OnPropertyChanged("_spd_complainantlicenceid_value"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::System.Nullable __spd_complainantlicenceid_value; + partial void On_spd_complainantlicenceid_valueChanging(global::System.Nullable value); + partial void On_spd_complainantlicenceid_valueChanged(); + /// /// There are no comments for Property spd_complainantmailingaddress in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] @@ -683221,6 +683382,28 @@ public virtual string spd_complainantmailingcountry partial void Onspd_complainantmailingcountryChanging(string value); partial void Onspd_complainantmailingcountryChanged(); /// + /// There are no comments for Property spd_incidentdatetime in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::System.Nullable spd_incidentdatetime + { + get + { + return this._spd_incidentdatetime; + } + set + { + this.Onspd_incidentdatetimeChanging(value); + this._spd_incidentdatetime = value; + this.Onspd_incidentdatetimeChanged(); + this.OnPropertyChanged("spd_incidentdatetime"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::System.Nullable _spd_incidentdatetime; + partial void Onspd_incidentdatetimeChanging(global::System.Nullable value); + partial void Onspd_incidentdatetimeChanged(); + /// /// There are no comments for Property spd_complainantcountry in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] @@ -683705,28 +683888,6 @@ public virtual string spd_complainantmiddlename partial void OnoverriddencreatedonChanging(global::System.Nullable value); partial void OnoverriddencreatedonChanged(); /// - /// There are no comments for Property spd_incidentdatetime in the schema. - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable spd_incidentdatetime - { - get - { - return this._spd_incidentdatetime; - } - set - { - this.Onspd_incidentdatetimeChanging(value); - this._spd_incidentdatetime = value; - this.Onspd_incidentdatetimeChanged(); - this.OnPropertyChanged("spd_incidentdatetime"); - } - } - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable _spd_incidentdatetime; - partial void Onspd_incidentdatetimeChanging(global::System.Nullable value); - partial void Onspd_incidentdatetimeChanged(); - /// /// There are no comments for Property spd_complainantunitsuite in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] @@ -684794,6 +684955,29 @@ public virtual string spd_licensingfigaroid private global::Microsoft.OData.Client.DataServiceCollection _spd_complaint_spd_generaladministrativetasks = new global::Microsoft.OData.Client.DataServiceCollection(null, global::Microsoft.OData.Client.TrackingMode.None); partial void Onspd_complaint_spd_generaladministrativetasksChanging(global::Microsoft.OData.Client.DataServiceCollection value); partial void Onspd_complaint_spd_generaladministrativetasksChanged(); + /// + /// There are no comments for Property spd_complainantlicenceid in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + [global::System.ComponentModel.DataAnnotations.RequiredAttribute(ErrorMessage = "spd_complainantlicenceid is required.")] + public virtual global::Microsoft.Dynamics.CRM.spd_licence spd_complainantlicenceid + { + get + { + return this._spd_complainantlicenceid; + } + set + { + this.Onspd_complainantlicenceidChanging(value); + this._spd_complainantlicenceid = value; + this.Onspd_complainantlicenceidChanged(); + this.OnPropertyChanged("spd_complainantlicenceid"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::Microsoft.Dynamics.CRM.spd_licence _spd_complainantlicenceid; + partial void Onspd_complainantlicenceidChanging(global::Microsoft.Dynamics.CRM.spd_licence value); + partial void Onspd_complainantlicenceidChanged(); } /// /// There are no comments for spd_complaintsubjectSingle in the schema. @@ -692973,6 +693157,48 @@ public spd_fineSingle(global::Microsoft.OData.Client.DataServiceQuerySingle _spd_fine_spd_generaladministrativetasks; + /// + /// There are no comments for spd_partyid_account in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::Microsoft.Dynamics.CRM.accountSingle spd_partyid_account + { + get + { + if (!this.IsComposable) + { + throw new global::System.NotSupportedException("The previous function is not composable."); + } + if ((this._spd_partyid_account == null)) + { + this._spd_partyid_account = new global::Microsoft.Dynamics.CRM.accountSingle(this.Context, GetPath("spd_partyid_account")); + } + return this._spd_partyid_account; + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::Microsoft.Dynamics.CRM.accountSingle _spd_partyid_account; + /// + /// There are no comments for spd_partyid_contact in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::Microsoft.Dynamics.CRM.contactSingle spd_partyid_contact + { + get + { + if (!this.IsComposable) + { + throw new global::System.NotSupportedException("The previous function is not composable."); + } + if ((this._spd_partyid_contact == null)) + { + this._spd_partyid_contact = new global::Microsoft.Dynamics.CRM.contactSingle(this.Context, GetPath("spd_partyid_contact")); + } + return this._spd_partyid_contact; + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::Microsoft.Dynamics.CRM.contactSingle _spd_partyid_contact; } /// /// There are no comments for spd_fine in the schema. @@ -692999,6 +693225,8 @@ public partial class spd_fine : crmbaseentity /// Initial value of transactioncurrencyid. /// Initial value of spd_OutcomeId. /// Initial value of spd_SubjectId. + /// Initial value of spd_partyid_account. + /// Initial value of spd_partyid_contact. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] public static spd_fine Createspd_fine(global::Microsoft.Dynamics.CRM.systemuser createdby, global::Microsoft.Dynamics.CRM.systemuser createdonbehalfby, @@ -693011,7 +693239,9 @@ public static spd_fine Createspd_fine(global::Microsoft.Dynamics.CRM.systemuser global::Microsoft.Dynamics.CRM.incident spd_CaseId, global::Microsoft.Dynamics.CRM.transactioncurrency transactioncurrencyid, global::Microsoft.Dynamics.CRM.spd_outcome spd_OutcomeId, - global::Microsoft.Dynamics.CRM.spd_subject spd_SubjectId) + global::Microsoft.Dynamics.CRM.spd_subject spd_SubjectId, + global::Microsoft.Dynamics.CRM.account spd_partyid_account, + global::Microsoft.Dynamics.CRM.contact spd_partyid_contact) { spd_fine spd_fine = new spd_fine(); if ((createdby == null)) @@ -693074,74 +693304,84 @@ public static spd_fine Createspd_fine(global::Microsoft.Dynamics.CRM.systemuser throw new global::System.ArgumentNullException("spd_SubjectId"); } spd_fine.spd_SubjectId = spd_SubjectId; + if ((spd_partyid_account == null)) + { + throw new global::System.ArgumentNullException("spd_partyid_account"); + } + spd_fine.spd_partyid_account = spd_partyid_account; + if ((spd_partyid_contact == null)) + { + throw new global::System.ArgumentNullException("spd_partyid_contact"); + } + spd_fine.spd_partyid_contact = spd_partyid_contact; return spd_fine; } /// - /// There are no comments for Property _modifiedby_value in the schema. + /// There are no comments for Property overriddencreatedon in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable _modifiedby_value + public virtual global::System.Nullable overriddencreatedon { get { - return this.__modifiedby_value; + return this._overriddencreatedon; } set { - this.On_modifiedby_valueChanging(value); - this.__modifiedby_value = value; - this.On_modifiedby_valueChanged(); - this.OnPropertyChanged("_modifiedby_value"); + this.OnoverriddencreatedonChanging(value); + this._overriddencreatedon = value; + this.OnoverriddencreatedonChanged(); + this.OnPropertyChanged("overriddencreatedon"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable __modifiedby_value; - partial void On_modifiedby_valueChanging(global::System.Nullable value); - partial void On_modifiedby_valueChanged(); + private global::System.Nullable _overriddencreatedon; + partial void OnoverriddencreatedonChanging(global::System.Nullable value); + partial void OnoverriddencreatedonChanged(); /// - /// There are no comments for Property _createdby_value in the schema. + /// There are no comments for Property spd_finereceiptnumber in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable _createdby_value + public virtual string spd_finereceiptnumber { get { - return this.__createdby_value; + return this._spd_finereceiptnumber; } set { - this.On_createdby_valueChanging(value); - this.__createdby_value = value; - this.On_createdby_valueChanged(); - this.OnPropertyChanged("_createdby_value"); + this.Onspd_finereceiptnumberChanging(value); + this._spd_finereceiptnumber = value; + this.Onspd_finereceiptnumberChanged(); + this.OnPropertyChanged("spd_finereceiptnumber"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable __createdby_value; - partial void On_createdby_valueChanging(global::System.Nullable value); - partial void On_createdby_valueChanged(); + private string _spd_finereceiptnumber; + partial void Onspd_finereceiptnumberChanging(string value); + partial void Onspd_finereceiptnumberChanged(); /// - /// There are no comments for Property _owninguser_value in the schema. + /// There are no comments for Property timezoneruleversionnumber in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable _owninguser_value + public virtual global::System.Nullable timezoneruleversionnumber { get { - return this.__owninguser_value; + return this._timezoneruleversionnumber; } set { - this.On_owninguser_valueChanging(value); - this.__owninguser_value = value; - this.On_owninguser_valueChanged(); - this.OnPropertyChanged("_owninguser_value"); + this.OntimezoneruleversionnumberChanging(value); + this._timezoneruleversionnumber = value; + this.OntimezoneruleversionnumberChanged(); + this.OnPropertyChanged("timezoneruleversionnumber"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable __owninguser_value; - partial void On_owninguser_valueChanging(global::System.Nullable value); - partial void On_owninguser_valueChanged(); + private global::System.Nullable _timezoneruleversionnumber; + partial void OntimezoneruleversionnumberChanging(global::System.Nullable value); + partial void OntimezoneruleversionnumberChanged(); /// /// There are no comments for Property statecode in the schema. /// @@ -693165,50 +693405,6 @@ public static spd_fine Createspd_fine(global::Microsoft.Dynamics.CRM.systemuser partial void OnstatecodeChanging(global::System.Nullable value); partial void OnstatecodeChanged(); /// - /// There are no comments for Property spd_incidentdate in the schema. - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable spd_incidentdate - { - get - { - return this._spd_incidentdate; - } - set - { - this.Onspd_incidentdateChanging(value); - this._spd_incidentdate = value; - this.Onspd_incidentdateChanged(); - this.OnPropertyChanged("spd_incidentdate"); - } - } - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable _spd_incidentdate; - partial void Onspd_incidentdateChanging(global::System.Nullable value); - partial void Onspd_incidentdateChanged(); - /// - /// There are no comments for Property spd_name in the schema. - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual string spd_name - { - get - { - return this._spd_name; - } - set - { - this.Onspd_nameChanging(value); - this._spd_name = value; - this.Onspd_nameChanged(); - this.OnPropertyChanged("spd_name"); - } - } - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private string _spd_name; - partial void Onspd_nameChanging(string value); - partial void Onspd_nameChanged(); - /// /// There are no comments for Property importsequencenumber in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] @@ -693231,137 +693427,137 @@ public virtual string spd_name partial void OnimportsequencenumberChanging(global::System.Nullable value); partial void OnimportsequencenumberChanged(); /// - /// There are no comments for Property _spd_outcomeid_value in the schema. + /// There are no comments for Property versionnumber in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable _spd_outcomeid_value + public virtual global::System.Nullable versionnumber { get { - return this.__spd_outcomeid_value; + return this._versionnumber; } set { - this.On_spd_outcomeid_valueChanging(value); - this.__spd_outcomeid_value = value; - this.On_spd_outcomeid_valueChanged(); - this.OnPropertyChanged("_spd_outcomeid_value"); + this.OnversionnumberChanging(value); + this._versionnumber = value; + this.OnversionnumberChanged(); + this.OnPropertyChanged("versionnumber"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable __spd_outcomeid_value; - partial void On_spd_outcomeid_valueChanging(global::System.Nullable value); - partial void On_spd_outcomeid_valueChanged(); + private global::System.Nullable _versionnumber; + partial void OnversionnumberChanging(global::System.Nullable value); + partial void OnversionnumberChanged(); /// - /// There are no comments for Property modifiedon in the schema. + /// There are no comments for Property statuscode in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable modifiedon + public virtual global::System.Nullable statuscode { get { - return this._modifiedon; + return this._statuscode; } set { - this.OnmodifiedonChanging(value); - this._modifiedon = value; - this.OnmodifiedonChanged(); - this.OnPropertyChanged("modifiedon"); + this.OnstatuscodeChanging(value); + this._statuscode = value; + this.OnstatuscodeChanged(); + this.OnPropertyChanged("statuscode"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable _modifiedon; - partial void OnmodifiedonChanging(global::System.Nullable value); - partial void OnmodifiedonChanged(); + private global::System.Nullable _statuscode; + partial void OnstatuscodeChanging(global::System.Nullable value); + partial void OnstatuscodeChanged(); /// - /// There are no comments for Property spd_dollaramount_base in the schema. + /// There are no comments for Property spd_finetype in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable spd_dollaramount_base + public virtual global::System.Nullable spd_finetype { get { - return this._spd_dollaramount_base; + return this._spd_finetype; } set { - this.Onspd_dollaramount_baseChanging(value); - this._spd_dollaramount_base = value; - this.Onspd_dollaramount_baseChanged(); - this.OnPropertyChanged("spd_dollaramount_base"); + this.Onspd_finetypeChanging(value); + this._spd_finetype = value; + this.Onspd_finetypeChanged(); + this.OnPropertyChanged("spd_finetype"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable _spd_dollaramount_base; - partial void Onspd_dollaramount_baseChanging(global::System.Nullable value); - partial void Onspd_dollaramount_baseChanged(); + private global::System.Nullable _spd_finetype; + partial void Onspd_finetypeChanging(global::System.Nullable value); + partial void Onspd_finetypeChanged(); /// - /// There are no comments for Property spd_licensingfigaroid in the schema. + /// There are no comments for Property modifiedon in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual string spd_licensingfigaroid + public virtual global::System.Nullable modifiedon { get { - return this._spd_licensingfigaroid; + return this._modifiedon; } set { - this.Onspd_licensingfigaroidChanging(value); - this._spd_licensingfigaroid = value; - this.Onspd_licensingfigaroidChanged(); - this.OnPropertyChanged("spd_licensingfigaroid"); + this.OnmodifiedonChanging(value); + this._modifiedon = value; + this.OnmodifiedonChanged(); + this.OnPropertyChanged("modifiedon"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private string _spd_licensingfigaroid; - partial void Onspd_licensingfigaroidChanging(string value); - partial void Onspd_licensingfigaroidChanged(); + private global::System.Nullable _modifiedon; + partial void OnmodifiedonChanging(global::System.Nullable value); + partial void OnmodifiedonChanged(); /// - /// There are no comments for Property overriddencreatedon in the schema. + /// There are no comments for Property _modifiedby_value in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable overriddencreatedon + public virtual global::System.Nullable _modifiedby_value { get { - return this._overriddencreatedon; + return this.__modifiedby_value; } set { - this.OnoverriddencreatedonChanging(value); - this._overriddencreatedon = value; - this.OnoverriddencreatedonChanged(); - this.OnPropertyChanged("overriddencreatedon"); + this.On_modifiedby_valueChanging(value); + this.__modifiedby_value = value; + this.On_modifiedby_valueChanged(); + this.OnPropertyChanged("_modifiedby_value"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable _overriddencreatedon; - partial void OnoverriddencreatedonChanging(global::System.Nullable value); - partial void OnoverriddencreatedonChanged(); + private global::System.Nullable __modifiedby_value; + partial void On_modifiedby_valueChanging(global::System.Nullable value); + partial void On_modifiedby_valueChanged(); /// - /// There are no comments for Property spd_finetype in the schema. + /// There are no comments for Property _spd_partyid_value in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable spd_finetype + public virtual global::System.Nullable _spd_partyid_value { get { - return this._spd_finetype; + return this.__spd_partyid_value; } set { - this.Onspd_finetypeChanging(value); - this._spd_finetype = value; - this.Onspd_finetypeChanged(); - this.OnPropertyChanged("spd_finetype"); + this.On_spd_partyid_valueChanging(value); + this.__spd_partyid_value = value; + this.On_spd_partyid_valueChanged(); + this.OnPropertyChanged("_spd_partyid_value"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable _spd_finetype; - partial void Onspd_finetypeChanging(global::System.Nullable value); - partial void Onspd_finetypeChanged(); + private global::System.Nullable __spd_partyid_value; + partial void On_spd_partyid_valueChanging(global::System.Nullable value); + partial void On_spd_partyid_valueChanged(); /// /// There are no comments for Property _spd_caseid_value in the schema. /// @@ -693385,159 +693581,137 @@ public virtual string spd_licensingfigaroid partial void On_spd_caseid_valueChanging(global::System.Nullable value); partial void On_spd_caseid_valueChanged(); /// - /// There are no comments for Property _transactioncurrencyid_value in the schema. - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable _transactioncurrencyid_value - { - get - { - return this.__transactioncurrencyid_value; - } - set - { - this.On_transactioncurrencyid_valueChanging(value); - this.__transactioncurrencyid_value = value; - this.On_transactioncurrencyid_valueChanged(); - this.OnPropertyChanged("_transactioncurrencyid_value"); - } - } - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable __transactioncurrencyid_value; - partial void On_transactioncurrencyid_valueChanging(global::System.Nullable value); - partial void On_transactioncurrencyid_valueChanged(); - /// - /// There are no comments for Property _ownerid_value in the schema. + /// There are no comments for Property exchangerate in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable _ownerid_value + public virtual global::System.Nullable exchangerate { get { - return this.__ownerid_value; + return this._exchangerate; } set { - this.On_ownerid_valueChanging(value); - this.__ownerid_value = value; - this.On_ownerid_valueChanged(); - this.OnPropertyChanged("_ownerid_value"); + this.OnexchangerateChanging(value); + this._exchangerate = value; + this.OnexchangerateChanged(); + this.OnPropertyChanged("exchangerate"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable __ownerid_value; - partial void On_ownerid_valueChanging(global::System.Nullable value); - partial void On_ownerid_valueChanged(); + private global::System.Nullable _exchangerate; + partial void OnexchangerateChanging(global::System.Nullable value); + partial void OnexchangerateChanged(); /// - /// There are no comments for Property versionnumber in the schema. + /// There are no comments for Property spd_fineid in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable versionnumber + public virtual global::System.Nullable spd_fineid { get { - return this._versionnumber; + return this._spd_fineid; } set { - this.OnversionnumberChanging(value); - this._versionnumber = value; - this.OnversionnumberChanged(); - this.OnPropertyChanged("versionnumber"); + this.Onspd_fineidChanging(value); + this._spd_fineid = value; + this.Onspd_fineidChanged(); + this.OnPropertyChanged("spd_fineid"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable _versionnumber; - partial void OnversionnumberChanging(global::System.Nullable value); - partial void OnversionnumberChanged(); + private global::System.Nullable _spd_fineid; + partial void Onspd_fineidChanging(global::System.Nullable value); + partial void Onspd_fineidChanged(); /// - /// There are no comments for Property spd_fineid in the schema. + /// There are no comments for Property _modifiedonbehalfby_value in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable spd_fineid + public virtual global::System.Nullable _modifiedonbehalfby_value { get { - return this._spd_fineid; + return this.__modifiedonbehalfby_value; } set { - this.Onspd_fineidChanging(value); - this._spd_fineid = value; - this.Onspd_fineidChanged(); - this.OnPropertyChanged("spd_fineid"); + this.On_modifiedonbehalfby_valueChanging(value); + this.__modifiedonbehalfby_value = value; + this.On_modifiedonbehalfby_valueChanged(); + this.OnPropertyChanged("_modifiedonbehalfby_value"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable _spd_fineid; - partial void Onspd_fineidChanging(global::System.Nullable value); - partial void Onspd_fineidChanged(); + private global::System.Nullable __modifiedonbehalfby_value; + partial void On_modifiedonbehalfby_valueChanging(global::System.Nullable value); + partial void On_modifiedonbehalfby_valueChanged(); /// - /// There are no comments for Property statuscode in the schema. + /// There are no comments for Property utcconversiontimezonecode in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable statuscode + public virtual global::System.Nullable utcconversiontimezonecode { get { - return this._statuscode; + return this._utcconversiontimezonecode; } set { - this.OnstatuscodeChanging(value); - this._statuscode = value; - this.OnstatuscodeChanged(); - this.OnPropertyChanged("statuscode"); + this.OnutcconversiontimezonecodeChanging(value); + this._utcconversiontimezonecode = value; + this.OnutcconversiontimezonecodeChanged(); + this.OnPropertyChanged("utcconversiontimezonecode"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable _statuscode; - partial void OnstatuscodeChanging(global::System.Nullable value); - partial void OnstatuscodeChanged(); + private global::System.Nullable _utcconversiontimezonecode; + partial void OnutcconversiontimezonecodeChanging(global::System.Nullable value); + partial void OnutcconversiontimezonecodeChanged(); /// - /// There are no comments for Property spd_finereceiptnumber in the schema. + /// There are no comments for Property _createdby_value in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual string spd_finereceiptnumber + public virtual global::System.Nullable _createdby_value { get { - return this._spd_finereceiptnumber; + return this.__createdby_value; } set { - this.Onspd_finereceiptnumberChanging(value); - this._spd_finereceiptnumber = value; - this.Onspd_finereceiptnumberChanged(); - this.OnPropertyChanged("spd_finereceiptnumber"); + this.On_createdby_valueChanging(value); + this.__createdby_value = value; + this.On_createdby_valueChanged(); + this.OnPropertyChanged("_createdby_value"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private string _spd_finereceiptnumber; - partial void Onspd_finereceiptnumberChanging(string value); - partial void Onspd_finereceiptnumberChanged(); + private global::System.Nullable __createdby_value; + partial void On_createdby_valueChanging(global::System.Nullable value); + partial void On_createdby_valueChanged(); /// - /// There are no comments for Property utcconversiontimezonecode in the schema. + /// There are no comments for Property _spd_outcomeid_value in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable utcconversiontimezonecode + public virtual global::System.Nullable _spd_outcomeid_value { get { - return this._utcconversiontimezonecode; + return this.__spd_outcomeid_value; } set { - this.OnutcconversiontimezonecodeChanging(value); - this._utcconversiontimezonecode = value; - this.OnutcconversiontimezonecodeChanged(); - this.OnPropertyChanged("utcconversiontimezonecode"); + this.On_spd_outcomeid_valueChanging(value); + this.__spd_outcomeid_value = value; + this.On_spd_outcomeid_valueChanged(); + this.OnPropertyChanged("_spd_outcomeid_value"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable _utcconversiontimezonecode; - partial void OnutcconversiontimezonecodeChanging(global::System.Nullable value); - partial void OnutcconversiontimezonecodeChanged(); + private global::System.Nullable __spd_outcomeid_value; + partial void On_spd_outcomeid_valueChanging(global::System.Nullable value); + partial void On_spd_outcomeid_valueChanged(); /// /// There are no comments for Property _owningbusinessunit_value in the schema. /// @@ -693561,137 +693735,137 @@ public virtual string spd_finereceiptnumber partial void On_owningbusinessunit_valueChanging(global::System.Nullable value); partial void On_owningbusinessunit_valueChanged(); /// - /// There are no comments for Property _spd_subjectid_value in the schema. + /// There are no comments for Property spd_dollaramount in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable _spd_subjectid_value + public virtual global::System.Nullable spd_dollaramount { get { - return this.__spd_subjectid_value; + return this._spd_dollaramount; } set { - this.On_spd_subjectid_valueChanging(value); - this.__spd_subjectid_value = value; - this.On_spd_subjectid_valueChanged(); - this.OnPropertyChanged("_spd_subjectid_value"); + this.Onspd_dollaramountChanging(value); + this._spd_dollaramount = value; + this.Onspd_dollaramountChanged(); + this.OnPropertyChanged("spd_dollaramount"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable __spd_subjectid_value; - partial void On_spd_subjectid_valueChanging(global::System.Nullable value); - partial void On_spd_subjectid_valueChanged(); + private global::System.Nullable _spd_dollaramount; + partial void Onspd_dollaramountChanging(global::System.Nullable value); + partial void Onspd_dollaramountChanged(); /// - /// There are no comments for Property exchangerate in the schema. + /// There are no comments for Property _transactioncurrencyid_value in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable exchangerate + public virtual global::System.Nullable _transactioncurrencyid_value { get { - return this._exchangerate; + return this.__transactioncurrencyid_value; } set { - this.OnexchangerateChanging(value); - this._exchangerate = value; - this.OnexchangerateChanged(); - this.OnPropertyChanged("exchangerate"); + this.On_transactioncurrencyid_valueChanging(value); + this.__transactioncurrencyid_value = value; + this.On_transactioncurrencyid_valueChanged(); + this.OnPropertyChanged("_transactioncurrencyid_value"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable _exchangerate; - partial void OnexchangerateChanging(global::System.Nullable value); - partial void OnexchangerateChanged(); + private global::System.Nullable __transactioncurrencyid_value; + partial void On_transactioncurrencyid_valueChanging(global::System.Nullable value); + partial void On_transactioncurrencyid_valueChanged(); /// - /// There are no comments for Property _modifiedonbehalfby_value in the schema. + /// There are no comments for Property _owningteam_value in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable _modifiedonbehalfby_value + public virtual global::System.Nullable _owningteam_value { get { - return this.__modifiedonbehalfby_value; + return this.__owningteam_value; } set { - this.On_modifiedonbehalfby_valueChanging(value); - this.__modifiedonbehalfby_value = value; - this.On_modifiedonbehalfby_valueChanged(); - this.OnPropertyChanged("_modifiedonbehalfby_value"); + this.On_owningteam_valueChanging(value); + this.__owningteam_value = value; + this.On_owningteam_valueChanged(); + this.OnPropertyChanged("_owningteam_value"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable __modifiedonbehalfby_value; - partial void On_modifiedonbehalfby_valueChanging(global::System.Nullable value); - partial void On_modifiedonbehalfby_valueChanged(); + private global::System.Nullable __owningteam_value; + partial void On_owningteam_valueChanging(global::System.Nullable value); + partial void On_owningteam_valueChanged(); /// - /// There are no comments for Property spd_dollaramount in the schema. + /// There are no comments for Property spd_licensingfigaroid in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable spd_dollaramount + public virtual string spd_licensingfigaroid { get { - return this._spd_dollaramount; + return this._spd_licensingfigaroid; } set { - this.Onspd_dollaramountChanging(value); - this._spd_dollaramount = value; - this.Onspd_dollaramountChanged(); - this.OnPropertyChanged("spd_dollaramount"); + this.Onspd_licensingfigaroidChanging(value); + this._spd_licensingfigaroid = value; + this.Onspd_licensingfigaroidChanged(); + this.OnPropertyChanged("spd_licensingfigaroid"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable _spd_dollaramount; - partial void Onspd_dollaramountChanging(global::System.Nullable value); - partial void Onspd_dollaramountChanged(); + private string _spd_licensingfigaroid; + partial void Onspd_licensingfigaroidChanging(string value); + partial void Onspd_licensingfigaroidChanged(); /// - /// There are no comments for Property _owningteam_value in the schema. + /// There are no comments for Property spd_name in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable _owningteam_value + public virtual string spd_name { get { - return this.__owningteam_value; + return this._spd_name; } set { - this.On_owningteam_valueChanging(value); - this.__owningteam_value = value; - this.On_owningteam_valueChanged(); - this.OnPropertyChanged("_owningteam_value"); + this.Onspd_nameChanging(value); + this._spd_name = value; + this.Onspd_nameChanged(); + this.OnPropertyChanged("spd_name"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable __owningteam_value; - partial void On_owningteam_valueChanging(global::System.Nullable value); - partial void On_owningteam_valueChanged(); + private string _spd_name; + partial void Onspd_nameChanging(string value); + partial void Onspd_nameChanged(); /// - /// There are no comments for Property timezoneruleversionnumber in the schema. + /// There are no comments for Property spd_dollaramount_base in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable timezoneruleversionnumber + public virtual global::System.Nullable spd_dollaramount_base { get { - return this._timezoneruleversionnumber; + return this._spd_dollaramount_base; } set { - this.OntimezoneruleversionnumberChanging(value); - this._timezoneruleversionnumber = value; - this.OntimezoneruleversionnumberChanged(); - this.OnPropertyChanged("timezoneruleversionnumber"); + this.Onspd_dollaramount_baseChanging(value); + this._spd_dollaramount_base = value; + this.Onspd_dollaramount_baseChanged(); + this.OnPropertyChanged("spd_dollaramount_base"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable _timezoneruleversionnumber; - partial void OntimezoneruleversionnumberChanging(global::System.Nullable value); - partial void OntimezoneruleversionnumberChanged(); + private global::System.Nullable _spd_dollaramount_base; + partial void Onspd_dollaramount_baseChanging(global::System.Nullable value); + partial void Onspd_dollaramount_baseChanged(); /// /// There are no comments for Property createdon in the schema. /// @@ -693715,6 +693889,28 @@ public virtual string spd_finereceiptnumber partial void OncreatedonChanging(global::System.Nullable value); partial void OncreatedonChanged(); /// + /// There are no comments for Property _owninguser_value in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::System.Nullable _owninguser_value + { + get + { + return this.__owninguser_value; + } + set + { + this.On_owninguser_valueChanging(value); + this.__owninguser_value = value; + this.On_owninguser_valueChanged(); + this.OnPropertyChanged("_owninguser_value"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::System.Nullable __owninguser_value; + partial void On_owninguser_valueChanging(global::System.Nullable value); + partial void On_owninguser_valueChanged(); + /// /// There are no comments for Property _createdonbehalfby_value in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] @@ -693737,6 +693933,72 @@ public virtual string spd_finereceiptnumber partial void On_createdonbehalfby_valueChanging(global::System.Nullable value); partial void On_createdonbehalfby_valueChanged(); /// + /// There are no comments for Property spd_incidentdate in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::System.Nullable spd_incidentdate + { + get + { + return this._spd_incidentdate; + } + set + { + this.Onspd_incidentdateChanging(value); + this._spd_incidentdate = value; + this.Onspd_incidentdateChanged(); + this.OnPropertyChanged("spd_incidentdate"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::System.Nullable _spd_incidentdate; + partial void Onspd_incidentdateChanging(global::System.Nullable value); + partial void Onspd_incidentdateChanged(); + /// + /// There are no comments for Property _ownerid_value in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::System.Nullable _ownerid_value + { + get + { + return this.__ownerid_value; + } + set + { + this.On_ownerid_valueChanging(value); + this.__ownerid_value = value; + this.On_ownerid_valueChanged(); + this.OnPropertyChanged("_ownerid_value"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::System.Nullable __ownerid_value; + partial void On_ownerid_valueChanging(global::System.Nullable value); + partial void On_ownerid_valueChanged(); + /// + /// There are no comments for Property _spd_subjectid_value in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::System.Nullable _spd_subjectid_value + { + get + { + return this.__spd_subjectid_value; + } + set + { + this.On_spd_subjectid_valueChanging(value); + this.__spd_subjectid_value = value; + this.On_spd_subjectid_valueChanged(); + this.OnPropertyChanged("_spd_subjectid_value"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::System.Nullable __spd_subjectid_value; + partial void On_spd_subjectid_valueChanging(global::System.Nullable value); + partial void On_spd_subjectid_valueChanged(); + /// /// There are no comments for Property createdby in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] @@ -694430,6 +694692,52 @@ public virtual string spd_finereceiptnumber private global::Microsoft.OData.Client.DataServiceCollection _spd_fine_spd_generaladministrativetasks = new global::Microsoft.OData.Client.DataServiceCollection(null, global::Microsoft.OData.Client.TrackingMode.None); partial void Onspd_fine_spd_generaladministrativetasksChanging(global::Microsoft.OData.Client.DataServiceCollection value); partial void Onspd_fine_spd_generaladministrativetasksChanged(); + /// + /// There are no comments for Property spd_partyid_account in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + [global::System.ComponentModel.DataAnnotations.RequiredAttribute(ErrorMessage = "spd_partyid_account is required.")] + public virtual global::Microsoft.Dynamics.CRM.account spd_partyid_account + { + get + { + return this._spd_partyid_account; + } + set + { + this.Onspd_partyid_accountChanging(value); + this._spd_partyid_account = value; + this.Onspd_partyid_accountChanged(); + this.OnPropertyChanged("spd_partyid_account"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::Microsoft.Dynamics.CRM.account _spd_partyid_account; + partial void Onspd_partyid_accountChanging(global::Microsoft.Dynamics.CRM.account value); + partial void Onspd_partyid_accountChanged(); + /// + /// There are no comments for Property spd_partyid_contact in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + [global::System.ComponentModel.DataAnnotations.RequiredAttribute(ErrorMessage = "spd_partyid_contact is required.")] + public virtual global::Microsoft.Dynamics.CRM.contact spd_partyid_contact + { + get + { + return this._spd_partyid_contact; + } + set + { + this.Onspd_partyid_contactChanging(value); + this._spd_partyid_contact = value; + this.Onspd_partyid_contactChanged(); + this.OnPropertyChanged("spd_partyid_contact"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::Microsoft.Dynamics.CRM.contact _spd_partyid_contact; + partial void Onspd_partyid_contactChanging(global::Microsoft.Dynamics.CRM.contact value); + partial void Onspd_partyid_contactChanged(); } /// /// There are no comments for spd_generaladministrativetaskSingle in the schema. @@ -711857,6 +712165,27 @@ public spd_licenceconditionSingle(global::Microsoft.OData.Client.DataServiceQuer } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] private global::Microsoft.OData.Client.DataServiceQuery _spd_incident_spd_licencecondition; + /// + /// There are no comments for spd_spd_licence_spd_licencecondition in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::Microsoft.OData.Client.DataServiceQuery spd_spd_licence_spd_licencecondition + { + get + { + if (!this.IsComposable) + { + throw new global::System.NotSupportedException("The previous function is not composable."); + } + if ((this._spd_spd_licence_spd_licencecondition == null)) + { + this._spd_spd_licence_spd_licencecondition = Context.CreateQuery(GetPath("spd_spd_licence_spd_licencecondition")); + } + return this._spd_spd_licence_spd_licencecondition; + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::Microsoft.OData.Client.DataServiceQuery _spd_spd_licence_spd_licencecondition; } /// /// There are no comments for spd_licencecondition in the schema. @@ -712572,6 +712901,28 @@ public virtual string spd_conditionname private global::Microsoft.OData.Client.DataServiceCollection _spd_incident_spd_licencecondition = new global::Microsoft.OData.Client.DataServiceCollection(null, global::Microsoft.OData.Client.TrackingMode.None); partial void Onspd_incident_spd_licenceconditionChanging(global::Microsoft.OData.Client.DataServiceCollection value); partial void Onspd_incident_spd_licenceconditionChanged(); + /// + /// There are no comments for Property spd_spd_licence_spd_licencecondition in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::Microsoft.OData.Client.DataServiceCollection spd_spd_licence_spd_licencecondition + { + get + { + return this._spd_spd_licence_spd_licencecondition; + } + set + { + this.Onspd_spd_licence_spd_licenceconditionChanging(value); + this._spd_spd_licence_spd_licencecondition = value; + this.Onspd_spd_licence_spd_licenceconditionChanged(); + this.OnPropertyChanged("spd_spd_licence_spd_licencecondition"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::Microsoft.OData.Client.DataServiceCollection _spd_spd_licence_spd_licencecondition = new global::Microsoft.OData.Client.DataServiceCollection(null, global::Microsoft.OData.Client.TrackingMode.None); + partial void Onspd_spd_licence_spd_licenceconditionChanging(global::Microsoft.OData.Client.DataServiceCollection value); + partial void Onspd_spd_licence_spd_licenceconditionChanged(); } /// /// There are no comments for spd_licencefeeSingle in the schema. @@ -714623,6 +714974,48 @@ public spd_licenceSingle(global::Microsoft.OData.Client.DataServiceQuerySingle _bpf_spd_licence_spd_licensingreconsiderationreactivation; + /// + /// There are no comments for spd_spd_licence_spd_complaint_complainantlicenceid in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::Microsoft.OData.Client.DataServiceQuery spd_spd_licence_spd_complaint_complainantlicenceid + { + get + { + if (!this.IsComposable) + { + throw new global::System.NotSupportedException("The previous function is not composable."); + } + if ((this._spd_spd_licence_spd_complaint_complainantlicenceid == null)) + { + this._spd_spd_licence_spd_complaint_complainantlicenceid = Context.CreateQuery(GetPath("spd_spd_licence_spd_complaint_complainantlicenceid")); + } + return this._spd_spd_licence_spd_complaint_complainantlicenceid; + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::Microsoft.OData.Client.DataServiceQuery _spd_spd_licence_spd_complaint_complainantlicenceid; + /// + /// There are no comments for spd_spd_licence_spd_licencecondition in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::Microsoft.OData.Client.DataServiceQuery spd_spd_licence_spd_licencecondition + { + get + { + if (!this.IsComposable) + { + throw new global::System.NotSupportedException("The previous function is not composable."); + } + if ((this._spd_spd_licence_spd_licencecondition == null)) + { + this._spd_spd_licence_spd_licencecondition = Context.CreateQuery(GetPath("spd_spd_licence_spd_licencecondition")); + } + return this._spd_spd_licence_spd_licencecondition; + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::Microsoft.OData.Client.DataServiceQuery _spd_spd_licence_spd_licencecondition; } /// /// There are no comments for spd_licence in the schema. @@ -716721,6 +717114,50 @@ public virtual string spd_nameonlicence partial void Onbpf_spd_licence_spd_licensingreconsiderationreactivationChanging(global::Microsoft.OData.Client.DataServiceCollection value); partial void Onbpf_spd_licence_spd_licensingreconsiderationreactivationChanged(); /// + /// There are no comments for Property spd_spd_licence_spd_complaint_complainantlicenceid in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::Microsoft.OData.Client.DataServiceCollection spd_spd_licence_spd_complaint_complainantlicenceid + { + get + { + return this._spd_spd_licence_spd_complaint_complainantlicenceid; + } + set + { + this.Onspd_spd_licence_spd_complaint_complainantlicenceidChanging(value); + this._spd_spd_licence_spd_complaint_complainantlicenceid = value; + this.Onspd_spd_licence_spd_complaint_complainantlicenceidChanged(); + this.OnPropertyChanged("spd_spd_licence_spd_complaint_complainantlicenceid"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::Microsoft.OData.Client.DataServiceCollection _spd_spd_licence_spd_complaint_complainantlicenceid = new global::Microsoft.OData.Client.DataServiceCollection(null, global::Microsoft.OData.Client.TrackingMode.None); + partial void Onspd_spd_licence_spd_complaint_complainantlicenceidChanging(global::Microsoft.OData.Client.DataServiceCollection value); + partial void Onspd_spd_licence_spd_complaint_complainantlicenceidChanged(); + /// + /// There are no comments for Property spd_spd_licence_spd_licencecondition in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::Microsoft.OData.Client.DataServiceCollection spd_spd_licence_spd_licencecondition + { + get + { + return this._spd_spd_licence_spd_licencecondition; + } + set + { + this.Onspd_spd_licence_spd_licenceconditionChanging(value); + this._spd_spd_licence_spd_licencecondition = value; + this.Onspd_spd_licence_spd_licenceconditionChanged(); + this.OnPropertyChanged("spd_spd_licence_spd_licencecondition"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::Microsoft.OData.Client.DataServiceCollection _spd_spd_licence_spd_licencecondition = new global::Microsoft.OData.Client.DataServiceCollection(null, global::Microsoft.OData.Client.TrackingMode.None); + partial void Onspd_spd_licence_spd_licenceconditionChanging(global::Microsoft.OData.Client.DataServiceCollection value); + partial void Onspd_spd_licence_spd_licenceconditionChanged(); + /// /// There are no comments for spd_BCMPLicencePreview in the schema. /// public virtual global::Microsoft.OData.Client.DataServiceActionQuerySingle spd_BCMPLicencePreview(global::System.Nullable Upload) @@ -738275,6 +738712,138 @@ public virtual string spd_name partial void Onspd_nameChanging(string value); partial void Onspd_nameChanged(); /// + /// There are no comments for Property spd_fineamount_base in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::System.Nullable spd_fineamount_base + { + get + { + return this._spd_fineamount_base; + } + set + { + this.Onspd_fineamount_baseChanging(value); + this._spd_fineamount_base = value; + this.Onspd_fineamount_baseChanged(); + this.OnPropertyChanged("spd_fineamount_base"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::System.Nullable _spd_fineamount_base; + partial void Onspd_fineamount_baseChanging(global::System.Nullable value); + partial void Onspd_fineamount_baseChanged(); + /// + /// There are no comments for Property createdon in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::System.Nullable createdon + { + get + { + return this._createdon; + } + set + { + this.OncreatedonChanging(value); + this._createdon = value; + this.OncreatedonChanged(); + this.OnPropertyChanged("createdon"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::System.Nullable _createdon; + partial void OncreatedonChanging(global::System.Nullable value); + partial void OncreatedonChanged(); + /// + /// There are no comments for Property spd_description in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual string spd_description + { + get + { + return this._spd_description; + } + set + { + this.Onspd_descriptionChanging(value); + this._spd_description = value; + this.Onspd_descriptionChanged(); + this.OnPropertyChanged("spd_description"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private string _spd_description; + partial void Onspd_descriptionChanging(string value); + partial void Onspd_descriptionChanged(); + /// + /// There are no comments for Property modifiedon in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::System.Nullable modifiedon + { + get + { + return this._modifiedon; + } + set + { + this.OnmodifiedonChanging(value); + this._modifiedon = value; + this.OnmodifiedonChanged(); + this.OnPropertyChanged("modifiedon"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::System.Nullable _modifiedon; + partial void OnmodifiedonChanging(global::System.Nullable value); + partial void OnmodifiedonChanged(); + /// + /// There are no comments for Property _modifiedby_value in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::System.Nullable _modifiedby_value + { + get + { + return this.__modifiedby_value; + } + set + { + this.On_modifiedby_valueChanging(value); + this.__modifiedby_value = value; + this.On_modifiedby_valueChanged(); + this.OnPropertyChanged("_modifiedby_value"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::System.Nullable __modifiedby_value; + partial void On_modifiedby_valueChanging(global::System.Nullable value); + partial void On_modifiedby_valueChanged(); + /// + /// There are no comments for Property versionnumber in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::System.Nullable versionnumber + { + get + { + return this._versionnumber; + } + set + { + this.OnversionnumberChanging(value); + this._versionnumber = value; + this.OnversionnumberChanged(); + this.OnPropertyChanged("versionnumber"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::System.Nullable _versionnumber; + partial void OnversionnumberChanging(global::System.Nullable value); + partial void OnversionnumberChanged(); + /// /// There are no comments for Property _createdonbehalfby_value in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] @@ -738297,27 +738866,27 @@ public virtual string spd_name partial void On_createdonbehalfby_valueChanging(global::System.Nullable value); partial void On_createdonbehalfby_valueChanged(); /// - /// There are no comments for Property spd_fineamount_base in the schema. + /// There are no comments for Property spd_total in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable spd_fineamount_base + public virtual global::System.Nullable spd_total { get { - return this._spd_fineamount_base; + return this._spd_total; } set { - this.Onspd_fineamount_baseChanging(value); - this._spd_fineamount_base = value; - this.Onspd_fineamount_baseChanged(); - this.OnPropertyChanged("spd_fineamount_base"); + this.Onspd_totalChanging(value); + this._spd_total = value; + this.Onspd_totalChanged(); + this.OnPropertyChanged("spd_total"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable _spd_fineamount_base; - partial void Onspd_fineamount_baseChanging(global::System.Nullable value); - partial void Onspd_fineamount_baseChanged(); + private global::System.Nullable _spd_total; + partial void Onspd_totalChanging(global::System.Nullable value); + partial void Onspd_totalChanged(); /// /// There are no comments for Property spd_totalfine in the schema. /// @@ -738341,71 +738910,49 @@ public virtual string spd_name partial void Onspd_totalfineChanging(global::System.Nullable value); partial void Onspd_totalfineChanged(); /// - /// There are no comments for Property modifiedon in the schema. - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable modifiedon - { - get - { - return this._modifiedon; - } - set - { - this.OnmodifiedonChanging(value); - this._modifiedon = value; - this.OnmodifiedonChanged(); - this.OnPropertyChanged("modifiedon"); - } - } - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable _modifiedon; - partial void OnmodifiedonChanging(global::System.Nullable value); - partial void OnmodifiedonChanged(); - /// - /// There are no comments for Property _modifiedby_value in the schema. + /// There are no comments for Property spd_victimsurcharge in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable _modifiedby_value + public virtual global::System.Nullable spd_victimsurcharge { get { - return this.__modifiedby_value; + return this._spd_victimsurcharge; } set { - this.On_modifiedby_valueChanging(value); - this.__modifiedby_value = value; - this.On_modifiedby_valueChanged(); - this.OnPropertyChanged("_modifiedby_value"); + this.Onspd_victimsurchargeChanging(value); + this._spd_victimsurcharge = value; + this.Onspd_victimsurchargeChanged(); + this.OnPropertyChanged("spd_victimsurcharge"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable __modifiedby_value; - partial void On_modifiedby_valueChanging(global::System.Nullable value); - partial void On_modifiedby_valueChanged(); + private global::System.Nullable _spd_victimsurcharge; + partial void Onspd_victimsurchargeChanging(global::System.Nullable value); + partial void Onspd_victimsurchargeChanged(); /// - /// There are no comments for Property versionnumber in the schema. + /// There are no comments for Property utcconversiontimezonecode in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable versionnumber + public virtual global::System.Nullable utcconversiontimezonecode { get { - return this._versionnumber; + return this._utcconversiontimezonecode; } set { - this.OnversionnumberChanging(value); - this._versionnumber = value; - this.OnversionnumberChanged(); - this.OnPropertyChanged("versionnumber"); + this.OnutcconversiontimezonecodeChanging(value); + this._utcconversiontimezonecode = value; + this.OnutcconversiontimezonecodeChanged(); + this.OnPropertyChanged("utcconversiontimezonecode"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable _versionnumber; - partial void OnversionnumberChanging(global::System.Nullable value); - partial void OnversionnumberChanged(); + private global::System.Nullable _utcconversiontimezonecode; + partial void OnutcconversiontimezonecodeChanging(global::System.Nullable value); + partial void OnutcconversiontimezonecodeChanged(); /// /// There are no comments for Property spd_totalfine_base in the schema. /// @@ -738429,72 +738976,6 @@ public virtual string spd_name partial void Onspd_totalfine_baseChanging(global::System.Nullable value); partial void Onspd_totalfine_baseChanged(); /// - /// There are no comments for Property createdon in the schema. - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable createdon - { - get - { - return this._createdon; - } - set - { - this.OncreatedonChanging(value); - this._createdon = value; - this.OncreatedonChanged(); - this.OnPropertyChanged("createdon"); - } - } - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable _createdon; - partial void OncreatedonChanging(global::System.Nullable value); - partial void OncreatedonChanged(); - /// - /// There are no comments for Property spd_violationdescription in the schema. - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual string spd_violationdescription - { - get - { - return this._spd_violationdescription; - } - set - { - this.Onspd_violationdescriptionChanging(value); - this._spd_violationdescription = value; - this.Onspd_violationdescriptionChanged(); - this.OnPropertyChanged("spd_violationdescription"); - } - } - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private string _spd_violationdescription; - partial void Onspd_violationdescriptionChanging(string value); - partial void Onspd_violationdescriptionChanged(); - /// - /// There are no comments for Property utcconversiontimezonecode in the schema. - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable utcconversiontimezonecode - { - get - { - return this._utcconversiontimezonecode; - } - set - { - this.OnutcconversiontimezonecodeChanging(value); - this._utcconversiontimezonecode = value; - this.OnutcconversiontimezonecodeChanged(); - this.OnPropertyChanged("utcconversiontimezonecode"); - } - } - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable _utcconversiontimezonecode; - partial void OnutcconversiontimezonecodeChanging(global::System.Nullable value); - partial void OnutcconversiontimezonecodeChanged(); - /// /// There are no comments for Property _spd_actid_value in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] @@ -738583,6 +739064,28 @@ public virtual string spd_violationdescription partial void OnoverriddencreatedonChanging(global::System.Nullable value); partial void OnoverriddencreatedonChanged(); /// + /// There are no comments for Property spd_violationdescription in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual string spd_violationdescription + { + get + { + return this._spd_violationdescription; + } + set + { + this.Onspd_violationdescriptionChanging(value); + this._spd_violationdescription = value; + this.Onspd_violationdescriptionChanged(); + this.OnPropertyChanged("spd_violationdescription"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private string _spd_violationdescription; + partial void Onspd_violationdescriptionChanging(string value); + partial void Onspd_violationdescriptionChanged(); + /// /// There are no comments for Property _modifiedonbehalfby_value in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] @@ -738671,27 +739174,27 @@ public virtual string spd_violationdescription partial void On_createdby_valueChanging(global::System.Nullable value); partial void On_createdby_valueChanged(); /// - /// There are no comments for Property spd_victimsurcharge in the schema. + /// There are no comments for Property spd_total_base in the schema. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - public virtual global::System.Nullable spd_victimsurcharge + public virtual global::System.Nullable spd_total_base { get { - return this._spd_victimsurcharge; + return this._spd_total_base; } set { - this.Onspd_victimsurchargeChanging(value); - this._spd_victimsurcharge = value; - this.Onspd_victimsurchargeChanged(); - this.OnPropertyChanged("spd_victimsurcharge"); + this.Onspd_total_baseChanging(value); + this._spd_total_base = value; + this.Onspd_total_baseChanged(); + this.OnPropertyChanged("spd_total_base"); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] - private global::System.Nullable _spd_victimsurcharge; - partial void Onspd_victimsurchargeChanging(global::System.Nullable value); - partial void Onspd_victimsurchargeChanged(); + private global::System.Nullable _spd_total_base; + partial void Onspd_total_baseChanging(global::System.Nullable value); + partial void Onspd_total_baseChanged(); /// /// There are no comments for Property createdby in the schema. /// @@ -746040,6 +746543,129 @@ public partial class spd_spd_complaint_spd_act : crmbaseentity partial void Onspd_complaintidChanged(); } /// + /// There are no comments for spd_spd_licence_spd_licenceconditionSingle in the schema. + /// + public partial class spd_spd_licence_spd_licenceconditionSingle : global::Microsoft.OData.Client.DataServiceQuerySingle + { + /// + /// Initialize a new spd_spd_licence_spd_licenceconditionSingle object. + /// + public spd_spd_licence_spd_licenceconditionSingle(global::Microsoft.OData.Client.DataServiceContext context, string path) + : base(context, path) {} + + /// + /// Initialize a new spd_spd_licence_spd_licenceconditionSingle object. + /// + public spd_spd_licence_spd_licenceconditionSingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable) + : base(context, path, isComposable) {} + + /// + /// Initialize a new spd_spd_licence_spd_licenceconditionSingle object. + /// + public spd_spd_licence_spd_licenceconditionSingle(global::Microsoft.OData.Client.DataServiceQuerySingle query) + : base(query) {} + + } + /// + /// There are no comments for spd_spd_licence_spd_licencecondition in the schema. + /// + /// + /// spd_spd_licence_spd_licenceconditionid + /// + [global::Microsoft.OData.Client.Key("spd_spd_licence_spd_licenceconditionid")] + [global::Microsoft.OData.Client.EntitySet("spd_spd_licence_spd_licenceconditionset")] + public partial class spd_spd_licence_spd_licencecondition : crmbaseentity + { + /// + /// There are no comments for Property versionnumber in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::System.Nullable versionnumber + { + get + { + return this._versionnumber; + } + set + { + this.OnversionnumberChanging(value); + this._versionnumber = value; + this.OnversionnumberChanged(); + this.OnPropertyChanged("versionnumber"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::System.Nullable _versionnumber; + partial void OnversionnumberChanging(global::System.Nullable value); + partial void OnversionnumberChanged(); + /// + /// There are no comments for Property spd_licenceconditionid in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::System.Nullable spd_licenceconditionid + { + get + { + return this._spd_licenceconditionid; + } + set + { + this.Onspd_licenceconditionidChanging(value); + this._spd_licenceconditionid = value; + this.Onspd_licenceconditionidChanged(); + this.OnPropertyChanged("spd_licenceconditionid"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::System.Nullable _spd_licenceconditionid; + partial void Onspd_licenceconditionidChanging(global::System.Nullable value); + partial void Onspd_licenceconditionidChanged(); + /// + /// There are no comments for Property spd_licenceid in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::System.Nullable spd_licenceid + { + get + { + return this._spd_licenceid; + } + set + { + this.Onspd_licenceidChanging(value); + this._spd_licenceid = value; + this.Onspd_licenceidChanged(); + this.OnPropertyChanged("spd_licenceid"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::System.Nullable _spd_licenceid; + partial void Onspd_licenceidChanging(global::System.Nullable value); + partial void Onspd_licenceidChanged(); + /// + /// There are no comments for Property spd_spd_licence_spd_licenceconditionid in the schema. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + public virtual global::System.Nullable spd_spd_licence_spd_licenceconditionid + { + get + { + return this._spd_spd_licence_spd_licenceconditionid; + } + set + { + this.Onspd_spd_licence_spd_licenceconditionidChanging(value); + this._spd_spd_licence_spd_licenceconditionid = value; + this.Onspd_spd_licence_spd_licenceconditionidChanged(); + this.OnPropertyChanged("spd_spd_licence_spd_licenceconditionid"); + } + } + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "#VersionNumber#")] + private global::System.Nullable _spd_spd_licence_spd_licenceconditionid; + partial void Onspd_spd_licence_spd_licenceconditionidChanging(global::System.Nullable value); + partial void Onspd_spd_licence_spd_licenceconditionidChanged(); + } + /// /// There are no comments for spd_spd_role_spd_portaluserSingle in the schema. /// public partial class spd_spd_role_spd_portaluserSingle : global::Microsoft.OData.Client.DataServiceQuerySingle @@ -977694,6 +978320,38 @@ public static class ExtensionMethods return new global::Microsoft.Dynamics.CRM.spd_spd_complaint_spd_actSingle(_source.Context, query.GetPath(null)); } /// + /// Get an entity of type global::Microsoft.Dynamics.CRM.spd_spd_licence_spd_licencecondition as global::Microsoft.Dynamics.CRM.spd_spd_licence_spd_licenceconditionSingle specified by key from an entity set + /// + /// source entity set + /// dictionary with the names and values of keys + public static global::Microsoft.Dynamics.CRM.spd_spd_licence_spd_licenceconditionSingle ByKey(this global::Microsoft.OData.Client.DataServiceQuery _source, global::System.Collections.Generic.IDictionary _keys) + { + return new global::Microsoft.Dynamics.CRM.spd_spd_licence_spd_licenceconditionSingle(_source.Context, _source.GetKeyPath(global::Microsoft.OData.Client.Serializer.GetKeyString(_source.Context, _keys))); + } + /// + /// Get an entity of type global::Microsoft.Dynamics.CRM.spd_spd_licence_spd_licencecondition as global::Microsoft.Dynamics.CRM.spd_spd_licence_spd_licenceconditionSingle specified by key from an entity set + /// + /// source entity set + /// The value of spd_spd_licence_spd_licenceconditionid + public static global::Microsoft.Dynamics.CRM.spd_spd_licence_spd_licenceconditionSingle ByKey(this global::Microsoft.OData.Client.DataServiceQuery _source, + global::System.Nullable spd_spd_licence_spd_licenceconditionid) + { + global::System.Collections.Generic.IDictionary _keys = new global::System.Collections.Generic.Dictionary + { + { "spd_spd_licence_spd_licenceconditionid", spd_spd_licence_spd_licenceconditionid } + }; + return new global::Microsoft.Dynamics.CRM.spd_spd_licence_spd_licenceconditionSingle(_source.Context, _source.GetKeyPath(global::Microsoft.OData.Client.Serializer.GetKeyString(_source.Context, _keys))); + } + /// + /// Cast an entity of type global::Microsoft.Dynamics.CRM.crmbaseentity to its derived type global::Microsoft.Dynamics.CRM.spd_spd_licence_spd_licencecondition + /// + /// source entity + public static global::Microsoft.Dynamics.CRM.spd_spd_licence_spd_licenceconditionSingle CastTospd_spd_licence_spd_licencecondition(this global::Microsoft.OData.Client.DataServiceQuerySingle _source) + { + global::Microsoft.OData.Client.DataServiceQuerySingle query = _source.CastTo(); + return new global::Microsoft.Dynamics.CRM.spd_spd_licence_spd_licenceconditionSingle(_source.Context, query.GetPath(null)); + } + /// /// Get an entity of type global::Microsoft.Dynamics.CRM.spd_spd_role_spd_portaluser as global::Microsoft.Dynamics.CRM.spd_spd_role_spd_portaluserSingle specified by key from an entity set /// /// source entity set