public override DataTable Extract()
        {
            DateTime sd = Period;
            DateTime ed = Period.AddMonths(1);

            // Data for all clients must be selected for transferred duration calculations so always pass 0 for clientId
            var reader = new ToolDataReader(Connection);

            _ds = reader.ReadToolDataClean(sd, ed, 0, ResourceID);

            return(_ds.Tables["ToolDataClean"]);
        }
Beispiel #2
0
        public override DataTable Extract()
        {
            var reader = new ToolDataReader(Connection);

            return(reader.ReadToolDataRaw(StartDate, EndDate, ClientID));
        }