/// <summary> /// Deprecated Method for adding a new object to the LastYouthPositions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLastYouthPositions(LastYouthPosition lastYouthPosition) { base.AddObject("LastYouthPositions", lastYouthPosition); }
/// <summary> /// Create a new LastYouthPosition object. /// </summary> /// <param name="clothesId">Initial value of the ClothesId property.</param> /// <param name="pictureId">Initial value of the PictureId property.</param> public static LastYouthPosition CreateLastYouthPosition(global::System.Int32 clothesId, global::System.Int32 pictureId) { LastYouthPosition lastYouthPosition = new LastYouthPosition(); lastYouthPosition.ClothesId = clothesId; lastYouthPosition.PictureId = pictureId; return lastYouthPosition; }