Refactor Action class to RecAction
Replaced the `Action` class with a new `RecAction` class to represent the `VWREC_ACTION` database view. The `RecAction` class retains the same properties and annotations as the removed `Action` class, ensuring compatibility with the database schema. Updated `RecDbContext` to use `RecAction`: - Replaced `DbSet<Domain.Entities.Action>` with `DbSet<RecAction>`. - Updated the `OnModelCreating` configuration to use `RecAction`. This refactor improves clarity, aligns with naming conventions, and prepares the codebase for future changes.
This commit is contained in:
@@ -12,7 +12,7 @@ namespace ReC.Domain.Entities;
|
||||
/// requiring immediate code updates.
|
||||
/// </summary>
|
||||
[Table("VWREC_ACTION", Schema = "dbo")]
|
||||
public class Action
|
||||
public class RecAction
|
||||
{
|
||||
[Column("ACTION_ID")]
|
||||
public long? ActionId { get; set; }
|
||||
Reference in New Issue
Block a user