Исправлено  FOREIGN KEY InternalOrder_Photo

The INSERT statement conflicted with the FOREIGN KEY constraint
"FK_Document_InternalOrder_Photo_Document_InternalOrder_EntityId"