Hi,
Following link can help you. <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/issues/96#issuecomment-186843738">https://github.com/aspnetzero/aspnet-ze ... -186843738</a>
Hi,
Further test with Host and Tenant data, seems to confirm that every query against Host data is always executed on initial Host database and never against remote databases.
Yes, this is true.
According to code that you shared, if you login with a tenant, even if the tenant has a seperate database. Your query inside using statement should bring host data from initial host database because of your using statement.
using (CurrentUnitOfWork.SetTenantId(null))
Then, the code outside of your using statement should bring data from tenant's database even if it is a seperate database.
Hi,
As far as I know EF does not support this usage. You can search on web if there is a solution.
glad it helped...
It doen't matter. EF track the changes. If you create new entities in aspnet-zero application side, EF create or change only tables that is changed at application side.
You can create manually tables at DB side that are not related to aspnet-zero app.
Hi,
If you use latest templates, you cannot open project in VS15. You should use VS17. Also you can use VS17 free version to open projects.
Hi,
1-2 Yes, you can update all abp.* packages from nuget. And also you get some errors and these errors are not major breaking changes. You can fix these errors easly.
Yes, both aspnet-zero and aspnet-boilerplate projects have documents about changes (we dont write any document about breaking changes if they are not major). <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/releases">https://github.com/aspnetboilerplate/as ... e/releases</a> <a class="postlink" href="https://aspnetzero.com/Documents/Change-Logs">https://aspnetzero.com/Documents/Change-Logs</a> <a class="postlink" href="http://volosoft.com/net-core-support-for-asp-net-boilerplate-and-asp-net-zero/">http://volosoft.com/net-core-support-fo ... -net-zero/</a>
Latest projects are working with Entity framework Core. <a class="postlink" href="http://volosoft.com/net-core-support-for-asp-net-boilerplate-and-asp-net-zero/">http://volosoft.com/net-core-support-fo ... -net-zero/</a>
EF commands work in Package Manager Console. Before you run the command, you should set Mvc or Host project as startup page.
I hope this helps.
Hi,
Actualy there a lot of similar question in forum. You could check them:
Hi,
Actualy there a lot of similar question in forum. You could check them:
<a class="postlink-local" href="https://forum.aspnetboilerplate.com/search.php?keywords=Migration+for+Tenant+Database&terms=all&author=&sc=1&sf=all&sr=posts&sk=t&sd=d&st=0&ch=300&t=0&submit=Search">search.php?keywords=Migration+for+Tenant+Database&terms=all&author=&sc=1&sf=all&sr=posts&sk=t&sd=d&st=0&ch=300&t=0&submit=Search</a>
<a class="postlink-local" href="https://forum.aspnetboilerplate.com/viewtopic.php?p=15394#p15394">viewtopic.php?p=15394#p15394</a>
Hi,
Angular project talk to aspnet-zero-core application services, directly.
First, I would recommend to read step by step document, and especially these lines: <a class="postlink" href="https://aspnetzero.com/Documents/Developing-Step-By-Step-Angular#using-getpeople-method-from-angular-component">https://aspnetzero.com/Documents/Develo ... -component</a>
Hi,
Are there detailed message? Maybe screenshot and etc...