Ejemplo n.º 1
0
 /// <summary>
 /// Create a new volunteer object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="dateCreated">Initial value of the DateCreated property.</param>
 /// <param name="dateUpdated">Initial value of the DateUpdated property.</param>
 /// <param name="dateRegistered">Initial value of the DateRegistered property.</param>
 public static volunteer Createvolunteer(global::System.Int32 id, global::System.DateTime dateCreated, global::System.DateTime dateUpdated, global::System.DateTime dateRegistered)
 {
     volunteer volunteer = new volunteer();
     volunteer.Id = id;
     volunteer.DateCreated = dateCreated;
     volunteer.DateUpdated = dateUpdated;
     volunteer.DateRegistered = dateRegistered;
     return volunteer;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the volunteer EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTovolunteer(volunteer volunteer)
 {
     base.AddObject("volunteer", volunteer);
 }