/// <summary> /// Deprecated Method for adding a new object to the Rigs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRigs(Rig rig) { base.AddObject("Rigs", rig); }
/// <summary> /// Create a new Rig object. /// </summary> /// <param name="rigId">Initial value of the RigId property.</param> /// <param name="venueId">Initial value of the VenueId property.</param> /// <param name="boardId">Initial value of the BoardId property.</param> /// <param name="sailId">Initial value of the SailId property.</param> /// <param name="boomId">Initial value of the BoomId property.</param> /// <param name="finId">Initial value of the FinId property.</param> public static Rig CreateRig(global::System.Int32 rigId, global::System.Int32 venueId, global::System.Int32 boardId, global::System.Int32 sailId, global::System.Int32 boomId, global::System.Int32 finId) { Rig rig = new Rig(); rig.RigId = rigId; rig.VenueId = venueId; rig.BoardId = boardId; rig.SailId = sailId; rig.BoomId = boomId; rig.FinId = finId; return rig; }