Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Supports EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSupports(Support support)
 {
     base.AddObject("Supports", support);
 }
Example #2
0
 /// <summary>
 /// Create a new Support object.
 /// </summary>
 /// <param name="supportID">Initial value of the SupportID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="phone">Initial value of the Phone property.</param>
 /// <param name="yahoo">Initial value of the Yahoo property.</param>
 /// <param name="skype">Initial value of the Skype property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 public static Support CreateSupport(global::System.Int32 supportID, global::System.String name, global::System.String phone, global::System.String yahoo, global::System.String skype, global::System.Int32 type, global::System.Int32 status)
 {
     Support support = new Support();
     support.SupportID = supportID;
     support.Name = name;
     support.Phone = phone;
     support.Yahoo = yahoo;
     support.Skype = skype;
     support.Type = type;
     support.Status = status;
     return support;
 }