First Initial

This commit is contained in:
Nakorn Rientrakrunchai
2020-02-20 15:02:39 +07:00
commit 8b98125e49
3048 changed files with 760804 additions and 0 deletions

24
EF/_BaseEntity2.cs Normal file
View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace TTSW.EF
{
public class BaseEntity2<T>: IBaseEntity2<T>
{
public BaseEntity2()
{
}
[Key, DatabaseGenerated(DatabaseGeneratedOption.None)]
public T id { get; set; }
public DateTime created { get; set; }
public DateTime updated { get; set; }
public bool isActive { get; set; }
}
}