Welcome to our template. It is an entry point for Onion architecture and comes from the factory with some treats.
Please remember to change the connection string in the appsettings.json file.
This model considers the existence of a table in the database, according to the following scheme:
USE [VehicleDb]
GO
/****** Object: Table [dbo].[Vehicle] Script Date: 26/05/2021 16:49:03 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Vehicle](
[Id] [uniqueidentifier] NOT NULL,
[LicensePlate] [varchar](10) NOT NULL,
[Manufacturer] [nvarchar](50) NOT NULL,
[Model] [nvarchar](50) NOT NULL,
[Year] [smallint] NOT NULL,
[Tariff] [decimal](16, 2) NOT NULL,
CONSTRAINT [PK_Veiculo] PRIMARY KEY CLUSTERED
(
[Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO
Evolution
v2.1
v2.0
v1.0
Please report the improvements.
You are welcome.