public override void Update(Document entity)
 {
     ErpManager.UpdateDocumentMetadata(entity);
 }