// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. namespace WixToolset.Sql { using WixToolset.Data; using WixToolset.Extensibility; /// /// The WiX Toolset SQL Server Extension. /// public sealed class SqlExtensionData : BaseExtensionData { public override bool TryGetSymbolDefinitionByName(string name, out IntermediateSymbolDefinition symbolDefinition) { symbolDefinition = SqlSymbolDefinitions.ByName(name); return symbolDefinition != null; } public override Intermediate GetLibrary(ISymbolDefinitionCreator symbolDefinitions) { return Intermediate.Load(typeof(SqlExtensionData).Assembly, "WixToolset.Sql.sql.wixlib", symbolDefinitions); } } }