vengine初步实现增删改查
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
////////////////////////////////////////////////////
|
||||
// 本文件由拓通低代码开发平台自动生成,请不要修改 //
|
||||
// ________ ___ ________ //
|
||||
// /__ __/ / \ /__ __/ //
|
||||
// / / / / / / //
|
||||
// / / / / / / //
|
||||
// /__/ \___/ /__/ //
|
||||
// //
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
@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())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user