Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ActivityStatus EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToActivityStatus(ActivityStatus activityStatus)
 {
     base.AddObject("ActivityStatus", activityStatus);
 }
Пример #2
0
 /// <summary>
 /// Create a new ActivityStatus object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="internalId">Initial value of the InternalId property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static ActivityStatus CreateActivityStatus(global::System.Int32 id, global::System.String title, global::System.Int32 internalId, global::System.Byte[] rowVersion)
 {
     ActivityStatus activityStatus = new ActivityStatus();
     activityStatus.Id = id;
     activityStatus.Title = title;
     activityStatus.InternalId = internalId;
     activityStatus.RowVersion = rowVersion;
     return activityStatus;
 }