Skip to content

Commit a375a8b

Browse files
committed
ECER-5270: Dynamics Schema updates
1 parent 864ec16 commit a375a8b

File tree

10 files changed

+1612
-0
lines changed

10 files changed

+1612
-0
lines changed

src/ECER.Utilities.DataverseSdk/Model/EcerContext.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,17 @@ public System.Linq.IQueryable<ECER.Utilities.DataverseSdk.Model.ecer_ImmediateAc
568568
}
569569
}
570570

571+
/// <summary>
572+
/// Gets a binding to the set of all <see cref="ECER.Utilities.DataverseSdk.Model.ecer_InternationalCertification"/> entities.
573+
/// </summary>
574+
public System.Linq.IQueryable<ECER.Utilities.DataverseSdk.Model.ecer_InternationalCertification> ecer_InternationalCertificationSet
575+
{
576+
get
577+
{
578+
return this.CreateQuery<ECER.Utilities.DataverseSdk.Model.ecer_InternationalCertification>();
579+
}
580+
}
581+
571582
/// <summary>
572583
/// Gets a binding to the set of all <see cref="ECER.Utilities.DataverseSdk.Model.ecer_Investigation"/> entities.
573584
/// </summary>

src/ECER.Utilities.DataverseSdk/Model/Entities/ECER_Application.cs

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,10 @@ public partial class Fields
226226
public const string ecer_HasProvided500HoursWorkExperience = "ecer_hasprovided500hoursworkexperience";
227227
public const string ecer_hasprovided500hoursworkexperienceName = "ecer_hasprovided500hoursworkexperiencename";
228228
public const string ecer_historicaldecision_ApplicationId = "ecer_historicaldecision_ApplicationId";
229+
public const string ecer_icraeligibilityassessment_ApplicationId = "ecer_icraeligibilityassessment_ApplicationId";
229230
public const string ecer_IDVerifiedManualApplication = "ecer_idverifiedmanualapplication";
230231
public const string ecer_idverifiedmanualapplicationName = "ecer_idverifiedmanualapplicationname";
232+
public const string ecer_InternationalCertification_ecer_ApplicationId_ecer_Application = "ecer_InternationalCertification_ecer_ApplicationId_ecer_Application";
231233
public const string ecer_investigationapplication_application = "ecer_investigationapplication_application";
232234
public const string ecer_investigationparallelprocesscommunication = "ecer_investigationparallelprocesscommunication";
233235
public const string ecer_IsCharacterReferenceProvided = "ecer_ischaracterreferenceprovided";
@@ -4774,6 +4776,42 @@ public System.Collections.Generic.IEnumerable<ECER.Utilities.DataverseSdk.Model.
47744776
}
47754777
}
47764778

