/// <summary> /// Deprecated Method for adding a new object to the Remain EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRemain(Remain remain) { base.AddObject("Remain", remain); }
/// <summary> /// Create a new Remain object. /// </summary> /// <param name="remainID">Initial value of the RemainID property.</param> /// <param name="storehouseID">Initial value of the StorehouseID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="address">Initial value of the Address property.</param> public static Remain CreateRemain(global::System.Int32 remainID, global::System.Int32 storehouseID, global::System.String name, global::System.String address) { Remain remain = new Remain(); remain.RemainID = remainID; remain.StorehouseID = storehouseID; remain.Name = name; remain.Address = address; return remain; }