Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Texts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTexts(Text text)
 {
     base.AddObject("Texts", text);
 }
Example #2
0
 /// <summary>
 /// Create a new Text object.
 /// </summary>
 /// <param name="data">Initial value of the Data property.</param>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Text CreateText(global::System.String data, global::System.Int32 id, global::System.String name)
 {
     Text text = new Text();
     text.Data = data;
     text.Id = id;
     text.Name = name;
     return text;
 }