/// <summary> /// Create a new Unit1Item object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="id_Schedule">Initial value of the Id_Schedule property.</param> /// <param name="id_Unit">Initial value of the Id_Unit property.</param> public static Unit1Item CreateUnit1Item(global::System.Int32 id, global::System.Int32 id_Schedule, global::System.Int32 id_Unit) { Unit1Item unit1Item = new Unit1Item(); unit1Item.Id = id; unit1Item.Id_Schedule = id_Schedule; unit1Item.Id_Unit = id_Unit; return(unit1Item); }
/// <summary> /// Deprecated Method for adding a new object to the Unit1 EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUnit1(Unit1Item unit1Item) { base.AddObject("Unit1", unit1Item); }
/// <summary> /// Deprecated Method for adding a new object to the Unit1 EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUnit1(Unit1Item unit1Item) { base.AddObject("Unit1", unit1Item); }
/// <summary> /// Create a new Unit1Item object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="id_Schedule">Initial value of the Id_Schedule property.</param> /// <param name="id_Unit">Initial value of the Id_Unit property.</param> public static Unit1Item CreateUnit1Item(global::System.Int32 id, global::System.Int32 id_Schedule, global::System.Int32 id_Unit) { Unit1Item unit1Item = new Unit1Item(); unit1Item.Id = id; unit1Item.Id_Schedule = id_Schedule; unit1Item.Id_Unit = id_Unit; return unit1Item; }