One of the great components of ServiceStack is OrmLite. In this chapter, we will cover some of the functionality OrmLite provides while using practical patterns to keep your code clean and maintainable. OrmLite is a lightweight object-relational mapping framework that focuses on simplicity and performance. We will look at how you can use OrmLite in your application along with some of the common syntax to make queries, including the use of stored procedures and strongly typed SQL expressions. We will also show you how your database can be modeled with POCOs and its attributes, and use OrmLite T4 templates to quickly prototype against an existing database.
ServiceStack 4 Cookbook
ServiceStack 4 Cookbook
Overview of this book
Table of Contents (18 chapters)
ServiceStack 4 Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Configuration and Routing
Services and Data Transfer Objects
Testing and Logging
Object Relational Mapping (OrmLite)
HTML and Form Data
Filters and Validators
Security and Authentication
Working with Redis
Integrating with Other Technologies
Getting Started
Testing Locally
Index
Customer Reviews