Exemplo n.º 1
0
        /// <summary>
        /// Create a new ship object.
        /// </summary>
        /// <param name="ship_id">Initial value of the ship_id property.</param>
        public static ship Createship(global::System.Int32 ship_id)
        {
            ship ship = new ship();

            ship.ship_id = ship_id;
            return(ship);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ships EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToships(ship ship)
 {
     base.AddObject("ships", ship);
 }