Example #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="learnerPersonalRefId">The ID (GUID) of the learner whose contact this is.</param>
 ///<param name="contactPersonalRefId">The ID (GUID) of this contact.</param>
 ///<param name="relationship">Defines the relationship of the contact to the learner. CBDS: 100166</param>
 ///<param name="contactFlags">Contains Yes/No characteristics of the contact person's role. Provide a Yes value for all that apply. Otherwise No is assumed.  At least one of the child elements of ContactFlags must have a Yes value.</param>
 ///
 public LearnerContact( string learnerPersonalRefId, string contactPersonalRefId, Relationship relationship, ContactFlags contactFlags )
     : base(Adk.SifVersion, LearnerDTD.LEARNERCONTACT)
 {
     this.LearnerPersonalRefId = learnerPersonalRefId;
     this.ContactPersonalRefId = contactPersonalRefId;
     this.SetRelationship( relationship );
     this.ContactFlags = contactFlags;
 }
Example #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="learnerPersonalRefId">The ID (GUID) of the learner whose contact this is.</param>
 ///<param name="contactPersonalRefId">The ID (GUID) of this contact.</param>
 ///<param name="relationship">Defines the relationship of the contact to the learner. CBDS: 100166</param>
 ///<param name="contactFlags">Contains Yes/No characteristics of the contact person's role. Provide a Yes value for all that apply. Otherwise No is assumed.  At least one of the child elements of ContactFlags must have a Yes value.</param>
 ///
 public LearnerContact(string learnerPersonalRefId, string contactPersonalRefId, Relationship relationship, ContactFlags contactFlags) : base(Adk.SifVersion, LearnerDTD.LEARNERCONTACT)
 {
     this.LearnerPersonalRefId = learnerPersonalRefId;
     this.ContactPersonalRefId = contactPersonalRefId;
     this.SetRelationship(relationship);
     this.ContactFlags = contactFlags;
 }