private void GenerateViewModel() { var vmGen = new AutoViewModelGen(Data, VMJsonIgnoreProps, Style, VMExceptProps, ExtraDirectives.ToArray()); FileHelper.Write(ProjectPath + "ViewModels", "ViewModelTemplate.tt", vmGen.Generate()); }
private void GenerateDomain() { var dGen = new AutoDomainGen(Data, ExtraDirectives.ToArray()); FileHelper.Write(ProjectPath + "Models/Domains", "DomainTemplate.tt", dGen.Generate()); }
private void GenerateManager() { var mGen = new AutoManagerGen(Data, ExtraDirectives.ToArray()); FileHelper.Write(ProjectPath + "Managers", "ManagerTemplate.tt", mGen.Generate()); }
private void GenerateService() { var sGen = new AutoServiceGen(Data, ExtraDirectives.ToArray()); FileHelper.Write(ProjectPath + "Models/Services", "ServiceTemplate.tt", sGen.Generate()); }
private void GenerateRepository() { var rGen = new AutoRepositoryGen(Data, ExtraDirectives.ToArray()); FileHelper.Write(ProjectPath + "Models/Repositories", "RepositoryTemplate.tt", rGen.Generate()); }
private void GenerateEntityExtension() { var eGen = new AutoEExtensionGen(Data, ExtraDirectives.ToArray()); FileHelper.Write(ProjectPath + "Models/Extensions", "ExtensionTemplate.tt", eGen.Generate()); }
private void GenerateGlobal() { var gGen = new AutoGlobalGen(Data, ExtraDirectives.ToArray()); FileHelper.Write(ProjectPath + "Global", "GlobalTemplate.tt", gGen.Generate()); }
private void GenerateUtility() { var uGen = new AutoUtilityGen(Data, ExtraDirectives.ToArray()); FileHelper.Write(ProjectPath + "Utilities", "UtilityTemplate.tt", uGen.Generate()); }