Skip to content

.Future() and EntityFrameworkCore.Projectables #826

Open
@jsparent-ca

Description

@jsparent-ca

Hi! We're using a licensed version of your extensions (really useful btw!), and we were trying to incorporate Projectables in conjunction with it.

See https://github.com/koenbeuk/EntityFrameworkCore.Projectables

So far, we couldn't do it, because methods with .Future() crashes as soon as dbContextOptions.UseProjectables() is setup on DbContext. Eveything else seems to works, AFAIK

I don't know if you ever used or touched this library, but it seems pretty awesome to implement simple Expression without all the hassle + it allows to use expression on standard use-cases like "FullName" and only fetching dependent properties from SQL (without fetching the entire object).
Ex:
[NotMapped] [Projectable] public string FullName => $"{this.FirstName} {this.LastName}".Trim();

If there is a way to do the equivalent in the ZEntity Extensions, I'd like to know and if you ever have a bit of time to check the library and made it possible to use with yours, that would be awesome.

Thanks for your time,

J.S. Parent

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions