/// <summary>
        /// Create a new ChartDetail object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="chartId">Initial value of the ChartId property.</param>
        public static ChartDetail CreateChartDetail(global::System.Int32 id, global::System.Guid chartId)
        {
            ChartDetail chartDetail = new ChartDetail();

            chartDetail.Id      = id;
            chartDetail.ChartId = chartId;
            return(chartDetail);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the ChartDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToChartDetails(ChartDetail chartDetail)
 {
     base.AddObject("ChartDetails", chartDetail);
 }