/// <summary> /// Deprecated Method for adding a new object to the Strike EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStrike(Strike strike) { base.AddObject("Strike", strike); }
/// <summary> /// Create a new Strike object. /// </summary> /// <param name="strikeID">Initial value of the StrikeID property.</param> /// <param name="projectID">Initial value of the ProjectID property.</param> /// <param name="statusID">Initial value of the StatusID property.</param> public static Strike CreateStrike(global::System.Int32 strikeID, global::System.Int32 projectID, global::System.Int32 statusID) { Strike strike = new Strike(); strike.StrikeID = strikeID; strike.ProjectID = projectID; strike.StatusID = statusID; return strike; }