phnx47 / dapper-repositories

CRUD for Dapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I have question regarding the filtercriteria based on the Collection.

Parshyaa opened this issue · comments

Hi everyone,

based on the two classes in the tests, Users and Car,
I would like to have a test Case Like FindAllJoinByContainsMultipleList();
var user = _db.Users.FindAll(x => x.Cars.Id == 1, q => q.Cars);
ie Find all the users which are having the car Id 1.

  1. If you can help me with this it would be helpful as I am not able to figure it out .. how can I achieve this .
  2. Also I would like to load the child and its children using the MicroORM. as I tried using this in the current Test its not working.

Hi @pvictorlv, A help would be appreciated from you in this request as I am stuck to get the child of child using your solution.

@Parshyaa Hi! "get the child of child" doesn't support. It is very difficult mapping. I recommend use Dapper directly and your own mapping

hi @phnx47 , thanks for the information, Will try to use the dapper directly.