ApplicationContext

This commit is contained in:
Nikolai Papin 2024-09-07 11:44:30 +03:00
parent 6880715087
commit 22cd2f984e
2 changed files with 9 additions and 1 deletions

View File

@ -0,0 +1,8 @@
using Microsoft.EntityFrameworkCore;
namespace Renis.Database;
public class ApplicationContext : DbContext
{
}

View File

@ -2,7 +2,7 @@ using System.ComponentModel.DataAnnotations;
namespace Renis.Database.Models;
public class Cars
public class Car
{
[Key]
public long Id { get; set; }