You can use an SQL expression to query directly by the database column name, as described here:
For example:
ObjectManager.Find<TChildEntity>
.Select(TProjections.Count(csId))
.Where(Linq.Sql<Integer>('A.parent_id = ?'), someValue)
You can use an SQL expression to query directly by the database column name, as described here:
For example:
ObjectManager.Find<TChildEntity>
.Select(TProjections.Count(csId))
.Where(Linq.Sql<Integer>('A.parent_id = ?'), someValue)