Inheritance: System.Data.Objects.DataClasses.EntityObject
コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Shippers EntitySet.
 /// </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 ShipperID.</param>
 public static Shippers CreateShippers(int shipperID)
 {
     Shippers shippers = new Shippers();
     shippers.ShipperID = shipperID;
     return shippers;
 }