Example #1
0
 public abstract int CreateUpdateDeleteReport( Report report, DataProviderAction action );
Example #2
0
        public static Report PopulateReportFromIDataReader( IDataReader dr )
        {
            Report report = new Report();

            report.IsActive			= Convert.ToBoolean(dr["Active"]);
            report.ReportCommand	= Convert.ToString(dr["ReportCommand"]);
            report.ReportId			= Convert.ToInt32(dr["ReportId"]);
            report.ReportName		= Convert.ToString(dr["ReportName"]);
            report.ReportScript		= Convert.ToString(dr["ReportScript"]);

            return report;
        }