Annotate ProfileView and add Actions property
ProfileView is now mapped to the VWREC_PROFILE table using the [Table] attribute. Added an Actions property to support related RecActionView collections.
This commit is contained in:
@@ -6,6 +6,8 @@ namespace ReC.Domain.Views;
|
|||||||
[Table("VWREC_PROFILE", Schema = "dbo")]
|
[Table("VWREC_PROFILE", Schema = "dbo")]
|
||||||
public record ProfileView
|
public record ProfileView
|
||||||
{
|
{
|
||||||
|
public virtual IEnumerable<RecActionView>? Actions { get; init; }
|
||||||
|
|
||||||
public long Id { get; init; }
|
public long Id { get; init; }
|
||||||
|
|
||||||
public bool Active { get; init; }
|
public bool Active { get; init; }
|
||||||
|
|||||||
Reference in New Issue
Block a user