blob: bdec4f91b3b1829708df87e2a11b6f4289ce0dea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.DAL.Observables;
using Tango.MachineStudio.Common.Notifications;
namespace Tango.MachineStudio.DB.ViewModels
{
public class ConfigurationsViewVM : DbTableViewModel<Configuration>
{
public ConfigurationsViewVM(INotificationProvider notification) : base(notification)
{
}
protected override void InitializeEntity(Configuration entity)
{
base.InitializeEntity(entity);
entity.CreationDate = DateTime.UtcNow;
}
}
}
|