4779+
/// <summary>
4780+
/// 1:N ecer_icraeligibilityassessment_ApplicationId
4781+
/// </summary>
4782+
[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ecer_icraeligibilityassessment_ApplicationId")]
4783+
public System.Collections.Generic.IEnumerable<ECER.Utilities.DataverseSdk.Model.ecer_ICRAEligibilityAssessment> ecer_icraeligibilityassessment_ApplicationId
4784+
{
4785+
[System.Diagnostics.DebuggerNonUserCode()]
4786+
get
4787+
{
4788+
return this.GetRelatedEntities<ECER.Utilities.DataverseSdk.Model.ecer_ICRAEligibilityAssessment>("ecer_icraeligibilityassessment_ApplicationId", null);
4789+
}
4790+
[System.Diagnostics.DebuggerNonUserCode()]
4791+
set
4792+
{
4793+
this.SetRelatedEntities<ECER.Utilities.DataverseSdk.Model.ecer_ICRAEligibilityAssessment>("ecer_icraeligibilityassessment_ApplicationId", null, value);
4794+
}
4795+
}
4796+
4797+
/// <summary>
4798+
/// 1:N ecer_InternationalCertification_ecer_ApplicationId_ecer_Application
4799+
/// </summary>
4800+
[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ecer_InternationalCertification_ecer_ApplicationId_ecer_Application")]
4801+
public System.Collections.Generic.IEnumerable<ECER.Utilities.DataverseSdk.Model.ecer_InternationalCertification> ecer_InternationalCertification_ecer_ApplicationId_ecer_Application
4802+
{
4803+
[System.Diagnostics.DebuggerNonUserCode()]
4804+
get
4805+
{
4806+
return this.GetRelatedEntities<ECER.Utilities.DataverseSdk.Model.ecer_InternationalCertification>("ecer_InternationalCertification_ecer_ApplicationId_ecer_Application", null);
4807+
}
4808+
[System.Diagnostics.DebuggerNonUserCode()]
4809+
set
4810+
{
4811+
this.SetRelatedEntities<ECER.Utilities.DataverseSdk.Model.ecer_InternationalCertification>("ecer_InternationalCertification_ecer_ApplicationId_ecer_Application", null, value);
4812+
}
4813+
}
4814+
47774815
/// <summary>
47784816
/// 1:N ecer_investigationapplication_application
47794817
/// </summary>

src/ECER.Utilities.DataverseSdk/Model/Entities/ECER_Communication.cs

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ public partial class Fields
7979
public const string ecer_areallreadName = "ecer_areallreadname";
8080
public const string ecer_bcgov_documenturl_CommunicationId_ecer_communication = "ecer_bcgov_documenturl_CommunicationId_ecer_communication";
8181
public const string ecer_communication_Applicationid = "ecer_communication_Applicationid";
82+
public const string ecer_communication_ICRAEligibilityAssessmentId = "ecer_communication_ICRAEligibilityAssessmentId";
8283
public const string ecer_communication_Investigation_ecer_investig = "ecer_communication_Investigation_ecer_investig";
8384
public const string Referencingecer_communication_ParentCommunicationid = "ecer_communication_ParentCommunicationid";
8485
public const string ecer_communication_PresetContentsId = "ecer_communication_PresetContentsId";
@@ -98,6 +99,8 @@ public partial class Fields
9899
public const string ecer_FromOracle = "ecer_fromoracle";
99100
public const string ecer_GenerateMessageReport = "ecer_generatemessagereport";
100101
public const string ecer_generatemessagereportName = "ecer_generatemessagereportname";
102+
public const string ecer_ICRAEligibilityAssessmentId = "ecer_icraeligibilityassessmentid";
103+
public const string ecer_ICRAEligibilityAssessmentIdName = "ecer_icraeligibilityassessmentidname";
101104
public const string ecer_InitiatedFrom = "ecer_initiatedfrom";
102105
public const string ecer_initiatedfromName = "ecer_initiatedfromname";
103106
public const string ecer_Investigation = "ecer_investigation";
@@ -638,6 +641,38 @@ public string ecer_generatemessagereportName
638641
}
639642
}
640643

644+
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_icraeligibilityassessmentid")]
645+
public Microsoft.Xrm.Sdk.EntityReference ecer_ICRAEligibilityAssessmentId
646+
{
647+
[System.Diagnostics.DebuggerNonUserCode()]
648+
get
649+
{
650+
return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ecer_icraeligibilityassessmentid");
651+
}
652+
[System.Diagnostics.DebuggerNonUserCode()]
653+
set
654+
{
655+
this.SetAttributeValue("ecer_icraeligibilityassessmentid", value);
656+
}
657+
}
658+
659+
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_icraeligibilityassessmentidname")]
660+
public string ecer_ICRAEligibilityAssessmentIdName
661+
{
662+
[System.Diagnostics.DebuggerNonUserCode()]
663+
get
664+
{
665+
if (this.FormattedValues.Contains("ecer_icraeligibilityassessmentid"))
666+
{
667+
return this.FormattedValues["ecer_icraeligibilityassessmentid"];
668+
}
669+
else
670+
{
671+
return default(string);
672+
}
673+
}
674+
}
675+
641676
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_initiatedfrom")]
642677
public virtual ecer_InitiatedFrom? ecer_InitiatedFrom
643678
{
@@ -1811,6 +1846,25 @@ public ECER.Utilities.DataverseSdk.Model.ecer_Application ecer_communication_App
18111846
}
18121847
}
18131848

