// Show database name
var bdName = MDPartsManagement.SelectedPartsDatabaseAsString;
new Decider().Decide(EnumDecisionType.eOkDecision, bdName, "DB", EnumDecisionReturn.eOK, EnumDecisionReturn.eOK);
// Check if database is open
if (partsDatabase.IsOpen);
new Decider().Decide(EnumDecisionType.eOkDecision, "DataBase is open", "DB", EnumDecisionReturn.eOK, EnumDecisionReturn.eOK);
// Check if database is readonly
if (!partsDatabase.IsReadOnly) ;
new Decider().Decide(EnumDecisionType.eOkDecision, "DataBase is not readolny", "DB", EnumDecisionReturn.eOK, EnumDecisionReturn.eOK);
// Get database version
var dataBaseVersion = partsDatabase.Version;
// Get database type
var dataBaseType = partsDatabase.Type;
// Check if database scheme is up to date
if (partsDatabase.IsSchemeUpToDate) ;
new Decider().Decide(EnumDecisionType.eOkDecision, "Scheme is up to date", "DB", EnumDecisionReturn.eOK, EnumDecisionReturn.eOK);