public override void WriteDb(string dbPath, string subPath, ServerType serverType, FileType fileType = FileType.Detect) { DbDebugItem<TKey> debug = new DbDebugItem<TKey>(this); if (!debug.Write(dbPath, subPath, serverType, fileType)) return; if ((fileType & FileType.Sql) == FileType.Sql && DbWriterSql != null) { DbWriterSql(debug, this); return; } DbWriter(debug, this); }