1849+
/// <summary>
1850+
/// N:1 ecer_communication_ICRAEligibilityAssessmentId
1851+
/// </summary>
1852+
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_icraeligibilityassessmentid")]
1853+
[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ecer_communication_ICRAEligibilityAssessmentId")]
1854+
public ECER.Utilities.DataverseSdk.Model.ecer_ICRAEligibilityAssessment ecer_communication_ICRAEligibilityAssessmentId
1855+
{
1856+
[System.Diagnostics.DebuggerNonUserCode()]
1857+
get
1858+
{
1859+
return this.GetRelatedEntity<ECER.Utilities.DataverseSdk.Model.ecer_ICRAEligibilityAssessment>("ecer_communication_ICRAEligibilityAssessmentId", null);
1860+
}
1861+
[System.Diagnostics.DebuggerNonUserCode()]
1862+
set
1863+
{
1864+
this.SetRelatedEntity<ECER.Utilities.DataverseSdk.Model.ecer_ICRAEligibilityAssessment>("ecer_communication_ICRAEligibilityAssessmentId", null, value);
1865+
}
1866+
}
1867+
18141868
/// <summary>
18151869
/// N:1 ecer_communication_Investigation_ecer_investig
18161870
/// </summary>

src/ECER.Utilities.DataverseSdk/Model/Entities/ECER_WorkExperienceRef.cs

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ public enum ecer_WorkExperienceRef_StatusCode
4444
[System.Runtime.Serialization.EnumMemberAttribute()]
4545
Draft = 1,
4646

47+
[System.Runtime.Serialization.EnumMemberAttribute()]
48+
ICRAEligibilitySubmitted = 621870007,
49+
4750
[System.Runtime.Serialization.EnumMemberAttribute()]
4851
InProgress = 621870002,
4952

@@ -85,6 +88,8 @@ public partial class Fields
8588
public const string ecer_ApplicantidName = "ecer_applicantidname";
8689
public const string ecer_ApplicantidYomiName = "ecer_applicantidyominame";
8790
public const string ecer_ApplicantNOTQualifiedReason = "ecer_applicantnotqualifiedreason";
91+
public const string ecer_Applicantworkchildren = "ecer_applicantworkchildren";
92+
public const string ecer_applicantworkchildrenName = "ecer_applicantworkchildrenname";
8893
public const string ecer_Applicationid = "ecer_applicationid";
8994
public const string ecer_ApplicationidName = "ecer_applicationidname";
9095
public const string ecer_ChildcareAgeRange = "ecer_childcareagerange";
@@ -117,6 +122,8 @@ public partial class Fields
117122
public const string ecer_CompetenceImplementanECECurriculum = "ecer_competenceimplementanececurriculum";
118123
public const string ecer_competenceimplementanececurriculumName = "ecer_competenceimplementanececurriculumname";
119124
public const string ecer_CompetenceImplementECECurriculumReason = "ecer_competenceimplementececurriculumreason";
125+
public const string ecer_Country = "ecer_country";
126+
public const string ecer_CountryName = "ecer_countryname";
120127
public const string ecer_currentcertificate = "ecer_currentcertificate";
121128
public const string ecer_currentcertificateName = "ecer_currentcertificatename";
122129
public const string ecer_DateSigned = "ecer_datesigned";
@@ -125,6 +132,8 @@ public partial class Fields
125132
public const string ecer_EmailAddress = "ecer_emailaddress";
126133
public const string ecer_EndDate = "ecer_enddate";
127134
public const string ecer_FirstName = "ecer_firstname";
135+
public const string ecer_ICRAEligibilityAssessment = "ecer_icraeligibilityassessment";
136+
public const string ecer_ICRAEligibilityAssessmentName = "ecer_icraeligibilityassessmentname";
128137
public const string ecer_investigation_WorkExperienceReferenceId_e = "ecer_investigation_WorkExperienceReferenceId_e";
129138
public const string ecer_InviteAgain = "ecer_inviteagain";
130139
public const string ecer_inviteagainName = "ecer_inviteagainname";
@@ -142,6 +151,7 @@ public partial class Fields
142151
public const string ecer_legacyworkexperienceassessmentyn = "ecer_legacyworkexperienceassessmentyn";
143152
public const string ecer_legacyworkexperiencereferenceid = "ecer_legacyworkexperiencereferenceid";
144153
public const string ecer_Name = "ecer_name";
154+
public const string ecer_NameofEmployer = "ecer_nameofemployer";
145155
public const string ecer_Origin = "ecer_origin";
146156
public const string ecer_originName = "ecer_originname";
147157
public const string ecer_OtherChildProgramType = "ecer_otherchildprogramtype";
@@ -182,6 +192,8 @@ public partial class Fields
182192
public const string ecer_workexperienceref_Applicantid = "ecer_workexperienceref_Applicantid";
183193
public const string ecer_workexperienceref_Applicationid_ecer = "ecer_workexperienceref_Applicationid_ecer";
184194
public const string ecer_workexperienceref_currentcertificate_ecer_certificate = "ecer_workexperienceref_currentcertificate_ecer_certificate";
195+
public const string ecer_WorkExperienceRef_ecer_Country_ecer_Country = "ecer_WorkExperienceRef_ecer_Country_ecer_Country";
196+
public const string ecer_WorkExperienceRef_ecer_ICRAEligibilityAssessment_ecer_ICRAEligibilityAssessment = "ecer_WorkExperienceRef_ecer_ICRAEligibilityAssessment_ecer_ICRAEligibilityAssessment";
185197
public const string ecer_workexperienceref_RefCertifiedProvinceId = "ecer_workexperienceref_RefCertifiedProvinceId";
186198
public const string ecer_WorkExperienceRefId = "ecer_workexperiencerefid";
187199
public const string Id = "ecer_workexperiencerefid";
@@ -477,6 +489,38 @@ public string ecer_ApplicantNOTQualifiedReason
477489
}
478490
}
479491

