public void Delete()
        {
            Events.BeforeDeleteDocument(this, OnBeforeDelete, _classType);

            EnsureDownRelations();

            DeleteDocument();

            Events.AfterDeleteDocument(this, OnAfterDelete, OnAfterComplete, _classType);
        }