/// <summary>
 /// Create a new Activity object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="productName">Initial value of the ProductName property.</param>
 /// <param name="machineId">Initial value of the MachineId property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 /// <param name="sessionId">Initial value of the SessionId property.</param>
 /// <param name="iPAddress">Initial value of the IPAddress property.</param>
 public static Activity CreateActivity(global::System.Int32 id, global::System.String productName, global::System.String machineId, global::System.DateTime created, global::System.Guid sessionId, global::System.String iPAddress)
 {
     Activity activity = new Activity();
     activity.Id = id;
     activity.ProductName = productName;
     activity.MachineId = machineId;
     activity.Created = created;
     activity.SessionId = sessionId;
     activity.IPAddress = iPAddress;
     return activity;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Activities EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToActivities(Activity activity)
 {
     base.AddObject("Activities", activity);
 }