Hi @alper I do not work on UOW. I don't think It is problem.
StackTrace " at System.Data.SqlClient.SqlTransaction.ZombieCheck()\r\n at System.Data.SqlClient.SqlTransaction.Commit()\r\n at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Commit()\r\n at Abp.EntityFrameworkCore.Uow.DbContextEfCoreTransactionStrategy.Commit() in D:\\Github\\aspnetboilerplate\\src\\Abp.EntityFrameworkCore\\EntityFrameworkCore\\Uow\\DbContextEfCoreTransactionStrategy.cs:line 66\r\n at Abp.EntityFrameworkCore.Uow.EfCoreUnitOfWork.CommitTransaction() in D:\\Github\\aspnetboilerplate\\src\\Abp.EntityFrameworkCore\\EntityFrameworkCore\\Uow\\EfCoreUnitOfWork.cs:line 92\r\n at Abp.EntityFrameworkCore.Uow.EfCoreUnitOfWork.CompleteUowAsync() in D:\\Github\\aspnetboilerplate\\src\\Abp.EntityFrameworkCore\\EntityFrameworkCore\\Uow\\EfCoreUnitOfWork.cs:line 83\r\n at Abp.Domain.Uow.UnitOfWorkBase.CompleteAsync() in D:\\Github\\aspnetboilerplate\\src\\Abp\\Domain\\Uow\\UnitOfWorkBase.cs:line 273\r\n at Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next) in D:\\Github\\aspnetboilerplate\\src\\Abp.AspNetCore\\AspNetCore\\Mvc\\Uow\\AbpUowActionFilter.cs:line 49\r\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()" string
Hi @kimoerum You should try to modify your database, create new column (Department ID/ Company ID) in your User Table and pass Department ID like a param to your search method. Originally I also think like you, try to relate OU and branch (in my project) and It did not go anywhere.
@ismcagdas I already did it. Thank you.
Hi @ismcagdas I already did it. Parent component is received the data. That is object in my case, but when I try to log its property, it is undefined while the object has that property. I'm searching why it is undefiend.
UPDATE
In "tr tag" I added <tr (click)="onSelect(record)">
In component I write onSelect function
onSelect(selectedItem: any) {
let branchCode = selectedItem.branch.brancH_CODE;
let branchName = selectedItem.branch.brancH_NAME;
console.log(branchCode);
console.log(branchName);
//console.log("Selected item Id: ", selectedItem.branch.brancH_CODE); // You get the Id of the selected item here
}
I already get the data that I need, but still don't know how to send to another component
Hi @ismcagdas @klir
This is the answer I expected. Thanks both!
I's solved. In Parent Component (HTML) I use (click)="branchModal.show()"
. branchModal is child component's selector.
@ismcagdas Hi team, in next year period 2019-2020, do you have any plan for this? My company's project needs to use ADFS during deployment. This is a mandatory requirement. So If you have any idea or document for helping us, please let us know. Thank again!