Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Strikes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStrikes(Strike strike)
 {
     base.AddObject("Strikes", strike);
 }
Esempio n. 2
0
 /// <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;
 }