This library is a tool supporting a technique of code generation in VS that producess small maintainable *.tt and *.cs files.
varproj=Path.GetFullPath(Path.Combine("../../../Sample.Tests/Sample.Tests.csproj"));newHierarchyBuilder(proj,"Generated"){newNodeBuilder<Raw>(builder.Model){newNodeBuilder<ChangeSet>{newNodeBuilder<Change>()},newNodeBuilder<TableSet>{newNodeBuilder<Table>()},newNodeBuilder<Columns>(),newNodeBuilder<PrimaryKey>()}}.With((IModelm)=>m.GetEntityTypes()).Generate();Will help you to generate code like this:
