Wiki

Clone wiki

FrameLog / Home

FrameLog: A free logging library for Entity Framework

FrameLog can log every change made to every model property in your EntityFramework model. It logs the new value, who made the change, and when it happened. You can query the low-level logging tables directly, or you can use the provided HistoryExplorer to examine the logs in a high-level, strongly-typed manner.

FrameLog supports Entity Framework 6. For support for earlier versions of Entity Framework you can use the legacy 1.2.0 release, but you are recommended to upgrade your software to EF 6.

FrameLog was developed for one of LShift's clients and continues in real use in that system. Are you using FrameLog? Tell us about it!

A guide to getting started with FrameLog

  1. Reference the FrameLog assembly (or compile from source)
  2. Add the required logging tables to your database model
  3. Update your ObjectContext/DbContext to log changes

There is a demonstration implementation in the repository. See FrameLog.Example and FrameLog.Example.Demo. See Running the demo.

More documentation

Developing FrameLog

Other pages

Updated