phmzum
phmzum
+1 [](https://waha.devlike.pro/docs/how-to/plus-version/#tiers)
+1 [](https://waha.devlike.pro/docs/how-to/plus-version/#tiers)
class Cars { [...] [Deleted] public bool Deleted {get;set;} [...] } var user = await _db.Users.FindByIdAsync(1, x => x.Cars); in this case the property Cars of the variable user contains...
I consider a bug because if you run this code: var user = await _db.Users.FindByIdAsync(1); and the user with id 1 is deleted, the variable 'user' is null the behavior...