var countries = _blogRepository.GetAll().Include(c=> c.BlogPorts);
Problem: .Include(c=> c.BlogPorts) returning deleted (SoftDelete IsDeleted = 1) BlogPorts data also.
I use zero core 4.2
Why do I generate enum that are not the same as yours? Your:
export enum IsTenantAvailableOutputState {
_1 = 1,
_2 = 2,
_3 = 3,
}
export enum FriendDtoState {
_1 = 1,
_2 = 2,
}
My:
export enum StudentDtoGender {
Unknown = <any>"Unknown",
Secrecy = <any>"Secrecy",
Man = <any>"Man",
Woman = <any>"Woman",
}
And another question, there is a appenums. ts file in the project, encapsulation of service-proxies enum, why not use enum directly?
export class AppTenantAvailabilityState {
static Available: number = IsTenantAvailableOutputState._1;
static InActive: number = IsTenantAvailableOutputState._2;
static NotFound: number = IsTenantAvailableOutputState._3;
}
Thank you. Have a nice day.