492+
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_applicantworkchildren")]
493+
public virtual ecer_YesNoNull? ecer_Applicantworkchildren
494+
{
495+
[System.Diagnostics.DebuggerNonUserCode()]
496+
get
497+
{
498+
return ((ecer_YesNoNull?)(EntityOptionSetEnum.GetEnum(this, "ecer_applicantworkchildren")));
499+
}
500+
[System.Diagnostics.DebuggerNonUserCode()]
501+
set
502+
{
503+
this.SetAttributeValue("ecer_applicantworkchildren", value.HasValue ? new Microsoft.Xrm.Sdk.OptionSetValue((int)value) : null);
504+
}
505+
}
506+
507+
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_applicantworkchildrenname")]
508+
public string ecer_applicantworkchildrenName
509+
{
510+
[System.Diagnostics.DebuggerNonUserCode()]
511+
get
512+
{
513+
if (this.FormattedValues.Contains("ecer_applicantworkchildren"))
514+
{
515+
return this.FormattedValues["ecer_applicantworkchildren"];
516+
}
517+
else
518+
{
519+
return default(string);
520+
}
521+
}
522+
}
523+
480524
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_applicationid")]
481525
public Microsoft.Xrm.Sdk.EntityReference ecer_Applicationid
482526
{
@@ -979,6 +1023,38 @@ public string ecer_CompetenceImplementECECurriculumReason
9791023
}
9801024
}
9811025

1026+
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_country")]
1027+
public Microsoft.Xrm.Sdk.EntityReference ecer_Country
1028+
{
1029+
[System.Diagnostics.DebuggerNonUserCode()]
1030+
get
1031+
{
1032+
return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ecer_country");
1033+
}
1034+
[System.Diagnostics.DebuggerNonUserCode()]
1035+
set
1036+
{
1037+
this.SetAttributeValue("ecer_country", value);
1038+
}
1039+
}
1040+
1041+
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_countryname")]
1042+
public string ecer_CountryName
1043+
{
1044+
[System.Diagnostics.DebuggerNonUserCode()]
1045+
get
1046+
{
1047+
if (this.FormattedValues.Contains("ecer_country"))
1048+
{
1049+
return this.FormattedValues["ecer_country"];
1050+
}
1051+
else
1052+
{
1053+
return default(string);
1054+
}
1055+
}
1056+
}
1057+
9821058
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_currentcertificate")]
9831059
public Microsoft.Xrm.Sdk.EntityReference ecer_currentcertificate
9841060
{
@@ -1086,6 +1162,38 @@ public string ecer_FirstName
10861162
}
10871163
}
10881164

