public void UpdateDocument(long Id)
        {
            Events.BeforeUpdateDocument(this, OnBeforeModify, _classType);

            EnsureUpRelations();

            m_id = Id;

            Writer.Instance.Update(_classType.Name, _classType, this);

            Events.AfterUpdateDocument(this, OnAfterModify, OnAfterComplete, _classType);
        }