You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The name of the database table or view which we should retrieve data from.
Returns
DataTable
One table object returned containing all rows and columns in the specified SQL object.
Exceptions
ObjectNotFound
Couldn't find the database object you were trying to retrieve data from.
Examples
Retrieve all the data held in a table.
// Setup the Database Tester object using the MS SQL implementationvarconnectionstring=@"Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=tempdb;Integrated Security=SSPI;";VulcanAnalytics.DBTester.DatabaseTestertester=newVulcanAnalytics.DBTester.MsSqlDatabaseTester(connectionstring);// Parameters for ObjectData methodvarschemaName="dbo";varobjectName="TestPerson";// Call the ObjectData method to delete all rowsvartableContent=tester.ObjectData(schemaName,objectName);