Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

.Future() and EntityFrameworkCore.Projectables #826

Copy link
Copy link

Description

@jsparent-ca
Issue body actions

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

Reactions are currently unavailable

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.