/// <summary> /// Executes the specified package name. /// </summary> /// <param name="packageName">Name of the package.</param> /// <param name="xmlData">The XML data.</param> /// <returns></returns> public bool Execute(string packageName, System.Xml.XmlNode xmlData) { try { _schemaHelper.CreateDatabaseSchema(); var creationData = new BaseDataCreation(_database, _logger); var dataCreationResult = CreateInitialMerchelloData(creationData); return(true); } catch (Exception ex) { var message = string.Concat("Error at install ", this.Alias(), " package action: ", ex); LogHelper.Error(typeof(CreateDatabase), message, ex); } return(false); }
public void Successfully_Create_Default_Database_Schema() { _databaseSchemaHelper.CreateDatabaseSchema(); }