hi
This don't seems like a database problem.
Does the application work normally but an error occurs when setting the user name?
hi
I remember that Sqlite does not support stored procedures.
hi
Did you follow the steps similar to the following to publish angular?
.Run the yarn command to restore packages Run the ng build -prod (IIS)Copy the web.config file that is placed in angular folder to dist folder Configure the angular/dist/assets/appconfig.json Use files in the dist folder
hi
Sorry,The order is wrong.
using (var uow = _unitOfWorkManager.Begin())
{
using (_unitOfWorkManager.Current.SetTenantId(null))
{
var test = from ethnicity in _ethnicityRepositroy.GetAll()
select new EthnicitiesListDto
{
Id = ethnicity.Id,
Text = ethnicity.Text,
Code = ethnicity.Code,
TenantId = ethnicity.TenantId
};
a = test.ToList();//No Data is apppearing, event though database has the data
await uow.CompleteAsync();
}
}
hi
You can try switch to host side. or disable muti-tenancy(IMayHaveTenant
).https://aspnetboilerplate.com/Pages/Documents/Data-Filters#disable-filters
using (_unitOfWorkManager.Current.SetTenantId(null))
{
using (var uow = _unitOfWorkManager.Begin())
{
var test = from ethnicity in _ethnicityRepositroy.GetAll()
select new EthnicitiesListDto
{
Id = ethnicity.Id,
Text = ethnicity.Text,
Code = ethnicity.Code,
TenantId = ethnicity.TenantId
};
a = test.ToList();//No Data is apppearing, event though database has the data
await uow.CompleteAsync();
}
}
we are getting an error relationed to the "GetAllScrips". We are using the last version of ABP Framework (.NET CORE + Angular).
hi
Can you share the detail error info?
hi @Tkorytnyuk
Please follow : https://github.com/aspnetboilerplate/aspnetboilerplate/issues/5799
hi @jaycee26 [email protected]
hi
Please try create a unit of work. See https://aspnetboilerplate.com/Pages/Documents/Unit-Of-Work#irepository-getall-method
using (var uow = _unitOfWorkManager.Begin())
{
await uow.CompleteAsync();
}
hi @rajamannar
Please see https://github.com/aspnetboilerplate/aspnetboilerplate/issues/3343