Originally created just to fix #29, but in the process fixed subtle issues with VirtualDevice and DatabaseSnapshot device types as well.
Add the URL device type for use with BACKUP and RESTORE statements for 110 parser and above. URL backups were introduced with SQL Server 2012. Also updated the ScriptGenerator to ensure URL devices are correctly scripted.
Add version constraints for device types DatabaseSnapshot and VirtualDevice, both of which are only supported for SQL 2005+.
Remove dead code related to Disk device type in grammar 90 and above. In all grammars other than 80, the different device types are handled by the DeviceTypesHelper class, so the special case in the grammar for Disk device type was never used. In 80 grammar though, the Disk device type is not treated as an indentifier and hence the special case for Disk is still needed.
Add regression tests for device types URL, VIRTUAL_DEVICE and DATABASE_SNAPSHOT, and for good measure, DISK as well
Originally created just to fix #29, but in the process fixed subtle issues with VirtualDevice and DatabaseSnapshot device types as well.
Add the URL device type for use with BACKUP and RESTORE statements for 110 parser and above. URL backups were introduced with SQL Server 2012. Also updated the ScriptGenerator to ensure URL devices are correctly scripted.
Add version constraints for device types DatabaseSnapshot and VirtualDevice, both of which are only supported for SQL 2005+.
Remove dead code related to Disk device type in grammar 90 and above. In all grammars other than 80, the different device types are handled by the DeviceTypesHelper class, so the special case in the grammar for Disk device type was never used. In 80 grammar though, the Disk device type is not treated as an indentifier and hence the special case for Disk is still needed.
Add regression tests for device types URL, VIRTUAL_DEVICE and DATABASE_SNAPSHOT, and for good measure, DISK as well