/// <summary>
        /// Create a new DinnerReadModel object.
        /// </summary>
        /// <param name="dinnerId">Initial value of the DinnerId property.</param>
        /// <param name="title">Initial value of the Title property.</param>
        /// <param name="eventDate">Initial value of the EventDate property.</param>
        /// <param name="description">Initial value of the Description property.</param>
        public static DinnerReadModel CreateDinnerReadModel(global::System.Guid dinnerId, global::System.String title, global::System.DateTime eventDate, global::System.String description)
        {
            DinnerReadModel dinnerReadModel = new DinnerReadModel();

            dinnerReadModel.DinnerId    = dinnerId;
            dinnerReadModel.Title       = title;
            dinnerReadModel.EventDate   = eventDate;
            dinnerReadModel.Description = description;
            return(dinnerReadModel);
        }
 /// <summary>
 /// Create a new DinnerReadModel object.
 /// </summary>
 /// <param name="dinnerId">Initial value of the DinnerId property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="eventDate">Initial value of the EventDate property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 public static DinnerReadModel CreateDinnerReadModel(global::System.Guid dinnerId, global::System.String title, global::System.DateTime eventDate, global::System.String description)
 {
     DinnerReadModel dinnerReadModel = new DinnerReadModel();
     dinnerReadModel.DinnerId = dinnerId;
     dinnerReadModel.Title = title;
     dinnerReadModel.EventDate = eventDate;
     dinnerReadModel.Description = description;
     return dinnerReadModel;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the DinnerReadModels EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDinnerReadModels(DinnerReadModel dinnerReadModel)
 {
     base.AddObject("DinnerReadModels", dinnerReadModel);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the DinnerReadModels EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDinnerReadModels(DinnerReadModel dinnerReadModel)
 {
     base.AddObject("DinnerReadModels", dinnerReadModel);
 }