Module Creator external template changes for 2.1 - supporting mutliple databases, EF Core migrations, and other multi-tenancy improvements

This commit is contained in:
Shaun Walker
2021-05-28 17:01:25 -04:00
parent 8529a42075
commit 54a639d1d5
12 changed files with 109 additions and 73 deletions

View File

@ -1,4 +1,5 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Oqtane.Models;
@ -7,6 +8,7 @@ namespace [Owner].[Module].Models
[Table("[Owner][Module]")]
public class [Module] : IAuditable
{
[Key]
public int [Module]Id { get; set; }
public int ModuleId { get; set; }
public string Name { get; set; }