예제 #1
0
 /// <summary>
 /// Create a new Participation object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="guid">Initial value of the Guid property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="createdAt">Initial value of the CreatedAt property.</param>
 /// <param name="isSuccessfulSaturday">Initial value of the IsSuccessfulSaturday property.</param>
 /// <param name="isSuccessfulSunday">Initial value of the IsSuccessfulSunday property.</param>
 /// <param name="timestamp">Initial value of the Timestamp property.</param>
 /// <param name="isCertificatePrinted">Initial value of the IsCertificatePrinted property.</param>
 /// <param name="occasionID">Initial value of the OccasionID property.</param>
 /// <param name="personID">Initial value of the PersonID property.</param>
 public static Participation CreateParticipation(global::System.Int32 id, global::System.Guid guid, global::System.String createdBy, global::System.DateTime createdAt, global::System.Boolean isSuccessfulSaturday, global::System.Boolean isSuccessfulSunday, global::System.Byte[] timestamp, global::System.Boolean isCertificatePrinted, global::System.Int32 occasionID, global::System.Int32 personID)
 {
     Participation participation = new Participation();
     participation.ID = id;
     participation.Guid = guid;
     participation.CreatedBy = createdBy;
     participation.CreatedAt = createdAt;
     participation.IsSuccessfulSaturday = isSuccessfulSaturday;
     participation.IsSuccessfulSunday = isSuccessfulSunday;
     participation.Timestamp = timestamp;
     participation.IsCertificatePrinted = isCertificatePrinted;
     participation.OccasionID = occasionID;
     participation.PersonID = personID;
     return participation;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Participations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToParticipations(Participation participation)
 {
     base.AddObject("Participations", participation);
 }