20 lines
695 B
C#
20 lines
695 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Yi.Framework.Template.Abstract;
|
|
using Yi.Framework.Template.Const;
|
|
|
|
namespace Yi.Framework.Template.Provider.Server
|
|
{
|
|
internal class ConstTemplateProvider : ProgramTemplateProvider
|
|
{
|
|
public ConstTemplateProvider(string modelName, string entityName) : base(modelName, entityName)
|
|
{
|
|
BuildPath = $@"..\..\..\Code_Server\Yi.Framework.DtoModel\{TemplateConst.ModelName}\{TemplateConst.EntityName}\ConstConfig\{TemplateConst.EntityName}Const.cs";
|
|
TemplatePath = $@"..\..\..\Template\Server\ConstTemplate.txt";
|
|
}
|
|
}
|
|
}
|