Я нашел решение, скажите мне, что вы думаете, спасибо!
-- CmsCategories: Disable constraint one-to-many reflexive association to add first row
ALTER TABLE dbo.CmsCategories
NOCHECK
CONSTRAINT
FK_CmsCategories_ParentOf;
---- CmsCategories: Insert first row - Root value
INSERT INTO dbo.CmsCategories
(Title, MetaDescription, MetaKeyword, Summary, IsPublished, ParentOf)
VALUES
('Homepage','Homepage','Homepage','Homepage',1,0);
-- CmsCategories: Enable constraint one-to-many reflexive association
ALTER TABLE dbo.CmsCategories
CHECK
CONSTRAINT
FK_CmsCategories_ParentOf;