O'Reilly logo

Mastering NServiceBus and Persistence by Rich Helton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Entity Framework snippets

We have ventured into creating models in MVC and EF from an existing database. There will be many cases where the database is not created. We listed previous examples and described in previous chapters how to manually create a database, but many ESB developers don't use SQL Server Management Studio, or SQL scripts, very often. We will get into some details on how to create tables from either EF code or models. There will be no SQL discussed here as we use objects to build tables and populate them. EF plays a major role in reading and writing to the SQL Server database. Since NSB will likely be deployed on a Windows Server machine to handle the enterprise objects, it is natural that SQL Server will be used as well for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required