Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TransportCompanies EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTransportCompanies(TransportCompany transportCompany)
 {
     base.AddObject("TransportCompanies", transportCompany);
 }
Пример #2
0
 /// <summary>
 /// Create a new TransportCompany object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 public static TransportCompany CreateTransportCompany(global::System.Int32 id)
 {
     TransportCompany transportCompany = new TransportCompany();
     transportCompany.id = id;
     return transportCompany;
 }