Ejemplo n.º 1
0
Archivo: Model.cs Proyecto: AiSvt/pr
 /// <summary>
 /// Deprecated Method for adding a new object to the deviationSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTodeviationSet(deviation deviation)
 {
     base.AddObject("deviationSet", deviation);
 }
Ejemplo n.º 2
0
Archivo: Model.cs Proyecto: AiSvt/pr
 /// <summary>
 /// Create a new deviation object.
 /// </summary>
 /// <param name="id_worker">Initial value of the Id_worker property.</param>
 /// <param name="name_dev">Initial value of the name_dev property.</param>
 public static deviation Createdeviation(global::System.Int32 id_worker, global::System.String name_dev)
 {
     deviation deviation = new deviation();
     deviation.Id_worker = id_worker;
     deviation.name_dev = name_dev;
     return deviation;
 }