1. Get the name when creating the class. After you change the name, you cannot change the class name, for example, detaset1. If you want to use humanresourse later, you can only use the name.
// You can change the name by use the name propertty. The XSD name does affect he dataset class name. So you must change the dataset class name.
2. How to reference. For example, if the HR dataset class is created and referenced
Using hrtableadapters
Because there are many tables, there can be many tableadapters in HR. So it should be used in this way.
How to Create hrtableadapter object:
Just use hrtableadapters. tableadptersname_create TNC = new hrtableadapters. tableadptersname_create ().
How to Use datatable?
Hrname_datatable HDT = TNC. getdata ();
3. How to see the definition function code.
I don't have any other good ways to access the definition, just use "go to definition" in the vs code tools.