Share via


DatabaseTestService.GenerateData Method

Include Protected Members
Include Inherited Members

Generates data in the specified database project prior to the unit test being run.

Overload List

  Name Description
Aa833591.pubmethod(en-us,VS.90).gif GenerateData() When overridden in a derived class, generates data to specified database project prior to the unit test being run.
Aa833591.protmethod(en-us,VS.90).gifAa833591.static(en-us,VS.90).gif GenerateData(String, Boolean, String, String) Generates data to the specified database using the referenced data generation plan.

Top

Remarks

These methods are called by the InitializeAssembly method in the DatabaseSetup class to establish the test database prior to any unit tests being executed.

These methods use the privileged context to generate data.

See Also

Reference

DatabaseTestService Class

DatabaseTestService Members

Microsoft.VisualStudio.TeamSystem.Data.UnitTesting Namespace