45 lines
1.0 KiB
C#
45 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using WalkingTec.Mvvm.Core;
|
|
using WalkingTec.Mvvm.Core.Extensions;
|
|
using wtmProject.Model;
|
|
|
|
|
|
namespace wtmProject.ViewModel._Admin.WTM_BUSINESSVMs
|
|
{
|
|
public partial class WTM_BUSINESSVM : BaseCRUDVM<WTM_BUSINESS>
|
|
{
|
|
public WTM_BUSINESSVM()
|
|
{
|
|
SetInclude(x => x.Custom);
|
|
SetInclude(x => x.VisitObject);
|
|
SetInclude(x => x.Project);
|
|
SetInclude(x => x.MarkManage);
|
|
SetInclude(x => x.Area);
|
|
}
|
|
|
|
protected override void InitVM()
|
|
{
|
|
|
|
}
|
|
|
|
public override void DoAdd()
|
|
{
|
|
base.DoAdd();
|
|
}
|
|
|
|
public override void DoEdit(bool updateAllFields = false)
|
|
{
|
|
base.DoEdit(updateAllFields);
|
|
}
|
|
|
|
public override void DoDelete()
|
|
{
|
|
base.DoDelete();
|
|
}
|
|
}
|
|
}
|