public void CreateWebSiteWithBinding(WebSite webSite, Binding binding) { binding.WebSiteId = webSite.Id; _webSiteTable.Add(webSite.ToRow()); _bindingTable.Add(binding.ToRow()); }
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; }
public void CreateWebSite(WebSite webSite) { _webSiteTable.Add(webSite.ToRow()); }