In Object-Relational Mapping (ORM), which pattern maps a database table record directly to an object instance where object methods mirror column fields?
AData Mapper Pattern
BActive Record Pattern
CRepository Pattern
DUnit of Work Pattern
Explanation
Active Record encapsulates both table database access and business logic directly inside a single domain object.

No Comments