Fungerande version av skiktad lösning Winforms App med SQlite och entity framework
This commit is contained in:
10
WinFormDiApp.BL/Models/Common/BaseEntity.cs
Normal file
10
WinFormDiApp.BL/Models/Common/BaseEntity.cs
Normal file
@ -0,0 +1,10 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace WinFormDiApp.BL.Models.Common
|
||||
{
|
||||
public abstract class BaseEntity
|
||||
{
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user