Exemplo n.º 1
0
 /// <summary>
 /// Create a new Description object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="text">Initial value of the Text property.</param>
 public static Description CreateDescription(global::System.Int32 id, global::System.String text)
 {
     Description description = new Description();
     description.Id = id;
     description.Text = text;
     return description;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Descriptions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDescriptions(Description description)
 {
     base.AddObject("Descriptions", description);
 }