Question: I see this a lot in tutorials, with navigation properties as ICollection<T>. Is this a mandatory requirement for Entity Framework? Can I use IEnumerable? What’s the main purpose of using ICollection instead of IEnumerable or even List<T>? Best Answer: ...

Question: I’m developing a WebAPI with asp.net core [net5.0] DataBase: PostgreSQL Provider: EF Core Approach: Code First In domain objects I’ve used Ltree for hierarchy. While adding and updating migration, getting followed error: Npgsql.PostgresException: type "ltree" does not exist. I ...