示例#1
0
        private static ApplicationWebsiteManager CreateWebsiteManager(ApplicationDbContext dbContext)
        {
            var manager = new ApplicationWebsiteManager(new CrmWebsiteStore <ApplicationWebsite, string>(dbContext))
            {
                WebsiteName = GetWebsiteName()
            };

            return(manager);
        }
示例#2
0
        private static ApplicationWebsiteManager CreateWebsiteManager(CrmDbContext dbContext, CrmEntityStoreSettings settings)
        {
            var manager = new ApplicationWebsiteManager(new CrmWebsiteStore <ApplicationWebsite, Guid>(dbContext, settings))
            {
                WebsiteName = GetWebsiteName()
            };

            return(manager);
        }