试图在互联网上寻找它,但没有成功,我只能在网上找到Sharepoint的那个。
如何使用csom c#在本地创建网站集?
答案 0 :(得分:0)
您可以尝试一下;
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
base.OnModelCreating(modelBuilder);
modelBuilder.Entity<Client>().HasQueryFilter(x => x.IsDeleted= false);
}
来自; Provisioning site collections using SP App model in on-premises with just CSOM