/// <summary>
 /// Create a new PageVersion object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="pageId">Initial value of the PageId property.</param>
 /// <param name="adminName">Initial value of the AdminName property.</param>
 /// <param name="availableScheduleId">Initial value of the AvailableScheduleId property.</param>
 /// <param name="availableStartDateUtc">Initial value of the AvailableStartDateUtc property.</param>
 /// <param name="availableEndDateUtc">Initial value of the AvailableEndDateUtc property.</param>
 /// <param name="serializedContent">Initial value of the SerializedContent property.</param>
 /// <param name="publishedStatus">Initial value of the PublishedStatus property.</param>
 /// <param name="areas">Initial value of the Areas property.</param>
 public static PageVersion CreatePageVersion(global::System.Int64 id, global::System.String pageId, global::System.String adminName, global::System.Int64 availableScheduleId, global::System.DateTime availableStartDateUtc, global::System.DateTime availableEndDateUtc, global::System.String serializedContent, global::System.Int32 publishedStatus, global::System.String areas)
 {
     PageVersion pageVersion = new PageVersion();
     pageVersion.Id = id;
     pageVersion.PageId = pageId;
     pageVersion.AdminName = adminName;
     pageVersion.AvailableScheduleId = availableScheduleId;
     pageVersion.AvailableStartDateUtc = availableStartDateUtc;
     pageVersion.AvailableEndDateUtc = availableEndDateUtc;
     pageVersion.SerializedContent = serializedContent;
     pageVersion.PublishedStatus = publishedStatus;
     pageVersion.Areas = areas;
     return pageVersion;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the PageVersions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPageVersions(PageVersion pageVersion)
 {
     base.AddObject("PageVersions", pageVersion);
 }