Exemple #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Tool EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTool(Tool tool)
 {
     base.AddObject("Tool", tool);
 }
Exemple #2
0
 /// <summary>
 /// Create a new Tool object.
 /// </summary>
 /// <param name="toolId">Initial value of the ToolId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="k_number">Initial value of the K_number property.</param>
 /// <param name="active">Initial value of the Active property.</param>
 public static Tool CreateTool(global::System.Int32 toolId, global::System.String name, global::System.Int32 k_number, global::System.Boolean active)
 {
     Tool tool = new Tool();
     tool.ToolId = toolId;
     tool.Name = name;
     tool.K_number = k_number;
     tool.Active = active;
     return tool;
 }