1165+
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_icraeligibilityassessment")]
1166+
public Microsoft.Xrm.Sdk.EntityReference ecer_ICRAEligibilityAssessment
1167+
{
1168+
[System.Diagnostics.DebuggerNonUserCode()]
1169+
get
1170+
{
1171+
return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ecer_icraeligibilityassessment");
1172+
}
1173+
[System.Diagnostics.DebuggerNonUserCode()]
1174+
set
1175+
{
1176+
this.SetAttributeValue("ecer_icraeligibilityassessment", value);
1177+
}
1178+
}
1179+
1180+
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_icraeligibilityassessmentname")]
1181+
public string ecer_ICRAEligibilityAssessmentName
1182+
{
1183+
[System.Diagnostics.DebuggerNonUserCode()]
1184+
get
1185+
{
1186+
if (this.FormattedValues.Contains("ecer_icraeligibilityassessment"))
1187+
{
1188+
return this.FormattedValues["ecer_icraeligibilityassessment"];
1189+
}
1190+
else
1191+
{
1192+
return default(string);
1193+
}
1194+
}
1195+
}
1196+
10891197
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_inviteagain")]
10901198
public System.Nullable<bool> ecer_InviteAgain
10911199
{
@@ -1332,6 +1440,21 @@ public string ecer_Name
13321440
}
13331441
}
13341442

1443+
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_nameofemployer")]
1444+
public string ecer_NameofEmployer
1445+
{
1446+
[System.Diagnostics.DebuggerNonUserCode()]
1447+
get
1448+
{
1449+
return this.GetAttributeValue<string>("ecer_nameofemployer");
1450+
}
1451+
[System.Diagnostics.DebuggerNonUserCode()]
1452+
set
1453+
{
1454+
this.SetAttributeValue("ecer_nameofemployer", value);
1455+
}
1456+
}
1457+
13351458
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_origin")]
13361459
public virtual ecer_Origin? ecer_Origin
13371460
{
@@ -2468,6 +2591,47 @@ public ECER.Utilities.DataverseSdk.Model.ecer_Certificate ecer_workexperienceref
24682591
}
24692592
}
24702593

2594+
/// <summary>
2595+
/// N:1 ecer_WorkExperienceRef_ecer_Country_ecer_Country
2596+
/// </summary>
2597+
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_country")]
2598+
[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ecer_WorkExperienceRef_ecer_Country_ecer_Country")]
2599+
public ECER.Utilities.DataverseSdk.Model.ecer_Country ecer_WorkExperienceRef_ecer_Country_ecer_Country
2600+
{
2601+
[System.Diagnostics.DebuggerNonUserCode()]
2602+
get
2603+
{
2604+
return this.GetRelatedEntity<ECER.Utilities.DataverseSdk.Model.ecer_Country>("ecer_WorkExperienceRef_ecer_Country_ecer_Country", null);
2605+
}
2606+
[System.Diagnostics.DebuggerNonUserCode()]
2607+
set
2608+
{
2609+
this.SetRelatedEntity<ECER.Utilities.DataverseSdk.Model.ecer_Country>("ecer_WorkExperienceRef_ecer_Country_ecer_Country", null, value);
2610+
}
2611+
}
2612+
2613+
/// <summary>
2614+
/// N:1 ecer_WorkExperienceRef_ecer_ICRAEligibilityAssessment_ecer_ICRAEligibilityAssessment
2615+
/// </summary>
2616+
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_icraeligibilityassessment")]
2617+
[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ecer_WorkExperienceRef_ecer_ICRAEligibilityAssessment_ecer_ICRAEligibilityAssessm" +
2618+
"ent")]
2619+
public ECER.Utilities.DataverseSdk.Model.ecer_ICRAEligibilityAssessment ecer_WorkExperienceRef_ecer_ICRAEligibilityAssessment_ecer_ICRAEligibilityAssessment
2620+
{
2621+
[System.Diagnostics.DebuggerNonUserCode()]
2622+
get
2623+
{
2624+
return this.GetRelatedEntity<ECER.Utilities.DataverseSdk.Model.ecer_ICRAEligibilityAssessment>("ecer_WorkExperienceRef_ecer_ICRAEligibilityAssessment_ecer_ICRAEligibilityAssessm" +
2625+
"ent", null);
2626+
}
2627+
[System.Diagnostics.DebuggerNonUserCode()]
2628+
set
2629+
{
2630+
this.SetRelatedEntity<ECER.Utilities.DataverseSdk.Model.ecer_ICRAEligibilityAssessment>("ecer_WorkExperienceRef_ecer_ICRAEligibilityAssessment_ecer_ICRAEligibilityAssessm" +
2631+
"ent", null, value);
2632+
}
2633+
}
2634+
24712635
/// <summary>
24722636
/// N:1 ecer_workexperienceref_RefCertifiedProvinceId
24732637
/// </summary>

0 commit comments

Comments
 (0)