Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Stiris EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStiris(Stiri stiri)
 {
     base.AddObject("Stiris", stiri);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new Stiri object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="stire">Initial value of the Stire property.</param>
 /// <param name="data">Initial value of the Data property.</param>
 /// <param name="titlu">Initial value of the Titlu property.</param>
 public static Stiri CreateStiri(global::System.Int32 id, global::System.String stire, global::System.DateTime data, global::System.String titlu)
 {
     Stiri stiri = new Stiri();
     stiri.ID = id;
     stiri.Stire = stire;
     stiri.Data = data;
     stiri.Titlu = titlu;
     return stiri;
 }