/// <summary>
        /// Create a new ParkingTicket object.
        /// </summary>
        /// <param name="ticketId">Initial value of the TicketId property.</param>
        /// <param name="amount">Initial value of the Amount property.</param>
        /// <param name="createDate">Initial value of the CreateDate property.</param>
        /// <param name="paid">Initial value of the Paid property.</param>
        /// <param name="timeStamp">Initial value of the TimeStamp property.</param>
        public static ParkingTicket CreateParkingTicket(global::System.Int32 ticketId, global::System.Decimal amount, global::System.DateTime createDate, global::System.Boolean paid, global::System.Byte[] timeStamp)
        {
            ParkingTicket parkingTicket = new ParkingTicket();

            parkingTicket.TicketId   = ticketId;
            parkingTicket.Amount     = amount;
            parkingTicket.CreateDate = createDate;
            parkingTicket.Paid       = paid;
            parkingTicket.TimeStamp  = timeStamp;
            return(parkingTicket);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the ParkingTickets EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToParkingTickets(ParkingTicket parkingTicket)
 {
     base.AddObject("ParkingTickets", parkingTicket);
 }