Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Import Metadata into MetadataStore #42

Open
amourrashid opened this issue Jun 18, 2020 · 3 comments
Open

Cannot Import Metadata into MetadataStore #42

amourrashid opened this issue Jun 18, 2020 · 3 comments

Comments

@amourrashid
Copy link

I am using Breeze.Sharp with Blazor. I have exported the metadata and stored it in local storage.
When I try to import it to MetadataStore (to avoid fetching it everytime ) I get the following error

System.Exception: 'There are no KeyProperties yet defined on EntityType: 'Student:#SchoolManager.Entities'. Please insure that the metadata for this type is complete either by calling FetchMetadata or by explicitly updating the KeyProperties before creating an EntityKey for this type.

This used to work with breeze js client.

@GioviQ
Copy link

GioviQ commented Jun 18, 2020

@amourrashid Please try my fork https://github.com/GioviQ/breeze.sharp

I am successfully using it with Blazor in https://github.com/enkodellc/blazorboilerplate/tree/development

@amourrashid
Copy link
Author

amourrashid commented Jun 30, 2020

I have downloaded blazorboilerplate but I have seen nowhere where Breeze Sharp is used. Can you direct me on which classes to check the usage of breeze sharp?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants