2017-05-05 26 views

回答

1

Web數據庫僅包含給定語言的一個項目的版本,爲速度進行優化。但是可以有多個版本,因爲測試功能是e.t.c.主數據庫包含所有版本。

當涉及到數據庫存儲 項目包含字段,VersionedFields,SharedFields和UnversionedFields 的VersionedFields存儲在表VersionedFields與語言和版本列。這樣就可以進行管理。

1

每次創建新項目時,都會在master數據庫的dbo.Items表中添加新行。

該表中每個項目總是隻有一行。即使您創建了該項目的新版本。

當您創建新版本時,會在dbo.VersionedFields表中添加新行。您可以查看「__Revision , __」創建的字段,該字段由. Every row in this table is uniquely identified by [ItemId],[Language],[Version],[FieldId]`set創建。

如果檢查dbo. VersionedFields in your網絡database, you will see only 1 version of the item per language. That means that when you publish a newer version of an item fromto網絡database, the older version is removed from the web`數據庫和唯一的新版本是存在的。

相關問題