コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Shippers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToShippers(Shippers shippers)
 {
     base.AddObject("Shippers", shippers);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Shippers object.
 /// </summary>
 /// <param name="companyName">Initial value of the CompanyName property.</param>
 /// <param name="shipperID">Initial value of the ShipperID property.</param>
 public static Shippers CreateShippers(global::System.String companyName, global::System.Int32 shipperID)
 {
     Shippers shippers = new Shippers();
     shippers.CompanyName = companyName;
     shippers.ShipperID = shipperID;
     return shippers;
 }