internal static void ScaffoldRequestsExtensions(this AspNetCoreProject project) { foreach (var table in project.Database.Tables) { var classDefinition = project.GetRequestExtensionsClassDefinition(table); CSharpClassBuilder.CreateFiles(project.OutputDirectory, project.AspNetCoreProjectNamespaces.Requests, project.GlobalSelection().Settings.ForceOverwrite, classDefinition); } }
internal static void ScaffoldRequestsExtensions(this AspNetCoreProject project) { foreach (var table in project.Database.Tables) { var classDefinition = project.GetRequestExtensionsClassDefinition(table); project.Scaffold(classDefinition, project.OutputDirectory, project.AspNetCoreProjectNamespaces.Requests); } }