Inheritance: System.Data.Objects.DataClasses.EntityObject
コード例 #1
0
ファイル: DB.Designer.cs プロジェクト: friism/folketsting
 /// <summary>
 /// Deprecated Method for adding a new object to the CommitteeTrip EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCommitteeTrip(CommitteeTrip committeeTrip)
 {
     base.AddObject("CommitteeTrip", committeeTrip);
 }
コード例 #2
0
ファイル: DB.Designer.cs プロジェクト: friism/folketsting
 /// <summary>
 /// Create a new CommitteeTrip object.
 /// </summary>
 /// <param name="committeeTripId">Initial value of the CommitteeTripId property.</param>
 /// <param name="committeeId">Initial value of the CommitteeId property.</param>
 /// <param name="startDate">Initial value of the StartDate property.</param>
 /// <param name="endDate">Initial value of the EndDate property.</param>
 public static CommitteeTrip CreateCommitteeTrip(global::System.Int32 committeeTripId, global::System.Int32 committeeId, global::System.DateTime startDate, global::System.DateTime endDate)
 {
     CommitteeTrip committeeTrip = new CommitteeTrip();
     committeeTrip.CommitteeTripId = committeeTripId;
     committeeTrip.CommitteeId = committeeId;
     committeeTrip.StartDate = startDate;
     committeeTrip.EndDate = endDate;
     return committeeTrip;
 }