Set up multi-project solution with DbFirst API, Application, Domain, and Infrastructure layers. Implemented database-first EF Core for the Catalog entity, including domain, DTOs, repository, service, and controller. Configured AutoMapper, DI, Swagger, and project settings. Added .gitattributes and initial configuration files.
13 lines
389 B
C#
13 lines
389 B
C#
namespace DbFirst.Application.Catalogs;
|
|
|
|
public class CatalogDto
|
|
{
|
|
public int Guid { get; set; }
|
|
public string CatTitle { get; set; } = null!;
|
|
public string CatString { get; set; } = null!;
|
|
public string AddedWho { get; set; } = null!;
|
|
public DateTime AddedWhen { get; set; }
|
|
public string? ChangedWho { get; set; }
|
|
public DateTime? ChangedWhen { get; set; }
|
|
}
|