Пример #1
0
        public void CreateWebSiteWithBinding(WebSite webSite, Binding binding)
        {
            binding.WebSiteId = webSite.Id;

            _webSiteTable.Add(webSite.ToRow());
            _bindingTable.Add(binding.ToRow());
        }
Пример #2
0
        private static IList <WebSiteRow> CreateAndSaveWebSiteRows(IAzureTable <WebSiteRow> table, int count)
        {
            var sites = new List <WebSiteRow>();

            for (var k = 0; k < count; k++)
            {
                sites.Add(CreateWebSiteRow());
            }

            table.Add(sites);

            return(sites);
        }
        private static IList<WebSiteRow> CreateAndSaveWebSiteRows(IAzureTable<WebSiteRow> table, int count)
        {
            var sites = new List<WebSiteRow>();

            for (var k = 0; k < count; k++)
            {
                sites.Add(CreateWebSiteRow());
            }

            table.Add(sites);

            return sites;
        }
Пример #4
0
 public void CreateWebSite(WebSite webSite)
 {
     _webSiteTable.Add(webSite.ToRow());
 }