public virtual void Insert(params object[] data) { if (Logger != null) { Logger.Push(ContentLogger.EVENT_INSERT, ""); } }
public Database(string name, string resources = "C://", StorageMode mode = StorageMode.Safe, ContentLogger logger = null) { Logger = logger; CurrentDatabase = this; Name = name; Resources = resources; ObjectDB.InitializeDefaultTypes(); MakeIndex(); Mode = mode; Initialize(); if (Logger != null) { Logger.Push(ContentLogger.EVENT_STARTPOINT, "Registered DB '" + Name + "' in '" + RootDirectory + "'"); } }