1
votes

Okay going to try to keep the fluff to a minimum. First we are new to Breeze. We have a project where the "Database First" Entity Framework was created. Using the SPA approach for offline webpage with AngularJS/BreezeJS combination. Angular seems to be working fine and as stated the Entity Framework EDMX file already exists.

Can I connect Breeze.Net to our Entity Framework and if so are there any examples of this specifically the Server side connection part? But the full example would be best. aka Entity Framework to Breeze.Net to BreezeJS

If I cannot connect Breeze to my Entity Framework, can I do a "Database First" Breeze.Net approach and if yes is there an example of how to do this?

Thanks in advance.

1

1 Answers

-1
votes

Breeze documentation includes many pertinent samples including the most basic Angular Todo sample. Among the samples, "DocCode" has the most sophisticated .NET Web API / EF variations (you can mentally translate from Knockout to Angular for the front-end).

You can download or clone them all from github.

Most (if not all) EF samples rely on a code-first model but you should have no trouble with a DbContext generated "DB First" (or with an old-school ObjectContext).