Added [Column] attributes to properties in BodyQueryResult, HeaderQueryResult, and InsertObjectResult to explicitly map them to their respective database columns. Also included necessary using directives for DataAnnotations.Schema to support these mappings. This enhances ORM compatibility and ensures correct property-to-column mapping.
10 lines
201 B
C#
10 lines
201 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace ReC.Domain.QueryOutput;
|
|
|
|
public class HeaderQueryResult
|
|
{
|
|
[Column("REQUEST_HEADER")]
|
|
public string? RawHeader { get; init; }
|
|
}
|