Using Breeze in a webapi 2 and NHibernate project.
With the aim of using OData commands like
$substringof, we decided to opt for the framework Breeze. But the version with support for NHibernate is still in beta and we not found code examples of how to use this framework.
This is a well close to a real application sample project (using standards like UnitOfWork) simulating the problem.
The application uses localdb (instance Problems) to host the database. Before starting, follow the steps below:
- Create an instance in localdb called Problems (if not created)
sqllocaldb c Problems;
- Start in the instance
sqllocaldb s Problems;
- With SQL Manager Studio, connect into instance
- Create or attach the database
- Create same records in