All pastes #476926 Raw Edit

Untitled

public text v1 · immutable
·published 2007-05-08 11:46 UTC
rendered paste body
    public static IObjectContainer DB
    {
        get
        {
            if (db == null)
                db = Db4oFactory.OpenFile(file);

            if (db == null) System.Diagnostics.Debug.Assert(false);
            return db;
        }
    }