aboutsummaryrefslogtreecommitdiff
path: root/VNLib.Plugins.Essentials.Content.Routing/Model/RoutingContext.cs
diff options
context:
space:
mode:
Diffstat (limited to 'VNLib.Plugins.Essentials.Content.Routing/Model/RoutingContext.cs')
-rw-r--r--VNLib.Plugins.Essentials.Content.Routing/Model/RoutingContext.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/VNLib.Plugins.Essentials.Content.Routing/Model/RoutingContext.cs b/VNLib.Plugins.Essentials.Content.Routing/Model/RoutingContext.cs
new file mode 100644
index 0000000..da62342
--- /dev/null
+++ b/VNLib.Plugins.Essentials.Content.Routing/Model/RoutingContext.cs
@@ -0,0 +1,17 @@
+using System;
+
+using Microsoft.EntityFrameworkCore;
+
+using VNLib.Plugins.Extensions.Data;
+
+namespace VNLib.Plugins.Essentials.Content.Routing.Model
+{
+ internal class RoutingContext : TransactionalDbContext
+ {
+ public DbSet<Route> Routes { get; set; }
+
+ public RoutingContext(DbContextOptions options) :base(options)
+ {
+ }
+ }
+}