Annotate ProfileView with table mapping attribute

Added [Table("VWREC_PROFILE", Schema = "dbo")] to ProfileView to specify its database table mapping. Included necessary using directive for DataAnnotations.Schema.
This commit is contained in:
2025-12-17 09:39:25 +01:00
parent 38d819adac
commit 868e11ff62

View File

@@ -1,7 +1,9 @@
using ReC.Domain.Constants;
using System.ComponentModel.DataAnnotations.Schema;
namespace ReC.Domain.Entities;
[Table("VWREC_PROFILE", Schema = "dbo")]
public record ProfileView
{
public long Id { get; init; }