Пример #1
0
        private string getListCode(EntityInfo ei)
        {
            Template template = new Template();

            template.InitContent(controllerTemplate.GetListAction());
            template.Set("model.Name", ei.Name);
            template.Set("model.LName", strUtil.GetCamelCase(ei.Name));
            return(template.ToString());
        }