I am trying to automate the build and deployment of a number of tabular cubes on SQL Server 2012.
At this point I can generate deployment artifacts (.asdatabase, .deploymentoptions and .deploymenttargets files), I can generate an XMLA using the Deployment Wizard from command prompt and I can deploy it using an AMO Power Shell script. However, Microsoft's recommendation is to use AMO for everything.
If I was to eliminate the Deployment Wizard from the equation, is there an AMO class that ingests the .asdatabase file and creates generates the database with all the objects as defined within the "Database" tag? or do I need to parse the XML, extract each element,find the equivalent Class/Method that will produce that object in the database? That seems orders of magnitude more complex than using the wizard.