public void WriteVIIFiles()
        {
            using (NoRightsCheck())
            {
                ModProfile.WriteVIIFiles(DbObject);

                DbObject.Connection.ShowMessage(
                    LanguageManager.Instance["str881_WriteVIIFiles"],
                    LanguageManager.Instance["str881_Information"]);
            }
        }
        private static Task WriteViiFilesAsync(ISession session, IEntity entity, CancellationToken ct)
        {
            ISingleDbObject dbObject = entity.CreateSingleDbObject(session);

            ModProfile.WriteVIIFiles(dbObject);

            dbObject.Connection.ShowMessage(
                LanguageManager.Instance["str881_WriteVIIFiles"],
                LanguageManager.Instance["str881_Information"]);

            return(NullTask.Instance);
        }