示例#1
0
        /// <summary>
        /// Create a new ReportDataClass object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="total">Initial value of the Total property.</param>
        public static ReportDataClass CreateReportDataClass(global::System.Int32 id, global::System.Decimal total)
        {
            ReportDataClass reportDataClass = new ReportDataClass();

            reportDataClass.Id    = id;
            reportDataClass.Total = total;
            return(reportDataClass);
        }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ReportDataClasses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToReportDataClasses(ReportDataClass reportDataClass)
 {
     base.AddObject("ReportDataClasses", reportDataClass);
 }