Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ActivityCounselors EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToActivityCounselors(ActivityCounselor activityCounselor)
 {
     base.AddObject("ActivityCounselors", activityCounselor);
 }
Пример #2
0
 /// <summary>
 /// Create a new ActivityCounselor object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="assigned">Initial value of the Assigned property.</param>
 /// <param name="asPermanent">Initial value of the AsPermanent property.</param>
 /// <param name="numberOfRound">Initial value of the NumberOfRound property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="activityCounselor_Activity">Initial value of the ActivityCounselor_Activity property.</param>
 /// <param name="activityCounselor_Counselor">Initial value of the ActivityCounselor_Counselor property.</param>
 public static ActivityCounselor CreateActivityCounselor(global::System.Int32 id, global::System.Boolean assigned, global::System.Boolean asPermanent, global::System.Int32 numberOfRound, global::System.Byte[] rowVersion, global::System.Int32 activityCounselor_Activity, global::System.Int32 activityCounselor_Counselor)
 {
     ActivityCounselor activityCounselor = new ActivityCounselor();
     activityCounselor.Id = id;
     activityCounselor.Assigned = assigned;
     activityCounselor.AsPermanent = asPermanent;
     activityCounselor.NumberOfRound = numberOfRound;
     activityCounselor.RowVersion = rowVersion;
     activityCounselor.ActivityCounselor_Activity = activityCounselor_Activity;
     activityCounselor.ActivityCounselor_Counselor = activityCounselor_Counselor;
     return activityCounselor;
 }