protected override void AddValue(string value)
 {
     ToolType tt = new ToolType();
     tt.idToolType = FreeIndex;
     tt.nameToolType = value;
     EntitiesHolder.Entities.ToolType.AddObject(tt);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ToolType EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToToolType(ToolType toolType)
 {
     base.AddObject("ToolType", toolType);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Create a new ToolType object.
 /// </summary>
 /// <param name="idToolType">Initial value of the idToolType property.</param>
 /// <param name="nameToolType">Initial value of the nameToolType property.</param>
 public static ToolType CreateToolType(global::System.Decimal idToolType, global::System.String nameToolType)
 {
     ToolType toolType = new ToolType();
     toolType.idToolType = idToolType;
     toolType.nameToolType = nameToolType;
     return toolType;
 }