예제 #1
0
 /// <summary>
 /// Create a new WorkSpecification object.
 /// </summary>
 /// <param name="workSpecificationID">Initial value of the WorkSpecificationID property.</param>
 public static WorkSpecification CreateWorkSpecification(global::System.Int32 workSpecificationID)
 {
     WorkSpecification workSpecification = new WorkSpecification();
     workSpecification.WorkSpecificationID = workSpecificationID;
     return workSpecification;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the WorkSpecifications EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToWorkSpecifications(WorkSpecification workSpecification)
 {
     base.AddObject("WorkSpecifications", workSpecification);
 }