예제 #1
0
파일: ObjectDB.cs 프로젝트: ProCompTEAM/SDB
 public virtual void Insert(params object[] data)
 {
     if (Logger != null)
     {
         Logger.Push(ContentLogger.EVENT_INSERT, "");
     }
 }
예제 #2
0
        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 + "'");
            }
        }