Back to articles
ActiveForge - Active Record ORM
How-ToSystems

ActiveForge - Active Record ORM

via Dev.toCØDE N!NJΔ

Table of Contents The Active Record Pattern Architecture Overview Entities — Record and IdentityRecord Field Types (TField System) DataConnection — The Gateway CRUD Operations Query Predicates (QueryTerm API) Sorting and Pagination LINQ Query Support Transactions (Manual API) Unit of Work & Transactions Action Queue (Batch Operations) Field Subsets (Partial Fetch / Update) Field Encryption Custom Field Mappers Polymorphic Mapping (BaseFactory) Optimistic Locking Lazy Streaming Raw SQL and Stored Procedures Lookup / Cached Reference Tables Architecture Deep Dive Quick Reference Cheat Sheet MongoDB Provider SQLite Provider Attributes Reference Joins and Relationships Complete Examples 1. The Active Record Pattern 1.1 What is Active Record? Active Record is a design pattern first named by Martin Fowler in Patterns of Enterprise Application Architecture (2003). Its defining idea is simple: an object that represents a database row also knows how to persist itself . The class carries both th

Continue reading on Dev.to

Opens in a new tab

Read Full Article
3 views

Related Articles