Timesheet property not accessible in TimesheetDataSet??!!

A

asadim

How is it that DataTables such as Headers and Actuals which are parts of the
TimesheetDataSet class are accessible as properties but the Timesheet
DataTable is not??

e.g.
WebSvcTimesheet.TimesheetDataSet tds = new
WebSvcTimesheet.TimesheetDataSet();

// tds.Actuals exists
// tds.Timesheets doesn't exist

I used the following to discover that there's actually a Timesheet table
inside the TimesheetDataSet class:

foreach (DataTable t in tds.Tables)
{
Console.WriteLine(t.TableName);
}

Please note that before running the loop I populated tds using the Merge
method. Here's the output:

Headers
Lines
Actuals
CustomFields
Actions
Audits
Timesheets

Thanks for any help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top