コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DEventParticipantComments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDEventParticipantComments(DEventParticipantComment dEventParticipantComment)
 {
     base.AddObject("DEventParticipantComments", dEventParticipantComment);
 }
コード例 #2
0
 /// <summary>
 /// Create a new DEventParticipantComment object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="participantId">Initial value of the ParticipantId property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 /// <param name="authorId">Initial value of the AuthorId property.</param>
 /// <param name="text">Initial value of the Text property.</param>
 public static DEventParticipantComment CreateDEventParticipantComment(global::System.Guid id, global::System.Guid participantId, global::System.DateTime created, global::System.Int32 authorId, global::System.String text)
 {
     DEventParticipantComment dEventParticipantComment = new DEventParticipantComment();
     dEventParticipantComment.Id = id;
     dEventParticipantComment.ParticipantId = participantId;
     dEventParticipantComment.Created = created;
     dEventParticipantComment.AuthorId = authorId;
     dEventParticipantComment.Text = text;
     return dEventParticipantComment;
 }