Note: This project is currently in an alpha state and should be considered unstable. Breaking changes to the public API will occur.
Daf is a plugin-based data and integration automation framework primarily designed to facilitate data warehouse and ETL processes. Developers use this framework to programatically generate data integration objects using the Daf templating language.
This Daf plugin allow users to generate Microsoft SQL Server database definition files (tables, views, stored procedures etc).
In the daf project file add a new ItemGroup containing a nuget package reference to the plugin:
<ItemGroup>
<PackageReference Include="Daf.Core.Sql" Version="*" />
<ItemGroup>
The root node of the SQL plugin is Sql. This root node must start on the first column in the daf template file.
Use <# #> to inject C# code, <#= #> to get variable string values from the C# code: