diff options
author | vnugent <public@vaughnnugent.com> | 2023-01-12 17:47:40 -0500 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2023-01-12 17:47:40 -0500 |
commit | d797953c74798252d7153a20e788ed034c71b0ae (patch) | |
tree | bb295b619a4c0ed13d18691063ddaebd3961faf5 /lib/Emails.Transactional.Plugin/src/EmailDbCtx.cs | |
parent | d8ef5d21416c4a9deaa5cae7d3c8a11fae6a15f7 (diff) |
Large project reorder and consolidation
Diffstat (limited to 'lib/Emails.Transactional.Plugin/src/EmailDbCtx.cs')
-rw-r--r-- | lib/Emails.Transactional.Plugin/src/EmailDbCtx.cs | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/lib/Emails.Transactional.Plugin/src/EmailDbCtx.cs b/lib/Emails.Transactional.Plugin/src/EmailDbCtx.cs new file mode 100644 index 0000000..cd865d8 --- /dev/null +++ b/lib/Emails.Transactional.Plugin/src/EmailDbCtx.cs @@ -0,0 +1,40 @@ +/* +* Copyright (c) 2022 Vaughn Nugent +* +* Library: VNLib +* Package: Transactional Emails +* File: EmailDbCtx.cs +* +* EmailDbCtx.cs is part of Transactional Emails which is part of the larger +* VNLib collection of libraries and utilities. +* +* Transactional Emails is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published +* by the Free Software Foundation, either version 2 of the License, +* or (at your option) any later version. +* +* Transactional Emails is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with Transactional Emails. If not, see http://www.gnu.org/licenses/. +*/ + +using System; + +using Microsoft.EntityFrameworkCore; + +using VNLib.Plugins.Extensions.Data; + +namespace Emails.Transactional +{ + internal class EmailDbCtx : TransactionalDbContext + { + public DbSet<EmailTransaction> EmailTransactions { get; set; } + + public EmailDbCtx(DbContextOptions options) : base(options) + {} + } +} |