$Database Methods

Allows to perform relational database operations.

You can use $Database.Get method to perform query on existing records, make changes on returned DataTable instance and persist all changes with DataTable.Save method.

If you need to just insert new values you can use the $Database.Empty method to create a empty DataTable to add new rows.

This class also provides Database.ImportFromXml][5] and [Database.ExportToXml methods to map database to Data Model (Xml) for allow user to make changes interactive.