コード例 #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="shipperID">Initial value of the ShipperID property.</param>
 /// <param name="companyName">Initial value of the CompanyName property.</param>
 public static Shippers CreateShippers(global::System.Int32 shipperID, global::System.String companyName)
 {
     Shippers shippers = new Shippers();
     shippers.ShipperID = shipperID;
     shippers.CompanyName = companyName;
     return shippers;
 }