Commit Graph

19 Commits

Author SHA1 Message Date
Charles Nurse
83e5502111 Creation of EF Core Migrations - these execute using EF Tools, but are not integrated to run programmatically 2021-03-19 17:01:49 -07:00
Charles Nurse
c64f350f36 Create new DbContextUtils class and move common SaveChanges code to this class. While MasterDbContext has no entities that support IDeletable it does not hurt to check and minimizes duplication 2021-03-06 16:06:29 -08:00
Charles Nurse
8376a09ad6 Create new UseOqtaneDatabase extension method and replace all uses of UseSqlServer.
This is a preparative step to locate all database configuration in one file.
2021-03-06 14:13:06 -08:00
Shaun Walker
c0ed7c7934 Localization fixes - table definition, SQL script naming, SQL script not marked as Embedded Resource, changed column name from IsCurrrent to IsDefault to reflect intent, set default language for site in _Host 2021-01-21 17:09:34 -05:00
Pavel Veselý
5af6f7a52d
Namespace Fix undo (#340) 2020-04-04 14:06:24 -04:00
Pavel Veselý
71bd3a8d6a
Namespace fix (#335) 2020-04-03 17:18:33 -04:00
Pavel Vesely
940cdcb349 Database Manager
done:
+ master.sql as resource
+ implemented incremental database changes also for Master
+ dbUp sql script variables implemented
+ improved database handling and creation code
+ simpified database creation
+ almost all Database and Tenant creation moved to DatabaseManager.cs (rest code marked with TODO)
+ Unattended install of master can be performed by settings in appsettings.json
+ Improved IsInstalled checking
+ Removed DBSchema field from Tenant
+ Default database and site creation moved to Program.Main
2020-03-29 14:45:02 +02:00
Pavel Vesely
5b3feaf26f Server naming fixes and cleanup
Server is now completely cleaned up and without warnings
2020-03-15 11:53:24 +01:00
Hisham Bin Ateya
425b4e1c67 Fix casing for constructor params 2020-03-05 20:03:54 +03:00
Hisham Bin Ateya
303bdf3be2 Remove this keyword 2020-03-05 19:22:13 +03:00
Hisham Bin Ateya
a46235ea1e Fix naming conventions for private fields 2020-03-05 01:46:53 +03:00
Shaun Walker
25d2c6596d completed background job scheduler 2019-11-15 08:42:31 -05:00
Shaun Walker
6fa3b124d2 relocated IDeletable and added methods for downloading assemblies from server /bin when running under Wasm 2019-09-28 16:51:01 -04:00
Emanuele Filardo
4792ea697b Rename Interface in IDeletable and property in IsDeleted 2019-09-27 18:50:25 +02:00
Emanuele Filardo
182a156bd8 Improved to skip new Added entities and if softdelete properties are unmodified 2019-09-27 18:40:24 +02:00
Emanuele Filardo
6ade59cc09 Add basic support for SoftDeletable 2019-09-27 18:40:24 +02:00
Shaun Walker
3af2ca0168 utilize _Imports.razor to simplify module declarations 2019-09-24 17:26:14 -04:00
Shaun Walker
f037898c6e Multi-tenant role authorization 2019-08-25 14:52:25 -04:00
Shaun Walker
b71f007981 Support for third party modules, improved error handling, standardardized enum naming, reorganized interface definitions, support for DB script upgrades, added Settings entity 2019-08-14 09:34:35 -04:00