Hi Web2workNL,
We will prepare a blog post and a sample project on this as soon as possible. You can check the progress here https://github.com/aspnetzero/aspnet-zero-core/issues/5330
Hi @litojuliano,
I checked the project. Your enum is not looking correct. It should be like this.
public enum PriceType
{
GroupA = 1,
GroupB = 2,
GroupC = 3,
GroupD = 4
}
Csharp does not support string value for enums. I recommend reading this blog post, hope this will help https://josipmisko.com/posts/string-enums-in-c-sharp-everything-you-need-to-know
Hi @drutter1954,
I request access to the drive file. [email protected]
Hi @Web2workNL,
Could you try using the solution here?
https://abp.io/support/questions/4821/Abp-Framework#answer-3a0a5c6a-4610-4c66-69ce-549a079f48c8
Hi @drutter1954,
The e-mail you sent did not reach me. Could you recheck the email?
Also maybe a screenshot of the mail.
Hi @williepieterse,
Removing this information may cause problems in the application. We will open an issue about this and discuss how we can do it better.
You can follow the process at https://github.com/aspnetzero/aspnet-zero-core/issues/5327
Hi @Web2workNL,
Could you share your Program.cs and your module class?
Hi @Bernard,
Could you add ToList()
to the end of your code? I think it will solve the problem.
Hi @Bernard,
You need to execute a method to load related entities.
For example:
var dbList = _tacheRepository.GetAllIncluding(x => x.Persons).Where(x => x.Id == tache.Id).ToList();
or
var dbList = _tacheRepository.GetAllIncluding(x => x.Persons).FirstOrDefault(x => x.Id == tache.Id);
Hi @Bernard,
You can return id from the server and use it wherever you want.
public async Task<int> CreatePerson(CreatePersonInput input)
{
var person = ObjectMapper.Map<Person>(input);
await _personRepository.InsertAsync(person);
return person.Id;
}