Removed [Column] attribute from InsertObjectResult and configured column mapping for NewObjectId in RecDbContext using the Fluent API. This centralizes entity mapping logic in the DbContext.
9 lines
178 B
C#
9 lines
178 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace ReC.Domain.QueryOutput;
|
|
|
|
public class InsertObjectResult
|
|
{
|
|
public required long NewObjectId { get; set; }
|
|
}
|