initial commit
This commit is contained in:
14
Dto/BaseDto.cs
Normal file
14
Dto/BaseDto.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Microsoft.SelfService.Portal.Core.API.Extensions.Dataannotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace Microsoft.SelfService.Portal.Core.API.Dto
|
||||
{
|
||||
public class BaseDto
|
||||
{
|
||||
[Column(Order = 1)]
|
||||
[DefaultValueSql("NEWID()")]
|
||||
//[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public Guid Id { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user