/// <summary>
        /// Create a new CarScheduling object.
        /// </summary>
        /// <param name="id">Initial value of the ID property.</param>
        /// <param name="allDay">Initial value of the AllDay property.</param>
        public static CarScheduling CreateCarScheduling(global::System.Int32 id, global::System.Boolean allDay)
        {
            CarScheduling carScheduling = new CarScheduling();

            carScheduling.ID     = id;
            carScheduling.AllDay = allDay;
            return(carScheduling);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the CarSchedulings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCarSchedulings(CarScheduling carScheduling)
 {
     base.AddObject("CarSchedulings", carScheduling);
 }