in src/Microsoft.SqlTools.ServiceLayer/Admin/Database/DatabasePrototype.cs [759:828]
public bool HasSameValueAs(DatabaseData other)
{
bool result =
(this.recoveryModel == other.recoveryModel) &&
(this.lastBackupDate == other.lastBackupDate) &&
(this.lastLogBackupDate == other.lastLogBackupDate) &&
(this.restrictAccess == other.restrictAccess) &&
(this.databaseState == other.databaseState) &&
(this.defaultCursor == other.defaultCursor) &&
(this.databaseCompatibilityLevel == other.databaseCompatibilityLevel) &&
(this.pageVerify == other.pageVerify) &&
(this.closeCursorOnCommit == other.closeCursorOnCommit) &&
(this.isReadOnly == other.isReadOnly) &&
(this.autoClose == other.autoClose) &&
(this.autoShrink == other.autoShrink) &&
(this.autoCreateStatistics == other.autoCreateStatistics) &&
(this.autoCreateStatisticsIncremental == other.autoCreateStatisticsIncremental) &&
(this.autoUpdateStatistics == other.autoUpdateStatistics) &&
(this.autoUpdateStatisticsAsync == other.autoUpdateStatisticsAsync) &&
(this.ansiNullDefault == other.ansiNullDefault) &&
(this.ansiNulls == other.ansiNulls) &&
(this.ansiWarnings == other.ansiWarnings) &&
(this.ansiPadding == other.ansiPadding) &&
(this.arithabort == other.arithabort) &&
(this.concatNullYieldsNull == other.concatNullYieldsNull) &&
(this.numericRoundAbort == other.numericRoundAbort) &&
(this.quotedIdentifier == other.quotedIdentifier) &&
(this.recursiveTriggers == other.recursiveTriggers) &&
(this.fullTextIndexingEnabled == other.fullTextIndexingEnabled) &&
(this.owner == other.owner) &&
(this.collation == other.collation) &&
(this.witnessServer == other.witnessServer) &&
(this.mirrorSafetyLevel == other.mirrorSafetyLevel) &&
(this.dbChaining == other.dbChaining) &&
(this.trustworthy == other.trustworthy) &&
(this.dateCorrelationOptimization == other.dateCorrelationOptimization) &&
(this.brokerEnabled == other.brokerEnabled) &&
(this.parameterization == other.parameterization) &&
(this.varDecimalEnabled == other.varDecimalEnabled) &&
(this.encryptionEnabled == other.encryptionEnabled) &&
(this.honorBrokerPriority == other.honorBrokerPriority) &&
(this.databaseContainmentType == other.databaseContainmentType) &&
(this.defaultFulltextLanguageLcid == other.defaultFulltextLanguageLcid) &&
(this.defaultLanguageLcid == other.defaultLanguageLcid) &&
(this.nestedTriggersEnabled == other.nestedTriggersEnabled) &&
(this.transformNoiseWords == other.transformNoiseWords) &&
(this.twoDigitYearCutoff == other.twoDigitYearCutoff) &&
(this.targetRecoveryTime == other.targetRecoveryTime) &&
(this.isReadCommittedSnapshotOn == other.isReadCommittedSnapshotOn) &&
(this.allowSnapshotIsolation == other.allowSnapshotIsolation) &&
(this.filestreamNonTransactedAccess == other.filestreamNonTransactedAccess) &&
(this.filestreamDirectoryName.Equals(other.filestreamDirectoryName, StringComparison.OrdinalIgnoreCase)) &&
(this.allowSnapshotIsolation == other.allowSnapshotIsolation) &&
(this.delayedDurability == other.delayedDurability) &&
(this.azureEdition == other.azureEdition) &&
(this.configuredServiceLevelObjective == other.configuredServiceLevelObjective) &&
(this.currentServiceLevelObjective == other.currentServiceLevelObjective) &&
(this.maxDop == other.maxDop) &&
(this.maxDopForSecondary == other.maxDopForSecondary) &&
(this.legacyCardinalityEstimation == other.legacyCardinalityEstimation) &&
(this.legacyCardinalityEstimationForSecondary == other.legacyCardinalityEstimationForSecondary) &&
(this.parameterSniffing == other.parameterSniffing) &&
(this.parameterSniffingForSecondary == other.parameterSniffingForSecondary) &&
(this.queryOptimizerHotfixes == other.queryOptimizerHotfixes) &&
(this.queryOptimizerHotfixesForSecondary == other.queryOptimizerHotfixesForSecondary) &&
(this.queryStoreEnabled == other.queryStoreEnabled) &&
(this.maxSize == other.maxSize);
return result;
}