vengine初步实现增删改查

This commit is contained in:
2023-09-06 18:50:20 +08:00
parent b52e48ce9a
commit 64e1a60780
41 changed files with 2820 additions and 2752 deletions

View File

@@ -0,0 +1,26 @@
/////////////////////////////////////////////////////////////////////////////////
// 宁波拓通e智造平台 ToTong Next Builder //
// https://git.tuotong-tech.com/tnb/tnb-server //
/////////////////////////////////////////////////////////////////////////////////
@using Tnb.Core;
@using Tnb.Vengine;
@using Tnb.Vengine.Domain;
@{
AcmenVmodelContext context = Model;
Vmodel vm = context.Vm;
}
using Tnb.Core;
namespace @(context.NsPrefix + "." + vm.areaCode + ".AppService");
/// <summary>
/// @(vm.vmCode)Dto对象
/// </summary>
public partial class @(vm.vmCode)Dto
{
@foreach (var col in vm.dbProps.OrderBy(a => a.ordinal)){
@://public @(col.required ? col.csType : (col.csType + "?")) @col.code { get; set; }@(col.GetDefaultValueString())
}
}