Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Substitute object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="word">Initial value of the Word property.</param>
 /// <param name="letter">Initial value of the Letter property.</param>
 public static Substitute CreateSubstitute(global::System.Int32 id, global::System.Int32 word, global::System.String letter)
 {
     Substitute substitute = new Substitute();
     substitute.Id = id;
     substitute.Word = word;
     substitute.Letter = letter;
     return substitute;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Substitutes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSubstitutes(Substitute substitute)
 {
     base.AddObject("Substitutes", substitute);
 }