Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Job object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="employee">Initial value of the Employee property.</param>
 public static Job CreateJob(global::System.Int32 id, global::System.Int32 employee)
 {
     Job job = new Job();
     job.Id = id;
     job.Employee = employee;
     return job;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Jobs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToJobs(Job job)
 {
     base.AddObject("Jobs", job);
 }