Error executing template "Designs/DF2016/_parsed/ABC_Place.parsed.cshtml"
System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.RazorEngine_596fe0d3fcc34f1c8868b257f7f60e25.<>c__DisplayClass24_0.b__0(TextWriter __razor_helper_writer) in D:\home\site\wwwroot\DinForsyning\Files\Templates\Designs\DF2016\_parsed\ABC_Place.parsed.cshtml:line 581
   at CompiledRazorTemplates.Dynamic.RazorEngine_596fe0d3fcc34f1c8868b257f7f60e25.Execute() in D:\home\site\wwwroot\DinForsyning\Files\Templates\Designs\DF2016\_parsed\ABC_Place.parsed.cshtml:line 644
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0.b__0(TextWriter writer)
   at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()

1 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 2 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 3 @using System.IO 4 @using System.Web 5 @using System.Linq 6 7 @helper RenderGoogleConversion(string conversionId, string conversionLanguage, string conversionFormat, string conversionColor, string conversionLabel, string conversionValue, string conversionCurrency, bool remarketingOnly) { 8 var googleConversionId = conversionId; 9 var googleConversionLanguage = string.IsNullOrWhiteSpace(conversionLanguage) ? "en" : conversionLanguage; 10 var googleConversionFormat = string.IsNullOrWhiteSpace(conversionFormat) ? "3" : conversionFormat; 11 var googleConversionColor = string.IsNullOrWhiteSpace(conversionColor) ? "ffffff" : conversionColor; 12 var googleConversionLabel = conversionLabel; 13 var googleConversionValue = string.IsNullOrWhiteSpace(conversionValue) ? "0" : conversionValue; 14 var googleConversionCurrency = string.IsNullOrWhiteSpace(conversionCurrency) ? "DKK" : conversionCurrency; 15 var googleRemarketingOnly = remarketingOnly; 16 17 <!-- Google Code for the Conversion Page --> 18 <script type="text/javascript"> 19 /* <![CDATA[ */ 20 var google_conversion_id = @(googleConversionId); 21 var google_conversion_language = '@(googleConversionLanguage)'; 22 var google_conversion_format = '@(googleConversionFormat)'; 23 var google_conversion_color = '@(googleConversionColor)'; 24 var google_conversion_label = '@(googleConversionLabel)'; 25 var google_conversion_value = @(googleConversionValue); 26 var google_conversion_currency = '@(googleConversionCurrency)'; 27 var google_remarketing_only = @(googleRemarketingOnly ? "true" : "false"); 28 /* ]]> */ 29 </script> 30 <script type="text/javascript" src="https://www.googleadservices.com/pagead/conversion.js"></script> 31 <noscript> 32 <div style="display: inline;"> 33 <img src="https://www.googleadservices.com/pagead/conversion/@(googleConversionId)/?value=@(googleConversionValue)&amp;currency_code=@(googleConversionCurrency)&amp;label=@(googleConversionLabel)&amp;guid=ON&amp;script=0" alt="" width="1" height="1" style="border-style: none;"> 34 </div> 35 </noscript> 36 } 37 @helper RenderGoogleAnalyticsEcommerceTracking(string transactionId, string affiliation, string revenue, string shipping, string tax, string currency, string[][] orderLines) { 38 <script type="text/javascript"> 39 if (!window.skabertrang_ga_ecommerce_callbacks) 40 window.skabertrang_ga_ecommerce_callbacks = []; 41 42 (function() { 43 var orderLines = @(Newtonsoft.Json.JsonConvert.SerializeObject(orderLines)); 44 45 window.skabertrang_ga_ecommerce_callbacks.push(function() { 46 ga('require', 'ecommerce'); 47 48 ga('ecommerce:addTransaction', { 49 'id' : '@(transactionId)', 50 'affiliation' : '@(affiliation)', 51 'revenue' : '@(revenue)', 52 'shipping' : '@(shipping)', 53 'tax' : '@(tax)', 54 'currency' : '@(currency)' 55 }); 56 57 if (orderLines && orderLines.length) { 58 for (var i = 0; i < orderLines.length; i++) { 59 ga('ecommerce:addItem', { 60 'id' : '@(transactionId)', 61 'name' : orderLines[i][1], 62 'sku' : orderLines[i][0], 63 'category' : orderLines[i][2], 64 'price' : orderLines[i][3], 65 'quantity' : orderLines[i][4], 66 'currency' : '@(currency)' 67 }); 68 } 69 } 70 71 ga('ecommerce:send'); 72 }); 73 })(); 74 </script> 75 } 76 @functions { 77 string mediaOverlay(string filePath, string filePathThumb = "", string caption = "", string group = "", string alt = "", string title = "", string extraAttributes = "") { 78 var pv = Dynamicweb.Frontend.PageView.Current(); 79 var imageOverlayType = pv.Area.Item["ImageOverlayType"] as string; 80 81 filePathThumb = !string.IsNullOrWhiteSpace(filePathThumb) ? filePathThumb : filePath; 82 group = !string.IsNullOrWhiteSpace(group) ? group : !string.IsNullOrWhiteSpace(GetString("ParagraphID")) ? GetString("ParagraphID") : "imageGroup"; 83 84 if (imageOverlayType == "Fancybox") { 85 return "<a class='fancybox media-overlay' href='" + filePath + "' rel='" + group + "' title='" + title + "' data-title='" + caption + "'><img src='/Files/Templates/Designs/DF2016/"+filePathThumb+"' alt='" + alt + "' title='" + title + "' class='img-responsive'></a>"; 86 } else { 87 return "<a href='" + filePath + "' class='media-overlay' data-lightbox='" + group + "' data-title='" + caption + "'><img src='/Files/Templates/Designs/DF2016/"+filePathThumb+"' alt='" + alt + "' title='" + title + "' class='img-responsive'></a>"; 88 } 89 } 90 91 string GetImage(string image, int width, int height, int compression, int crop, string colorSpace, bool doNotUpscale) { 92 // Crop 93 // 0 = Center 94 // 1 = From upper left 95 // 2 = From lower left 96 // 3 = From lower right 97 // 4 = From upper right 98 // 5 = Keep aspect ratio 99 // 6 = Fit image 100 101 // ColorSpace 102 // rgb 103 // cmyk 104 // grayscale 105 106 var param = new List<string>(); 107 108 param.Add("Image=" + image); 109 param.Add("Format=" + Path.GetExtension(image).Substring(1)); 110 111 if (width > 0) { 112 param.Add("Width=" + width); 113 } 114 115 if (height > 0) { 116 param.Add("Height=" + height); 117 } 118 119 param.Add("Compression=" + compression); 120 param.Add("Crop=" + crop); 121 param.Add("ColorSpace=" + colorSpace); 122 param.Add("DoNotUpscale=" + (doNotUpscale ? "True" : "False")); 123 124 return "/Admin/Public/GetImage.ashx?" + string.Join("&amp;", param); 125 } 126 127 string GetImagePlaceholder(int width, int height, string backgroundColor, string textColor, string text) { 128 var r = "https://placehold.it/" + width; 129 130 if (height > 0) { 131 r += "x" + height; 132 } 133 134 if (!string.IsNullOrWhiteSpace(backgroundColor) && !string.IsNullOrWhiteSpace(textColor)) { 135 r += "/" + backgroundColor; 136 r += "/" + textColor; 137 } 138 139 if (!string.IsNullOrWhiteSpace(text)) { 140 r += "?text=" + text.Replace(" ", "+"); 141 } 142 143 return r; 144 } 145 146 147 T LoadContextItem<T>(string key) { 148 var obj = Dynamicweb.Context.Current.Items != null ? Dynamicweb.Context.Current.Items[key] : null; 149 150 if (obj == null) { 151 return default(T); 152 } 153 154 return (T)obj; 155 } 156 157 void SaveContextItem(string key, object value) { 158 if (Dynamicweb.Context.Current.Items != null && value != null) { 159 Dynamicweb.Context.Current.Items[key] = value; 160 } 161 } 162 163 string PathCombine(params string[] paths) { 164 return Path.Combine(paths); 165 } 166 167 string NullIfEmpty(string value) { 168 return string.IsNullOrEmpty(value) ? null : value; 169 } 170 171 string NullIfWhiteSpace(string value) { 172 return string.IsNullOrWhiteSpace(value) ? null : value; 173 } 174 175 string ToJson(object value) { 176 return ToJson(value, false); 177 } 178 179 string ToJson(object value, bool indented) { 180 return Newtonsoft.Json.JsonConvert.SerializeObject( 181 value, 182 indented ? Newtonsoft.Json.Formatting.Indented : Newtonsoft.Json.Formatting.None, 183 new Newtonsoft.Json.Converters.IsoDateTimeConverter { DateTimeFormat = "yyyyMMdd'T'HHmmss" } 184 ); 185 } 186 187 void AddCssFile(params string[] files) { 188 var list = LoadContextItem<List<string>>("SB.CssFiles"); 189 190 if (list == null) { 191 list = new List<string>(); 192 } 193 194 foreach (var file in files) { 195 if (!list.Contains(file, StringComparer.OrdinalIgnoreCase)) { 196 list.Add(file); 197 } 198 } 199 200 SaveContextItem("SB.CssFiles", list); 201 } 202 203 void AddJsFile(params string[] files) { 204 var list = LoadContextItem<List<string>>("SB.JsFiles"); 205 206 if (list == null) { 207 list = new List<string>(); 208 } 209 210 foreach (var file in files) { 211 if (!list.Contains(file, StringComparer.OrdinalIgnoreCase)) { 212 list.Add(file); 213 } 214 } 215 216 SaveContextItem("SB.JsFiles", list); 217 } 218 } 219 220 @functions { 221 string GetAbsoluteUrl(string url) { 222 var request = Dynamicweb.Context.Current.Request; 223 return request.Url.Scheme + "://" + request.Url.Host + url; 224 } 225 226 string GetQueryParameter(string name) { 227 return Dynamicweb.Context.Current.Request[name]; 228 } 229 230 string BuildUrl(dynamic parameters, bool clear = false) { 231 return BuildUrl(Dynamicweb.Context.Current.Request.Url.PathAndQuery, parameters, clear); 232 } 233 234 string BuildUrl(string url, dynamic parameters, bool clear = false) { 235 var dict = new Dictionary<string, object>(); 236 if(parameters != null) { 237 var type = parameters.GetType(); 238 var properties = type.GetProperties(); 239 foreach(var property in properties) { 240 dict.Add(property.Name, property.GetValue(parameters)); 241 } 242 } 243 return BuildUrl(url, dict, clear); 244 } 245 246 string BuildUrl(string url, Dictionary<string, object> parameters, bool clear = false) { 247 var query = HttpUtility.ParseQueryString(""); 248 var index = url.IndexOf('?'); 249 if(index > -1) { 250 if(!clear) { 251 query = HttpUtility.ParseQueryString(url.Substring(index)); 252 } 253 url = url.Substring(0, index); 254 } 255 256 if(parameters != null) { 257 foreach(var e in parameters) { 258 query.Remove(e.Key); 259 query.Add(e.Key, e.Value == null ? "" : e.Value.ToString()); 260 } 261 } 262 263 if(query.Count > 0) { 264 query.Remove("debug"); 265 query.Remove("dbstat"); 266 query.Remove("parse"); 267 query.Remove("purge"); 268 269 return string.Format("{0}?{1}", url, query); 270 } else { 271 return url; 272 } 273 } 274 } 275 276 @using System.Text.RegularExpressions; 277 278 @functions { 279 string GetExcerpt(string text, int length, string dots = " �") { 280 var excerpt = Regex.Replace(System.Net.WebUtility.HtmlDecode(text), "<[^>]*>", ""); 281 if(excerpt.Length > length) { 282 excerpt = excerpt.Remove(length); 283 excerpt = Regex.Replace(excerpt, @"\s[^\s]+$", ""); 284 excerpt += dots; 285 } 286 return excerpt; 287 } 288 } 289 290 @functions { 291 string StripTags(string content) { 292 return Regex.Replace(content, "<[^>]*>", ""); 293 } 294 295 } 296 297 298 299 @helper DUMP(object value, string heading = null) { 300 // https://github.com/dynamicweb/razor/wiki/Using-Json.Net-to-inspect-values 301 <pre class="dw-dump">@if (heading != null) {<text>@heading</text> 302 } 303 @Newtonsoft.Json.JsonConvert.SerializeObject(value, new Newtonsoft.Json.JsonSerializerSettings { 304 ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore, 305 MissingMemberHandling = Newtonsoft.Json.MissingMemberHandling.Ignore, 306 Error = (serializer,err) => err.ErrorContext.Handled = true, 307 Formatting = Newtonsoft.Json.Formatting.Indented 308 }) 309 </pre> 310 } 311 312 <!DOCTYPE html> 313 <html lang="en"> 314 <head> 315 <meta charset="utf-8"> 316 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 317 <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> 318 <title>@GetValue("Title")</title> 319 @GetValue("MetaTags") 320 @GetValue("CopyRightNotice") 321 322 323 @RenderSnippet("OpenGraph") 324 @RenderSnippet("Icons") 325 @RenderSnippet("Css") 326 @RenderSnippet("ParagraphCss") 327 328 @* Loading some needed scripts at top of page - rest before end of body tag *@ 329 @RenderSnippet("TopJs") 330 331 @* HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries *@ 332 <!--[if lt IE 9]> 333 <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script> 334 <script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script> 335 <![endif]--> 336 @RenderSnippet("ParagraphJs") 337 <script type="text/javascript"> 338 var appInsights = window.appInsights || function (a) { 339 function b(a) { c[a] = function () { var b = arguments; c.queue.push(function () { c[a].apply(c, b) }) } } var c = { config: a }, d = document, e = window; setTimeout(function () { var b = d.createElement("script"); b.src = a.url || "https://az416426.vo.msecnd.net/scripts/a/ai.0.js", d.getElementsByTagName("script")[0].parentNode.appendChild(b) }); try { c.cookie = d.cookie } catch (a) { } c.queue = []; for (var f = ["Event", "Exception", "Metric", "PageView", "Trace", "Dependency"]; f.length;)b("track" + f.pop()); if (b("setAuthenticatedUserContext"), b("clearAuthenticatedUserContext"), b("startTrackEvent"), b("stopTrackEvent"), b("startTrackPage"), b("stopTrackPage"), b("flush"), !a.disableExceptionTracking) { f = "onerror", b("_" + f); var g = e[f]; e[f] = function (a, b, d, e, h) { var i = g && g(a, b, d, e, h); return !0 !== i && c["_" + f](a, b, d, e, h), i } } return c 340 }({ 341 instrumentationKey: "edf6d385-f4f0-42f4-a0a2-698697c996ac" 342 }); 343 344 window.appInsights = appInsights, appInsights.queue && 0 === appInsights.queue.length && appInsights.trackPageView(); 345 </script> 346 <!-- Facebook Pixel Code --> 347 <script> 348 !function (f, b, e, v, n, t, s) { 349 if (f.fbq) return; n = f.fbq = function () { 350 n.callMethod ? 351 n.callMethod.apply(n, arguments) : n.queue.push(arguments) 352 }; 353 if (!f._fbq) f._fbq = n; n.push = n; n.loaded = !0; n.version = '2.0'; 354 n.queue = []; t = b.createElement(e); t.async = !0; 355 t.src = v; s = b.getElementsByTagName(e)[0]; 356 s.parentNode.insertBefore(t, s) 357 }(window, document, 'script', 'https://connect.facebook.net/en_US/fbevents.js'); 358 fbq('init', '2186047104992821'); 359 fbq('track', 'PageView'); 360 </script> 361 <noscript> 362 <img height="1" width="1" src="https://www.facebook.com/tr?id=2186047104992821&ev=PageView&noscript=1"> 363 </noscript> 364 <!-- End Facebook Pixel Code --> 365 366 367 @GetValue("Stylesheets") 368 @GetValue("Javascripts") 369 </head> 370 <body> 371 @RenderSnippet("FacebookSDK") 372 373 <div class="pure-container" data-effect="pure-effect-slide"> 374 <input type="checkbox" id="pure-toggle-right" class="pure-toggle" data-toggle="right" tabindex="-1"> 375 376 <label class="pure-toggle-label" for="pure-toggle-right" data-toggle-label="right"> 377 <span class="pure-toggle-icon"></span> 378 </label> 379 380 <div class="pure-drawer" data-position="right"> 381 @RenderSnippet("NavBarCanvas") 382 </div> 383 384 <div class="pure-pusher-container"> 385 <div class="pure-pusher"> 386 @RenderSnippet("Top") 387 388 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 389 @using System.Text.RegularExpressions 390 391 @functions{ 392 private string iconSplitter() { 393 return "</div> <div class='col-sm-3 big-icon col-xs-12'><div class='row'><div class='col-sm-11 col-sm-offset-1'>"; 394 } 395 private string iconSplitterExtra() { 396 return "</div></div>"; 397 } 398 } 399 400 <main class="subpage"> 401 @* SubPageBanner Begin *@ 402 @if (!GetBoolean("Item.Nobanner")) { 403 404 string pageBanner = string.Empty; 405 string pageBannerTitle = string.Empty; 406 string pageBannerAlt = string.Empty; 407 bool pageLoopReachedOwnPage = false; 408 int DwPageId = GetInteger("DwPageID"); 409 if (!string.IsNullOrEmpty(GetString("Item.Topbanner"))) { 410 pageBanner = GetString("Item.Topbanner"); 411 pageBannerAlt = GetString("Item.Alt_tekst"); 412 pageBannerTitle = GetString("Item.Title"); 413 } else { 414 for (var i = 10; i > 0; i--) { 415 if (!pageLoopReachedOwnPage) { 416 if (DwPageId == GetInteger("DwPageID_" + i)) { 417 pageLoopReachedOwnPage = true; 418 } 419 } else { 420 var subpageMaster_pageService = new Dynamicweb.Content.PageService(); 421 var parentPage = subpageMaster_pageService.GetPage(GetInteger("DwPageID_" + i)); 422 var parentPageItem = parentPage.Item; 423 424 if (parentPageItem != null) { 425 var sTopbanner = (string)parentPageItem["Topbanner"]; 426 var sTitle = (string)parentPageItem["Title"]; 427 var sAlttekst = (string)parentPageItem["Alt_tekst"]; 428 429 if (!string.IsNullOrWhiteSpace(sTopbanner)) { 430 pageBanner = sTopbanner; 431 } 432 if (!string.IsNullOrWhiteSpace(sTitle)) { 433 pageBannerTitle = sTitle; 434 } 435 if (!string.IsNullOrWhiteSpace(sAlttekst)) { 436 pageBannerAlt = sAlttekst; 437 } 438 } 439 440 } 441 if (!string.IsNullOrWhiteSpace(pageBanner)) { 442 break; 443 } 444 } 445 } 446 if (string.IsNullOrWhiteSpace(pageBanner)) { 447 pageBanner = GetString("Item.Area.Subpagetopbanner"); 448 pageBannerAlt = GetString("Item.Area.Alt_tekst"); 449 pageBannerTitle = GetString("Item.Area.Title"); 450 } 451 452 if (!string.IsNullOrWhiteSpace(pageBanner)) { 453 string bannerFileType = Path.GetExtension(pageBanner).Replace(".", string.Empty); 454 <div class="page-banner-image-container text-center hidden-xs"> 455 <img src="/Admin/Public/GetImage.ashx?Image=@(pageBanner)&amp;Format=@(bannerFileType)&amp;Width=2000&amp;DoNotUpscale=False" class="page-banner-image img-responsive" alt="@(pageBannerAlt)" title="@(pageBannerTitle)"> 456 </div> 457 } 458 } 459 @* SubPageBanner End *@ 460 <div id="content-container" class="container"> 461 @RenderSnippet("Alert") 462 @* Breadcrum Begin *@ 463 <div class="row"> 464 <nav class="breadcrumb-wrapper hidden-xs col-sm-12" role="navigation"> 465 @GetValue("DwNavigation(breadcrumb)") 466 </nav> 467 </div> 468 @* Breadcrum End *@ 469 <div class="icon-bar row"> 470 @{ 471 int iconCounter = 0; 472 } 473 <div class="col-sm-9 col-xs-12"> 474 475 @foreach (var icon in GetLoop("Item.Area.Icons")) { 476 string image = icon.GetString("Item.Area.Icons.Icon"); 477 string imageHover = image.Split('.')[0] + "_hover." + image.Split('.')[1]; 478 string text = icon.GetString("Item.Area.Icons.Text"); 479 string attributeText = Regex.Replace(text, "<.*?>", String.Empty); 480 string link = icon.GetString("Item.Area.Icons.Link"); 481 string iconClass = "icon"; 482 if (!string.IsNullOrWhiteSpace(image) && !string.IsNullOrWhiteSpace(link)) { 483 if (link == GetString("DwTopPageID")) { 484 iconClass += " inpath"; 485 image = imageHover; 486 } 487 if (iconCounter == 4) { 488 @iconSplitter() 489 490 } 491 <a href="/Default.aspx?ID=@link" title="Gå til @attributeText" aria-label="Gå til side vedr. @attributeText" class="@iconClass"> 492 <img alt="Ikon for @attributeText" src="@image" data-image-hover="@imageHover"> 493 @if (!string.IsNullOrWhiteSpace(text)) { 494 <p>@text</p> 495 } 496 </a> 497 498 if (iconCounter == 4) { 499 @iconSplitterExtra() 500 } 501 iconCounter++; 502 } 503 } 504 </div> 505 </div> 506 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 507 @using Dynamicweb.Content.Items; 508 509 510 511 @{ 512 string pagetype = GetString("Item.PageType"); 513 string columns = string.Empty; 514 string choice = string.Empty; 515 string left = GetString("DwContent(columnleftcontent)"); 516 string right = GetString("DwContent(columnrightcontent)"); 517 string tabs = GetString("DwContent(tabs)"); 518 bool lefttrue = false; 519 bool righttrue = false; 520 bool nonav = GetBoolean("Item.NoNavigation"); 521 var topPage = GetGlobalValue("Global:Page.Top.Name"); 522 var currentPage = GetGlobalValue("Global:Page.Name"); 523 bool isTopPage = topPage == currentPage ? true : false; 524 bool ecomNavigation = GetBoolean("Item.Page.Ecommerce_UseEcomMenu"); 525 bool dropdownDisabled = GetBoolean("Item.Page.Dropdown_Disabled"); 526 bool useAsContainer = GetBoolean("Item.UseAsContainer"); 527 string pageColumns = string.Empty; 528 var subPage_pageService = new Dynamicweb.Content.PageService(); 529 var topPageObj = subPage_pageService.GetPage(int.Parse(GetGlobalValue("Global:Page.Top.ID"))); 530 var subPages = subPage_pageService.GetPagesByParentID(topPageObj.ID).Where(x => x.Active); 531 bool hasSubPages = subPages.Any(); 532 Dynamicweb.Frontend.PageView.GetPageviewByPageID(topPageObj.ID); 533 string navtag = topPageObj.NavigationTag; 534 bool useCustomNav = true; 535 536 537 538 539 if(pagetype == "3columns") { 540 columns = "3"; 541 lefttrue = true; 542 righttrue = true; 543 } else if((pagetype == "2columns_right" || (!string.IsNullOrEmpty(right) && string.IsNullOrEmpty(left))) && pagetype != "2columns_left" && pagetype != "1column") { 544 columns = "3"; 545 righttrue = true; 546 547 if(pagetype == "2columns_right" || nonav || (isTopPage && dropdownDisabled && !hasSubPages)) { 548 nonav = true; 549 columns = "2"; 550 } 551 } else if((pagetype == "2columns_left" || (!string.IsNullOrEmpty(left) && string.IsNullOrEmpty(right)) || ((!nonav && ((!isTopPage || hasSubPages) || dropdownDisabled)) && string.IsNullOrEmpty(right))) && pagetype != "2columns_right" && pagetype != "1column") { 552 columns = "2"; 553 lefttrue = true; 554 } else if((pagetype == "1column" || (string.IsNullOrEmpty(left) && string.IsNullOrEmpty(right))) && pagetype != "2columns_left" && pagetype != "2columns_right") { 555 columns = "1"; 556 nonav = true; 557 } else { 558 columns = "3"; 559 lefttrue = true; 560 righttrue = true; 561 } 562 563 string tempClasses = columns == "1" ? " col-sm-12 col-xs-12" : columns == "2" ? !righttrue ? " col-sm-9 col-xs-12" : " col-sm-9 col-xs-12" : " col-sm-6 col-xs-12"; 564 string centerClasses = (!lefttrue && nonav) && righttrue ? "columns" + columns + " column-layout-no-left" + tempClasses : (lefttrue || !nonav) && !righttrue ? "columns" + columns + " column-layout-no-right" + tempClasses : "columns" + columns + tempClasses; 565 566 } 567 568 @helper renderNavTree(Dynamicweb.Content.Page navPage, int currentDepth, Dynamicweb.Content.PageService renderNavTree_pageService) { 569 //currentDepth is to maximize the recursive run. 570 int maxDepth = 5; 571 572 var topPageview = Dynamicweb.Frontend.PageView.Current(); 573 var topPageviewPagePaths = topPageview.Page.GetPath(); 574 575 foreach(var i in renderNavTree_pageService.GetPagesByParentID(navPage.ID).Where(x => x.Active)) { 576 bool UseNavPageAsContainer = false; 577 int parentNavPage = i.Parent != null ? i.Parent.ID : 0; 578 var childrenPages = renderNavTree_pageService.GetPagesByParentID(i.ID).Where(x => x.Active); 579 580 581 foreach(var t in i.Item) { 582 if(t.Key == "UseAsContainer") { 583 if(t.Value != null) { 584 UseNavPageAsContainer = (bool)t.Value; 585 } 586 } 587 } 588 string navPageClass = string.Empty; 589 string href = "#"; 590 bool inpath = topPageviewPagePaths.Contains(i); 591 bool inpathActive = Pageview.ID == i.ID; 592 593 if(inpath && !inpathActive) { 594 navPageClass += "list-inpath "; 595 } 596 597 if(inpathActive) { 598 navPageClass += "list-active "; 599 600 if(childrenPages.Any()) { 601 navPageClass += "list-open-active "; 602 } 603 } 604 605 if(UseNavPageAsContainer) { 606 navPageClass += "dropdown "; 607 href = "javascript:void(0);"; 608 } else { 609 href = "/Default.aspx?ID=" + i.ID; 610 } 611 612 <li class="@navPageClass" data-depth="@currentDepth" data-published="@i.Published" data-active="@i.Active" data-hidden="@i.Hidden"> 613 <a href="@href" data-page-id="@i.ID" data-page-parent="@parentNavPage"> 614 @i.MenuText 615 @if(UseNavPageAsContainer) { 616 <i class="fa fa-angle-right" aria-hidden="true"></i> 617 } 618 </a> 619 620 @if(childrenPages.Any() && currentDepth < maxDepth) { 621 <ul> 622 @renderNavTree(i, currentDepth + 1, renderNavTree_pageService) 623 </ul> 624 } 625 </li> 626 } 627 } 628 <div class="row"> 629 @if(lefttrue || !nonav) { 630 631 <aside id="column-left-wrapper" class="col-sm-3 col-xs-12 column-side-wrapper"> 632 <div class="row"> 633 <div id="column-left" class="col-sm-11 column-side"> 634 @if(!nonav && (((!isTopPage || hasSubPages) || dropdownDisabled))) { 635 <nav id="column-left-nav" class="row"> 636 @if(useCustomNav) { 637 bool isTopBarNav = navtag == "topbarnav" || navtag == "campaign"; 638 if(isTopBarNav) { 639 <ul class="nav-list col-xs-12" id="left-top-bar-nav"> 640 @renderNavTree(subPage_pageService.GetPage(GetInteger("DwPageID_2")), 1, subPage_pageService) 641 </ul> 642 } else { 643 <ul class="nav-list col-xs-12" id="left-top-bar-nav"> 644 @renderNavTree(topPageObj, 1, subPage_pageService) 645 </ul> 646 } 647 } else { 648 @GetValue("DwNavigation(leftnav)") 649 } 650 651 </nav> 652 } 653 <div id="columnleftcontent" class="column-side-content row">@GetValue("DwContent(columnleftcontent)")</div> 654 </div> 655 </div> 656 </aside> 657 } 658 <div id="center-column-wrapper" class="@centerClasses"> 659 <div id="columncenter" class="column-center row">@GetValue("DwContent(columncenter)")</div> 660 @{ 661 var locations = GetLoop("Item.Locations"); 662 663 } 664 @foreach(var i in locations){ 665 666 } 667 668 @RenderSnippet("SNS") 669 </div> 670 671 @if(righttrue) { 672 <aside id="column-right-wrapper" class="col-sm-3 col-xs-12 column-side-wrapper"> 673 <div class="row"> 674 <div id="column-right" class="col-sm-11 col-sm-offset-1 column-side"> 675 <div id="columnrightcontent" class="column-side-content row">@GetValue("DwContent(columnrightcontent)")</div> 676 </div> 677 </div> 678 </aside> 679 } 680 </div> 681 682 <script type="text/javascript"> 683 $(function () { 684 centerColumnSpotFix(@columns); 685 }); 686 </script> 687 </div> 688 </main> 689 690 @RenderSnippet("Footer") 691 </div> 692 </div> 693 694 <label class="pure-overlay" for="pure-toggle-right" data-overlay="right"></label> 695 </div> 696 697 @* Scripts placed at the end of the page to make it load faster *@ 698 @RenderSnippet("BottomJs") 699 @RenderSnippet("ParagraphJs") 700 @RenderSnippet("GoogleAnalytics") 701 @RenderSnippet("CookieNotice") 702 @RenderSnippet("ModalContent") 703 704 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 705 @{ 706 var backendUser = Dynamicweb.Security.UserManagement.User.get_Current(Dynamicweb.Security.UserManagement.PagePermissionLevels.Backend); 707 bool amTesting = Dynamicweb.Context.Current.Request.QueryString.Get("test") == "testing"; 708 709 if (amTesting) { 710 711 <pre>@Dynamicweb.Context.Current.Request.ServerVariables["REMOTE_ADDR"]</pre> 712 } 713 } 714 @if (backendUser != null) { 715 <div class="page-edit" style="position: fixed; bottom: 10px; right: 10px; z-index: 100"> 716 <div class="btn-group dropup"> 717 <button type="button" class="btn btn-default">@Translate("Page actions")</button> 718 <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> 719 <span class="caret"></span> 720 </button> 721 <ul class="dropdown-menu pull-right"> 722 @if (Pageview.Page.Item == null) { 723 <li><a target="backend" href="/Admin/Content/PageEdit.aspx?ID=@Pageview.Page.ID">@Translate("Edit page properties")</a></li> 724 <li><a target="backend" href="/Admin/Content/ParagraphList.aspx?PageID=@Pageview.Page.ID">@Translate("Edit paragraphs")</a></li> 725 } else { 726 <li><a target="backend" href="/Admin/Content/Items/Editing/ItemEdit.aspx?PageID=@Pageview.Page.ID">@Translate("Edit page")</a></li> 727 <li><a target="backend" href="/Admin/Content/ParagraphList.aspx?PageID=@Pageview.Page.ID&amp;mode=viewParagraphs">@Translate("Edit paragraphs")</a></li> 728 <li><a target="backend" href="/Admin/Content/PageEdit.aspx?ID=@Pageview.Page.ID">@Translate("Edit page properties")</a></li> 729 } 730 </ul> 731 </div> 732 </div> 733 } 734 735 @RenderSnippet("ViewportHack") 736 737 @* -- WCAG -- *@ 738 <script defer="" src="https://cdn.polyfill.io/v2/polyfill.js?features=Element.prototype.classList"></script> 739 <script defer="" src="https://unpkg.com/focus-visible"></script> 740 </body> 741 </html> 742 743 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 744 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 745 @SnippetStart("OpenGraph") 746 @{ 747 var openGraph_Domain = "https://" + Dynamicweb.Context.Current.Request.Url.Host; 748 var openGraph_Url = GetString("Item.Page.Og_Url"); 749 var openGraph_Title = GetString("Item.Page.Og_Title"); 750 var openGraph_Type = GetString("Item.Page.Og_Type"); 751 var openGraph_Description = GetString("Item.Page.Og_Description"); 752 var openGraph_Image = GetString("Item.Page.Og_Image"); 753 } 754 @if (!string.IsNullOrWhiteSpace(openGraph_Url)) { 755 <meta property="og:url" content="@(openGraph_Domain)/Default.aspx?ID=@(openGraph_Url)"> 756 } 757 @if (!string.IsNullOrWhiteSpace(openGraph_Title)) { 758 <meta property="og:title" content="@(openGraph_Title)"> 759 } 760 @if (!string.IsNullOrWhiteSpace(openGraph_Type)) { 761 <meta property="og:type" content="@(openGraph_Type)"> 762 } 763 @if (!string.IsNullOrWhiteSpace(openGraph_Description)) { 764 <meta property="og:description" content="@(openGraph_Description)"> 765 } 766 @if (!string.IsNullOrWhiteSpace(openGraph_Image)) { 767 <meta property="og:image" content="@(openGraph_Domain)@(openGraph_Image)"> 768 } 769 @SnippetEnd("OpenGraph") 770 @SnippetStart("Alert") 771 @{ 772 string alertHeadline = GetString("Item.Area.Alert_Headline"); 773 string alertText = GetString("Item.Area.Alert_Text"); 774 bool alertShown = GetBoolean("Item.Area.Alert_Shown"); 775 } 776 777 @if(alertShown && (!string.IsNullOrWhiteSpace(alertHeadline)||!string.IsNullOrWhiteSpace(alertText))){ 778 <div class="row alert-row bgo jumbotron"> 779 <div class="alert-wrapper col-sm-12"> 780 @if(!string.IsNullOrWhiteSpace(alertHeadline)){ 781 <h1>@alertHeadline</h1> 782 } 783 @if(!string.IsNullOrWhiteSpace(alertText)){ 784 <text>@alertText</text> 785 } 786 </div> 787 </div> 788 } 789 @SnippetEnd("Alert") 790 @SnippetStart("EmployeeImage") 791 @{ 792 var employeeImage_AnonymousImage = GetString("Item.Area.Employee_AnonymousImage"); 793 } 794 @if (!string.IsNullOrWhiteSpace(employeeImage_AnonymousImage) && employeeImage_AnonymousImage != "/") { 795 var employeeImage_Image = GetImage(employeeImage_AnonymousImage, 1170, 0, 100, 0, "rgb", false); 796 797 <div class="row"> 798 <div class="col-md-12 employee-image"> 799 <img src="@(employeeImage_Image)" class="img-responsive"> 800 </div> 801 </div> 802 } 803 @SnippetEnd("EmployeeImage") 804 @SnippetStart("ExtranetLogin") 805 @{ 806 var extranetLogin_Username = GetGlobalValue("Global:Extranet.UserName"); 807 } 808 <div id="login"> 809 @if (string.IsNullOrWhiteSpace(extranetLogin_Username)) { 810 <a href="/Default.aspx?ID=2">Login</a> 811 } else { 812 <a href="/Admin/Public/extranetlogoff.aspx?ID=1">@(extranetLogin_Username) - Logud</a> 813 } 814 </div> 815 @SnippetEnd("ExtranetLogin") 816 @SnippetStart("SearchField") 817 @{ 818 var searchField_SearchPageId = GetValue("DwAreaSearchPageID"); 819 } 820 <form method="get" action="/Default.aspx" role="search"> 821 <div class="form-group"> 822 <input type="hidden" name="ID" value="@searchField_SearchPageId"> 823 <div class="input-group"> 824 <input type="text" class="form-control" name="q" placeholder="S&oslash;g"> 825 <span class="input-group-btn"> 826 <button class="btn btn-default" type="submit" aria-label="S�g"> 827 <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 828 </button> 829 </span> 830 </div> 831 </div> 832 </form> 833 @SnippetEnd("SearchField") 834 @SnippetStart("SNS") 835 <div class="row sns" aria-hidden="true"> 836 <div class="col-xs-12"> 837 Del siden: 838 <div class="addthis_toolbox addthis_default_style "> 839 <a class="addthis_button_preferred_1"></a> 840 <a class="addthis_button_preferred_2"></a> 841 <a class="addthis_button_preferred_3"></a> 842 <a class="addthis_button_preferred_4"></a> 843 <a class="addthis_button_compact"></a> 844 <a class="addthis_counter addthis_bubble_style"></a> 845 </div> 846 </div> 847 <script type="text/javascript">var addthis_config = { data_track_addressbar: false };</script> 848 <script async="" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-51c009407d4aa776"></script> 849 </div> 850 @SnippetEnd("SNS") 851 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 852 @SnippetStart("Top") 853 @using System; 854 @using System.Web.Services; 855 @using System.Diagnostics; 856 @using System.Web.Services.Protocols; 857 @using System.Xml.Serialization; 858 @using System.ComponentModel; 859 860 @functions { 861 //------------------------------------------------------------------------------ 862 // <auto-generated> 863 // Denne kode blev oprettet ved hjælp af et værktøj. 864 // Runtime-version:4.0.30319.42000 865 // 866 // Ændringer af denne fil kan resultere i ukorrekt funktion, og ændringerne mistes, hvis 867 // koden oprettes igen. 868 // </auto-generated> 869 //------------------------------------------------------------------------------ 870 871 // 872 // This source code was auto-generated by wsdl, Version=4.0.30319.33440. 873 // 874 875 /// <remarks></remarks> 876 [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.33440")] 877 [System.Diagnostics.DebuggerStepThroughAttribute()] 878 [System.ComponentModel.DesignerCategoryAttribute("code")] 879 [System.Web.Services.WebServiceBindingAttribute(Name="beredskabsalarmSoap", Namespace="http://www.beredskabsalarm.dk/")] 880 public partial class beredskabsalarm : System.Web.Services.Protocols.SoapHttpClientProtocol { 881 882 /// <remarks></remarks> 883 public beredskabsalarm() { 884 string urlSetting = System.Configuration.ConfigurationManager.AppSettings["Beredskabsalarm.Api.Url"]; 885 if ((urlSetting != null)) { 886 this.Url = string.Concat(urlSetting, "services/beredskabsalarm.asmx"); 887 } 888 else { 889 this.Url = "https://beredskabsalarm.dk/services/beredskabsalarm.asmx"; 890 } 891 } 892 893 /// <remarks></remarks> 894 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/checkAddress", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 895 public address[] checkAddress(string UserName, string Password, address[] addressList) { 896 object[] results = this.Invoke("checkAddress", new object[] { 897 UserName, 898 Password, 899 addressList}); 900 return ((address[])(results[0])); 901 } 902 903 /// <remarks></remarks> 904 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/createSingleAddressBroadcast", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 905 public long createSingleAddressBroadcast(string UserName, string Password, short ZipCode, string StreetName, int fromNumber, int toNumber, string letter, string floor, string door, string SmsSendAs, string Message, long refId) { 906 object[] results = this.Invoke("createSingleAddressBroadcast", new object[] { 907 UserName, 908 Password, 909 ZipCode, 910 StreetName, 911 fromNumber, 912 toNumber, 913 letter, 914 floor, 915 door, 916 SmsSendAs, 917 Message, 918 refId}); 919 return ((long)(results[0])); 920 } 921 922 /// <remarks></remarks> 923 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/createSingleSms", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 924 public long createSingleSms(string UserName, string Password, string Cellphone, string SmsSendAs, string Message, long refId) { 925 object[] results = this.Invoke("createSingleSms", new object[] { 926 UserName, 927 Password, 928 Cellphone, 929 SmsSendAs, 930 Message, 931 refId}); 932 return ((long)(results[0])); 933 } 934 935 /// <remarks></remarks> 936 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/createSmsGroup", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 937 public ApiDataSet createSmsGroup(string userName, string Password, string SmsSendAs, string Message, bool OverruleBlockedNumber, ApiDataSet.SmsGroupItemsDataTable GroupItems) { 938 object[] results = this.Invoke("createSmsGroup", new object[] { 939 userName, 940 Password, 941 SmsSendAs, 942 Message, 943 OverruleBlockedNumber, 944 GroupItems}); 945 return ((ApiDataSet)(results[0])); 946 } 947 948 /// <remarks></remarks> 949 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/createSmsGroup2", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 950 public ApiDataSet createSmsGroup2(string userName, string Password, string SmsSendAs, string Message, bool OverruleBlockedNumber, ApiDataSet.SmsGroupItemsDataTable GroupItems, bool SendToAddress, bool SendToAdmin, bool SendToOwner) { 951 object[] results = this.Invoke("createSmsGroup2", new object[] { 952 userName, 953 Password, 954 SmsSendAs, 955 Message, 956 OverruleBlockedNumber, 957 GroupItems, 958 SendToAddress, 959 SendToAdmin, 960 SendToOwner}); 961 return ((ApiDataSet)(results[0])); 962 } 963 964 /// <remarks></remarks> 965 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/createSmsGroup3", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 966 public ApiDataSet createSmsGroup3(string userName, string Password, GroupProperties Group, ApiDataSet.SmsGroupItemsDataTable GroupItems) { 967 object[] results = this.Invoke("createSmsGroup3", new object[] { 968 userName, 969 Password, 970 Group, 971 GroupItems}); 972 return ((ApiDataSet)(results[0])); 973 } 974 975 /// <remarks></remarks> 976 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/createMapGeoObjectBroardcast", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 977 public MapGeoObjecResult createMapGeoObjectBroardcast(string UserName, string Password, MapGeoObjecProperties Properties) { 978 object[] results = this.Invoke("createMapGeoObjectBroardcast", new object[] { 979 UserName, 980 Password, 981 Properties}); 982 return ((MapGeoObjecResult)(results[0])); 983 } 984 985 /// <remarks></remarks> 986 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/prepareSmsGroup", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 987 public ApiDataSet prepareSmsGroup(string userName, string Password, string SmsSendAs, string Message, bool OverruleBlockedNumber, ApiDataSet.SmsGroupItemsDataTable GroupItems, bool SendToAddress, bool SendToAdmin, bool SendToOwner) { 988 object[] results = this.Invoke("prepareSmsGroup", new object[] { 989 userName, 990 Password, 991 SmsSendAs, 992 Message, 993 OverruleBlockedNumber, 994 GroupItems, 995 SendToAddress, 996 SendToAdmin, 997 SendToOwner}); 998 return ((ApiDataSet)(results[0])); 999 } 1000 1001 /// <remarks></remarks> 1002 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/prepareSmsGroupClear", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1003 public string prepareSmsGroupClear(string userName, string Password) { 1004 object[] results = this.Invoke("prepareSmsGroupClear", new object[] { 1005 userName, 1006 Password}); 1007 return ((string)(results[0])); 1008 } 1009 1010 /// <remarks></remarks> 1011 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/deliveryReport", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1012 public ApiDataSet.SmsLogQueueStatusDataTable deliveryReport(string userName, string password, long groupId) { 1013 object[] results = this.Invoke("deliveryReport", new object[] { 1014 userName, 1015 password, 1016 groupId}); 1017 return ((ApiDataSet.SmsLogQueueStatusDataTable)(results[0])); 1018 } 1019 1020 /// <remarks></remarks> 1021 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/deliveryReportByRefId", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1022 public ApiDataSet.SmsLogQueueStatusDataTable deliveryReportByRefId(string userName, string password, long refId, System.DateTime fromDate) { 1023 object[] results = this.Invoke("deliveryReportByRefId", new object[] { 1024 userName, 1025 password, 1026 refId, 1027 fromDate}); 1028 return ((ApiDataSet.SmsLogQueueStatusDataTable)(results[0])); 1029 } 1030 1031 /// <remarks></remarks> 1032 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/deliveryReportByUserName", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1033 public ApiDataSet.SmsLogQueueStatusDataTable deliveryReportByUserName(string userName, string password, System.DateTime fromDate) { 1034 object[] results = this.Invoke("deliveryReportByUserName", new object[] { 1035 userName, 1036 password, 1037 fromDate}); 1038 return ((ApiDataSet.SmsLogQueueStatusDataTable)(results[0])); 1039 } 1040 1041 /// <remarks></remarks> 1042 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/deliveryReportAllAddressAndGeoData", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1043 public AddressInfo[] deliveryReportAllAddressAndGeoData(string userName, string password, long groupId) { 1044 object[] results = this.Invoke("deliveryReportAllAddressAndGeoData", new object[] { 1045 userName, 1046 password, 1047 groupId}); 1048 return ((AddressInfo[])(results[0])); 1049 } 1050 1051 /// <remarks></remarks> 1052 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/smsGroups", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1053 public ApiDataSet.SmsGroupDataTable smsGroups(string userName, string password) { 1054 object[] results = this.Invoke("smsGroups", new object[] { 1055 userName, 1056 password}); 1057 return ((ApiDataSet.SmsGroupDataTable)(results[0])); 1058 } 1059 1060 /// <remarks></remarks> 1061 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/findStreet", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1062 public ApiDataSet.ZipAndStreetDataTable findStreet(string userName, string password, short zip, string searchStreet) { 1063 object[] results = this.Invoke("findStreet", new object[] { 1064 userName, 1065 password, 1066 zip, 1067 searchStreet}); 1068 return ((ApiDataSet.ZipAndStreetDataTable)(results[0])); 1069 } 1070 1071 /// <remarks></remarks> 1072 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/addEmailToAdress", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1073 public bool addEmailToAdress(string userName, string password, string email, short zip, string streetName, int houseNumber, string letter, string door, string floor, bool removeEmail) { 1074 object[] results = this.Invoke("addEmailToAdress", new object[] { 1075 userName, 1076 password, 1077 email, 1078 zip, 1079 streetName, 1080 houseNumber, 1081 letter, 1082 door, 1083 floor, 1084 removeEmail}); 1085 return ((bool)(results[0])); 1086 } 1087 1088 /// <remarks></remarks> 1089 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/addPhoneGenerateAuthCode", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1090 public bool addPhoneGenerateAuthCode(string userName, string password, string number, string email) { 1091 object[] results = this.Invoke("addPhoneGenerateAuthCode", new object[] { 1092 userName, 1093 password, 1094 number, 1095 email}); 1096 return ((bool)(results[0])); 1097 } 1098 1099 /// <remarks></remarks> 1100 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/addPhoneToAdressAuthCode", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1101 public bool addPhoneToAdressAuthCode(string userName, string password, int number, short zip, string streetName, int houseNumber, string letter, string door, string floor, bool removeNumber, string authCode) { 1102 object[] results = this.Invoke("addPhoneToAdressAuthCode", new object[] { 1103 userName, 1104 password, 1105 number, 1106 zip, 1107 streetName, 1108 houseNumber, 1109 letter, 1110 door, 1111 floor, 1112 removeNumber, 1113 authCode}); 1114 return ((bool)(results[0])); 1115 } 1116 1117 /// <remarks></remarks> 1118 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/addPhoneToAdress", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1119 public bool addPhoneToAdress(string userName, string password, int number, short zip, string streetName, int houseNumber, string letter, string door, string floor, bool removeNumber) { 1120 object[] results = this.Invoke("addPhoneToAdress", new object[] { 1121 userName, 1122 password, 1123 number, 1124 zip, 1125 streetName, 1126 houseNumber, 1127 letter, 1128 door, 1129 floor, 1130 removeNumber}); 1131 return ((bool)(results[0])); 1132 } 1133 1134 /// <remarks></remarks> 1135 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/blockPhone", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1136 public bool blockPhone(string userName, string password, int number, bool removeBlock) { 1137 object[] results = this.Invoke("blockPhone", new object[] { 1138 userName, 1139 password, 1140 number, 1141 removeBlock}); 1142 return ((bool)(results[0])); 1143 } 1144 1145 /// <remarks></remarks> 1146 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/smsStatusList", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1147 public LogStatus[] smsStatusList(string userName, string password) { 1148 object[] results = this.Invoke("smsStatusList", new object[] { 1149 userName, 1150 password}); 1151 return ((LogStatus[])(results[0])); 1152 } 1153 1154 /// <remarks></remarks> 1155 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/smsToWebGetMessages", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1156 public smsTowebMessage[] smsToWebGetMessages(string UserName, string Password) { 1157 object[] results = this.Invoke("smsToWebGetMessages", new object[] { 1158 UserName, 1159 Password}); 1160 return ((smsTowebMessage[])(results[0])); 1161 } 1162 1163 /// <remarks></remarks> 1164 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/smsToWebGetMessagesFromDateToDate", RequestNamespace = "http://www.beredskabsalarm.dk/", ResponseNamespace = "http://www.beredskabsalarm.dk/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1165 public smsTowebMessage[] smsToWebGetMessagesFromDateToDate(string UserName, string Password, DateTime From, DateTime To) { 1166 object[] results = this.Invoke("smsToWebGetMessagesFromDateToDate", new object[] { 1167 UserName, 1168 Password, 1169 From, 1170 To}); 1171 return ((smsTowebMessage[])(results[0])); 1172 } 1173 1174 1175 /// <remarks></remarks> 1176 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/smsToWebGetTypes", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1177 public smsTowebType[] smsToWebGetTypes(string UserName, string Password) { 1178 object[] results = this.Invoke("smsToWebGetTypes", new object[] { 1179 UserName, 1180 Password}); 1181 return ((smsTowebType[])(results[0])); 1182 } 1183 1184 /// <remarks></remarks> 1185 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/smsToWebUpdateMessage", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1186 public string smsToWebUpdateMessage(string UserName, string Password, smsTowebMessage Message) { 1187 object[] results = this.Invoke("smsToWebUpdateMessage", new object[] { 1188 UserName, 1189 Password, 1190 Message}); 1191 return ((string)(results[0])); 1192 } 1193 1194 /// <remarks></remarks> 1195 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/smsToWebGetMessagesForUsername", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1196 public smsTowebMessage[] smsToWebGetMessagesForUsername(string UserName, string Password, string GetForUserName) { 1197 object[] results = this.Invoke("smsToWebGetMessagesForUsername", new object[] { 1198 UserName, 1199 Password, 1200 GetForUserName}); 1201 return ((smsTowebMessage[])(results[0])); 1202 } 1203 1204 /// <remarks></remarks> 1205 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/smsToWebGetMessagesForUsernameFromDate", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1206 public smsTowebMessage[] smsToWebGetMessagesForUsernameFromDate(string UserName, string Password, string GetForUserName, System.DateTime fromDateTime) { 1207 object[] results = this.Invoke("smsToWebGetMessagesForUsernameFromDate", new object[] { 1208 UserName, 1209 Password, 1210 GetForUserName, 1211 fromDateTime}); 1212 return ((smsTowebMessage[])(results[0])); 1213 } 1214 1215 /// <remarks></remarks> 1216 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/smsToWebCreateMessages", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1217 public bool smsToWebCreateMessages(string UserName, string Password, System.DateTime FromDateTime, System.DateTime ToDateTime, string Header, string Message, bool Critical, bool Attention) { 1218 object[] results = this.Invoke("smsToWebCreateMessages", new object[] { 1219 UserName, 1220 Password, 1221 FromDateTime, 1222 ToDateTime, 1223 Header, 1224 Message, 1225 Critical, 1226 Attention}); 1227 return ((bool)(results[0])); 1228 } 1229 1230 /// <remarks></remarks> 1231 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/getSmsTemplates", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1232 public SmsTemplate[] getSmsTemplates(string UserName, string Password) { 1233 object[] results = this.Invoke("getSmsTemplates", new object[] { 1234 UserName, 1235 Password}); 1236 return ((SmsTemplate[])(results[0])); 1237 } 1238 1239 /// <remarks></remarks> 1240 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/AdressStatistics", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1241 public SmsStatistic[] AdressStatistics(string UserName, string Password, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable<long> groupId, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable<System.DateTime> fromDate, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable<System.DateTime> toDate) { 1242 object[] results = this.Invoke("AdressStatistics", new object[] { 1243 UserName, 1244 Password, 1245 groupId, 1246 fromDate, 1247 toDate}); 1248 return ((SmsStatistic[])(results[0])); 1249 } 1250 1251 /// <remarks></remarks> 1252 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.beredskabsalarm.dk/PhoneStatistics", RequestNamespace="http://www.beredskabsalarm.dk/", ResponseNamespace="http://www.beredskabsalarm.dk/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] 1253 public SmsStatistic[] PhoneStatistics(string UserName, string Password, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable<long> groupId, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable<System.DateTime> fromDate, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable<System.DateTime> toDate) { 1254 object[] results = this.Invoke("PhoneStatistics", new object[] { 1255 UserName, 1256 Password, 1257 groupId, 1258 fromDate, 1259 toDate}); 1260 return ((SmsStatistic[])(results[0])); 1261 } 1262 } 1263 1264 /// <remarks></remarks> 1265 [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.33440")] 1266 [System.SerializableAttribute()] 1267 [System.Diagnostics.DebuggerStepThroughAttribute()] 1268 [System.ComponentModel.DesignerCategoryAttribute("code")] 1269 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.beredskabsalarm.dk/")] 1270 public partial class address { 1271 1272 private short zipCodeField; 1273 1274 private string streetNameField; 1275 1276 private int numberField; 1277 1278 private string letterField; 1279 1280 private string floorField; 1281 1282 private string doorField; 1283 1284 private long refIdField; 1285 1286 private int phoneCountField; 1287 1288 private CheckAddressResult resultField; 1289 1290 /// <remarks></remarks> 1291 public short ZipCode { 1292 get { 1293 return this.zipCodeField; 1294 } 1295 set { 1296 this.zipCodeField = value; 1297 } 1298 } 1299 1300 /// <remarks></remarks> 1301 public string StreetName { 1302 get { 1303 return this.streetNameField; 1304 } 1305 set { 1306 this.streetNameField = value; 1307 } 1308 } 1309 1310 /// <remarks></remarks> 1311 public int Number { 1312 get { 1313 return this.numberField; 1314 } 1315 set { 1316 this.numberField = value; 1317 } 1318 } 1319 1320 /// <remarks></remarks> 1321 public string Letter { 1322 get { 1323 return this.letterField; 1324 } 1325 set { 1326 this.letterField = value; 1327 } 1328 } 1329 1330 /// <remarks></remarks> 1331 public string Floor { 1332 get { 1333 return this.floorField; 1334 } 1335 set { 1336 this.floorField = value; 1337 } 1338 } 1339 1340 /// <remarks></remarks> 1341 public string Door { 1342 get { 1343 return this.doorField; 1344 } 1345 set { 1346 this.doorField = value; 1347 } 1348 } 1349 1350 /// <remarks></remarks> 1351 public long RefId { 1352 get { 1353 return this.refIdField; 1354 } 1355 set { 1356 this.refIdField = value; 1357 } 1358 } 1359 1360 /// <remarks></remarks> 1361 public int phoneCount { 1362 get { 1363 return this.phoneCountField; 1364 } 1365 set { 1366 this.phoneCountField = value; 1367 } 1368 } 1369 1370 /// <remarks></remarks> 1371 public CheckAddressResult result { 1372 get { 1373 return this.resultField; 1374 } 1375 set { 1376 this.resultField = value; 1377 } 1378 } 1379 } 1380 1381 /// <remarks></remarks> 1382 [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.33440")] 1383 [System.SerializableAttribute()] 1384 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.beredskabsalarm.dk/")] 1385 public enum CheckAddressResult { 1386 1387 /// <remarks></remarks> 1388 StreetNotFound, 1389 1390 /// <remarks></remarks> 1391 NoMobile, 1392 1393 /// <remarks></remarks> 1394 MobileExists, 1395 1396 /// <remarks></remarks> 1397 EmailExists, 1398 } 1399 1400 /// <remarks></remarks> 1401 [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.33440")] 1402 [System.SerializableAttribute()] 1403 [System.Diagnostics.DebuggerStepThroughAttribute()] 1404 [System.ComponentModel.DesignerCategoryAttribute("code")] 1405 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.beredskabsalarm.dk/")] 1406 public partial class SmsStatistic { 1407 1408 private string statusField; 1409 1410 private long countField; 1411 1412 private decimal percentageField; 1413 1414 /// <remarks></remarks> 1415 public string Status { 1416 get { 1417 return this.statusField; 1418 } 1419 set { 1420 this.statusField = value; 1421 } 1422 } 1423 1424 /// <remarks></remarks> 1425 public long Count { 1426 get { 1427 return this.countField; 1428 } 1429 set { 1430 this.countField = value; 1431 } 1432 } 1433 1434 /// <remarks></remarks> 1435 public decimal Percentage { 1436 get { 1437 return this.percentageField; 1438 } 1439 set { 1440 this.percentageField = value; 1441 } 1442 } 1443 } 1444 1445 /// <remarks></remarks> 1446 [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.33440")] 1447 [System.SerializableAttribute()] 1448 [System.Diagnostics.DebuggerStepThroughAttribute()] 1449 [System.ComponentModel.DesignerCategoryAttribute("code")] 1450 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.beredskabsalarm.dk/")] 1451 public partial class SmsTemplate { 1452 1453 private int templateIdField; 1454 1455 private string templateNameField; 1456 1457 private string smsTextField; 1458 1459 /// <remarks></remarks> 1460 public int TemplateId { 1461 get { 1462 return this.templateIdField; 1463 } 1464 set { 1465 this.templateIdField = value; 1466 } 1467 } 1468 1469 /// <remarks></remarks> 1470 public string TemplateName { 1471 get { 1472 return this.templateNameField; 1473 } 1474 set { 1475 this.templateNameField = value; 1476 } 1477 } 1478 1479 /// <remarks></remarks> 1480 public string SmsText { 1481 get { 1482 return this.smsTextField; 1483 } 1484 set { 1485 this.smsTextField = value; 1486 } 1487 } 1488 } 1489 1490 /// <remarks></remarks> 1491 [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.33440")] 1492 [System.SerializableAttribute()] 1493 [System.Diagnostics.DebuggerStepThroughAttribute()] 1494 [System.ComponentModel.DesignerCategoryAttribute("code")] 1495 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.beredskabsalarm.dk/")] 1496 public partial class smsTowebType { 1497 1498 private int idField; 1499 1500 private string typeNameField; 1501 1502 /// <remarks></remarks> 1503 public int Id { 1504 get { 1505 return this.idField; 1506 } 1507 set { 1508 this.idField = value; 1509 } 1510 } 1511 1512 /// <remarks></remarks> 1513 public string TypeName { 1514 get { 1515 return this.typeNameField; 1516 } 1517 set { 1518 this.typeNameField = value; 1519 } 1520 } 1521 } 1522 1523 /// <remarks></remarks> 1524 [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.33440")] 1525 [System.SerializableAttribute()] 1526 [System.Diagnostics.DebuggerStepThroughAttribute()] 1527 [System.ComponentModel.DesignerCategoryAttribute("code")] 1528 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.beredskabsalarm.dk/")] 1529 public partial class smsTowebMessageAddress { 1530 1531 private string kvhxField; 1532 1533 private int zipField; 1534 1535 private string cityField; 1536 1537 private string locationNameField; 1538 1539 private string streetField; 1540 1541 private short houseNumberField; 1542 1543 private string letterField; 1544 1545 private string floorField; 1546 1547 private string doorField; 1548 1549 /// <remarks></remarks> 1550 public string Kvhx { 1551 get { 1552 return this.kvhxField; 1553 } 1554 set { 1555 this.kvhxField = value; 1556 } 1557 } 1558 1559 /// <remarks></remarks> 1560 public int Zip { 1561 get { 1562 return this.zipField; 1563 } 1564 set { 1565 this.zipField = value; 1566 } 1567 } 1568 1569 /// <remarks></remarks> 1570 public string City { 1571 get { 1572 return this.cityField; 1573 } 1574 set { 1575 this.cityField = value; 1576 } 1577 } 1578 1579 /// <remarks></remarks> 1580 public string LocationName { 1581 get { 1582 return this.locationNameField; 1583 } 1584 set { 1585 this.locationNameField = value; 1586 } 1587 } 1588 1589 /// <remarks></remarks> 1590 public string Street { 1591 get { 1592 return this.streetField; 1593 } 1594 set { 1595 this.streetField = value; 1596 } 1597 } 1598 1599 /// <remarks></remarks> 1600 public short HouseNumber { 1601 get { 1602 return this.houseNumberField; 1603 } 1604 set { 1605 this.houseNumberField = value; 1606 } 1607 } 1608 1609 /// <remarks></remarks> 1610 public string Letter { 1611 get { 1612 return this.letterField; 1613 } 1614 set { 1615 this.letterField = value; 1616 } 1617 } 1618 1619 /// <remarks></remarks> 1620 public string Floor { 1621 get { 1622 return this.floorField; 1623 } 1624 set { 1625 this.floorField = value; 1626 } 1627 } 1628 1629 /// <remarks></remarks> 1630 public string Door { 1631 get { 1632 return this.doorField; 1633 } 1634 set { 1635 this.doorField = value; 1636 } 1637 } 1638 } 1639 1640 /// <remarks></remarks> 1641 [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.33440")] 1642 [System.SerializableAttribute()] 1643 [System.Diagnostics.DebuggerStepThroughAttribute()] 1644 [System.ComponentModel.DesignerCategoryAttribute("code")] 1645 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.beredskabsalarm.dk/")] 1646 public partial class smsTowebMessage { 1647 1648 private long idField; 1649 1650 private string userNameField; 1651 1652 private System.Nullable<long> smsGroupIdField; 1653 1654 private System.DateTime fromDateTimeField; 1655 1656 private System.DateTime toDateTimeField; 1657 1658 private string headerField; 1659 1660 private string messageField; 1661 1662 private string internalMessageField; 1663 1664 private bool criticalStatusField; 1665 1666 private bool attentionField; 1667 1668 private System.Nullable<bool> completedField; 1669 1670 private string smsToWebTypeField; 1671 1672 private smsTowebMessageAddress addressField; 1673 1674 private System.Nullable<int> typeIdField; 1675 1676 /// <remarks></remarks> 1677 public long Id { 1678 get { 1679 return this.idField; 1680 } 1681 set { 1682 this.idField = value; 1683 } 1684 } 1685 1686 /// <remarks></remarks> 1687 public string UserName { 1688 get { 1689 return this.userNameField; 1690 } 1691 set { 1692 this.userNameField = value; 1693 } 1694 } 1695 1696 /// <remarks></remarks> 1697 [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] 1698 public System.Nullable<long> smsGroupId { 1699 get { 1700 return this.smsGroupIdField; 1701 } 1702 set { 1703 this.smsGroupIdField = value; 1704 } 1705 } 1706 1707 /// <remarks></remarks> 1708 public System.DateTime FromDateTime { 1709 get { 1710 return this.fromDateTimeField; 1711 } 1712 set { 1713 this.fromDateTimeField = value; 1714 } 1715 } 1716 1717 /// <remarks></remarks> 1718 public System.DateTime ToDateTime { 1719 get { 1720 return this.toDateTimeField; 1721 } 1722 set { 1723 this.toDateTimeField = value; 1724 } 1725 } 1726 1727 /// <remarks></remarks> 1728 public string Header { 1729 get { 1730 return this.headerField; 1731 } 1732 set { 1733 this.headerField = value; 1734 } 1735 } 1736 1737 /// <remarks></remarks> 1738 public string Message { 1739 get { 1740 return this.messageField; 1741 } 1742 set { 1743 this.messageField = value; 1744 } 1745 } 1746 1747 /// <remarks></remarks> 1748 public string InternalMessage { 1749 get { 1750 return this.internalMessageField; 1751 } 1752 set { 1753 this.internalMessageField = value; 1754 } 1755 } 1756 1757 /// <remarks></remarks> 1758 public bool CriticalStatus { 1759 get { 1760 return this.criticalStatusField; 1761 } 1762 set { 1763 this.criticalStatusField = value; 1764 } 1765 } 1766 1767 /// <remarks></remarks> 1768 public bool Attention { 1769 get { 1770 return this.attentionField; 1771 } 1772 set { 1773 this.attentionField = value; 1774 } 1775 } 1776 1777 /// <remarks></remarks> 1778 [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] 1779 public System.Nullable<bool> Completed { 1780 get { 1781 return this.completedField; 1782 } 1783 set { 1784 this.completedField = value; 1785 } 1786 } 1787 1788 /// <remarks></remarks> 1789 public string SmsToWebType { 1790 get { 1791 return this.smsToWebTypeField; 1792 } 1793 set { 1794 this.smsToWebTypeField = value; 1795 } 1796 } 1797 1798 /// <remarks></remarks> 1799 public smsTowebMessageAddress Address { 1800 get { 1801 return this.addressField; 1802 } 1803 set { 1804 this.addressField = value; 1805 } 1806 } 1807 1808 /// <remarks></remarks> 1809 [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] 1810 public System.Nullable<int> TypeId { 1811 get { 1812 return this.typeIdField; 1813 } 1814 set { 1815 this.typeIdField = value; 1816 } 1817 } 1818 } 1819 1820 /// <remarks></remarks> 1821 [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.33440")] 1822 [System.SerializableAttribute()] 1823 [System.Diagnostics.DebuggerStepThroughAttribute()] 1824 [System.ComponentModel.DesignerCategoryAttribute("code")] 1825 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.beredskabsalarm.dk/")] 1826 public partial class LogStatus { 1827 1828 private short smsStatusIdField; 1829 1830 private string statusField; 1831 1832 /// <remarks></remarks> 1833 public short SmsStatusId { 1834 get { 1835 return this.smsStatusIdField; 1836 } 1837 set { 1838 this.smsStatusIdField = value; 1839 } 1840 } 1841 1842 /// <remarks></remarks> 1843 public string Status { 1844 get { 1845 return this.statusField; 1846 } 1847 set { 1848 this.statusField = value; 1849 } 1850 } 1851 } 1852 1853 /// <remarks></remarks> 1854 [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.33440")] 1855 [System.SerializableAttribute()] 1856 [System.Diagnostics.DebuggerStepThroughAttribute()] 1857 [System.ComponentModel.DesignerCategoryAttribute("code")] 1858 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.beredskabsalarm.dk/")] 1859 public partial class AddressInfo { 1860 1861 private string zipField; 1862 1863 private string cityField; 1864 1865 private string streetField; 1866 1867 private string numberField; 1868 1869 private string letterField; 1870 1871 private double latitudeField; 1872 1873 private double longitudeField; 1874 1875 /// <remarks></remarks> 1876 public string Zip { 1877 get { 1878 return this.zipField; 1879 } 1880 set { 1881 this.zipField = value; 1882 } 1883 } 1884 1885 /// <remarks></remarks> 1886 public string City { 1887 get { 1888 return this.cityField; 1889 } 1890 set { 1891 this.cityField = value; 1892 } 1893 } 1894 1895 /// <remarks></remarks> 1896 public string Street { 1897 get { 1898 return this.streetField; 1899 } 1900 set { 1901 this.streetField = value; 1902 } 1903 } 1904 1905 /// <remarks></remarks> 1906 public string Number { 1907 get { 1908 return this.numberField; 1909 } 1910 set { 1911 this.numberField = value; 1912 } 1913 } 1914 1915 /// <remarks></remarks> 1916 public string Letter { 1917 get { 1918 return this.letterField; 1919 } 1920 set { 1921 this.letterField = value; 1922 } 1923 } 1924 1925 /// <remarks></remarks> 1926 public double Latitude { 1927 get { 1928 return this.latitudeField; 1929 } 1930 set { 1931 this.latitudeField = value; 1932 } 1933 } 1934 1935 /// <remarks></remarks> 1936 public double Longitude { 1937 get { 1938 return this.longitudeField; 1939 } 1940 set { 1941 this.longitudeField = value; 1942 } 1943 } 1944 } 1945 1946 /// <remarks></remarks> 1947 [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.33440")] 1948 [System.SerializableAttribute()] 1949 [System.Diagnostics.DebuggerStepThroughAttribute()] 1950 [System.ComponentModel.DesignerCategoryAttribute("code")] 1951 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.beredskabsalarm.dk/")] 1952 public partial class MapGeoObjecResult { 1953 1954 private long smsGroupIdField; 1955 1956 private int addedCellPhoneField; 1957 1958 private int addedEmailsField; 1959 1960 /// <remarks></remarks> 1961 public long SmsGroupId { 1962 get { 1963 return this.smsGroupIdField; 1964 } 1965 set { 1966 this.smsGroupIdField = value; 1967 } 1968 } 1969 1970 /// <remarks></remarks> 1971 public int AddedCellPhone { 1972 get { 1973 return this.addedCellPhoneField; 1974 } 1975 set { 1976 this.addedCellPhoneField = value; 1977 } 1978 } 1979 1980 /// <remarks></remarks> 1981 public int AddedEmails { 1982 get { 1983 return this.addedEmailsField; 1984 } 1985 set { 1986 this.addedEmailsField = value; 1987 } 1988 } 1989 } 1990 1991 /// <remarks></remarks> 1992 [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.33440")] 1993 [System.SerializableAttribute()] 1994 [System.Diagnostics.DebuggerStepThroughAttribute()] 1995 [System.ComponentModel.DesignerCategoryAttribute("code")] 1996 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.beredskabsalarm.dk/")] 1997 public partial class MapGeoObjecProperties { 1998 1999 private long mapObjectClientIdField; 2000 2001 private string smsSendAsField; 2002 2003 private string broadcastNameField; 2004 2005 private string messageField; 2006 2007 private System.Nullable<System.DateTime> delayBroadcastToField; 2008 2009 private bool sendToDefaultReceiverField; 2010 2011 /// <remarks></remarks> 2012 public long MapObjectClientId { 2013 get { 2014 return this.mapObjectClientIdField; 2015 } 2016 set { 2017 this.mapObjectClientIdField = value; 2018 } 2019 } 2020 2021 /// <remarks></remarks> 2022 public string SmsSendAs { 2023 get { 2024 return this.smsSendAsField; 2025 } 2026 set { 2027 this.smsSendAsField = value; 2028 } 2029 } 2030 2031 /// <remarks></remarks> 2032 public string BroadcastName { 2033 get { 2034 return this.broadcastNameField; 2035 } 2036 set { 2037 this.broadcastNameField = value; 2038 } 2039 } 2040 2041 /// <remarks></remarks> 2042 public string Message { 2043 get { 2044 return this.messageField; 2045 } 2046 set { 2047 this.messageField = value; 2048 } 2049 } 2050 2051 /// <remarks></remarks> 2052 [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] 2053 public System.Nullable<System.DateTime> DelayBroadcastTo { 2054 get { 2055 return this.delayBroadcastToField; 2056 } 2057 set { 2058 this.delayBroadcastToField = value; 2059 } 2060 } 2061 2062 /// <remarks></remarks> 2063 public bool SendToDefaultReceiver { 2064 get { 2065 return this.sendToDefaultReceiverField; 2066 } 2067 set { 2068 this.sendToDefaultReceiverField = value; 2069 } 2070 } 2071 } 2072 2073 /// <remarks></remarks> 2074 [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.33440")] 2075 [System.SerializableAttribute()] 2076 [System.Diagnostics.DebuggerStepThroughAttribute()] 2077 [System.ComponentModel.DesignerCategoryAttribute("code")] 2078 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.beredskabsalarm.dk/")] 2079 public partial class GroupProperties { 2080 2081 private string smsSendAsField; 2082 2083 private string broadcastNameField; 2084 2085 private string messageField; 2086 2087 private bool overruleBlockedNumberField; 2088 2089 private bool sendToAddressField; 2090 2091 private bool sendToAdminField; 2092 2093 private bool sendToOwnerField; 2094 2095 private System.Nullable<System.DateTime> delayBroadcastToField; 2096 2097 private bool sendToDefaultReceiverField; 2098 2099 private bool saveBroadcastField; 2100 2101 private string saveBroadcastUserNameField; 2102 2103 private bool lookupPrivateField; 2104 2105 private bool lookupBusinessField; 2106 2107 /// <remarks></remarks> 2108 public string SmsSendAs { 2109 get { 2110 return this.smsSendAsField; 2111 } 2112 set { 2113 this.smsSendAsField = value; 2114 } 2115 } 2116 2117 /// <remarks></remarks> 2118 public string BroadcastName { 2119 get { 2120 return this.broadcastNameField; 2121 } 2122 set { 2123 this.broadcastNameField = value; 2124 } 2125 } 2126 2127 /// <remarks></remarks> 2128 public string Message { 2129 get { 2130 return this.messageField; 2131 } 2132 set { 2133 this.messageField = value; 2134 } 2135 } 2136 2137 /// <remarks></remarks> 2138 public bool OverruleBlockedNumber { 2139 get { 2140 return this.overruleBlockedNumberField; 2141 } 2142 set { 2143 this.overruleBlockedNumberField = value; 2144 } 2145 } 2146 2147 /// <remarks></remarks> 2148 public bool SendToAddress { 2149 get { 2150 return this.sendToAddressField; 2151 } 2152 set { 2153 this.sendToAddressField = value; 2154 } 2155 } 2156 2157 /// <remarks></remarks> 2158 public bool SendToAdmin { 2159 get { 2160 return this.sendToAdminField; 2161 } 2162 set { 2163 this.sendToAdminField = value; 2164 } 2165 } 2166 2167 /// <remarks></remarks> 2168 public bool SendToOwner { 2169 get { 2170 return this.sendToOwnerField; 2171 } 2172 set { 2173 this.sendToOwnerField = value; 2174 } 2175 } 2176 2177 /// <remarks></remarks> 2178 [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] 2179 public System.Nullable<System.DateTime> DelayBroadcastTo { 2180 get { 2181 return this.delayBroadcastToField; 2182 } 2183 set { 2184 this.delayBroadcastToField = value; 2185 } 2186 } 2187 2188 /// <remarks></remarks> 2189 public bool SendToDefaultReceiver { 2190 get { 2191 return this.sendToDefaultReceiverField; 2192 } 2193 set { 2194 this.sendToDefaultReceiverField = value; 2195 } 2196 } 2197 2198 /// <remarks></remarks> 2199 public bool saveBroadcast { 2200 get { 2201 return this.saveBroadcastField; 2202 } 2203 set { 2204 this.saveBroadcastField = value; 2205 } 2206 } 2207 2208 /// <remarks></remarks> 2209 public string saveBroadcastUserName { 2210 get { 2211 return this.saveBroadcastUserNameField; 2212 } 2213 set { 2214 this.saveBroadcastUserNameField = value; 2215 } 2216 } 2217 2218 /// <remarks></remarks> 2219 public bool lookupPrivate { 2220 get { 2221 return this.lookupPrivateField; 2222 } 2223 set { 2224 this.lookupPrivateField = value; 2225 } 2226 } 2227 2228 /// <remarks></remarks> 2229 public bool lookupBusiness { 2230 get { 2231 return this.lookupBusinessField; 2232 } 2233 set { 2234 this.lookupBusinessField = value; 2235 } 2236 } 2237 } 2238 2239 /// <summary> 2240 ///Represents a strongly typed in-memory cache of data. 2241 ///</summary> 2242 // Denne typedefinition blev oprettet af System.Data.Design.TypedDataSetSchemaImporterExtension-skemaimportørudvidelsen. 2243 [global::System.Serializable()] 2244 [global::System.ComponentModel.DesignerCategoryAttribute("code")] 2245 [global::System.ComponentModel.ToolboxItem(true)] 2246 [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] 2247 [global::System.Xml.Serialization.XmlRootAttribute("ApiDataSet")] 2248 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] 2249 public partial class ApiDataSet : global::System.Data.DataSet { 2250 2251 private SmsGroupDataTable tableSmsGroup; 2252 2253 private SmsLogQueueStatusDataTable tableSmsLogQueueStatus; 2254 2255 private ZipAndStreetDataTable tableZipAndStreet; 2256 2257 private SmsGroupItemsDataTable tableSmsGroupItems; 2258 2259 private global::System.Data.DataRelation relationFK_SmsGroupItems_SmsGroup; 2260 2261 private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; 2262 2263 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2264 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2265 public ApiDataSet() { 2266 this.BeginInit(); 2267 this.InitClass(); 2268 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); 2269 base.Tables.CollectionChanged += schemaChangedHandler; 2270 base.Relations.CollectionChanged += schemaChangedHandler; 2271 this.EndInit(); 2272 } 2273 2274 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2275 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2276 protected ApiDataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 2277 base(info, context, false) { 2278 if ((this.IsBinarySerialized(info, context) == true)) { 2279 this.InitVars(false); 2280 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); 2281 this.Tables.CollectionChanged += schemaChangedHandler1; 2282 this.Relations.CollectionChanged += schemaChangedHandler1; 2283 return; 2284 } 2285 string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); 2286 if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { 2287 global::System.Data.DataSet ds = new global::System.Data.DataSet(); 2288 ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); 2289 if ((ds.Tables["SmsGroup"] != null)) { 2290 base.Tables.Add(new SmsGroupDataTable(ds.Tables["SmsGroup"])); 2291 } 2292 if ((ds.Tables["SmsLogQueueStatus"] != null)) { 2293 base.Tables.Add(new SmsLogQueueStatusDataTable(ds.Tables["SmsLogQueueStatus"])); 2294 } 2295 if ((ds.Tables["ZipAndStreet"] != null)) { 2296 base.Tables.Add(new ZipAndStreetDataTable(ds.Tables["ZipAndStreet"])); 2297 } 2298 if ((ds.Tables["SmsGroupItems"] != null)) { 2299 base.Tables.Add(new SmsGroupItemsDataTable(ds.Tables["SmsGroupItems"])); 2300 } 2301 this.DataSetName = ds.DataSetName; 2302 this.Prefix = ds.Prefix; 2303 this.Namespace = ds.Namespace; 2304 this.Locale = ds.Locale; 2305 this.CaseSensitive = ds.CaseSensitive; 2306 this.EnforceConstraints = ds.EnforceConstraints; 2307 this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); 2308 this.InitVars(); 2309 } 2310 else { 2311 this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); 2312 } 2313 this.GetSerializationData(info, context); 2314 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); 2315 base.Tables.CollectionChanged += schemaChangedHandler; 2316 this.Relations.CollectionChanged += schemaChangedHandler; 2317 } 2318 2319 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2320 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2321 [global::System.ComponentModel.Browsable(false)] 2322 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] 2323 public SmsGroupDataTable SmsGroup { 2324 get { 2325 return this.tableSmsGroup; 2326 } 2327 } 2328 2329 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2330 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2331 [global::System.ComponentModel.Browsable(false)] 2332 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] 2333 public SmsLogQueueStatusDataTable SmsLogQueueStatus { 2334 get { 2335 return this.tableSmsLogQueueStatus; 2336 } 2337 } 2338 2339 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2340 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2341 [global::System.ComponentModel.Browsable(false)] 2342 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] 2343 public ZipAndStreetDataTable ZipAndStreet { 2344 get { 2345 return this.tableZipAndStreet; 2346 } 2347 } 2348 2349 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2350 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2351 [global::System.ComponentModel.Browsable(false)] 2352 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] 2353 public SmsGroupItemsDataTable SmsGroupItems { 2354 get { 2355 return this.tableSmsGroupItems; 2356 } 2357 } 2358 2359 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2360 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2361 [global::System.ComponentModel.BrowsableAttribute(true)] 2362 [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] 2363 public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { 2364 get { 2365 return this._schemaSerializationMode; 2366 } 2367 set { 2368 this._schemaSerializationMode = value; 2369 } 2370 } 2371 2372 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2373 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2374 [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] 2375 public new global::System.Data.DataTableCollection Tables { 2376 get { 2377 return base.Tables; 2378 } 2379 } 2380 2381 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2382 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2383 [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] 2384 public new global::System.Data.DataRelationCollection Relations { 2385 get { 2386 return base.Relations; 2387 } 2388 } 2389 2390 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2391 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2392 protected override void InitializeDerivedDataSet() { 2393 this.BeginInit(); 2394 this.InitClass(); 2395 this.EndInit(); 2396 } 2397 2398 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2399 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2400 public override global::System.Data.DataSet Clone() { 2401 ApiDataSet cln = ((ApiDataSet)(base.Clone())); 2402 cln.InitVars(); 2403 cln.SchemaSerializationMode = this.SchemaSerializationMode; 2404 return cln; 2405 } 2406 2407 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2408 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2409 protected override bool ShouldSerializeTables() { 2410 return false; 2411 } 2412 2413 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2414 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2415 protected override bool ShouldSerializeRelations() { 2416 return false; 2417 } 2418 2419 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2420 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2421 protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { 2422 if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { 2423 this.Reset(); 2424 global::System.Data.DataSet ds = new global::System.Data.DataSet(); 2425 ds.ReadXml(reader); 2426 if ((ds.Tables["SmsGroup"] != null)) { 2427 base.Tables.Add(new SmsGroupDataTable(ds.Tables["SmsGroup"])); 2428 } 2429 if ((ds.Tables["SmsLogQueueStatus"] != null)) { 2430 base.Tables.Add(new SmsLogQueueStatusDataTable(ds.Tables["SmsLogQueueStatus"])); 2431 } 2432 if ((ds.Tables["ZipAndStreet"] != null)) { 2433 base.Tables.Add(new ZipAndStreetDataTable(ds.Tables["ZipAndStreet"])); 2434 } 2435 if ((ds.Tables["SmsGroupItems"] != null)) { 2436 base.Tables.Add(new SmsGroupItemsDataTable(ds.Tables["SmsGroupItems"])); 2437 } 2438 this.DataSetName = ds.DataSetName; 2439 this.Prefix = ds.Prefix; 2440 this.Namespace = ds.Namespace; 2441 this.Locale = ds.Locale; 2442 this.CaseSensitive = ds.CaseSensitive; 2443 this.EnforceConstraints = ds.EnforceConstraints; 2444 this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); 2445 this.InitVars(); 2446 } 2447 else { 2448 this.ReadXml(reader); 2449 this.InitVars(); 2450 } 2451 } 2452 2453 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2454 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2455 protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { 2456 global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); 2457 this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); 2458 stream.Position = 0; 2459 return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); 2460 } 2461 2462 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2463 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2464 internal void InitVars() { 2465 this.InitVars(true); 2466 } 2467 2468 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2469 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2470 internal void InitVars(bool initTable) { 2471 this.tableSmsGroup = ((SmsGroupDataTable)(base.Tables["SmsGroup"])); 2472 if ((initTable == true)) { 2473 if ((this.tableSmsGroup != null)) { 2474 this.tableSmsGroup.InitVars(); 2475 } 2476 } 2477 this.tableSmsLogQueueStatus = ((SmsLogQueueStatusDataTable)(base.Tables["SmsLogQueueStatus"])); 2478 if ((initTable == true)) { 2479 if ((this.tableSmsLogQueueStatus != null)) { 2480 this.tableSmsLogQueueStatus.InitVars(); 2481 } 2482 } 2483 this.tableZipAndStreet = ((ZipAndStreetDataTable)(base.Tables["ZipAndStreet"])); 2484 if ((initTable == true)) { 2485 if ((this.tableZipAndStreet != null)) { 2486 this.tableZipAndStreet.InitVars(); 2487 } 2488 } 2489 this.tableSmsGroupItems = ((SmsGroupItemsDataTable)(base.Tables["SmsGroupItems"])); 2490 if ((initTable == true)) { 2491 if ((this.tableSmsGroupItems != null)) { 2492 this.tableSmsGroupItems.InitVars(); 2493 } 2494 } 2495 this.relationFK_SmsGroupItems_SmsGroup = this.Relations["FK_SmsGroupItems_SmsGroup"]; 2496 } 2497 2498 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2499 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2500 private void InitClass() { 2501 this.DataSetName = "ApiDataSet"; 2502 this.Prefix = ""; 2503 this.Namespace = "http://tempuri.org/ApiDataSet.xsd"; 2504 this.EnforceConstraints = true; 2505 this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; 2506 this.tableSmsGroup = new SmsGroupDataTable(); 2507 base.Tables.Add(this.tableSmsGroup); 2508 this.tableSmsLogQueueStatus = new SmsLogQueueStatusDataTable(); 2509 base.Tables.Add(this.tableSmsLogQueueStatus); 2510 this.tableZipAndStreet = new ZipAndStreetDataTable(); 2511 base.Tables.Add(this.tableZipAndStreet); 2512 this.tableSmsGroupItems = new SmsGroupItemsDataTable(); 2513 base.Tables.Add(this.tableSmsGroupItems); 2514 this.relationFK_SmsGroupItems_SmsGroup = new global::System.Data.DataRelation("FK_SmsGroupItems_SmsGroup", new global::System.Data.DataColumn[] { 2515 this.tableSmsGroup.SmsGroupIDColumn}, new global::System.Data.DataColumn[] { 2516 this.tableSmsGroupItems.GroupIdColumn}, false); 2517 this.Relations.Add(this.relationFK_SmsGroupItems_SmsGroup); 2518 } 2519 2520 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2521 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2522 private bool ShouldSerializeSmsGroup() { 2523 return false; 2524 } 2525 2526 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2527 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2528 private bool ShouldSerializeSmsLogQueueStatus() { 2529 return false; 2530 } 2531 2532 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2533 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2534 private bool ShouldSerializeZipAndStreet() { 2535 return false; 2536 } 2537 2538 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2539 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2540 private bool ShouldSerializeSmsGroupItems() { 2541 return false; 2542 } 2543 2544 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2545 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2546 private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { 2547 if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { 2548 this.InitVars(); 2549 } 2550 } 2551 2552 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2553 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2554 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { 2555 ApiDataSet ds = new ApiDataSet(); 2556 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); 2557 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); 2558 global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); 2559 any.Namespace = ds.Namespace; 2560 sequence.Items.Add(any); 2561 type.Particle = sequence; 2562 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); 2563 if (xs.Contains(dsSchema.TargetNamespace)) { 2564 global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); 2565 global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); 2566 try { 2567 global::System.Xml.Schema.XmlSchema schema = null; 2568 dsSchema.Write(s1); 2569 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { 2570 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); 2571 s2.SetLength(0); 2572 schema.Write(s2); 2573 if ((s1.Length == s2.Length)) { 2574 s1.Position = 0; 2575 s2.Position = 0; 2576 for (; ((s1.Position != s1.Length) 2577 && (s1.ReadByte() == s2.ReadByte())); ) { 2578 ; 2579 } 2580 if ((s1.Position == s1.Length)) { 2581 return type; 2582 } 2583 } 2584 } 2585 } 2586 finally { 2587 if ((s1 != null)) { 2588 s1.Close(); 2589 } 2590 if ((s2 != null)) { 2591 s2.Close(); 2592 } 2593 } 2594 } 2595 xs.Add(dsSchema); 2596 return type; 2597 } 2598 2599 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2600 public delegate void SmsGroupRowChangeEventHandler(object sender, SmsGroupRowChangeEvent e); 2601 2602 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2603 public delegate void SmsLogQueueStatusRowChangeEventHandler(object sender, SmsLogQueueStatusRowChangeEvent e); 2604 2605 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2606 public delegate void ZipAndStreetRowChangeEventHandler(object sender, ZipAndStreetRowChangeEvent e); 2607 2608 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2609 public delegate void SmsGroupItemsRowChangeEventHandler(object sender, SmsGroupItemsRowChangeEvent e); 2610 2611 /// <summary> 2612 ///Represents the strongly named DataTable class. 2613 ///</summary> 2614 [global::System.Serializable()] 2615 [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] 2616 public partial class SmsGroupDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { 2617 2618 private global::System.Data.DataColumn columnSmsGroupID; 2619 2620 private global::System.Data.DataColumn columnUserId; 2621 2622 private global::System.Data.DataColumn columnGroupName; 2623 2624 private global::System.Data.DataColumn columnSmsSendAs; 2625 2626 private global::System.Data.DataColumn columnMessage; 2627 2628 private global::System.Data.DataColumn columnCreated; 2629 2630 private global::System.Data.DataColumn columnUpdated; 2631 2632 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2633 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2634 public SmsGroupDataTable() { 2635 this.TableName = "SmsGroup"; 2636 this.BeginInit(); 2637 this.InitClass(); 2638 this.EndInit(); 2639 } 2640 2641 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2642 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2643 internal SmsGroupDataTable(global::System.Data.DataTable table) { 2644 this.TableName = table.TableName; 2645 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { 2646 this.CaseSensitive = table.CaseSensitive; 2647 } 2648 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { 2649 this.Locale = table.Locale; 2650 } 2651 if ((table.Namespace != table.DataSet.Namespace)) { 2652 this.Namespace = table.Namespace; 2653 } 2654 this.Prefix = table.Prefix; 2655 this.MinimumCapacity = table.MinimumCapacity; 2656 } 2657 2658 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2659 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2660 protected SmsGroupDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 2661 base(info, context) { 2662 this.InitVars(); 2663 } 2664 2665 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2666 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2667 public global::System.Data.DataColumn SmsGroupIDColumn { 2668 get { 2669 return this.columnSmsGroupID; 2670 } 2671 } 2672 2673 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2674 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2675 public global::System.Data.DataColumn UserIdColumn { 2676 get { 2677 return this.columnUserId; 2678 } 2679 } 2680 2681 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2682 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2683 public global::System.Data.DataColumn GroupNameColumn { 2684 get { 2685 return this.columnGroupName; 2686 } 2687 } 2688 2689 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2690 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2691 public global::System.Data.DataColumn SmsSendAsColumn { 2692 get { 2693 return this.columnSmsSendAs; 2694 } 2695 } 2696 2697 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2698 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2699 public global::System.Data.DataColumn MessageColumn { 2700 get { 2701 return this.columnMessage; 2702 } 2703 } 2704 2705 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2706 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2707 public global::System.Data.DataColumn CreatedColumn { 2708 get { 2709 return this.columnCreated; 2710 } 2711 } 2712 2713 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2714 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2715 public global::System.Data.DataColumn UpdatedColumn { 2716 get { 2717 return this.columnUpdated; 2718 } 2719 } 2720 2721 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2722 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2723 [global::System.ComponentModel.Browsable(false)] 2724 public int Count { 2725 get { 2726 return this.Rows.Count; 2727 } 2728 } 2729 2730 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2731 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2732 public SmsGroupRow this[int index] { 2733 get { 2734 return ((SmsGroupRow)(this.Rows[index])); 2735 } 2736 } 2737 2738 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2739 public event SmsGroupRowChangeEventHandler SmsGroupRowChanging; 2740 2741 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2742 public event SmsGroupRowChangeEventHandler SmsGroupRowChanged; 2743 2744 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2745 public event SmsGroupRowChangeEventHandler SmsGroupRowDeleting; 2746 2747 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2748 public event SmsGroupRowChangeEventHandler SmsGroupRowDeleted; 2749 2750 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2751 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2752 public void AddSmsGroupRow(SmsGroupRow row) { 2753 this.Rows.Add(row); 2754 } 2755 2756 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2757 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2758 public SmsGroupRow AddSmsGroupRow(System.Guid UserId, string GroupName, string SmsSendAs, string Message, System.DateTime Created, System.DateTime Updated) { 2759 SmsGroupRow rowSmsGroupRow = ((SmsGroupRow)(this.NewRow())); 2760 object[] columnValuesArray = new object[] { 2761 null, 2762 UserId, 2763 GroupName, 2764 SmsSendAs, 2765 Message, 2766 Created, 2767 Updated}; 2768 rowSmsGroupRow.ItemArray = columnValuesArray; 2769 this.Rows.Add(rowSmsGroupRow); 2770 return rowSmsGroupRow; 2771 } 2772 2773 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2774 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2775 public SmsGroupRow FindBySmsGroupID(long SmsGroupID) { 2776 return ((SmsGroupRow)(this.Rows.Find(new object[] { 2777 SmsGroupID}))); 2778 } 2779 2780 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2781 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2782 public virtual global::System.Collections.IEnumerator GetEnumerator() { 2783 return this.Rows.GetEnumerator(); 2784 } 2785 2786 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2787 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2788 public override global::System.Data.DataTable Clone() { 2789 SmsGroupDataTable cln = ((SmsGroupDataTable)(base.Clone())); 2790 cln.InitVars(); 2791 return cln; 2792 } 2793 2794 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2795 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2796 protected override global::System.Data.DataTable CreateInstance() { 2797 return new SmsGroupDataTable(); 2798 } 2799 2800 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2801 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2802 internal void InitVars() { 2803 this.columnSmsGroupID = base.Columns["SmsGroupID"]; 2804 this.columnUserId = base.Columns["UserId"]; 2805 this.columnGroupName = base.Columns["GroupName"]; 2806 this.columnSmsSendAs = base.Columns["SmsSendAs"]; 2807 this.columnMessage = base.Columns["Message"]; 2808 this.columnCreated = base.Columns["Created"]; 2809 this.columnUpdated = base.Columns["Updated"]; 2810 } 2811 2812 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2813 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2814 private void InitClass() { 2815 this.columnSmsGroupID = new global::System.Data.DataColumn("SmsGroupID", typeof(long), null, global::System.Data.MappingType.Element); 2816 base.Columns.Add(this.columnSmsGroupID); 2817 this.columnUserId = new global::System.Data.DataColumn("UserId", typeof(global::System.Guid), null, global::System.Data.MappingType.Element); 2818 base.Columns.Add(this.columnUserId); 2819 this.columnGroupName = new global::System.Data.DataColumn("GroupName", typeof(string), null, global::System.Data.MappingType.Element); 2820 base.Columns.Add(this.columnGroupName); 2821 this.columnSmsSendAs = new global::System.Data.DataColumn("SmsSendAs", typeof(string), null, global::System.Data.MappingType.Element); 2822 base.Columns.Add(this.columnSmsSendAs); 2823 this.columnMessage = new global::System.Data.DataColumn("Message", typeof(string), null, global::System.Data.MappingType.Element); 2824 base.Columns.Add(this.columnMessage); 2825 this.columnCreated = new global::System.Data.DataColumn("Created", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); 2826 base.Columns.Add(this.columnCreated); 2827 this.columnUpdated = new global::System.Data.DataColumn("Updated", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); 2828 base.Columns.Add(this.columnUpdated); 2829 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { 2830 this.columnSmsGroupID}, true)); 2831 this.columnSmsGroupID.AutoIncrement = true; 2832 this.columnSmsGroupID.AutoIncrementSeed = -1; 2833 this.columnSmsGroupID.AutoIncrementStep = -1; 2834 this.columnSmsGroupID.AllowDBNull = false; 2835 this.columnSmsGroupID.ReadOnly = true; 2836 this.columnSmsGroupID.Unique = true; 2837 this.columnUserId.AllowDBNull = false; 2838 this.columnGroupName.AllowDBNull = false; 2839 this.columnGroupName.MaxLength = 100; 2840 this.columnSmsSendAs.AllowDBNull = false; 2841 this.columnSmsSendAs.MaxLength = 20; 2842 this.columnMessage.AllowDBNull = false; 2843 this.columnMessage.MaxLength = 1600; 2844 this.columnCreated.AllowDBNull = false; 2845 } 2846 2847 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2848 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2849 public SmsGroupRow NewSmsGroupRow() { 2850 return ((SmsGroupRow)(this.NewRow())); 2851 } 2852 2853 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2854 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2855 protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { 2856 return new SmsGroupRow(builder); 2857 } 2858 2859 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2860 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2861 protected override global::System.Type GetRowType() { 2862 return typeof(SmsGroupRow); 2863 } 2864 2865 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2866 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2867 protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { 2868 base.OnRowChanged(e); 2869 if ((this.SmsGroupRowChanged != null)) { 2870 this.SmsGroupRowChanged(this, new SmsGroupRowChangeEvent(((SmsGroupRow)(e.Row)), e.Action)); 2871 } 2872 } 2873 2874 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2875 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2876 protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { 2877 base.OnRowChanging(e); 2878 if ((this.SmsGroupRowChanging != null)) { 2879 this.SmsGroupRowChanging(this, new SmsGroupRowChangeEvent(((SmsGroupRow)(e.Row)), e.Action)); 2880 } 2881 } 2882 2883 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2884 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2885 protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { 2886 base.OnRowDeleted(e); 2887 if ((this.SmsGroupRowDeleted != null)) { 2888 this.SmsGroupRowDeleted(this, new SmsGroupRowChangeEvent(((SmsGroupRow)(e.Row)), e.Action)); 2889 } 2890 } 2891 2892 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2893 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2894 protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { 2895 base.OnRowDeleting(e); 2896 if ((this.SmsGroupRowDeleting != null)) { 2897 this.SmsGroupRowDeleting(this, new SmsGroupRowChangeEvent(((SmsGroupRow)(e.Row)), e.Action)); 2898 } 2899 } 2900 2901 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2902 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2903 public void RemoveSmsGroupRow(SmsGroupRow row) { 2904 this.Rows.Remove(row); 2905 } 2906 2907 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2908 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 2909 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { 2910 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); 2911 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); 2912 ApiDataSet ds = new ApiDataSet(); 2913 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); 2914 any1.Namespace = "http://www.w3.org/2001/XMLSchema"; 2915 any1.MinOccurs = new decimal(0); 2916 any1.MaxOccurs = decimal.MaxValue; 2917 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; 2918 sequence.Items.Add(any1); 2919 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); 2920 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; 2921 any2.MinOccurs = new decimal(1); 2922 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; 2923 sequence.Items.Add(any2); 2924 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); 2925 attribute1.Name = "namespace"; 2926 attribute1.FixedValue = ds.Namespace; 2927 type.Attributes.Add(attribute1); 2928 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); 2929 attribute2.Name = "tableTypeName"; 2930 attribute2.FixedValue = "SmsGroupDataTable"; 2931 type.Attributes.Add(attribute2); 2932 type.Particle = sequence; 2933 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); 2934 if (xs.Contains(dsSchema.TargetNamespace)) { 2935 global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); 2936 global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); 2937 try { 2938 global::System.Xml.Schema.XmlSchema schema = null; 2939 dsSchema.Write(s1); 2940 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { 2941 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); 2942 s2.SetLength(0); 2943 schema.Write(s2); 2944 if ((s1.Length == s2.Length)) { 2945 s1.Position = 0; 2946 s2.Position = 0; 2947 for (; ((s1.Position != s1.Length) 2948 && (s1.ReadByte() == s2.ReadByte())); ) { 2949 ; 2950 } 2951 if ((s1.Position == s1.Length)) { 2952 return type; 2953 } 2954 } 2955 } 2956 } 2957 finally { 2958 if ((s1 != null)) { 2959 s1.Close(); 2960 } 2961 if ((s2 != null)) { 2962 s2.Close(); 2963 } 2964 } 2965 } 2966 xs.Add(dsSchema); 2967 return type; 2968 } 2969 } 2970 2971 /// <summary> 2972 ///Represents the strongly named DataTable class. 2973 ///</summary> 2974 [global::System.Serializable()] 2975 [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] 2976 public partial class SmsLogQueueStatusDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { 2977 2978 private global::System.Data.DataColumn columnID; 2979 2980 private global::System.Data.DataColumn columnPhone; 2981 2982 private global::System.Data.DataColumn columnStatus; 2983 2984 private global::System.Data.DataColumn columnStatusUpdated; 2985 2986 private global::System.Data.DataColumn columnGenereted; 2987 2988 private global::System.Data.DataColumn columnZip; 2989 2990 private global::System.Data.DataColumn columnStreet; 2991 2992 private global::System.Data.DataColumn columnNumber; 2993 2994 private global::System.Data.DataColumn columnLetterFloorDoor; 2995 2996 private global::System.Data.DataColumn columnStatusCode; 2997 2998 private global::System.Data.DataColumn columnRefId; 2999 3000 private global::System.Data.DataColumn columnRowUpdated; 3001 3002 private global::System.Data.DataColumn columnLetter; 3003 3004 private global::System.Data.DataColumn columnFloor; 3005 3006 private global::System.Data.DataColumn columnDoor; 3007 3008 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3009 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3010 public SmsLogQueueStatusDataTable() { 3011 this.TableName = "SmsLogQueueStatus"; 3012 this.BeginInit(); 3013 this.InitClass(); 3014 this.EndInit(); 3015 } 3016 3017 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3018 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3019 internal SmsLogQueueStatusDataTable(global::System.Data.DataTable table) { 3020 this.TableName = table.TableName; 3021 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { 3022 this.CaseSensitive = table.CaseSensitive; 3023 } 3024 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { 3025 this.Locale = table.Locale; 3026 } 3027 if ((table.Namespace != table.DataSet.Namespace)) { 3028 this.Namespace = table.Namespace; 3029 } 3030 this.Prefix = table.Prefix; 3031 this.MinimumCapacity = table.MinimumCapacity; 3032 } 3033 3034 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3035 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3036 protected SmsLogQueueStatusDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 3037 base(info, context) { 3038 this.InitVars(); 3039 } 3040 3041 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3042 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3043 public global::System.Data.DataColumn IDColumn { 3044 get { 3045 return this.columnID; 3046 } 3047 } 3048 3049 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3050 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3051 public global::System.Data.DataColumn PhoneColumn { 3052 get { 3053 return this.columnPhone; 3054 } 3055 } 3056 3057 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3058 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3059 public global::System.Data.DataColumn StatusColumn { 3060 get { 3061 return this.columnStatus; 3062 } 3063 } 3064 3065 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3066 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3067 public global::System.Data.DataColumn StatusUpdatedColumn { 3068 get { 3069 return this.columnStatusUpdated; 3070 } 3071 } 3072 3073 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3074 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3075 public global::System.Data.DataColumn GeneretedColumn { 3076 get { 3077 return this.columnGenereted; 3078 } 3079 } 3080 3081 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3082 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3083 public global::System.Data.DataColumn ZipColumn { 3084 get { 3085 return this.columnZip; 3086 } 3087 } 3088 3089 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3090 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3091 public global::System.Data.DataColumn StreetColumn { 3092 get { 3093 return this.columnStreet; 3094 } 3095 } 3096 3097 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3098 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3099 public global::System.Data.DataColumn NumberColumn { 3100 get { 3101 return this.columnNumber; 3102 } 3103 } 3104 3105 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3106 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3107 public global::System.Data.DataColumn LetterFloorDoorColumn { 3108 get { 3109 return this.columnLetterFloorDoor; 3110 } 3111 } 3112 3113 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3114 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3115 public global::System.Data.DataColumn StatusCodeColumn { 3116 get { 3117 return this.columnStatusCode; 3118 } 3119 } 3120 3121 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3122 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3123 public global::System.Data.DataColumn RefIdColumn { 3124 get { 3125 return this.columnRefId; 3126 } 3127 } 3128 3129 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3130 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3131 public global::System.Data.DataColumn RowUpdatedColumn { 3132 get { 3133 return this.columnRowUpdated; 3134 } 3135 } 3136 3137 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3138 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3139 public global::System.Data.DataColumn LetterColumn { 3140 get { 3141 return this.columnLetter; 3142 } 3143 } 3144 3145 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3146 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3147 public global::System.Data.DataColumn FloorColumn { 3148 get { 3149 return this.columnFloor; 3150 } 3151 } 3152 3153 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3154 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3155 public global::System.Data.DataColumn DoorColumn { 3156 get { 3157 return this.columnDoor; 3158 } 3159 } 3160 3161 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3162 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3163 [global::System.ComponentModel.Browsable(false)] 3164 public int Count { 3165 get { 3166 return this.Rows.Count; 3167 } 3168 } 3169 3170 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3171 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3172 public SmsLogQueueStatusRow this[int index] { 3173 get { 3174 return ((SmsLogQueueStatusRow)(this.Rows[index])); 3175 } 3176 } 3177 3178 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3179 public event SmsLogQueueStatusRowChangeEventHandler SmsLogQueueStatusRowChanging; 3180 3181 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3182 public event SmsLogQueueStatusRowChangeEventHandler SmsLogQueueStatusRowChanged; 3183 3184 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3185 public event SmsLogQueueStatusRowChangeEventHandler SmsLogQueueStatusRowDeleting; 3186 3187 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3188 public event SmsLogQueueStatusRowChangeEventHandler SmsLogQueueStatusRowDeleted; 3189 3190 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3191 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3192 public void AddSmsLogQueueStatusRow(SmsLogQueueStatusRow row) { 3193 this.Rows.Add(row); 3194 } 3195 3196 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3197 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3198 public SmsLogQueueStatusRow AddSmsLogQueueStatusRow(string Phone, string Status, System.DateTime StatusUpdated, System.DateTime Genereted, int Zip, string Street, int Number, string LetterFloorDoor, int StatusCode, long RefId, System.DateTime RowUpdated, string Letter, string Floor, string Door) { 3199 SmsLogQueueStatusRow rowSmsLogQueueStatusRow = ((SmsLogQueueStatusRow)(this.NewRow())); 3200 object[] columnValuesArray = new object[] { 3201 null, 3202 Phone, 3203 Status, 3204 StatusUpdated, 3205 Genereted, 3206 Zip, 3207 Street, 3208 Number, 3209 LetterFloorDoor, 3210 StatusCode, 3211 RefId, 3212 RowUpdated, 3213 Letter, 3214 Floor, 3215 Door}; 3216 rowSmsLogQueueStatusRow.ItemArray = columnValuesArray; 3217 this.Rows.Add(rowSmsLogQueueStatusRow); 3218 return rowSmsLogQueueStatusRow; 3219 } 3220 3221 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3222 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3223 public SmsLogQueueStatusRow FindByID(long ID) { 3224 return ((SmsLogQueueStatusRow)(this.Rows.Find(new object[] { 3225 ID}))); 3226 } 3227 3228 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3229 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3230 public virtual global::System.Collections.IEnumerator GetEnumerator() { 3231 return this.Rows.GetEnumerator(); 3232 } 3233 3234 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3235 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3236 public override global::System.Data.DataTable Clone() { 3237 SmsLogQueueStatusDataTable cln = ((SmsLogQueueStatusDataTable)(base.Clone())); 3238 cln.InitVars(); 3239 return cln; 3240 } 3241 3242 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3243 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3244 protected override global::System.Data.DataTable CreateInstance() { 3245 return new SmsLogQueueStatusDataTable(); 3246 } 3247 3248 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3249 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3250 internal void InitVars() { 3251 this.columnID = base.Columns["ID"]; 3252 this.columnPhone = base.Columns["Phone"]; 3253 this.columnStatus = base.Columns["Status"]; 3254 this.columnStatusUpdated = base.Columns["StatusUpdated"]; 3255 this.columnGenereted = base.Columns["Genereted"]; 3256 this.columnZip = base.Columns["Zip"]; 3257 this.columnStreet = base.Columns["Street"]; 3258 this.columnNumber = base.Columns["Number"]; 3259 this.columnLetterFloorDoor = base.Columns["LetterFloorDoor"]; 3260 this.columnStatusCode = base.Columns["StatusCode"]; 3261 this.columnRefId = base.Columns["RefId"]; 3262 this.columnRowUpdated = base.Columns["RowUpdated"]; 3263 this.columnLetter = base.Columns["Letter"]; 3264 this.columnFloor = base.Columns["Floor"]; 3265 this.columnDoor = base.Columns["Door"]; 3266 } 3267 3268 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3269 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3270 private void InitClass() { 3271 this.columnID = new global::System.Data.DataColumn("ID", typeof(long), null, global::System.Data.MappingType.Element); 3272 base.Columns.Add(this.columnID); 3273 this.columnPhone = new global::System.Data.DataColumn("Phone", typeof(string), null, global::System.Data.MappingType.Element); 3274 base.Columns.Add(this.columnPhone); 3275 this.columnStatus = new global::System.Data.DataColumn("Status", typeof(string), null, global::System.Data.MappingType.Element); 3276 base.Columns.Add(this.columnStatus); 3277 this.columnStatusUpdated = new global::System.Data.DataColumn("StatusUpdated", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); 3278 base.Columns.Add(this.columnStatusUpdated); 3279 this.columnGenereted = new global::System.Data.DataColumn("Genereted", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); 3280 base.Columns.Add(this.columnGenereted); 3281 this.columnZip = new global::System.Data.DataColumn("Zip", typeof(int), null, global::System.Data.MappingType.Element); 3282 base.Columns.Add(this.columnZip); 3283 this.columnStreet = new global::System.Data.DataColumn("Street", typeof(string), null, global::System.Data.MappingType.Element); 3284 base.Columns.Add(this.columnStreet); 3285 this.columnNumber = new global::System.Data.DataColumn("Number", typeof(int), null, global::System.Data.MappingType.Element); 3286 base.Columns.Add(this.columnNumber); 3287 this.columnLetterFloorDoor = new global::System.Data.DataColumn("LetterFloorDoor", typeof(string), null, global::System.Data.MappingType.Element); 3288 base.Columns.Add(this.columnLetterFloorDoor); 3289 this.columnStatusCode = new global::System.Data.DataColumn("StatusCode", typeof(int), null, global::System.Data.MappingType.Element); 3290 base.Columns.Add(this.columnStatusCode); 3291 this.columnRefId = new global::System.Data.DataColumn("RefId", typeof(long), null, global::System.Data.MappingType.Element); 3292 base.Columns.Add(this.columnRefId); 3293 this.columnRowUpdated = new global::System.Data.DataColumn("RowUpdated", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); 3294 base.Columns.Add(this.columnRowUpdated); 3295 this.columnLetter = new global::System.Data.DataColumn("Letter", typeof(string), null, global::System.Data.MappingType.Element); 3296 base.Columns.Add(this.columnLetter); 3297 this.columnFloor = new global::System.Data.DataColumn("Floor", typeof(string), null, global::System.Data.MappingType.Element); 3298 base.Columns.Add(this.columnFloor); 3299 this.columnDoor = new global::System.Data.DataColumn("Door", typeof(string), null, global::System.Data.MappingType.Element); 3300 base.Columns.Add(this.columnDoor); 3301 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { 3302 this.columnID}, true)); 3303 this.columnID.AutoIncrement = true; 3304 this.columnID.AutoIncrementSeed = -1; 3305 this.columnID.AutoIncrementStep = -1; 3306 this.columnID.AllowDBNull = false; 3307 this.columnID.ReadOnly = true; 3308 this.columnID.Unique = true; 3309 this.columnPhone.MaxLength = 20; 3310 this.columnStatus.ReadOnly = true; 3311 this.columnStatus.MaxLength = 50; 3312 this.columnGenereted.AllowDBNull = false; 3313 this.columnStreet.MaxLength = 1000; 3314 this.columnLetterFloorDoor.MaxLength = 50; 3315 this.columnLetter.MaxLength = 10; 3316 this.columnFloor.MaxLength = 20; 3317 this.columnDoor.MaxLength = 10; 3318 } 3319 3320 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3321 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3322 public SmsLogQueueStatusRow NewSmsLogQueueStatusRow() { 3323 return ((SmsLogQueueStatusRow)(this.NewRow())); 3324 } 3325 3326 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3327 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3328 protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { 3329 return new SmsLogQueueStatusRow(builder); 3330 } 3331 3332 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3333 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3334 protected override global::System.Type GetRowType() { 3335 return typeof(SmsLogQueueStatusRow); 3336 } 3337 3338 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3339 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3340 protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { 3341 base.OnRowChanged(e); 3342 if ((this.SmsLogQueueStatusRowChanged != null)) { 3343 this.SmsLogQueueStatusRowChanged(this, new SmsLogQueueStatusRowChangeEvent(((SmsLogQueueStatusRow)(e.Row)), e.Action)); 3344 } 3345 } 3346 3347 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3348 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3349 protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { 3350 base.OnRowChanging(e); 3351 if ((this.SmsLogQueueStatusRowChanging != null)) { 3352 this.SmsLogQueueStatusRowChanging(this, new SmsLogQueueStatusRowChangeEvent(((SmsLogQueueStatusRow)(e.Row)), e.Action)); 3353 } 3354 } 3355 3356 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3357 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3358 protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { 3359 base.OnRowDeleted(e); 3360 if ((this.SmsLogQueueStatusRowDeleted != null)) { 3361 this.SmsLogQueueStatusRowDeleted(this, new SmsLogQueueStatusRowChangeEvent(((SmsLogQueueStatusRow)(e.Row)), e.Action)); 3362 } 3363 } 3364 3365 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3366 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3367 protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { 3368 base.OnRowDeleting(e); 3369 if ((this.SmsLogQueueStatusRowDeleting != null)) { 3370 this.SmsLogQueueStatusRowDeleting(this, new SmsLogQueueStatusRowChangeEvent(((SmsLogQueueStatusRow)(e.Row)), e.Action)); 3371 } 3372 } 3373 3374 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3375 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3376 public void RemoveSmsLogQueueStatusRow(SmsLogQueueStatusRow row) { 3377 this.Rows.Remove(row); 3378 } 3379 3380 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3381 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3382 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { 3383 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); 3384 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); 3385 ApiDataSet ds = new ApiDataSet(); 3386 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); 3387 any1.Namespace = "http://www.w3.org/2001/XMLSchema"; 3388 any1.MinOccurs = new decimal(0); 3389 any1.MaxOccurs = decimal.MaxValue; 3390 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; 3391 sequence.Items.Add(any1); 3392 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); 3393 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; 3394 any2.MinOccurs = new decimal(1); 3395 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; 3396 sequence.Items.Add(any2); 3397 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); 3398 attribute1.Name = "namespace"; 3399 attribute1.FixedValue = ds.Namespace; 3400 type.Attributes.Add(attribute1); 3401 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); 3402 attribute2.Name = "tableTypeName"; 3403 attribute2.FixedValue = "SmsLogQueueStatusDataTable"; 3404 type.Attributes.Add(attribute2); 3405 type.Particle = sequence; 3406 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); 3407 if (xs.Contains(dsSchema.TargetNamespace)) { 3408 global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); 3409 global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); 3410 try { 3411 global::System.Xml.Schema.XmlSchema schema = null; 3412 dsSchema.Write(s1); 3413 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { 3414 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); 3415 s2.SetLength(0); 3416 schema.Write(s2); 3417 if ((s1.Length == s2.Length)) { 3418 s1.Position = 0; 3419 s2.Position = 0; 3420 for (; ((s1.Position != s1.Length) 3421 && (s1.ReadByte() == s2.ReadByte())); ) { 3422 ; 3423 } 3424 if ((s1.Position == s1.Length)) { 3425 return type; 3426 } 3427 } 3428 } 3429 } 3430 finally { 3431 if ((s1 != null)) { 3432 s1.Close(); 3433 } 3434 if ((s2 != null)) { 3435 s2.Close(); 3436 } 3437 } 3438 } 3439 xs.Add(dsSchema); 3440 return type; 3441 } 3442 } 3443 3444 /// <summary> 3445 ///Represents the strongly named DataTable class. 3446 ///</summary> 3447 [global::System.Serializable()] 3448 [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] 3449 public partial class ZipAndStreetDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { 3450 3451 private global::System.Data.DataColumn columnZip; 3452 3453 private global::System.Data.DataColumn columnStreet; 3454 3455 private global::System.Data.DataColumn columnCvrID; 3456 3457 private global::System.Data.DataColumn columnKV; 3458 3459 private global::System.Data.DataColumn columnKomKod; 3460 3461 private global::System.Data.DataColumn columnVejKod; 3462 3463 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3464 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3465 public ZipAndStreetDataTable() { 3466 this.TableName = "ZipAndStreet"; 3467 this.BeginInit(); 3468 this.InitClass(); 3469 this.EndInit(); 3470 } 3471 3472 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3473 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3474 internal ZipAndStreetDataTable(global::System.Data.DataTable table) { 3475 this.TableName = table.TableName; 3476 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { 3477 this.CaseSensitive = table.CaseSensitive; 3478 } 3479 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { 3480 this.Locale = table.Locale; 3481 } 3482 if ((table.Namespace != table.DataSet.Namespace)) { 3483 this.Namespace = table.Namespace; 3484 } 3485 this.Prefix = table.Prefix; 3486 this.MinimumCapacity = table.MinimumCapacity; 3487 } 3488 3489 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3490 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3491 protected ZipAndStreetDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 3492 base(info, context) { 3493 this.InitVars(); 3494 } 3495 3496 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3497 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3498 public global::System.Data.DataColumn ZipColumn { 3499 get { 3500 return this.columnZip; 3501 } 3502 } 3503 3504 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3505 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3506 public global::System.Data.DataColumn StreetColumn { 3507 get { 3508 return this.columnStreet; 3509 } 3510 } 3511 3512 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3513 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3514 public global::System.Data.DataColumn CvrIDColumn { 3515 get { 3516 return this.columnCvrID; 3517 } 3518 } 3519 3520 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3521 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3522 public global::System.Data.DataColumn KVColumn { 3523 get { 3524 return this.columnKV; 3525 } 3526 } 3527 3528 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3529 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3530 public global::System.Data.DataColumn KomKodColumn { 3531 get { 3532 return this.columnKomKod; 3533 } 3534 } 3535 3536 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3537 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3538 public global::System.Data.DataColumn VejKodColumn { 3539 get { 3540 return this.columnVejKod; 3541 } 3542 } 3543 3544 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3545 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3546 [global::System.ComponentModel.Browsable(false)] 3547 public int Count { 3548 get { 3549 return this.Rows.Count; 3550 } 3551 } 3552 3553 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3554 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3555 public ZipAndStreetRow this[int index] { 3556 get { 3557 return ((ZipAndStreetRow)(this.Rows[index])); 3558 } 3559 } 3560 3561 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3562 public event ZipAndStreetRowChangeEventHandler ZipAndStreetRowChanging; 3563 3564 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3565 public event ZipAndStreetRowChangeEventHandler ZipAndStreetRowChanged; 3566 3567 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3568 public event ZipAndStreetRowChangeEventHandler ZipAndStreetRowDeleting; 3569 3570 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3571 public event ZipAndStreetRowChangeEventHandler ZipAndStreetRowDeleted; 3572 3573 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3574 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3575 public void AddZipAndStreetRow(ZipAndStreetRow row) { 3576 this.Rows.Add(row); 3577 } 3578 3579 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3580 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3581 public ZipAndStreetRow AddZipAndStreetRow(short Zip, string Street, long CvrID, long KV, short KomKod, short VejKod) { 3582 ZipAndStreetRow rowZipAndStreetRow = ((ZipAndStreetRow)(this.NewRow())); 3583 object[] columnValuesArray = new object[] { 3584 Zip, 3585 Street, 3586 CvrID, 3587 KV, 3588 KomKod, 3589 VejKod}; 3590 rowZipAndStreetRow.ItemArray = columnValuesArray; 3591 this.Rows.Add(rowZipAndStreetRow); 3592 return rowZipAndStreetRow; 3593 } 3594 3595 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3596 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3597 public virtual global::System.Collections.IEnumerator GetEnumerator() { 3598 return this.Rows.GetEnumerator(); 3599 } 3600 3601 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3602 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3603 public override global::System.Data.DataTable Clone() { 3604 ZipAndStreetDataTable cln = ((ZipAndStreetDataTable)(base.Clone())); 3605 cln.InitVars(); 3606 return cln; 3607 } 3608 3609 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3610 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3611 protected override global::System.Data.DataTable CreateInstance() { 3612 return new ZipAndStreetDataTable(); 3613 } 3614 3615 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3616 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3617 internal void InitVars() { 3618 this.columnZip = base.Columns["Zip"]; 3619 this.columnStreet = base.Columns["Street"]; 3620 this.columnCvrID = base.Columns["CvrID"]; 3621 this.columnKV = base.Columns["KV"]; 3622 this.columnKomKod = base.Columns["KomKod"]; 3623 this.columnVejKod = base.Columns["VejKod"]; 3624 } 3625 3626 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3627 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3628 private void InitClass() { 3629 this.columnZip = new global::System.Data.DataColumn("Zip", typeof(short), null, global::System.Data.MappingType.Element); 3630 base.Columns.Add(this.columnZip); 3631 this.columnStreet = new global::System.Data.DataColumn("Street", typeof(string), null, global::System.Data.MappingType.Element); 3632 base.Columns.Add(this.columnStreet); 3633 this.columnCvrID = new global::System.Data.DataColumn("CvrID", typeof(long), null, global::System.Data.MappingType.Element); 3634 base.Columns.Add(this.columnCvrID); 3635 this.columnKV = new global::System.Data.DataColumn("KV", typeof(long), null, global::System.Data.MappingType.Element); 3636 base.Columns.Add(this.columnKV); 3637 this.columnKomKod = new global::System.Data.DataColumn("KomKod", typeof(short), null, global::System.Data.MappingType.Element); 3638 base.Columns.Add(this.columnKomKod); 3639 this.columnVejKod = new global::System.Data.DataColumn("VejKod", typeof(short), null, global::System.Data.MappingType.Element); 3640 base.Columns.Add(this.columnVejKod); 3641 this.columnZip.AllowDBNull = false; 3642 this.columnStreet.AllowDBNull = false; 3643 this.columnStreet.MaxLength = 500; 3644 } 3645 3646 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3647 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3648 public ZipAndStreetRow NewZipAndStreetRow() { 3649 return ((ZipAndStreetRow)(this.NewRow())); 3650 } 3651 3652 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3653 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3654 protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { 3655 return new ZipAndStreetRow(builder); 3656 } 3657 3658 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3659 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3660 protected override global::System.Type GetRowType() { 3661 return typeof(ZipAndStreetRow); 3662 } 3663 3664 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3665 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3666 protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { 3667 base.OnRowChanged(e); 3668 if ((this.ZipAndStreetRowChanged != null)) { 3669 this.ZipAndStreetRowChanged(this, new ZipAndStreetRowChangeEvent(((ZipAndStreetRow)(e.Row)), e.Action)); 3670 } 3671 } 3672 3673 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3674 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3675 protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { 3676 base.OnRowChanging(e); 3677 if ((this.ZipAndStreetRowChanging != null)) { 3678 this.ZipAndStreetRowChanging(this, new ZipAndStreetRowChangeEvent(((ZipAndStreetRow)(e.Row)), e.Action)); 3679 } 3680 } 3681 3682 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3683 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3684 protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { 3685 base.OnRowDeleted(e); 3686 if ((this.ZipAndStreetRowDeleted != null)) { 3687 this.ZipAndStreetRowDeleted(this, new ZipAndStreetRowChangeEvent(((ZipAndStreetRow)(e.Row)), e.Action)); 3688 } 3689 } 3690 3691 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3692 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3693 protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { 3694 base.OnRowDeleting(e); 3695 if ((this.ZipAndStreetRowDeleting != null)) { 3696 this.ZipAndStreetRowDeleting(this, new ZipAndStreetRowChangeEvent(((ZipAndStreetRow)(e.Row)), e.Action)); 3697 } 3698 } 3699 3700 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3701 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3702 public void RemoveZipAndStreetRow(ZipAndStreetRow row) { 3703 this.Rows.Remove(row); 3704 } 3705 3706 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3707 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3708 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { 3709 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); 3710 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); 3711 ApiDataSet ds = new ApiDataSet(); 3712 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); 3713 any1.Namespace = "http://www.w3.org/2001/XMLSchema"; 3714 any1.MinOccurs = new decimal(0); 3715 any1.MaxOccurs = decimal.MaxValue; 3716 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; 3717 sequence.Items.Add(any1); 3718 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); 3719 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; 3720 any2.MinOccurs = new decimal(1); 3721 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; 3722 sequence.Items.Add(any2); 3723 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); 3724 attribute1.Name = "namespace"; 3725 attribute1.FixedValue = ds.Namespace; 3726 type.Attributes.Add(attribute1); 3727 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); 3728 attribute2.Name = "tableTypeName"; 3729 attribute2.FixedValue = "ZipAndStreetDataTable"; 3730 type.Attributes.Add(attribute2); 3731 type.Particle = sequence; 3732 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); 3733 if (xs.Contains(dsSchema.TargetNamespace)) { 3734 global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); 3735 global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); 3736 try { 3737 global::System.Xml.Schema.XmlSchema schema = null; 3738 dsSchema.Write(s1); 3739 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { 3740 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); 3741 s2.SetLength(0); 3742 schema.Write(s2); 3743 if ((s1.Length == s2.Length)) { 3744 s1.Position = 0; 3745 s2.Position = 0; 3746 for (; ((s1.Position != s1.Length) 3747 && (s1.ReadByte() == s2.ReadByte())); ) { 3748 ; 3749 } 3750 if ((s1.Position == s1.Length)) { 3751 return type; 3752 } 3753 } 3754 } 3755 } 3756 finally { 3757 if ((s1 != null)) { 3758 s1.Close(); 3759 } 3760 if ((s2 != null)) { 3761 s2.Close(); 3762 } 3763 } 3764 } 3765 xs.Add(dsSchema); 3766 return type; 3767 } 3768 } 3769 3770 /// <summary> 3771 ///Represents the strongly named DataTable class. 3772 ///</summary> 3773 [global::System.Serializable()] 3774 [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] 3775 public partial class SmsGroupItemsDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { 3776 3777 private global::System.Data.DataColumn columnGroupItemId; 3778 3779 private global::System.Data.DataColumn columnGroupId; 3780 3781 private global::System.Data.DataColumn columnZipAllIn; 3782 3783 private global::System.Data.DataColumn columnZip; 3784 3785 private global::System.Data.DataColumn columnStreetName; 3786 3787 private global::System.Data.DataColumn columnZipAndStreetID; 3788 3789 private global::System.Data.DataColumn columnFromNumber; 3790 3791 private global::System.Data.DataColumn columnToNumber; 3792 3793 private global::System.Data.DataColumn columnEvenOdd; 3794 3795 private global::System.Data.DataColumn columnStatusCode; 3796 3797 private global::System.Data.DataColumn columnLetter; 3798 3799 private global::System.Data.DataColumn columnFloor; 3800 3801 private global::System.Data.DataColumn columnDoor; 3802 3803 private global::System.Data.DataColumn columnCellPhone; 3804 3805 private global::System.Data.DataColumn columnKVHX; 3806 3807 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3808 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3809 public SmsGroupItemsDataTable() { 3810 this.TableName = "SmsGroupItems"; 3811 this.BeginInit(); 3812 this.InitClass(); 3813 this.EndInit(); 3814 } 3815 3816 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3817 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3818 internal SmsGroupItemsDataTable(global::System.Data.DataTable table) { 3819 this.TableName = table.TableName; 3820 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { 3821 this.CaseSensitive = table.CaseSensitive; 3822 } 3823 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { 3824 this.Locale = table.Locale; 3825 } 3826 if ((table.Namespace != table.DataSet.Namespace)) { 3827 this.Namespace = table.Namespace; 3828 } 3829 this.Prefix = table.Prefix; 3830 this.MinimumCapacity = table.MinimumCapacity; 3831 } 3832 3833 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3834 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3835 protected SmsGroupItemsDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 3836 base(info, context) { 3837 this.InitVars(); 3838 } 3839 3840 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3841 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3842 public global::System.Data.DataColumn GroupItemIdColumn { 3843 get { 3844 return this.columnGroupItemId; 3845 } 3846 } 3847 3848 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3849 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3850 public global::System.Data.DataColumn GroupIdColumn { 3851 get { 3852 return this.columnGroupId; 3853 } 3854 } 3855 3856 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3857 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3858 public global::System.Data.DataColumn ZipAllInColumn { 3859 get { 3860 return this.columnZipAllIn; 3861 } 3862 } 3863 3864 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3865 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3866 public global::System.Data.DataColumn ZipColumn { 3867 get { 3868 return this.columnZip; 3869 } 3870 } 3871 3872 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3873 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3874 public global::System.Data.DataColumn StreetNameColumn { 3875 get { 3876 return this.columnStreetName; 3877 } 3878 } 3879 3880 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3881 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3882 public global::System.Data.DataColumn ZipAndStreetIDColumn { 3883 get { 3884 return this.columnZipAndStreetID; 3885 } 3886 } 3887 3888 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3889 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3890 public global::System.Data.DataColumn FromNumberColumn { 3891 get { 3892 return this.columnFromNumber; 3893 } 3894 } 3895 3896 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3897 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3898 public global::System.Data.DataColumn ToNumberColumn { 3899 get { 3900 return this.columnToNumber; 3901 } 3902 } 3903 3904 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3905 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3906 public global::System.Data.DataColumn EvenOddColumn { 3907 get { 3908 return this.columnEvenOdd; 3909 } 3910 } 3911 3912 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3913 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3914 public global::System.Data.DataColumn StatusCodeColumn { 3915 get { 3916 return this.columnStatusCode; 3917 } 3918 } 3919 3920 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3921 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3922 public global::System.Data.DataColumn LetterColumn { 3923 get { 3924 return this.columnLetter; 3925 } 3926 } 3927 3928 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3929 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3930 public global::System.Data.DataColumn FloorColumn { 3931 get { 3932 return this.columnFloor; 3933 } 3934 } 3935 3936 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3937 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3938 public global::System.Data.DataColumn DoorColumn { 3939 get { 3940 return this.columnDoor; 3941 } 3942 } 3943 3944 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3945 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3946 public global::System.Data.DataColumn CellPhoneColumn { 3947 get { 3948 return this.columnCellPhone; 3949 } 3950 } 3951 3952 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3953 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3954 public global::System.Data.DataColumn KVHXColumn { 3955 get { 3956 return this.columnKVHX; 3957 } 3958 } 3959 3960 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3961 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3962 [global::System.ComponentModel.Browsable(false)] 3963 public int Count { 3964 get { 3965 return this.Rows.Count; 3966 } 3967 } 3968 3969 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3970 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3971 public SmsGroupItemsRow this[int index] { 3972 get { 3973 return ((SmsGroupItemsRow)(this.Rows[index])); 3974 } 3975 } 3976 3977 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3978 public event SmsGroupItemsRowChangeEventHandler SmsGroupItemsRowChanging; 3979 3980 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3981 public event SmsGroupItemsRowChangeEventHandler SmsGroupItemsRowChanged; 3982 3983 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3984 public event SmsGroupItemsRowChangeEventHandler SmsGroupItemsRowDeleting; 3985 3986 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3987 public event SmsGroupItemsRowChangeEventHandler SmsGroupItemsRowDeleted; 3988 3989 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3990 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3991 public void AddSmsGroupItemsRow(SmsGroupItemsRow row) { 3992 this.Rows.Add(row); 3993 } 3994 3995 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3996 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 3997 public SmsGroupItemsRow AddSmsGroupItemsRow(SmsGroupRow parentSmsGroupRowByFK_SmsGroupItems_SmsGroup, bool ZipAllIn, int Zip, string StreetName, long ZipAndStreetID, int FromNumber, int ToNumber, short EvenOdd, short StatusCode, string Letter, string Floor, string Door, string CellPhone, string KVHX) { 3998 SmsGroupItemsRow rowSmsGroupItemsRow = ((SmsGroupItemsRow)(this.NewRow())); 3999 object[] columnValuesArray = new object[] { 4000 null, 4001 null, 4002 ZipAllIn, 4003 Zip, 4004 StreetName, 4005 ZipAndStreetID, 4006 FromNumber, 4007 ToNumber, 4008 EvenOdd, 4009 StatusCode, 4010 Letter, 4011 Floor, 4012 Door, 4013 CellPhone, 4014 KVHX}; 4015 if ((parentSmsGroupRowByFK_SmsGroupItems_SmsGroup != null)) { 4016 columnValuesArray[1] = parentSmsGroupRowByFK_SmsGroupItems_SmsGroup[0]; 4017 } 4018 rowSmsGroupItemsRow.ItemArray = columnValuesArray; 4019 this.Rows.Add(rowSmsGroupItemsRow); 4020 return rowSmsGroupItemsRow; 4021 } 4022 4023 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4024 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4025 public SmsGroupItemsRow FindByGroupItemId(long GroupItemId) { 4026 return ((SmsGroupItemsRow)(this.Rows.Find(new object[] { 4027 GroupItemId}))); 4028 } 4029 4030 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4031 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4032 public virtual global::System.Collections.IEnumerator GetEnumerator() { 4033 return this.Rows.GetEnumerator(); 4034 } 4035 4036 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4037 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4038 public override global::System.Data.DataTable Clone() { 4039 SmsGroupItemsDataTable cln = ((SmsGroupItemsDataTable)(base.Clone())); 4040 cln.InitVars(); 4041 return cln; 4042 } 4043 4044 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4045 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4046 protected override global::System.Data.DataTable CreateInstance() { 4047 return new SmsGroupItemsDataTable(); 4048 } 4049 4050 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4051 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4052 internal void InitVars() { 4053 this.columnGroupItemId = base.Columns["GroupItemId"]; 4054 this.columnGroupId = base.Columns["GroupId"]; 4055 this.columnZipAllIn = base.Columns["ZipAllIn"]; 4056 this.columnZip = base.Columns["Zip"]; 4057 this.columnStreetName = base.Columns["StreetName"]; 4058 this.columnZipAndStreetID = base.Columns["ZipAndStreetID"]; 4059 this.columnFromNumber = base.Columns["FromNumber"]; 4060 this.columnToNumber = base.Columns["ToNumber"]; 4061 this.columnEvenOdd = base.Columns["EvenOdd"]; 4062 this.columnStatusCode = base.Columns["StatusCode"]; 4063 this.columnLetter = base.Columns["Letter"]; 4064 this.columnFloor = base.Columns["Floor"]; 4065 this.columnDoor = base.Columns["Door"]; 4066 this.columnCellPhone = base.Columns["CellPhone"]; 4067 this.columnKVHX = base.Columns["KVHX"]; 4068 } 4069 4070 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4071 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4072 private void InitClass() { 4073 this.columnGroupItemId = new global::System.Data.DataColumn("GroupItemId", typeof(long), null, global::System.Data.MappingType.Element); 4074 base.Columns.Add(this.columnGroupItemId); 4075 this.columnGroupId = new global::System.Data.DataColumn("GroupId", typeof(long), null, global::System.Data.MappingType.Element); 4076 base.Columns.Add(this.columnGroupId); 4077 this.columnZipAllIn = new global::System.Data.DataColumn("ZipAllIn", typeof(bool), null, global::System.Data.MappingType.Element); 4078 base.Columns.Add(this.columnZipAllIn); 4079 this.columnZip = new global::System.Data.DataColumn("Zip", typeof(int), null, global::System.Data.MappingType.Element); 4080 base.Columns.Add(this.columnZip); 4081 this.columnStreetName = new global::System.Data.DataColumn("StreetName", typeof(string), null, global::System.Data.MappingType.Element); 4082 base.Columns.Add(this.columnStreetName); 4083 this.columnZipAndStreetID = new global::System.Data.DataColumn("ZipAndStreetID", typeof(long), null, global::System.Data.MappingType.Element); 4084 base.Columns.Add(this.columnZipAndStreetID); 4085 this.columnFromNumber = new global::System.Data.DataColumn("FromNumber", typeof(int), null, global::System.Data.MappingType.Element); 4086 base.Columns.Add(this.columnFromNumber); 4087 this.columnToNumber = new global::System.Data.DataColumn("ToNumber", typeof(int), null, global::System.Data.MappingType.Element); 4088 base.Columns.Add(this.columnToNumber); 4089 this.columnEvenOdd = new global::System.Data.DataColumn("EvenOdd", typeof(short), null, global::System.Data.MappingType.Element); 4090 base.Columns.Add(this.columnEvenOdd); 4091 this.columnStatusCode = new global::System.Data.DataColumn("StatusCode", typeof(short), null, global::System.Data.MappingType.Element); 4092 base.Columns.Add(this.columnStatusCode); 4093 this.columnLetter = new global::System.Data.DataColumn("Letter", typeof(string), null, global::System.Data.MappingType.Element); 4094 base.Columns.Add(this.columnLetter); 4095 this.columnFloor = new global::System.Data.DataColumn("Floor", typeof(string), null, global::System.Data.MappingType.Element); 4096 base.Columns.Add(this.columnFloor); 4097 this.columnDoor = new global::System.Data.DataColumn("Door", typeof(string), null, global::System.Data.MappingType.Element); 4098 base.Columns.Add(this.columnDoor); 4099 this.columnCellPhone = new global::System.Data.DataColumn("CellPhone", typeof(string), null, global::System.Data.MappingType.Element); 4100 base.Columns.Add(this.columnCellPhone); 4101 this.columnKVHX = new global::System.Data.DataColumn("KVHX", typeof(string), null, global::System.Data.MappingType.Element); 4102 base.Columns.Add(this.columnKVHX); 4103 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { 4104 this.columnGroupItemId}, true)); 4105 this.columnGroupItemId.AutoIncrement = true; 4106 this.columnGroupItemId.AutoIncrementSeed = -1; 4107 this.columnGroupItemId.AutoIncrementStep = -1; 4108 this.columnGroupItemId.AllowDBNull = false; 4109 this.columnGroupItemId.ReadOnly = true; 4110 this.columnGroupItemId.Unique = true; 4111 this.columnZipAllIn.AllowDBNull = false; 4112 this.columnStreetName.MaxLength = 500; 4113 this.columnLetter.MaxLength = 10; 4114 this.columnFloor.MaxLength = 20; 4115 this.columnDoor.MaxLength = 10; 4116 this.columnCellPhone.MaxLength = 220; 4117 } 4118 4119 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4120 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4121 public SmsGroupItemsRow NewSmsGroupItemsRow() { 4122 return ((SmsGroupItemsRow)(this.NewRow())); 4123 } 4124 4125 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4126 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4127 protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { 4128 return new SmsGroupItemsRow(builder); 4129 } 4130 4131 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4132 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4133 protected override global::System.Type GetRowType() { 4134 return typeof(SmsGroupItemsRow); 4135 } 4136 4137 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4138 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4139 protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { 4140 base.OnRowChanged(e); 4141 if ((this.SmsGroupItemsRowChanged != null)) { 4142 this.SmsGroupItemsRowChanged(this, new SmsGroupItemsRowChangeEvent(((SmsGroupItemsRow)(e.Row)), e.Action)); 4143 } 4144 } 4145 4146 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4147 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4148 protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { 4149 base.OnRowChanging(e); 4150 if ((this.SmsGroupItemsRowChanging != null)) { 4151 this.SmsGroupItemsRowChanging(this, new SmsGroupItemsRowChangeEvent(((SmsGroupItemsRow)(e.Row)), e.Action)); 4152 } 4153 } 4154 4155 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4156 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4157 protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { 4158 base.OnRowDeleted(e); 4159 if ((this.SmsGroupItemsRowDeleted != null)) { 4160 this.SmsGroupItemsRowDeleted(this, new SmsGroupItemsRowChangeEvent(((SmsGroupItemsRow)(e.Row)), e.Action)); 4161 } 4162 } 4163 4164 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4165 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4166 protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { 4167 base.OnRowDeleting(e); 4168 if ((this.SmsGroupItemsRowDeleting != null)) { 4169 this.SmsGroupItemsRowDeleting(this, new SmsGroupItemsRowChangeEvent(((SmsGroupItemsRow)(e.Row)), e.Action)); 4170 } 4171 } 4172 4173 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4174 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4175 public void RemoveSmsGroupItemsRow(SmsGroupItemsRow row) { 4176 this.Rows.Remove(row); 4177 } 4178 4179 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4180 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4181 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { 4182 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); 4183 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); 4184 ApiDataSet ds = new ApiDataSet(); 4185 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); 4186 any1.Namespace = "http://www.w3.org/2001/XMLSchema"; 4187 any1.MinOccurs = new decimal(0); 4188 any1.MaxOccurs = decimal.MaxValue; 4189 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; 4190 sequence.Items.Add(any1); 4191 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); 4192 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; 4193 any2.MinOccurs = new decimal(1); 4194 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; 4195 sequence.Items.Add(any2); 4196 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); 4197 attribute1.Name = "namespace"; 4198 attribute1.FixedValue = ds.Namespace; 4199 type.Attributes.Add(attribute1); 4200 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); 4201 attribute2.Name = "tableTypeName"; 4202 attribute2.FixedValue = "SmsGroupItemsDataTable"; 4203 type.Attributes.Add(attribute2); 4204 type.Particle = sequence; 4205 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); 4206 if (xs.Contains(dsSchema.TargetNamespace)) { 4207 global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); 4208 global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); 4209 try { 4210 global::System.Xml.Schema.XmlSchema schema = null; 4211 dsSchema.Write(s1); 4212 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { 4213 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); 4214 s2.SetLength(0); 4215 schema.Write(s2); 4216 if ((s1.Length == s2.Length)) { 4217 s1.Position = 0; 4218 s2.Position = 0; 4219 for (; ((s1.Position != s1.Length) 4220 && (s1.ReadByte() == s2.ReadByte())); ) { 4221 ; 4222 } 4223 if ((s1.Position == s1.Length)) { 4224 return type; 4225 } 4226 } 4227 } 4228 } 4229 finally { 4230 if ((s1 != null)) { 4231 s1.Close(); 4232 } 4233 if ((s2 != null)) { 4234 s2.Close(); 4235 } 4236 } 4237 } 4238 xs.Add(dsSchema); 4239 return type; 4240 } 4241 } 4242 4243 /// <summary> 4244 ///Represents strongly named DataRow class. 4245 ///</summary> 4246 public partial class SmsGroupRow : global::System.Data.DataRow { 4247 4248 private SmsGroupDataTable tableSmsGroup; 4249 4250 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4251 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4252 internal SmsGroupRow(global::System.Data.DataRowBuilder rb) : 4253 base(rb) { 4254 this.tableSmsGroup = ((SmsGroupDataTable)(this.Table)); 4255 } 4256 4257 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4258 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4259 public long SmsGroupID { 4260 get { 4261 return ((long)(this[this.tableSmsGroup.SmsGroupIDColumn])); 4262 } 4263 set { 4264 this[this.tableSmsGroup.SmsGroupIDColumn] = value; 4265 } 4266 } 4267 4268 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4269 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4270 public System.Guid UserId { 4271 get { 4272 return ((global::System.Guid)(this[this.tableSmsGroup.UserIdColumn])); 4273 } 4274 set { 4275 this[this.tableSmsGroup.UserIdColumn] = value; 4276 } 4277 } 4278 4279 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4280 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4281 public string GroupName { 4282 get { 4283 return ((string)(this[this.tableSmsGroup.GroupNameColumn])); 4284 } 4285 set { 4286 this[this.tableSmsGroup.GroupNameColumn] = value; 4287 } 4288 } 4289 4290 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4291 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4292 public string SmsSendAs { 4293 get { 4294 return ((string)(this[this.tableSmsGroup.SmsSendAsColumn])); 4295 } 4296 set { 4297 this[this.tableSmsGroup.SmsSendAsColumn] = value; 4298 } 4299 } 4300 4301 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4302 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4303 public string Message { 4304 get { 4305 return ((string)(this[this.tableSmsGroup.MessageColumn])); 4306 } 4307 set { 4308 this[this.tableSmsGroup.MessageColumn] = value; 4309 } 4310 } 4311 4312 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4313 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4314 public System.DateTime Created { 4315 get { 4316 return ((global::System.DateTime)(this[this.tableSmsGroup.CreatedColumn])); 4317 } 4318 set { 4319 this[this.tableSmsGroup.CreatedColumn] = value; 4320 } 4321 } 4322 4323 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4324 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4325 public System.DateTime Updated { 4326 get { 4327 try { 4328 return ((global::System.DateTime)(this[this.tableSmsGroup.UpdatedColumn])); 4329 } 4330 catch (global::System.InvalidCastException e) { 4331 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'Updated\' i tabel \'SmsGroup\' er DBNull.", e); 4332 } 4333 } 4334 set { 4335 this[this.tableSmsGroup.UpdatedColumn] = value; 4336 } 4337 } 4338 4339 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4340 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4341 public bool IsUpdatedNull() { 4342 return this.IsNull(this.tableSmsGroup.UpdatedColumn); 4343 } 4344 4345 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4346 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4347 public void SetUpdatedNull() { 4348 this[this.tableSmsGroup.UpdatedColumn] = global::System.Convert.DBNull; 4349 } 4350 4351 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4352 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4353 public SmsGroupItemsRow[] GetSmsGroupItemsRows() { 4354 if ((this.Table.ChildRelations["FK_SmsGroupItems_SmsGroup"] == null)) { 4355 return new SmsGroupItemsRow[0]; 4356 } 4357 else { 4358 return ((SmsGroupItemsRow[])(base.GetChildRows(this.Table.ChildRelations["FK_SmsGroupItems_SmsGroup"]))); 4359 } 4360 } 4361 } 4362 4363 /// <summary> 4364 ///Represents strongly named DataRow class. 4365 ///</summary> 4366 public partial class SmsLogQueueStatusRow : global::System.Data.DataRow { 4367 4368 private SmsLogQueueStatusDataTable tableSmsLogQueueStatus; 4369 4370 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4371 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4372 internal SmsLogQueueStatusRow(global::System.Data.DataRowBuilder rb) : 4373 base(rb) { 4374 this.tableSmsLogQueueStatus = ((SmsLogQueueStatusDataTable)(this.Table)); 4375 } 4376 4377 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4378 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4379 public long ID { 4380 get { 4381 return ((long)(this[this.tableSmsLogQueueStatus.IDColumn])); 4382 } 4383 set { 4384 this[this.tableSmsLogQueueStatus.IDColumn] = value; 4385 } 4386 } 4387 4388 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4389 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4390 public string Phone { 4391 get { 4392 try { 4393 return ((string)(this[this.tableSmsLogQueueStatus.PhoneColumn])); 4394 } 4395 catch (global::System.InvalidCastException e) { 4396 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'Phone\' i tabel \'SmsLogQueueStatus\' er DBNull.", e); 4397 } 4398 } 4399 set { 4400 this[this.tableSmsLogQueueStatus.PhoneColumn] = value; 4401 } 4402 } 4403 4404 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4405 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4406 public string Status { 4407 get { 4408 try { 4409 return ((string)(this[this.tableSmsLogQueueStatus.StatusColumn])); 4410 } 4411 catch (global::System.InvalidCastException e) { 4412 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'Status\' i tabel \'SmsLogQueueStatus\' er DBNull.", e); 4413 } 4414 } 4415 set { 4416 this[this.tableSmsLogQueueStatus.StatusColumn] = value; 4417 } 4418 } 4419 4420 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4421 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4422 public System.DateTime StatusUpdated { 4423 get { 4424 try { 4425 return ((global::System.DateTime)(this[this.tableSmsLogQueueStatus.StatusUpdatedColumn])); 4426 } 4427 catch (global::System.InvalidCastException e) { 4428 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'StatusUpdated\' i tabel \'SmsLogQueueStatus\' er DBNull.", e); 4429 } 4430 } 4431 set { 4432 this[this.tableSmsLogQueueStatus.StatusUpdatedColumn] = value; 4433 } 4434 } 4435 4436 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4437 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4438 public System.DateTime Genereted { 4439 get { 4440 return ((global::System.DateTime)(this[this.tableSmsLogQueueStatus.GeneretedColumn])); 4441 } 4442 set { 4443 this[this.tableSmsLogQueueStatus.GeneretedColumn] = value; 4444 } 4445 } 4446 4447 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4448 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4449 public int Zip { 4450 get { 4451 try { 4452 return ((int)(this[this.tableSmsLogQueueStatus.ZipColumn])); 4453 } 4454 catch (global::System.InvalidCastException e) { 4455 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'Zip\' i tabel \'SmsLogQueueStatus\' er DBNull.", e); 4456 } 4457 } 4458 set { 4459 this[this.tableSmsLogQueueStatus.ZipColumn] = value; 4460 } 4461 } 4462 4463 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4464 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4465 public string Street { 4466 get { 4467 try { 4468 return ((string)(this[this.tableSmsLogQueueStatus.StreetColumn])); 4469 } 4470 catch (global::System.InvalidCastException e) { 4471 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'Street\' i tabel \'SmsLogQueueStatus\' er DBNull.", e); 4472 } 4473 } 4474 set { 4475 this[this.tableSmsLogQueueStatus.StreetColumn] = value; 4476 } 4477 } 4478 4479 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4480 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4481 public int Number { 4482 get { 4483 try { 4484 return ((int)(this[this.tableSmsLogQueueStatus.NumberColumn])); 4485 } 4486 catch (global::System.InvalidCastException e) { 4487 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'Number\' i tabel \'SmsLogQueueStatus\' er DBNull.", e); 4488 } 4489 } 4490 set { 4491 this[this.tableSmsLogQueueStatus.NumberColumn] = value; 4492 } 4493 } 4494 4495 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4496 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4497 public string LetterFloorDoor { 4498 get { 4499 try { 4500 return ((string)(this[this.tableSmsLogQueueStatus.LetterFloorDoorColumn])); 4501 } 4502 catch (global::System.InvalidCastException e) { 4503 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'LetterFloorDoor\' i tabel \'SmsLogQueueStatus\' er DBNull.", e); 4504 } 4505 } 4506 set { 4507 this[this.tableSmsLogQueueStatus.LetterFloorDoorColumn] = value; 4508 } 4509 } 4510 4511 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4512 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4513 public int StatusCode { 4514 get { 4515 try { 4516 return ((int)(this[this.tableSmsLogQueueStatus.StatusCodeColumn])); 4517 } 4518 catch (global::System.InvalidCastException e) { 4519 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'StatusCode\' i tabel \'SmsLogQueueStatus\' er DBNull.", e); 4520 } 4521 } 4522 set { 4523 this[this.tableSmsLogQueueStatus.StatusCodeColumn] = value; 4524 } 4525 } 4526 4527 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4528 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4529 public long RefId { 4530 get { 4531 try { 4532 return ((long)(this[this.tableSmsLogQueueStatus.RefIdColumn])); 4533 } 4534 catch (global::System.InvalidCastException e) { 4535 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'RefId\' i tabel \'SmsLogQueueStatus\' er DBNull.", e); 4536 } 4537 } 4538 set { 4539 this[this.tableSmsLogQueueStatus.RefIdColumn] = value; 4540 } 4541 } 4542 4543 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4544 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4545 public System.DateTime RowUpdated { 4546 get { 4547 try { 4548 return ((global::System.DateTime)(this[this.tableSmsLogQueueStatus.RowUpdatedColumn])); 4549 } 4550 catch (global::System.InvalidCastException e) { 4551 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'RowUpdated\' i tabel \'SmsLogQueueStatus\' er DBNull.", e); 4552 } 4553 } 4554 set { 4555 this[this.tableSmsLogQueueStatus.RowUpdatedColumn] = value; 4556 } 4557 } 4558 4559 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4560 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4561 public string Letter { 4562 get { 4563 try { 4564 return ((string)(this[this.tableSmsLogQueueStatus.LetterColumn])); 4565 } 4566 catch (global::System.InvalidCastException e) { 4567 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'Letter\' i tabel \'SmsLogQueueStatus\' er DBNull.", e); 4568 } 4569 } 4570 set { 4571 this[this.tableSmsLogQueueStatus.LetterColumn] = value; 4572 } 4573 } 4574 4575 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4576 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4577 public string Floor { 4578 get { 4579 try { 4580 return ((string)(this[this.tableSmsLogQueueStatus.FloorColumn])); 4581 } 4582 catch (global::System.InvalidCastException e) { 4583 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'Floor\' i tabel \'SmsLogQueueStatus\' er DBNull.", e); 4584 } 4585 } 4586 set { 4587 this[this.tableSmsLogQueueStatus.FloorColumn] = value; 4588 } 4589 } 4590 4591 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4592 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4593 public string Door { 4594 get { 4595 try { 4596 return ((string)(this[this.tableSmsLogQueueStatus.DoorColumn])); 4597 } 4598 catch (global::System.InvalidCastException e) { 4599 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'Door\' i tabel \'SmsLogQueueStatus\' er DBNull.", e); 4600 } 4601 } 4602 set { 4603 this[this.tableSmsLogQueueStatus.DoorColumn] = value; 4604 } 4605 } 4606 4607 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4608 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4609 public bool IsPhoneNull() { 4610 return this.IsNull(this.tableSmsLogQueueStatus.PhoneColumn); 4611 } 4612 4613 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4614 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4615 public void SetPhoneNull() { 4616 this[this.tableSmsLogQueueStatus.PhoneColumn] = global::System.Convert.DBNull; 4617 } 4618 4619 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4620 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4621 public bool IsStatusNull() { 4622 return this.IsNull(this.tableSmsLogQueueStatus.StatusColumn); 4623 } 4624 4625 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4626 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4627 public void SetStatusNull() { 4628 this[this.tableSmsLogQueueStatus.StatusColumn] = global::System.Convert.DBNull; 4629 } 4630 4631 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4632 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4633 public bool IsStatusUpdatedNull() { 4634 return this.IsNull(this.tableSmsLogQueueStatus.StatusUpdatedColumn); 4635 } 4636 4637 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4638 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4639 public void SetStatusUpdatedNull() { 4640 this[this.tableSmsLogQueueStatus.StatusUpdatedColumn] = global::System.Convert.DBNull; 4641 } 4642 4643 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4644 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4645 public bool IsZipNull() { 4646 return this.IsNull(this.tableSmsLogQueueStatus.ZipColumn); 4647 } 4648 4649 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4650 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4651 public void SetZipNull() { 4652 this[this.tableSmsLogQueueStatus.ZipColumn] = global::System.Convert.DBNull; 4653 } 4654 4655 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4656 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4657 public bool IsStreetNull() { 4658 return this.IsNull(this.tableSmsLogQueueStatus.StreetColumn); 4659 } 4660 4661 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4662 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4663 public void SetStreetNull() { 4664 this[this.tableSmsLogQueueStatus.StreetColumn] = global::System.Convert.DBNull; 4665 } 4666 4667 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4668 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4669 public bool IsNumberNull() { 4670 return this.IsNull(this.tableSmsLogQueueStatus.NumberColumn); 4671 } 4672 4673 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4674 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4675 public void SetNumberNull() { 4676 this[this.tableSmsLogQueueStatus.NumberColumn] = global::System.Convert.DBNull; 4677 } 4678 4679 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4680 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4681 public bool IsLetterFloorDoorNull() { 4682 return this.IsNull(this.tableSmsLogQueueStatus.LetterFloorDoorColumn); 4683 } 4684 4685 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4686 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4687 public void SetLetterFloorDoorNull() { 4688 this[this.tableSmsLogQueueStatus.LetterFloorDoorColumn] = global::System.Convert.DBNull; 4689 } 4690 4691 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4692 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4693 public bool IsStatusCodeNull() { 4694 return this.IsNull(this.tableSmsLogQueueStatus.StatusCodeColumn); 4695 } 4696 4697 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4698 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4699 public void SetStatusCodeNull() { 4700 this[this.tableSmsLogQueueStatus.StatusCodeColumn] = global::System.Convert.DBNull; 4701 } 4702 4703 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4704 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4705 public bool IsRefIdNull() { 4706 return this.IsNull(this.tableSmsLogQueueStatus.RefIdColumn); 4707 } 4708 4709 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4710 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4711 public void SetRefIdNull() { 4712 this[this.tableSmsLogQueueStatus.RefIdColumn] = global::System.Convert.DBNull; 4713 } 4714 4715 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4716 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4717 public bool IsRowUpdatedNull() { 4718 return this.IsNull(this.tableSmsLogQueueStatus.RowUpdatedColumn); 4719 } 4720 4721 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4722 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4723 public void SetRowUpdatedNull() { 4724 this[this.tableSmsLogQueueStatus.RowUpdatedColumn] = global::System.Convert.DBNull; 4725 } 4726 4727 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4728 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4729 public bool IsLetterNull() { 4730 return this.IsNull(this.tableSmsLogQueueStatus.LetterColumn); 4731 } 4732 4733 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4734 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4735 public void SetLetterNull() { 4736 this[this.tableSmsLogQueueStatus.LetterColumn] = global::System.Convert.DBNull; 4737 } 4738 4739 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4740 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4741 public bool IsFloorNull() { 4742 return this.IsNull(this.tableSmsLogQueueStatus.FloorColumn); 4743 } 4744 4745 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4746 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4747 public void SetFloorNull() { 4748 this[this.tableSmsLogQueueStatus.FloorColumn] = global::System.Convert.DBNull; 4749 } 4750 4751 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4752 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4753 public bool IsDoorNull() { 4754 return this.IsNull(this.tableSmsLogQueueStatus.DoorColumn); 4755 } 4756 4757 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4758 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4759 public void SetDoorNull() { 4760 this[this.tableSmsLogQueueStatus.DoorColumn] = global::System.Convert.DBNull; 4761 } 4762 } 4763 4764 /// <summary> 4765 ///Represents strongly named DataRow class. 4766 ///</summary> 4767 public partial class ZipAndStreetRow : global::System.Data.DataRow { 4768 4769 private ZipAndStreetDataTable tableZipAndStreet; 4770 4771 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4772 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4773 internal ZipAndStreetRow(global::System.Data.DataRowBuilder rb) : 4774 base(rb) { 4775 this.tableZipAndStreet = ((ZipAndStreetDataTable)(this.Table)); 4776 } 4777 4778 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4779 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4780 public short Zip { 4781 get { 4782 return ((short)(this[this.tableZipAndStreet.ZipColumn])); 4783 } 4784 set { 4785 this[this.tableZipAndStreet.ZipColumn] = value; 4786 } 4787 } 4788 4789 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4790 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4791 public string Street { 4792 get { 4793 return ((string)(this[this.tableZipAndStreet.StreetColumn])); 4794 } 4795 set { 4796 this[this.tableZipAndStreet.StreetColumn] = value; 4797 } 4798 } 4799 4800 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4801 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4802 public long CvrID { 4803 get { 4804 try { 4805 return ((long)(this[this.tableZipAndStreet.CvrIDColumn])); 4806 } 4807 catch (global::System.InvalidCastException e) { 4808 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'CvrID\' i tabel \'ZipAndStreet\' er DBNull.", e); 4809 } 4810 } 4811 set { 4812 this[this.tableZipAndStreet.CvrIDColumn] = value; 4813 } 4814 } 4815 4816 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4817 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4818 public long KV { 4819 get { 4820 try { 4821 return ((long)(this[this.tableZipAndStreet.KVColumn])); 4822 } 4823 catch (global::System.InvalidCastException e) { 4824 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'KV\' i tabel \'ZipAndStreet\' er DBNull.", e); 4825 } 4826 } 4827 set { 4828 this[this.tableZipAndStreet.KVColumn] = value; 4829 } 4830 } 4831 4832 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4833 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4834 public short KomKod { 4835 get { 4836 try { 4837 return ((short)(this[this.tableZipAndStreet.KomKodColumn])); 4838 } 4839 catch (global::System.InvalidCastException e) { 4840 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'KomKod\' i tabel \'ZipAndStreet\' er DBNull.", e); 4841 } 4842 } 4843 set { 4844 this[this.tableZipAndStreet.KomKodColumn] = value; 4845 } 4846 } 4847 4848 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4849 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4850 public short VejKod { 4851 get { 4852 try { 4853 return ((short)(this[this.tableZipAndStreet.VejKodColumn])); 4854 } 4855 catch (global::System.InvalidCastException e) { 4856 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'VejKod\' i tabel \'ZipAndStreet\' er DBNull.", e); 4857 } 4858 } 4859 set { 4860 this[this.tableZipAndStreet.VejKodColumn] = value; 4861 } 4862 } 4863 4864 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4865 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4866 public bool IsCvrIDNull() { 4867 return this.IsNull(this.tableZipAndStreet.CvrIDColumn); 4868 } 4869 4870 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4871 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4872 public void SetCvrIDNull() { 4873 this[this.tableZipAndStreet.CvrIDColumn] = global::System.Convert.DBNull; 4874 } 4875 4876 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4877 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4878 public bool IsKVNull() { 4879 return this.IsNull(this.tableZipAndStreet.KVColumn); 4880 } 4881 4882 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4883 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4884 public void SetKVNull() { 4885 this[this.tableZipAndStreet.KVColumn] = global::System.Convert.DBNull; 4886 } 4887 4888 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4889 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4890 public bool IsKomKodNull() { 4891 return this.IsNull(this.tableZipAndStreet.KomKodColumn); 4892 } 4893 4894 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4895 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4896 public void SetKomKodNull() { 4897 this[this.tableZipAndStreet.KomKodColumn] = global::System.Convert.DBNull; 4898 } 4899 4900 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4901 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4902 public bool IsVejKodNull() { 4903 return this.IsNull(this.tableZipAndStreet.VejKodColumn); 4904 } 4905 4906 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4907 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4908 public void SetVejKodNull() { 4909 this[this.tableZipAndStreet.VejKodColumn] = global::System.Convert.DBNull; 4910 } 4911 } 4912 4913 /// <summary> 4914 ///Represents strongly named DataRow class. 4915 ///</summary> 4916 public partial class SmsGroupItemsRow : global::System.Data.DataRow { 4917 4918 private SmsGroupItemsDataTable tableSmsGroupItems; 4919 4920 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4921 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4922 internal SmsGroupItemsRow(global::System.Data.DataRowBuilder rb) : 4923 base(rb) { 4924 this.tableSmsGroupItems = ((SmsGroupItemsDataTable)(this.Table)); 4925 } 4926 4927 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4928 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4929 public long GroupItemId { 4930 get { 4931 return ((long)(this[this.tableSmsGroupItems.GroupItemIdColumn])); 4932 } 4933 set { 4934 this[this.tableSmsGroupItems.GroupItemIdColumn] = value; 4935 } 4936 } 4937 4938 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4939 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4940 public long GroupId { 4941 get { 4942 try { 4943 return ((long)(this[this.tableSmsGroupItems.GroupIdColumn])); 4944 } 4945 catch (global::System.InvalidCastException e) { 4946 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'GroupId\' i tabel \'SmsGroupItems\' er DBNull.", e); 4947 } 4948 } 4949 set { 4950 this[this.tableSmsGroupItems.GroupIdColumn] = value; 4951 } 4952 } 4953 4954 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4955 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4956 public bool ZipAllIn { 4957 get { 4958 return ((bool)(this[this.tableSmsGroupItems.ZipAllInColumn])); 4959 } 4960 set { 4961 this[this.tableSmsGroupItems.ZipAllInColumn] = value; 4962 } 4963 } 4964 4965 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4966 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4967 public int Zip { 4968 get { 4969 try { 4970 return ((int)(this[this.tableSmsGroupItems.ZipColumn])); 4971 } 4972 catch (global::System.InvalidCastException e) { 4973 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'Zip\' i tabel \'SmsGroupItems\' er DBNull.", e); 4974 } 4975 } 4976 set { 4977 this[this.tableSmsGroupItems.ZipColumn] = value; 4978 } 4979 } 4980 4981 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4982 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4983 public string StreetName { 4984 get { 4985 try { 4986 return ((string)(this[this.tableSmsGroupItems.StreetNameColumn])); 4987 } 4988 catch (global::System.InvalidCastException e) { 4989 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'StreetName\' i tabel \'SmsGroupItems\' er DBNull.", e); 4990 } 4991 } 4992 set { 4993 this[this.tableSmsGroupItems.StreetNameColumn] = value; 4994 } 4995 } 4996 4997 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4998 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 4999 public long ZipAndStreetID { 5000 get { 5001 try { 5002 return ((long)(this[this.tableSmsGroupItems.ZipAndStreetIDColumn])); 5003 } 5004 catch (global::System.InvalidCastException e) { 5005 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'ZipAndStreetID\' i tabel \'SmsGroupItems\' er DBNull.", e); 5006 } 5007 } 5008 set { 5009 this[this.tableSmsGroupItems.ZipAndStreetIDColumn] = value; 5010 } 5011 } 5012 5013 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5014 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5015 public int FromNumber { 5016 get { 5017 try { 5018 return ((int)(this[this.tableSmsGroupItems.FromNumberColumn])); 5019 } 5020 catch (global::System.InvalidCastException e) { 5021 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'FromNumber\' i tabel \'SmsGroupItems\' er DBNull.", e); 5022 } 5023 } 5024 set { 5025 this[this.tableSmsGroupItems.FromNumberColumn] = value; 5026 } 5027 } 5028 5029 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5030 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5031 public int ToNumber { 5032 get { 5033 try { 5034 return ((int)(this[this.tableSmsGroupItems.ToNumberColumn])); 5035 } 5036 catch (global::System.InvalidCastException e) { 5037 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'ToNumber\' i tabel \'SmsGroupItems\' er DBNull.", e); 5038 } 5039 } 5040 set { 5041 this[this.tableSmsGroupItems.ToNumberColumn] = value; 5042 } 5043 } 5044 5045 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5046 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5047 public short EvenOdd { 5048 get { 5049 try { 5050 return ((short)(this[this.tableSmsGroupItems.EvenOddColumn])); 5051 } 5052 catch (global::System.InvalidCastException e) { 5053 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'EvenOdd\' i tabel \'SmsGroupItems\' er DBNull.", e); 5054 } 5055 } 5056 set { 5057 this[this.tableSmsGroupItems.EvenOddColumn] = value; 5058 } 5059 } 5060 5061 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5062 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5063 public short StatusCode { 5064 get { 5065 try { 5066 return ((short)(this[this.tableSmsGroupItems.StatusCodeColumn])); 5067 } 5068 catch (global::System.InvalidCastException e) { 5069 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'StatusCode\' i tabel \'SmsGroupItems\' er DBNull.", e); 5070 } 5071 } 5072 set { 5073 this[this.tableSmsGroupItems.StatusCodeColumn] = value; 5074 } 5075 } 5076 5077 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5078 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5079 public string Letter { 5080 get { 5081 try { 5082 return ((string)(this[this.tableSmsGroupItems.LetterColumn])); 5083 } 5084 catch (global::System.InvalidCastException e) { 5085 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'Letter\' i tabel \'SmsGroupItems\' er DBNull.", e); 5086 } 5087 } 5088 set { 5089 this[this.tableSmsGroupItems.LetterColumn] = value; 5090 } 5091 } 5092 5093 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5094 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5095 public string Floor { 5096 get { 5097 try { 5098 return ((string)(this[this.tableSmsGroupItems.FloorColumn])); 5099 } 5100 catch (global::System.InvalidCastException e) { 5101 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'Floor\' i tabel \'SmsGroupItems\' er DBNull.", e); 5102 } 5103 } 5104 set { 5105 this[this.tableSmsGroupItems.FloorColumn] = value; 5106 } 5107 } 5108 5109 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5110 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5111 public string Door { 5112 get { 5113 try { 5114 return ((string)(this[this.tableSmsGroupItems.DoorColumn])); 5115 } 5116 catch (global::System.InvalidCastException e) { 5117 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'Door\' i tabel \'SmsGroupItems\' er DBNull.", e); 5118 } 5119 } 5120 set { 5121 this[this.tableSmsGroupItems.DoorColumn] = value; 5122 } 5123 } 5124 5125 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5126 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5127 public string CellPhone { 5128 get { 5129 try { 5130 return ((string)(this[this.tableSmsGroupItems.CellPhoneColumn])); 5131 } 5132 catch (global::System.InvalidCastException e) { 5133 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'CellPhone\' i tabel \'SmsGroupItems\' er DBNull.", e); 5134 } 5135 } 5136 set { 5137 this[this.tableSmsGroupItems.CellPhoneColumn] = value; 5138 } 5139 } 5140 5141 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5142 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5143 public string KVHX { 5144 get { 5145 try { 5146 return ((string)(this[this.tableSmsGroupItems.KVHXColumn])); 5147 } 5148 catch (global::System.InvalidCastException e) { 5149 throw new global::System.Data.StrongTypingException("Værdien for kolonne \'KVHX\' i tabel \'SmsGroupItems\' er DBNull.", e); 5150 } 5151 } 5152 set { 5153 this[this.tableSmsGroupItems.KVHXColumn] = value; 5154 } 5155 } 5156 5157 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5158 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5159 public SmsGroupRow SmsGroupRow { 5160 get { 5161 return ((SmsGroupRow)(this.GetParentRow(this.Table.ParentRelations["FK_SmsGroupItems_SmsGroup"]))); 5162 } 5163 set { 5164 this.SetParentRow(value, this.Table.ParentRelations["FK_SmsGroupItems_SmsGroup"]); 5165 } 5166 } 5167 5168 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5169 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5170 public bool IsGroupIdNull() { 5171 return this.IsNull(this.tableSmsGroupItems.GroupIdColumn); 5172 } 5173 5174 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5175 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5176 public void SetGroupIdNull() { 5177 this[this.tableSmsGroupItems.GroupIdColumn] = global::System.Convert.DBNull; 5178 } 5179 5180 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5181 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5182 public bool IsZipNull() { 5183 return this.IsNull(this.tableSmsGroupItems.ZipColumn); 5184 } 5185 5186 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5187 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5188 public void SetZipNull() { 5189 this[this.tableSmsGroupItems.ZipColumn] = global::System.Convert.DBNull; 5190 } 5191 5192 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5193 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5194 public bool IsStreetNameNull() { 5195 return this.IsNull(this.tableSmsGroupItems.StreetNameColumn); 5196 } 5197 5198 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5199 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5200 public void SetStreetNameNull() { 5201 this[this.tableSmsGroupItems.StreetNameColumn] = global::System.Convert.DBNull; 5202 } 5203 5204 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5205 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5206 public bool IsZipAndStreetIDNull() { 5207 return this.IsNull(this.tableSmsGroupItems.ZipAndStreetIDColumn); 5208 } 5209 5210 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5211 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5212 public void SetZipAndStreetIDNull() { 5213 this[this.tableSmsGroupItems.ZipAndStreetIDColumn] = global::System.Convert.DBNull; 5214 } 5215 5216 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5217 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5218 public bool IsFromNumberNull() { 5219 return this.IsNull(this.tableSmsGroupItems.FromNumberColumn); 5220 } 5221 5222 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5223 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5224 public void SetFromNumberNull() { 5225 this[this.tableSmsGroupItems.FromNumberColumn] = global::System.Convert.DBNull; 5226 } 5227 5228 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5229 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5230 public bool IsToNumberNull() { 5231 return this.IsNull(this.tableSmsGroupItems.ToNumberColumn); 5232 } 5233 5234 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5235 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5236 public void SetToNumberNull() { 5237 this[this.tableSmsGroupItems.ToNumberColumn] = global::System.Convert.DBNull; 5238 } 5239 5240 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5241 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5242 public bool IsEvenOddNull() { 5243 return this.IsNull(this.tableSmsGroupItems.EvenOddColumn); 5244 } 5245 5246 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5247 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5248 public void SetEvenOddNull() { 5249 this[this.tableSmsGroupItems.EvenOddColumn] = global::System.Convert.DBNull; 5250 } 5251 5252 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5253 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5254 public bool IsStatusCodeNull() { 5255 return this.IsNull(this.tableSmsGroupItems.StatusCodeColumn); 5256 } 5257 5258 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5259 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5260 public void SetStatusCodeNull() { 5261 this[this.tableSmsGroupItems.StatusCodeColumn] = global::System.Convert.DBNull; 5262 } 5263 5264 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5265 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5266 public bool IsLetterNull() { 5267 return this.IsNull(this.tableSmsGroupItems.LetterColumn); 5268 } 5269 5270 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5271 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5272 public void SetLetterNull() { 5273 this[this.tableSmsGroupItems.LetterColumn] = global::System.Convert.DBNull; 5274 } 5275 5276 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5277 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5278 public bool IsFloorNull() { 5279 return this.IsNull(this.tableSmsGroupItems.FloorColumn); 5280 } 5281 5282 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5283 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5284 public void SetFloorNull() { 5285 this[this.tableSmsGroupItems.FloorColumn] = global::System.Convert.DBNull; 5286 } 5287 5288 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5289 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5290 public bool IsDoorNull() { 5291 return this.IsNull(this.tableSmsGroupItems.DoorColumn); 5292 } 5293 5294 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5295 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5296 public void SetDoorNull() { 5297 this[this.tableSmsGroupItems.DoorColumn] = global::System.Convert.DBNull; 5298 } 5299 5300 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5301 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5302 public bool IsCellPhoneNull() { 5303 return this.IsNull(this.tableSmsGroupItems.CellPhoneColumn); 5304 } 5305 5306 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5307 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5308 public void SetCellPhoneNull() { 5309 this[this.tableSmsGroupItems.CellPhoneColumn] = global::System.Convert.DBNull; 5310 } 5311 5312 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5313 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5314 public bool IsKVHXNull() { 5315 return this.IsNull(this.tableSmsGroupItems.KVHXColumn); 5316 } 5317 5318 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5319 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5320 public void SetKVHXNull() { 5321 this[this.tableSmsGroupItems.KVHXColumn] = global::System.Convert.DBNull; 5322 } 5323 } 5324 5325 /// <summary> 5326 ///Row event argument class 5327 ///</summary> 5328 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5329 public class SmsGroupRowChangeEvent : global::System.EventArgs { 5330 5331 private SmsGroupRow eventRow; 5332 5333 private global::System.Data.DataRowAction eventAction; 5334 5335 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5336 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5337 public SmsGroupRowChangeEvent(SmsGroupRow row, global::System.Data.DataRowAction action) { 5338 this.eventRow = row; 5339 this.eventAction = action; 5340 } 5341 5342 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5343 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5344 public SmsGroupRow Row { 5345 get { 5346 return this.eventRow; 5347 } 5348 } 5349 5350 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5351 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5352 public global::System.Data.DataRowAction Action { 5353 get { 5354 return this.eventAction; 5355 } 5356 } 5357 } 5358 5359 /// <summary> 5360 ///Row event argument class 5361 ///</summary> 5362 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5363 public class SmsLogQueueStatusRowChangeEvent : global::System.EventArgs { 5364 5365 private SmsLogQueueStatusRow eventRow; 5366 5367 private global::System.Data.DataRowAction eventAction; 5368 5369 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5370 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5371 public SmsLogQueueStatusRowChangeEvent(SmsLogQueueStatusRow row, global::System.Data.DataRowAction action) { 5372 this.eventRow = row; 5373 this.eventAction = action; 5374 } 5375 5376 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5377 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5378 public SmsLogQueueStatusRow Row { 5379 get { 5380 return this.eventRow; 5381 } 5382 } 5383 5384 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5385 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5386 public global::System.Data.DataRowAction Action { 5387 get { 5388 return this.eventAction; 5389 } 5390 } 5391 } 5392 5393 /// <summary> 5394 ///Row event argument class 5395 ///</summary> 5396 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5397 public class ZipAndStreetRowChangeEvent : global::System.EventArgs { 5398 5399 private ZipAndStreetRow eventRow; 5400 5401 private global::System.Data.DataRowAction eventAction; 5402 5403 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5404 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5405 public ZipAndStreetRowChangeEvent(ZipAndStreetRow row, global::System.Data.DataRowAction action) { 5406 this.eventRow = row; 5407 this.eventAction = action; 5408 } 5409 5410 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5411 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5412 public ZipAndStreetRow Row { 5413 get { 5414 return this.eventRow; 5415 } 5416 } 5417 5418 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5419 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5420 public global::System.Data.DataRowAction Action { 5421 get { 5422 return this.eventAction; 5423 } 5424 } 5425 } 5426 5427 /// <summary> 5428 ///Row event argument class 5429 ///</summary> 5430 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5431 public class SmsGroupItemsRowChangeEvent : global::System.EventArgs { 5432 5433 private SmsGroupItemsRow eventRow; 5434 5435 private global::System.Data.DataRowAction eventAction; 5436 5437 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5438 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5439 public SmsGroupItemsRowChangeEvent(SmsGroupItemsRow row, global::System.Data.DataRowAction action) { 5440 this.eventRow = row; 5441 this.eventAction = action; 5442 } 5443 5444 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5445 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5446 public SmsGroupItemsRow Row { 5447 get { 5448 return this.eventRow; 5449 } 5450 } 5451 5452 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5453 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] 5454 public global::System.Data.DataRowAction Action { 5455 get { 5456 return this.eventAction; 5457 } 5458 } 5459 } 5460 } 5461 } 5462 @{ 5463 var top_SearchPageId = GetInteger("DwAreaSearchPageID"); 5464 var top_AreaFirstPage = GetInteger("DwAreaFirstPageID"); 5465 5466 string beredskabsalarm_Username = GetString("Item.Area.Beredskabsalarm_Username"); 5467 string beredskabsalarm_Password = GetString("Item.Area.Beredskabsalarm_Password"); 5468 bool beredskabsalarm_Critical_Only = GetBoolean("Item.Area.Beredskabsalarm_Critical_Only"); 5469 int disruptions = 0; 5470 int warnings = 0; 5471 if(!string.IsNullOrWhiteSpace(beredskabsalarm_Username) && !string.IsNullOrWhiteSpace(beredskabsalarm_Password)) { 5472 try { 5473 using(var serv = new beredskabsalarm()) { 5474 var smsToWebGetMessages = serv.smsToWebGetMessages(beredskabsalarm_Username, beredskabsalarm_Password); 5475 5476 foreach(var i in smsToWebGetMessages) { 5477 if(i.ToDateTime.Date == DateTime.Today && i.ToDateTime >= DateTime.Now && DateTime.Now >= i.FromDateTime) { 5478 5479 if(!beredskabsalarm_Critical_Only || (i.CriticalStatus == true || i.Attention == true)) { 5480 disruptions++; 5481 } else { 5482 warnings++; 5483 } 5484 5485 } 5486 } 5487 } 5488 } catch (Exception ex) { 5489 <script> 5490 console.log("Beredskabsalarm er nede"); 5491 </script> 5492 } 5493 5494 } 5495 string disrupterClass = disruptions > 0 ? "disruption" : warnings > 0 ? "warning" : string.Empty; 5496 int beredskabsCounter = disruptions > 0 ? disruptions : warnings; 5497 5498 var activeJobs = Dynamicweb.Services.Pages.GetPagesByParentID(1222).Where(o => o.ItemType == "DF2016_Job" && o.Published && (o.Item["Deadline"] == null || (DateTime)o.Item["Deadline"] > DateTime.Now)); 5499 5500 string topservicemenu = "top-service-menu hidden-xs"; 5501 if(activeJobs.Any()) { 5502 topservicemenu += "\" data-active-jobs=\"" + activeJobs.Count(); 5503 } 5504 5505 } 5506 5507 <div class="top"> 5508 <div class="container"> 5509 <div class="row"> 5510 <div class="col-sm-12"> 5511 <nav class="@topservicemenu"> 5512 @RenderNavigation(new { 5513 startlevel = 1, 5514 endlevel = 1, 5515 template = "TopBarNav.xslt", 5516 expandmode = "All", 5517 parentid = 1220, 5518 areaid = Pageview.AreaID, 5519 includemode = "All", 5520 activejobs = activeJobs.Count() 5521 }) 5522 </nav> 5523 5524 </div> 5525 </div> 5526 <div class="row"> 5527 <div class="col-xs-6 col-sm-5 col-md-12 tc-wrapper"> 5528 <div class="top-wrapper"> 5529 <div class="top-logo"> 5530 <a href="/Default.aspx?Id=@(top_AreaFirstPage)"><img src="/Files/Templates/Designs/DF2016/img/logo.png" alt="Din Forsyning logo" class="img-responsive"></a> 5531 </div> 5532 5533 <div class="top-content"> 5534 <div class="top-nav"> 5535 <div class="disrupt-counter top-nav-content @disrupterClass" aria-hidden="true">@beredskabsCounter</div> 5536 5537 @foreach(var i in GetLoop("Item.Area.Nav_List")) { 5538 5539 string link = "/Default.aspx?Id=" + i.GetString("Item.Area.Nav_List.Link"); 5540 5541 <div class="top-nav-content wsplit"> 5542 <a style="text-overflow:ellipsis;white-space:nowrap;" href="@link" class="top-nav-link">@i.GetString("Item.Area.Nav_List.Text")</a> 5543 </div> 5544 } 5545 5546 @if(false) { 5547 //System.Web.HttpContext.Current.Request["newSearch"] != "1" 5548 <span id="top-search-button" class="fa fa-search top-nav-content" aria-hidden="true" onclick="toggleSearchDropdown()"></span> 5549 <div id="top-search-popup" class="top-search"> 5550 <form method="get" action="/Default.aspx" role="search" onsubmit="searchSubmit($(this))"> 5551 <input type="hidden" name="Id" value="@(top_SearchPageId)"> 5552 <input type="text" class="form-control" name="q" placeholder="S&Oslash;G..."> 5553 <button type="submit"><i class="fa fa-search" aria-hidden="true"></i></button> 5554 </form> 5555 </div> 5556 } 5557 </div> 5558 5559 5560 <div class="top-nav-search"> 5561 <div id="typeahead-wrapper" class="typeahead-wrapper"> 5562 <div class="typeahead-input"> 5563 <form method="get" action="/Default.aspx" role="search" onsubmit="searchSubmit(this)"> 5564 <input type="hidden" name="Id" value="2144"> 5565 <div class="input-group"> 5566 <input type="text" class="form-control" name="q" autocomplete="off" placeholder="HVAD SØGER DU?" value=""> 5567 <span class="input-group-btn"> 5568 <button class="btn btn-color" type="submit"><i class="fa fa-search" aria-hidden="true"></i></button> 5569 </span> 5570 </div> 5571 </form> 5572 </div> 5573 <div id="typeahead-menu" class="typeahead-menu tt-empty"></div> 5574 </div> 5575 </div> 5576 5577 </div> 5578 </div> 5579 </div> 5580 <div class="col-xs-12 visible-xs visible-sm ds-small-wrapper" aria-hidden="true"> 5581 <div class="ds-small-content"> 5582 <div class="disrupt-counter small-counter @disrupterClass">@beredskabsCounter</div> 5583 @foreach(var i in GetLoop("Item.Area.Nav_List")) { 5584 string link = "/default.aspx?ID=" + i.GetString("Item.Area.Nav_List.Link"); 5585 string dlink = i.GetString("Item.Area.Nav_List.Text"); 5586 if(dlink.ToLower() != "driftsforstyrrelser") { 5587 continue; 5588 } 5589 <span class="top-nav-content wsplit"> 5590 <a href="@link" class="top-nav-link">@i.GetString("Item.Area.Nav_List.Text")</a> 5591 </span> 5592 if(dlink.ToLower() == "driftsforstyrrelser") { 5593 break; 5594 } 5595 } 5596 </div> 5597 </div> 5598 </div> 5599 </div> 5600 </div> 5601 @SnippetEnd("Top") 5602 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 5603 @using System.Text.RegularExpressions 5604 @SnippetStart("Footer") 5605 @{ 5606 string companyLogo = GetString("Item.Area.Company_Logo"); 5607 string companyName = GetString("Item.Area.Company_Name"); 5608 string companyPhone = GetString("Item.Area.Company_Phone"); 5609 string companyPhoneFixed = companyPhone.Replace(" ", ""); 5610 string companyAddress = GetString("Item.Area.Company_Address"); 5611 string companyPostal = GetString("Item.Area.Company_Postal"); 5612 string companyCity = GetString("Item.Area.Company_City"); 5613 string companyEmail = GetString("Item.Area.Company_Email"); 5614 var certifications = GetLoop("Item.Area.Certifications"); 5615 } 5616 5617 <footer id="footer" role="contentinfo"> 5618 <div class="container"> 5619 <div class="row"> 5620 <div class="col-md-6 footer-image-wrapper"> 5621 @if(!string.IsNullOrWhiteSpace(companyLogo)) { 5622 <img src="@companyLogo" alt="Din Forsyning logo" class="img-responsive companyLogo"> 5623 } 5624 </div> 5625 <div class="col-sm-12 col-md-6"> 5626 <div class="row"> 5627 <div class="col-sm-4 hidden-xs"> 5628 <p class="companyName">@companyName</p> 5629 <a class="companyPhone" href="tel:@companyPhoneFixed">Tlf: @companyPhone</a> 5630 </div> 5631 <div class="col-sm-4 hidden-xs"> 5632 <p class="companyAddress">@companyAddress</p> 5633 <p class="companyCity">@companyPostal @companyCity</p> 5634 </div> 5635 <div class="col-sm-4 hidden-xs"> 5636 @* <a class="companyEmail" href="mailto:@companyEmail">@companyEmail</a> *@ 5637 <p> <a class="companyContact" href="/Default.aspx?Id=1225">Kontakt</a></p> 5638 <p><a class="companyCVREAN" href="/Default.aspx?Id=1362">CVR- og EAN-numre</a></p> 5639 </div> 5640 <div id="footer-small" class="col-xs-12 visible-xs"> 5641 <ul> 5642 @RenderNavigation(new 5643 { 5644 startlevel = 1, 5645 endlevel = 1, 5646 template = "TopBarNav.xslt", 5647 expandmode = "All", 5648 parentid = 1220, 5649 areaid = Pageview.AreaID, 5650 includemode = "All" 5651 }) 5652 </ul> 5653 <p class="companySmallInfo">@companyName - @companyAddress - @companyPostal @companyCity</p> 5654 </div> 5655 </div> 5656 </div> 5657 </div> 5658 @if(certifications.Count > 0) { 5659 <div class="row certifications"> 5660 <div class="col-md-7 col-sm-12 col-xs-12"> 5661 <div class="row"> 5662 @foreach(var i in certifications) { 5663 string cert_image = i.GetString("Item.Area.Certifications.Icon"); 5664 5665 cert_image = "/Admin/Public/GetImage.ashx?Image=" + cert_image + "&Width=116&Crop=6&DoNotUpscale=1"; 5666 string cert_image_grey = cert_image.Replace("Certificeringer", "Certificeringer-grey"); 5667 5668 5669 string cert_link = i.GetString("Item.Area.Certifications.Link"); 5670 int n; 5671 if(int.TryParse(cert_link, out n)) { 5672 cert_link = "/Default.aspx?ID=" + cert_link; 5673 } 5674 5675 string cert_text = i.GetString("Item.Area.Certifications.Text"); 5676 string attributeText = Regex.Replace(cert_text, "<.*?>", String.Empty); 5677 5678 <a href="@cert_link" class="col-sm-3 col-xs-6" title="Læs mere om @attributeText"> 5679 <div class="certification-content"> 5680 @*<img src="@(cert_image_grey)" class="img-responsive">*@ 5681 <img src="@(cert_image)" class="img-responsive" alt="@attributeText"> 5682 @if(!string.IsNullOrWhiteSpace(cert_text)) { 5683 <p>@cert_text</p> 5684 } 5685 </div> 5686 </a> 5687 } 5688 </div> 5689 </div> 5690 <div class="col-md-5 col-sm-12 col-xs-12"> 5691 5692 <hr class="visible-xs"> 5693 5694 <div class="footer-social-wrapper"> 5695 <span>@Translate("Følg med her:")</span> 5696 <a href="https://www.facebook.com/dinforsyning" target="_blank"> 5697 <svg id="svg-facebook" class="footer-svg" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 60 60"><title>Facebook</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path d="M25.76,46.32h6.75V30H37l.59-5.63H32.51V21.56c0-1.47.14-2.25,2.24-2.25h2.81V13.68h-4.5c-5.4,0-7.31,2.73-7.31,7.32v3.37H22.4V30h3.36ZM30,60A30,30,0,1,1,60,30,30,30,0,0,1,30,60Z"></path></g></g></svg> 5698 </a> 5699 <a href="https://www.linkedin.com/company/din-forsyning-a-s" target="_blank"> 5700 <svg id="svg-linkedin" class="footer-svg" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 60 60"><title>LinkedIn</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path d="M46.84,44.14V32.42c0-6.27-3.35-9.19-7.82-9.19A6.75,6.75,0,0,0,32.9,26.6V23.71H26.11c.09,1.92,0,20.43,0,20.43H32.9V32.73a4.66,4.66,0,0,1,.23-1.66,3.7,3.7,0,0,1,3.48-2.48c2.46,0,3.44,1.87,3.44,4.62V44.14ZM19,20.92a3.54,3.54,0,1,0,0-7.06,3.54,3.54,0,1,0-.08,7.06ZM30,60A30,30,0,1,1,60,30,30,30,0,0,1,30,60ZM22.35,44.14V23.71H15.57V44.14Z"></path></g></g></svg> 5701 </a> 5702 5703 <style> 5704 .footer-svg{ 5705 width:45px; 5706 } 5707 .footer-svg path { 5708 fill: #2d3587; 5709 } 5710 .footer-social-wrapper { 5711 display: flex; 5712 align-items: center; 5713 float: right; 5714 } 5715 #footer .footer-social-wrapper a{ 5716 padding-left:5px; 5717 } 5718 .footer-social-wrapper a:hover, .footer-social-wrapper a:focus, .footer-social-wrapper a:active{ 5719 text-decoration:underline; 5720 } 5721 } 5722 </style> 5723 </div> 5724 </div> 5725 </div> 5726 } 5727 </div> 5728 5729 </footer> 5730 5731 5732 5733 @SnippetEnd("Footer") 5734 5735 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 5736 @SnippetStart("Css") 5737 @{ 5738 string css_AssetsBaseUrl = "/Files/Templates/Assets/"; 5739 string css_DesignBaseUrl = GetString("Template:DesignBaseUrl"); 5740 bool css_SlideBars = GetBoolean("Item.Area.SlideBars_UseForNav"); 5741 string css_ImageOverlayType = GetString("Item.Area.ImageOverlayType"); 5742 5743 AddCssFile( 5744 css_AssetsBaseUrl + "formvalidation/css/formValidation.min.css", 5745 5746 "https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.4/css/bootstrap-datepicker3.min.css" 5747 // css_AssetsBaseUrl + "qtip/jquery.qtip.min.css" 5748 ); 5749 5750 if (css_SlideBars) { 5751 AddCssFile(css_AssetsBaseUrl + "Slidebars/dist/slidebars.min.css"); 5752 } 5753 5754 if (css_ImageOverlayType == "Lightbox") { 5755 AddCssFile(css_AssetsBaseUrl + "lightbox2/dist/css/lightbox.css"); 5756 } else { 5757 AddCssFile(css_AssetsBaseUrl + "fancyBox/source/jquery.fancybox.css"); 5758 if (GetBoolean("Item.Area.Fancybox_Thumbs")) { 5759 AddCssFile(css_AssetsBaseUrl + "fancyBox/source/helpers/jquery.fancybox-thumbs.css"); 5760 } 5761 } 5762 5763 AddCssFile(css_DesignBaseUrl + "css/style.min.css"); 5764 5765 var listCss = LoadContextItem<List<string>>("SB.CssFiles"); 5766 } 5767 <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"> 5768 <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" media='all'> 5769 <link href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.1/animate.min.css" rel="stylesheet"> 5770 @if (!true) { 5771 var listCssObj = listCss.Select(o => new { 5772 Path = o, 5773 IsCDN = o.StartsWith("http", StringComparison.OrdinalIgnoreCase) || o.StartsWith("//") 5774 }).ToList(); 5775 5776 foreach (var css in listCssObj.Where(o => o.IsCDN)) { 5777 <link href="@(css.Path)" rel="stylesheet"> 5778 } 5779 5780 var csses = string.Join(",", listCssObj.Where(o => !o.IsCDN).Select(o => o.Path)); 5781 <link href="/Admin/Public/ControlResourcesHandler.ashx?OutputType=css&amp;Files=@(csses)" rel="stylesheet"> 5782 } else { 5783 foreach (var css in listCss) { 5784 <link href="@(css)" rel="stylesheet"> 5785 } 5786 } 5787 @SnippetEnd("Css") 5788 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 5789 @SnippetStart("TopJs") 5790 <!--[if lt IE 9]> 5791 <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> 5792 <![endif]--> 5793 <!--[if gte IE 9]><!--> 5794 <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> 5795 <!--<![endif]--> 5796 <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyC57K9SyqY_wVeNW0XGZkon-AGqCP0scUc"></script> 5797 @SnippetEnd("TopJs") 5798 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 5799 @SnippetStart("BottomJs") 5800 @{ 5801 string bottomJs_AssetsBaseUrl = "/Files/Templates/Assets/"; 5802 string bottomJs_DesignBaseUrl = GetString("Template:DesignBaseUrl"); 5803 bool bottomJs_SlideBars = GetBoolean("Item.Area.SlideBars_UseForNav"); 5804 string bottomJs_ImageOverlayType = GetString("Item.Area.ImageOverlayType"); 5805 5806 AddJsFile( 5807 "https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js", 5808 "https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js" 5809 ); 5810 5811 AddJsFile( 5812 bottomJs_AssetsBaseUrl + "formvalidation/js/formValidation.min.js", 5813 bottomJs_AssetsBaseUrl + "formvalidation/js/framework/bootstrap.min.js", 5814 bottomJs_AssetsBaseUrl + "formvalidation/js/language/da_DK.js", 5815 5816 "https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.4/js/bootstrap-datepicker.min.js", 5817 "https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.4/locales/bootstrap-datepicker.da.min.js", 5818 "https://cdnjs.cloudflare.com/ajax/libs/typeahead.js/0.11.1/typeahead.bundle.min.js" 5819 5820 // bottomJs_AssetsBaseUrl + "qtip/jquery.qtip.min.js" 5821 ); 5822 5823 // if (bottomJs_SlideBars) { 5824 // AddJsFile(bottomJs_AssetsBaseUrl + "Slidebars/dist/slidebars.min.js"); 5825 // } 5826 5827 if(bottomJs_ImageOverlayType == "Lightbox") { 5828 AddJsFile(bottomJs_AssetsBaseUrl + "lightbox2/dist/js/lightbox.min.js"); 5829 } else if(bottomJs_ImageOverlayType == "Fancybox") { 5830 AddJsFile(bottomJs_AssetsBaseUrl + "fancyBox/lib/jquery.mousewheel-3.0.6.pack.js"); 5831 AddJsFile(bottomJs_AssetsBaseUrl + "fancyBox/source/jquery.fancybox.pack.js"); 5832 if(GetBoolean("Item.Area.Fancybox_Thumbs")) { 5833 AddJsFile(bottomJs_AssetsBaseUrl + "fancyBox/source/helpers/jquery.fancybox-thumbs.js"); 5834 } 5835 if(!GetBoolean("Item.Area.Fancybox_Media")) { 5836 AddJsFile(bottomJs_AssetsBaseUrl + "fancyBox/source/helpers/jquery.fancybox-media.js"); 5837 } 5838 } 5839 5840 // if (GetBoolean("Item.Area.ShowCookieNotice")) { 5841 // AddJsFile(bottomJs_AssetsBaseUrl + "skabertrang/CookieNotice/Script/jquery.skabertrang-cookie-notice.js"); 5842 // } 5843 5844 // AddJsFile(bottomJs_AssetsBaseUrl + "skabertrang/skabertrang.js"); 5845 AddJsFile(bottomJs_AssetsBaseUrl + "skabertrang/formValidation2.js"); 5846 AddJsFile(bottomJs_DesignBaseUrl + "js/script.js?v=20190207T08:00"); 5847 5848 5849 5850 var listBottomJs = LoadContextItem<List<string>>("SB.JsFiles"); 5851 5852 string ipAddress = Dynamicweb.Context.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"]; 5853 5854 if (!string.IsNullOrEmpty(ipAddress)){ 5855 string[] addresses = ipAddress.Split(','); 5856 if (addresses.Length != 0){ 5857 ipAddress = addresses[0]; 5858 } 5859 } 5860 5861 ipAddress = Dynamicweb.Context.Current.Request.ServerVariables["REMOTE_ADDR"]; 5862 5863 string[] ipAddresses = new string[12]; 5864 5865 ipAddresses[0] = "195.42.150.175"; //din forsyning 5866 ipAddresses[1] = "147.29.63.250"; //esbjerg forsyning 5867 ipAddresses[2] = "95.154.48.68"; //varde forsyning 5868 ipAddresses[3] = "80.162.21.196"; //Jos Van der Haar - privat 5869 ipAddresses[4] = "217.198.209.46"; //Skabertrang 5870 ipAddresses[5] = "90.185.98.23"; //Hans-Christian 5871 ipAddresses[6] = "92.246.24.79"; //Claus 5872 ipAddresses[7] = "178.157.250.165"; //Pete 5873 ipAddresses[8] = "95.154.33.99"; // DF IT mand 5874 ipAddresses[9] = "85.184.168.218"; //Per 5875 ipAddresses[10] = "81.95.255.42"; //Dynamicweb 5876 ipAddresses[11] = "212.112.155.26"; //Oprettet for HC 5877 5878 bool allowed = false; 5879 5880 foreach(string ip in ipAddresses){ 5881 if(ip == ipAddress){ 5882 allowed = true; 5883 break; 5884 } 5885 } 5886 if(allowed){ 5887 AddJsFile(bottomJs_DesignBaseUrl + "js/script-admin.js?v=2018-04-18T09:00"); 5888 } 5889 5890 5891 } 5892 <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script> 5893 @if(!true) { 5894 var listBottomJsObj = listBottomJs.Select(o => new { 5895 Path = o, 5896 IsCDN = o.StartsWith("http", StringComparison.OrdinalIgnoreCase) || o.StartsWith("//") 5897 }).ToList(); 5898 5899 foreach(var js in listBottomJsObj.Where(o => o.IsCDN)) { 5900 <script src="@(js.Path)"></script> 5901 } 5902 5903 var bottomJses = string.Join(",", listBottomJsObj.Where(o => !o.IsCDN).Select(o => o.Path)); 5904 <script src="/Admin/Public/ControlResourcesHandler.ashx?OutputType=js&amp;Files=@(bottomJses)"></script> 5905 } else { 5906 foreach(var js in listBottomJs) { 5907 <script src="@(js)"></script> 5908 } 5909 } 5910 5911 @* 5912 @if (bottomJs_SlideBars) { 5913 <script type="text/javascript"> 5914 $(function() { 5915 $.slidebars(); 5916 }); 5917 </script> 5918 } 5919 *@ 5920 @if (bottomJs_ImageOverlayType == "Fancybox") { 5921 var fancybox_thumbs = GetBoolean("Item.Area.Fancybox_Thumbs"); 5922 var fancybox_autoPlay = GetBoolean("Item.Area.Fancybox_AutoPlay"); 5923 var fancybox_media = !GetBoolean("Item.Area.Fancybox_Media"); 5924 var fancybox_various = !GetBoolean("Item.Area.Fancybox_Various"); 5925 var fancybox_playSpeed = GetInteger("Item.Area.Fancybox_PlaySpeed") > 0 ? GetInteger("Item.Area.Fancybox_PlaySpeed") : 3000; 5926 5927 var fancybox_thumbs_width = GetInteger("Item.Area.Fancybox_Thumbs_Width") > 0 ? GetInteger("Item.Area.Fancybox_Thumbs_Width") : 50; 5928 var fancybox_thumbs_height = GetInteger("Item.Area.Fancybox_Thumbs_Height") > 0 ? GetInteger("Item.Area.Fancybox_Thumbs_Height") : 50; 5929 var fancybox_thumbs_position = NullIfEmpty(GetString("Item.Area.Fancybox_Thumbs_Position")) ?? "bottom"; 5930 5931 <script type="text/javascript"> 5932 $(function() { 5933 $('.fancybox').fancybox({ 5934 openEffect: 'none', 5935 closeEffect: 'none', 5936 autoPlay: @(fancybox_autoPlay ? "true" : "false"), 5937 playSpeed: @(fancybox_playSpeed) 5938 5939 @if (fancybox_thumbs) { 5940 <text>, helpers: { 5941 thumbs: { 5942 width: @(fancybox_thumbs_width), 5943 height: @(fancybox_thumbs_height), 5944 position: '@(fancybox_thumbs_position)' 5945 } 5946 }</text> 5947 } 5948 }); 5949 }); 5950 </script> 5951 5952 if (fancybox_media) { 5953 <script type="text/javascript"> 5954 $(function() { 5955 $('.fancybox-media').fancybox({ 5956 openEffect: 'none', 5957 closeEffect: 'none' 5958 }); 5959 }); 5960 </script> 5961 } 5962 5963 if (fancybox_various) { 5964 <script type="text/javascript"> 5965 $(function() { 5966 $('.fancybox-various').fancybox({ 5967 maxWidth: 800, 5968 maxHeight: 600, 5969 fitToView: false, 5970 width: '70%', 5971 height: '70%', 5972 autoSize: false, 5973 closeClick: false, 5974 openEffect: 'none', 5975 closeEffect: 'none' 5976 }); 5977 }); 5978 </script> 5979 } 5980 } 5981 5982 @SnippetEnd("BottomJs") 5983 @SnippetStart("Icons") 5984 @SnippetStart("Icons") 5985 @{ 5986 /* 5987 * http://www.favicon-generator.org 5988 */ 5989 5990 var icons_DesktopIconsFolder = GetString("Item.Area.Icons_Desktopicons_Folder"); 5991 var icons_FacebookShareIcon = GetString("Item.Area.Icons_FacebookShareIcon"); 5992 5993 if (!string.IsNullOrWhiteSpace(icons_DesktopIconsFolder) && icons_DesktopIconsFolder.EndsWith("/")) { 5994 icons_DesktopIconsFolder = icons_DesktopIconsFolder.Remove(icons_DesktopIconsFolder.Length - 1); 5995 } 5996 5997 if (icons_DesktopIconsFolder.ToUpper() == "/FILES") { 5998 icons_DesktopIconsFolder = null; 5999 } 6000 } 6001 @if (!string.IsNullOrWhiteSpace(icons_DesktopIconsFolder)) { 6002 <link rel="shortcut icon" href="@(icons_DesktopIconsFolder)/favicon.ico"> 6003 6004 <link rel="apple-touch-icon" sizes="57x57" href="@(icons_DesktopIconsFolder)/apple-icon-57x57.png"> 6005 <link rel="apple-touch-icon" sizes="60x60" href="@(icons_DesktopIconsFolder)/apple-icon-60x60.png"> 6006 <link rel="apple-touch-icon" sizes="72x72" href="@(icons_DesktopIconsFolder)/apple-icon-72x72.png"> 6007 <link rel="apple-touch-icon" sizes="76x76" href="@(icons_DesktopIconsFolder)/apple-icon-76x76.png"> 6008 <link rel="apple-touch-icon" sizes="114x114" href="@(icons_DesktopIconsFolder)/apple-icon-114x114.png"> 6009 <link rel="apple-touch-icon" sizes="120x120" href="@(icons_DesktopIconsFolder)/apple-icon-120x120.png"> 6010 <link rel="apple-touch-icon" sizes="144x144" href="@(icons_DesktopIconsFolder)/apple-icon-144x144.png"> 6011 <link rel="apple-touch-icon" sizes="152x152" href="@(icons_DesktopIconsFolder)/apple-icon-152x152.png"> 6012 <link rel="apple-touch-icon" sizes="180x180" href="@(icons_DesktopIconsFolder)/apple-icon-180x180.png"> 6013 6014 <link rel="icon" type="image/png" sizes="192x192" href="@(icons_DesktopIconsFolder)/favicon-192x192.png"> 6015 <link rel="icon" type="image/png" sizes="32x32" href="@(icons_DesktopIconsFolder)/favicon-32x32.png"> 6016 <link rel="icon" type="image/png" sizes="96x96" href="@(icons_DesktopIconsFolder)/favicon-96x96.png"> 6017 <link rel="icon" type="image/png" sizes="16x16" href="@(icons_DesktopIconsFolder)/favicon-16x16.png"> 6018 6019 @* <link rel="manifest" href="@(icons_DesktopIconsFolder)/manifest.json"> *@ 6020 6021 <meta name="msapplication-TileColor" content="#ffffff"> 6022 <meta name="msapplication-TileImage" content="@(icons_DesktopIconsFolder)/ms-icon-144x144.png"> 6023 <meta name="msapplication-config" content="@(icons_DesktopIconsFolder)/browserconfig.xml"> 6024 <meta name="theme-color" content="#ffffff"> 6025 } 6026 @if (!string.IsNullOrWhiteSpace(icons_FacebookShareIcon)) { 6027 <link rel="image_src" href="@(icons_FacebookShareIcon)"> 6028 } 6029 @SnippetEnd("Icons") 6030 @SnippetStart("GoogleAnalytics") 6031 @{ 6032 var googleAnalytics_Code = GetString("Item.Area.Google_Analytics_Code"); 6033 } 6034 @if (!string.IsNullOrWhiteSpace(googleAnalytics_Code)) { 6035 <script type="text/javascript"> 6036 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 6037 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 6038 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 6039 })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); 6040 ga('create', '@(googleAnalytics_Code)', 'auto'); 6041 ga('send', 'pageview'); 6042 </script> 6043 6044 <script type="text/javascript"> 6045 if (window.skabertrang_ga_ecommerce_callbacks && window.skabertrang_ga_ecommerce_callbacks.length) { 6046 for (var i = 0; i < window.skabertrang_ga_ecommerce_callbacks.length; i++) { 6047 window.skabertrang_ga_ecommerce_callbacks[i](); 6048 } 6049 } 6050 </script> 6051 } 6052 @SnippetEnd("GoogleAnalytics") 6053 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 6054 @SnippetStart("CookieNotice") 6055 @{ 6056 string noticeType = GetString("Item.Area.Cookie_Notice_Type"); 6057 } 6058 @if (!string.IsNullOrWhiteSpace(noticeType) && noticeType != "false") { 6059 if(noticeType == "slide") { 6060 string moreInfoUrl = GetString("Item.Area.Cookie_More_Info_Url"); 6061 var cookieNoticeOptions = new { 6062 iconPath = NullIfEmpty(GetString("Item.Area.Cookie_Icon")) ?? "/Files/Templates/Assets/skabertrang/CookieNotice/Images/Actions-file-close-icon.png", 6063 closeIconPath = NullIfEmpty(GetString("Item.Area.Cookie_Close_Icon")) ?? "/Files/Templates/Assets/skabertrang/CookieNotice/Images/footprint.png", 6064 cookiePageURL = moreInfoUrl, 6065 position = NullIfEmpty(GetString("Item.Area.Cookie_Horizontal_Position")) ?? "left", 6066 initialHideDelayTime = GetInteger("Item.Area.Cookie_Initial_Hide_Delay_Time"), 6067 topPositionFirstPriority = GetString("Item.Area.Cookie_Auto_Adjust_Position_Priority") == "top", 6068 showOnFirstVisit = GetString("Item.Area.Cookie_Show_On_First_Visit") == "True", 6069 6070 orientation = new { 6071 position = NullIfEmpty(GetString("Item.Area.Cookie_Vertical_Position")) ?? "bottom", 6072 minOffSet = int.Parse(NullIfEmpty(GetString("Item.Area.Cookie_Minimum_Top_Offset")) ?? "150"), 6073 percentage = GetInteger("Item.Area.Cookie_Margin_Top_Percentage"), 6074 topAuto = GetBoolean("Item.Area.Cookie_Auto_Adjust_Top_Position") 6075 }, 6076 6077 text = new { 6078 top = new { 6079 headline = (NullIfEmpty(GetString("Item.Area.Cookie_Text_Top_Headline")) ?? "Information").Replace("\r", string.Empty).Replace("\n", string.Empty), 6080 content = (NullIfEmpty(GetString("Item.Area.Cookie_Text_Top_Content")) ?? "Om brug af cookies").Replace("\r", string.Empty).Replace("\n", string.Empty) 6081 }, 6082 bottom = new { 6083 headline = (NullIfEmpty(GetString("Item.Area.Cookie_Text_Bottom_Headline")) ?? "Hjemmesiden bruger cookies").Replace("\r", string.Empty).Replace("\n", string.Empty), 6084 content = (NullIfEmpty(GetString("Item.Area.Cookie_Text_Bottom_Content")) ?? "Dette website anvender cookies til følgende formål:<br><br>Teknisk funktionalitet så vi kan huske dine præferencer.<br><br>Trafikmåling så vi ved, hvor mange der besøger vores hjemmeside, og dermed kan dokumentere dette overfor fx annoncører.<br><br>Cookies er en fil, som lægges på din computer eller andet IT udstyr. Den gør det muligt at genkende din computer og samle information om hvilke sider og funktioner der besøges med din browser. Men cookies kan ikke se, hvem du er, hvad du hedder, hvor du bor eller om computeren bruges af en eller flere personer. Den kan heller ikke sprede computervirus eller andre skadelige programmer.<br><br><b>Hvis du klikker videre på siden, accepterer du vores brug af cookies.</b><br><br>Vil du vide mere om vores cookies, og hvordan du sletter dem, ").Replace("\r\n", "<br>").Replace("\r", string.Empty).Replace("\n", string.Empty), 6085 link = (NullIfEmpty(GetString("Item.Area.Cookie_More_Info_Link_Text")) ?? "klik her") 6086 } 6087 }, 6088 6089 css = new { 6090 fontFamily = NullIfEmpty(GetString("Item.Area.Cookie_Css_FontFamily")) ?? "arial,sans-serif", 6091 border = NullIfEmpty(GetString("Item.Area.Cookie_Css_Border")) ?? "3px solid #45abd7", 6092 backgroundColor = NullIfEmpty(GetString("Item.Area.Cookie_Css_BackgroundColor")) ?? "#ffffff", 6093 borderRadius = NullIfEmpty(GetString("Item.Area.Cookie_Css_BorderRadius")) ?? "10px", 6094 width = NullIfEmpty(GetString("Item.Area.Cookie_Css_Width")) ?? "230px", 6095 widthAuto = GetBoolean("Item.Area.Cookie_Auto_Adjust_Width"), 6096 linkColor = NullIfEmpty(GetString("Item.Area.Cookie_Css_LinkColor")) ?? "#0026ff", 6097 6098 headline = new { 6099 color = NullIfEmpty(GetString("Item.Area.Cookie_Css_Headline_Color")) ?? "#000000", 6100 lineHeight = NullIfEmpty(GetString("Item.Area.Cookie_Css_Headline_LineHeight")) ?? "14px", 6101 fontSize = NullIfEmpty(GetString("Item.Area.Cookie_Css_Headline_FontSize")) ?? "12px", 6102 fontWeight = NullIfEmpty(GetString("Item.Area.Cookie_Css_Headline_FontWeight")) ?? "bold", 6103 textTransform = NullIfEmpty(GetString("Item.Area.Cookie_Css_Headline_TextTransform")) ?? "uppercase" 6104 }, 6105 6106 content = new { 6107 color = NullIfEmpty(GetString("Item.Area.Cookie_Css_Content_Color")) ?? "#000000", 6108 lineHeight = NullIfEmpty(GetString("Item.Area.Cookie_Css_Content_LineHeight")) ?? "14px", 6109 fontSize = NullIfEmpty(GetString("Item.Area.Cookie_Css_Content_FontSize")) ?? "12px", 6110 fontWeight = NullIfEmpty(GetString("Item.Area.Cookie_Css_Content_FontWeight")) ?? "normal" 6111 } 6112 }, 6113 6114 seen = false 6115 }; 6116 6117 <script type="text/javascript"> 6118 $(function() { 6119 var options = @(ToJson(cookieNoticeOptions)); 6120 //$.fn.skabertrangCookieNotice(options); 6121 }); 6122 </script> 6123 } else { 6124 var moreInfoUrl = GetString("Item.Area.Cookie_Consent_More_Info_Url"); 6125 var target = !string.IsNullOrEmpty(moreInfoUrl) && (moreInfoUrl.IndexOf("http") > -1 || moreInfoUrl.IndexOf("www") > -1) ? "_blank" : "_self"; 6126 var message = Translate("Cookie message", "Dette website anvender cookies til at sikre, at du f&aring;r den bedste oplevelse p&aring; vores website."); 6127 var moreInfo = Translate("Mere info"); 6128 var close = Translate("Luk"); 6129 6130 <link href="https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.4/cookieconsent.min.css" rel="stylesheet"> 6131 <style type="text/css"> 6132 .cc-window { border-top: 2px solid #c22e34; } 6133 </style> 6134 <script src="https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.4/cookieconsent.min.js"></script> 6135 <script type="text/javascript"> 6136 (function(window) { 6137 window.cookieconsent.initialise({ 6138 palette: { 6139 popup: { 6140 background : '#ffffff', 6141 text : '#000000' 6142 }, 6143 button: { 6144 background : '#3a44ad', 6145 text : '#ffffff' 6146 } 6147 }, 6148 6149 elements: { 6150 header : '<span class="cc-header">{{header}}</span>&nbsp;', 6151 message : '<span id="cookieconsent:desc" class="cc-message">{{message}}</span>', 6152 messagelink : '<span id="cookieconsent:desc" class="cc-message">{{message}} <a aria-label="learn more about cookies" role="button" tabindex="0" class="cc-link" href="{{href}}">{{link}}</a></span>', 6153 dismiss : '<a aria-label="dismiss cookie message" role="button" tabindex="0" class="cc-btn cc-dismiss">{{dismiss}}</a>', 6154 allow : '<a aria-label="allow cookies" role="button" tabindex="0" class="cc-btn cc-allow">{{allow}}</a>', 6155 deny : '<a aria-label="deny cookies" role="button" tabindex="0" class="cc-btn cc-deny">{{deny}}</a>', 6156 link : '<a aria-label="learn more about cookies" role="button" tabindex="0" class="cc-link" href="{{href}}">{{link}}</a>', 6157 close : '<span aria-label="dismiss cookie message" role="button" tabindex="0" class="cc-close">{{close}}</span>' 6158 }, 6159 6160 content: { 6161 message : '@(message.Replace("'", "\'"))', 6162 dismiss : '@(close.Replace("'", "\'"))', 6163 link : '@(moreInfo.Replace("'", "\'"))', 6164 href : '@(moreInfoUrl)' 6165 }, 6166 6167 position: 'bottom' 6168 }); 6169 })(window); 6170 </script> 6171 } 6172 } 6173 @SnippetEnd("CookieNotice") 6174 6175 @SnippetStart("FacebookSDK") 6176 <div id="fb-root"></div> 6177 <script type="text/javascript"> 6178 (function(d, s, id) { 6179 var js, fjs = d.getElementsByTagName(s)[0]; 6180 if (d.getElementById(id)) return; 6181 js = d.createElement(s); js.id = id; 6182 js.src = "//connect.facebook.net/da_DK/sdk.js#xfbml=1&version=v2.6"; 6183 fjs.parentNode.insertBefore(js, fjs); 6184 }(document, 'script', 'facebook-jssdk')); 6185 </script> 6186 @SnippetEnd("FacebookSDK") 6187 @SnippetStart("ViewportHack") 6188 @* IE10 viewport hack for Surface/desktop Windows 8 bug *@ 6189 <script type="text/javascript"> 6190 (function () { 6191 'use strict'; 6192 if (navigator.userAgent.match(/IEMobile\/10\.0/)) { 6193 var msViewportStyle = document.createElement('style'); 6194 msViewportStyle.appendChild(document.createTextNode('@@-ms-viewport{width:auto!important}')); 6195 document.querySelector('head').appendChild(msViewportStyle); 6196 } 6197 })(); 6198 </script> 6199 @SnippetEnd("ViewportHack") 6200 6201 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 6202 @SnippetStart("NavBarCanvas") 6203 <div class="navcanvas-block"> 6204 @{ 6205 var navBarCanvas_pageService2 = new Dynamicweb.Content.PageService(); 6206 } 6207 <div class="top-nav-search col-xs-10 col-xs-offset-1" style="border: 1px solid #f1f1f1;"> 6208 <div id="typeahead1-wrapper" class="typeahead-wrapper"> 6209 <div class="typeahead-input"> 6210 <form method="get" action="/Default.aspx" role="search" onsubmit="searchSubmit(this)"> 6211 <input type="hidden" name="Id" value="2144"> 6212 <div class="input-group"> 6213 <input type="text" class="form-control" name="q" autocomplete="off" placeholder="S&Oslash;G..." value="" style="background-color: white;"> 6214 <span class="input-group-btn"> 6215 <button class="btn btn-default search-submit" type="submit"> 6216 <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 6217 <span class="sr-only">Submit</span> 6218 </button> 6219 </span> 6220 </div> 6221 </form> 6222 </div> 6223 <div id="typeahead1-menu" class="typeahead-menu tt-empty"></div> 6224 </div> 6225 </div> 6226 6227 6228 @if (GetInteger("DwPageID_1") == 1447) 6229 { 6230 int campaignPageId = GetInteger("DwPageID_2"); 6231 if (campaignPageId != 0) 6232 { 6233 <ul class="extra-pages"> 6234 @RenderNavigation(new 6235 { 6236 startlevel = 1, 6237 endlevel = 99, 6238 template = "SlideTopBarNav.xslt", 6239 expandmode = "All", 6240 parentid = campaignPageId, 6241 areaid = Pageview.AreaID, 6242 includemode = "All" 6243 }) 6244 6245 </ul> 6246 } 6247 6248 } 6249 else 6250 { 6251 <ul class="extra-pages"> 6252 @foreach (var i in GetLoop("Item.Area.Nav_List")) 6253 { 6254 6255 Dynamicweb.Content.Page extraPage = navBarCanvas_pageService2.GetPage(i.GetInteger("Item.Area.Nav_List.Link")); 6256 var extraPageSubPages = navBarCanvas_pageService2.GetPagesByParentID(extraPage.ID).Where(x => (bool)x.Active == true); 6257 string text = i.GetString("Item.Area.Nav_List.Text"); 6258 string liClass = string.Empty; 6259 bool hasActiveSubPages = extraPageSubPages.Any(); 6260 string extraSubMenuSpanClass = "submenu-button"; 6261 string extraSubUlClass = "submenu"; 6262 6263 if (extraPage.ID == 1250) 6264 { 6265 liClass = "disrupter " + disrupterClass; 6266 text += " (" + beredskabsCounter + ")"; 6267 } 6268 if (hasActiveSubPages) 6269 { 6270 liClass += " has-sub"; 6271 } 6272 if (Pageview.ID == extraPage.ID) 6273 { 6274 liClass += " active"; 6275 liClass += " inpath"; 6276 extraSubMenuSpanClass += " submenu-button-open"; 6277 extraSubUlClass += " submenu-open"; 6278 } 6279 else 6280 { 6281 foreach (Dynamicweb.Content.Page extraPageSubPage in extraPageSubPages) 6282 { 6283 if (extraPageSubPage.ID == Pageview.ID) 6284 { 6285 liClass += " inpath"; 6286 extraSubMenuSpanClass += " submenu-button-open"; 6287 extraSubUlClass += " submenu-open"; 6288 break; 6289 } 6290 } 6291 } 6292 <li class="@liClass"> 6293 @*<a href="@extraPage.ExactUrl">@text</a>*@ 6294 <a href="/Default.aspx?ID=@extraPage.ID">@text</a> 6295 @if (hasActiveSubPages) 6296 { 6297 <ul class="@extraSubUlClass"> 6298 @RenderNavigation(new 6299 { 6300 startlevel = 1, 6301 endlevel = 99, 6302 template = "SlideTopBarNav.xslt", 6303 expandmode = "All", 6304 parentid = extraPage.ID, 6305 areaid = Pageview.AreaID, 6306 includemode = "All" 6307 }) 6308 </ul> 6309 <span class="@extraSubMenuSpanClass"></span> 6310 } 6311 </li> 6312 6313 } 6314 </ul> 6315 6316 <ul> 6317 @RenderNavigation(new 6318 { 6319 startlevel = 1, 6320 endlevel = 5, 6321 template = "Slide.xslt", 6322 expandmode = "All", 6323 parentid = 0, 6324 areaid = Pageview.AreaID, 6325 includemode = "All" 6326 }) 6327 </ul> 6328 6329 <ul class="top-pages"> 6330 @RenderNavigation(new 6331 { 6332 startlevel = 1, 6333 endlevel = 5, 6334 template = "Slide.xslt", 6335 expandmode = "All", 6336 parentid = 1220, 6337 areaid = Pageview.AreaID, 6338 includemode = "All" 6339 }) 6340 </ul> 6341 6342 } 6343 } 6344 6345 </div> 6346 <script type="text/javascript"> 6347 $(function () { 6348 var $navcanvasBlock = $('.navcanvas-block'); 6349 6350 $('.submenu-button', $navcanvasBlock).on('click', function () { 6351 var $this = $(this); 6352 6353 $this.toggleClass('submenu-button-open'); 6354 $('> .submenu', $this.parent()).toggleClass('submenu-open'); 6355 }); 6356 6357 $('li.active.inpath', $('.navcanvas-block')).closest('ul.submenu').addClass('submenu-open').closest('li.inpath.has-sub').find('> .submenu-button').addClass('submenu-button-open'); 6358 }) 6359 </script> 6360 @SnippetEnd("NavBarCanvas") 6361 6362 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 6363 @using System.Text.RegularExpressions 6364 @SnippetStart("IconBar") 6365 @{ 6366 string topPageId = GetString("DwTopPageID"); 6367 } 6368 <div class="icon-bar row"> 6369 @foreach (var icon in GetLoop("Item.Area.Icons")) { 6370 string image = icon.GetString("Item.Area.Icons.Icon"); 6371 string imageHover = image.Split('.')[0] + "_hover." + image.Split('.')[1]; 6372 string text = icon.GetString("Item.Area.Icons.Text"); 6373 string attributeText = Regex.Replace(text, "<.*?>", String.Empty); 6374 string link = icon.GetString("Item.Area.Icons.Link"); 6375 string iconClass = "icon"; 6376 if (!string.IsNullOrWhiteSpace(image) && !string.IsNullOrWhiteSpace(link)) { 6377 if (link == topPageId) { 6378 iconClass += " inpath"; 6379 image = imageHover; 6380 } 6381 6382 <a href="/Default.aspx?ID=@link" title="Gå til @attributeText" aria-label="Gå til side vedr. @attributeText" class="@iconClass"> 6383 <img alt="Ikon for @attributeText" src="@image" data-image-hover="@imageHover"> 6384 @if (!string.IsNullOrWhiteSpace(text)) { 6385 <p>@text</p> 6386 } 6387 </a> 6388 6389 } 6390 } 6391 </div> 6392 @SnippetEnd("IconBar") 6393 6394