/// <summary> /// Deprecated Method for adding a new object to the Structures EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStructures(Structure structure) { base.AddObject("Structures", structure); }
/// <summary> /// Create a new Structure object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="item">Initial value of the Item property.</param> /// <param name="product">Initial value of the Product property.</param> /// <param name="itemsNumber">Initial value of the ItemsNumber property.</param> public static Structure CreateStructure(global::System.Int32 id, global::System.Int32 item, global::System.Int32 product, global::System.Int32 itemsNumber) { Structure structure = new Structure(); structure.ID = id; structure.Item = item; structure.Product = product; structure.ItemsNumber = itemsNumber; return structure; }