Eplan Platform API
Eplan.EplApi.MasterData Namespace / MDPartsDatabase Class / IsReadOnly Property

In This Topic
    IsReadOnly Property (MDPartsDatabase)
    In This Topic
    Returns true if the parts database is read-only. This may be the case if the Eplan database file has a read-only attribute set, or if the SQL server has write restrictions for the current user.
    Syntax
    public bool IsReadOnly {get;}
    public:
    property bool IsReadOnly {
       bool get();
    }
    Remarks
    OpenDatabase method does not automatically update a parts database from a previous to the current version. Databases in an older format will be opened read-only. You can check whether the database format is up-to-date by the property MDPartsDatabase.IsSchemeUpToDate and update it if needed by the method MDPartsDatabase.UpdateScheme(). Parts databases prior to version 2022 need to be upgraded / converted in older versions up to 2026
    See Also