示例#1
0
文件: Model.cs 项目: 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);
 }
示例#2
0
文件: Model.cs 项目: 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;
 }