protected bool Equals(JournalTableColumnNames other) { return(Ordering == other.Ordering && Deleted == other.Deleted && PersistenceId == other.PersistenceId && SequenceNumber == other.SequenceNumber && Created == other.Created && Tags == other.Tags && Message == other.Message && Identitifer == other.Identitifer && Manifest == other.Manifest); }
public JournalTableConfig(Configuration.Config config) { var localcfg = config.GetConfig("tables.journal") .SafeWithFallback(config) //For easier compatibility with old cfgs. .SafeWithFallback(Configuration.Config.Empty); ColumnNames = new JournalTableColumnNames(config); MetadataColumnNames = new MetadataTableColumnNames(config); TableName = localcfg.GetString("table-name", "journal"); MetadataTableName = localcfg.GetString("metadata-table-name", "journal_metadata"); SchemaName = localcfg.GetString("schema-name", null); AutoInitialize = localcfg.GetBoolean("auto-init", false); WarnOnAutoInitializeFail = localcfg.GetBoolean("warn-on-auto-init-fail", true); }