Inheritance: System.Data.Objects.DataClasses.EntityObject
示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CommitteeTripParticipant EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCommitteeTripParticipant(CommitteeTripParticipant committeeTripParticipant)
 {
     base.AddObject("CommitteeTripParticipant", committeeTripParticipant);
 }
示例#2
0
 /// <summary>
 /// Create a new CommitteeTripParticipant object.
 /// </summary>
 /// <param name="committeeTripParticipantId">Initial value of the CommitteeTripParticipantId property.</param>
 /// <param name="committeeTripId">Initial value of the CommitteeTripId property.</param>
 /// <param name="participantId">Initial value of the ParticipantId property.</param>
 public static CommitteeTripParticipant CreateCommitteeTripParticipant(global::System.Int32 committeeTripParticipantId, global::System.Int32 committeeTripId, global::System.Int32 participantId)
 {
     CommitteeTripParticipant committeeTripParticipant = new CommitteeTripParticipant();
     committeeTripParticipant.CommitteeTripParticipantId = committeeTripParticipantId;
     committeeTripParticipant.CommitteeTripId = committeeTripId;
     committeeTripParticipant.ParticipantId = participantId;
     return committeeTripParticipant;
 }