コード例 #1
0
ファイル: EMSData.cs プロジェクト: WolfgangLorenz/EMS-Light
 /// <summary>
 /// Create a new Registration 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="isIML">Initial value of the IsIML property.</param>
 /// <param name="hasBustranferSaturday">Initial value of the HasBustranferSaturday property.</param>
 /// <param name="hasAwardExtraBadge">Initial value of the HasAwardExtraBadge property.</param>
 /// <param name="hasLateRegistrationFee">Initial value of the HasLateRegistrationFee property.</param>
 /// <param name="numberOfNightsInAccomodation">Initial value of the NumberOfNightsInAccomodation property.</param>
 /// <param name="isArrivalByTrain">Initial value of the IsArrivalByTrain property.</param>
 /// <param name="hasBuffetFriday">Initial value of the HasBuffetFriday property.</param>
 /// <param name="hasBuffetSaturday">Initial value of the HasBuffetSaturday property.</param>
 /// <param name="hasAwardHelmet">Initial value of the HasAwardHelmet property.</param>
 /// <param name="hasAwardRibbon">Initial value of the HasAwardRibbon property.</param>
 /// <param name="timestamp">Initial value of the Timestamp property.</param>
 /// <param name="isStartcardPrinted">Initial value of the IsStartcardPrinted property.</param>
 /// <param name="isReadyToPrint">Initial value of the IsReadyToPrint property.</param>
 /// <param name="isBoardAndLodgingsCardPrinted">Initial value of the IsBoardAndLodgingsCardPrinted property.</param>
 /// <param name="occasionID">Initial value of the OccasionID property.</param>
 /// <param name="personID">Initial value of the PersonID property.</param>
 /// <param name="mdaParticipationTypeID">Initial value of the MdaParticipationTypeID property.</param>
 public static Registration CreateRegistration(global::System.Int32 id, global::System.Guid guid, global::System.String createdBy, global::System.DateTime createdAt, global::System.Boolean isIML, global::System.Boolean hasBustranferSaturday, global::System.Boolean hasAwardExtraBadge, global::System.Boolean hasLateRegistrationFee, global::System.Int32 numberOfNightsInAccomodation, global::System.Boolean isArrivalByTrain, global::System.Boolean hasBuffetFriday, global::System.Boolean hasBuffetSaturday, global::System.Boolean hasAwardHelmet, global::System.Boolean hasAwardRibbon, global::System.Byte[] timestamp, global::System.Boolean isStartcardPrinted, global::System.Boolean isReadyToPrint, global::System.Boolean isBoardAndLodgingsCardPrinted, global::System.Int32 occasionID, global::System.Int32 personID, global::System.Int32 mdaParticipationTypeID)
 {
     Registration registration = new Registration();
     registration.ID = id;
     registration.Guid = guid;
     registration.CreatedBy = createdBy;
     registration.CreatedAt = createdAt;
     registration.IsIML = isIML;
     registration.HasBustranferSaturday = hasBustranferSaturday;
     registration.HasAwardExtraBadge = hasAwardExtraBadge;
     registration.HasLateRegistrationFee = hasLateRegistrationFee;
     registration.NumberOfNightsInAccomodation = numberOfNightsInAccomodation;
     registration.IsArrivalByTrain = isArrivalByTrain;
     registration.HasBuffetFriday = hasBuffetFriday;
     registration.HasBuffetSaturday = hasBuffetSaturday;
     registration.HasAwardHelmet = hasAwardHelmet;
     registration.HasAwardRibbon = hasAwardRibbon;
     registration.Timestamp = timestamp;
     registration.IsStartcardPrinted = isStartcardPrinted;
     registration.IsReadyToPrint = isReadyToPrint;
     registration.IsBoardAndLodgingsCardPrinted = isBoardAndLodgingsCardPrinted;
     registration.OccasionID = occasionID;
     registration.PersonID = personID;
     registration.MdaParticipationTypeID = mdaParticipationTypeID;
     return registration;
 }
コード例 #2
0
ファイル: EMSData.cs プロジェクト: WolfgangLorenz/EMS-Light
 /// <summary>
 /// Deprecated Method for adding a new object to the Registrations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRegistrations(Registration registration)
 {
     base.AddObject("Registrations", registration);
 }