Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ActivityTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToActivityTypes(ActivityType activityType)
 {
     base.AddObject("ActivityTypes", activityType);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new ActivityType object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="t">Initial value of the T property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static ActivityType CreateActivityType(global::System.Int32 id, global::System.String t, global::System.Byte[] rowVersion)
 {
     ActivityType activityType = new ActivityType();
     activityType.Id = id;
     activityType.T = t;
     activityType.RowVersion = rowVersion;
     return activityType;
 }