So pls explain me how the system checks if database was installed sussessfully?
1. Just by creating the settings.txt with connextion string
2. By editing any configuration file ? say me which one?
3. By editing same configurations database tables, which one ?
something else or the combination of mentioned by me
Another question is how the samle data is populated to database ?
Appreciate any help ?
I'm talking about Store source code not the Community
So pls explain me how the system checks if database was installed ?
#1
Geschrieben: 24 September 2019 - 13:06
#2
Geschrieben: 25 September 2019 - 16:03
I'd like to help you, but your posts are a little confused.
If Smartstore.NET was installed correctly, a settings.txt exists under \app-data\tenants\default. The content will be correct because the file was just created by Smartstore.NET during the installation.
You can specify whether to create sample data before the installation.
Zihni Artar
SmartStore AG
#3
Geschrieben: 26 September 2019 - 15:39
Ohh. Thanx..
Tell me please which approach do you use in the solution :
Model First, Database First or Code First ?
really appreciate help
#4
Geschrieben: 26 September 2019 - 16:38
Zihni Artar
SmartStore AG
#5
Geschrieben: 26 September 2019 - 16:38
model first
Code First.
Bearbeitet von Marcus Gesing, 28 October 2019 - 14:56,
Correction
Zihni Artar
SmartStore AG
#6
Geschrieben: 27 October 2019 - 07:13
With all due respect, I think the answer to OP's question regarding the EF approach should be Code First on. This is based on my limited review of your projects, so sorry if I missed something.
#7
Geschrieben: 28 October 2019 - 19:02
A valid connection string in the settings.txt file is a prerequisite. Furthermore, during initialization, our custom DbContext checks the existence of some important tables.
Murat Cakir
SmartStore AG
Auch markiert mit einem oder mehrerer dieser Schlüsselwörter: databasae, configuration, install ef, migrations
Smartstore (English) →
Installation & Setup Smartstore →
SmartStore.SmartException: 'Guests' role could not be loadedEröffnet von kdenisinfo - 30 Sep 2019 ef, database, migrations und noch 1 weitere... |
|
|