/// <summary> /// Deprecated Method for adding a new object to the Sails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSails(Sail sail) { base.AddObject("Sails", sail); }
/// <summary> /// Create a new Sail object. /// </summary> /// <param name="sailId">Initial value of the SailId property.</param> /// <param name="sailName">Initial value of the SailName property.</param> /// <param name="size">Initial value of the Size property.</param> public static Sail CreateSail(global::System.Int32 sailId, global::System.String sailName, global::System.Decimal size) { Sail sail = new Sail(); sail.SailId = sailId; sail.SailName = sailName; sail.Size = size; return sail; }