/// <summary> /// Deprecated Method for adding a new object to the Plays EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPlays(Play play) { base.AddObject("Plays", play); }
/// <summary> /// Create a new Play object. /// </summary> /// <param name="playId">Initial value of the PlayId property.</param> /// <param name="childId">Initial value of the ChildId property.</param> public static Play CreatePlay(global::System.Int32 playId, global::System.Int32 childId) { Play play = new Play(); play.PlayId = playId; play.ChildId = childId; return play; }