ApplicationContext
This commit is contained in:
parent
6880715087
commit
22cd2f984e
8
Database/ApplicationContext.cs
Normal file
8
Database/ApplicationContext.cs
Normal file
@ -0,0 +1,8 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace Renis.Database;
|
||||
|
||||
public class ApplicationContext : DbContext
|
||||
{
|
||||
|
||||
}
|
@ -2,7 +2,7 @@ using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Renis.Database.Models;
|
||||
|
||||
public class Cars
|
||||
public class Car
|
||||
{
|
||||
[Key]
|
||||
public long Id { get; set; }
|
Loading…
Reference in New Issue
Block a user