").html(f.clone()).html(),c=b.indexOf(" type=")>-1,d=c?/\s+type=["']?\w+['"]?/:/\/?>/,e=' type="'+h+'" data-'+a.mobile.ns+'type="'+g+'"'+(c?"":">"),f.replaceWith(b.replace(d,e)))})}}(a),function(a,b,c){a.widget("mobile.page",a.mobile.page,{options:{closeBtn:"left",closeBtnText:"Close",overlayTheme:"a",corners:!0,dialog:!1},_create:function(){this._super(),this.options.dialog&&(a.extend(this,{_inner:this.element.children(),_headerCloseButton:null}),this.options.enhanced||this._setCloseBtn(this.options.closeBtn))},_enhance:function(){this._super(),this.options.dialog&&this.element.addClass("ui-dialog").wrapInner(a("
",{role:"dialog","class":"ui-dialog-contain ui-overlay-shadow"+(this.options.corners?" ui-corner-all":"")}))},_setOptions:function(b){var d,e,f=this.options;b.corners!==c&&this._inner.toggleClass("ui-corner-all",!!b.corners),b.overlayTheme!==c&&a.mobile.activePage[0]===this.element[0]&&(f.overlayTheme=b.overlayTheme,this._handlePageBeforeShow()),b.closeBtnText!==c&&(d=f.closeBtn,e=b.closeBtnText),b.closeBtn!==c&&(d=b.closeBtn),d&&this._setCloseBtn(d,e),this._super(b)},_handlePageBeforeShow:function(){this.options.overlayTheme&&this.options.dialog?(this.removeContainerBackground(),this.setContainerBackground(this.options.overlayTheme)):this._super()},_setCloseBtn:function(b,c){var d,e=this._headerCloseButton;b="left"===b?"left":"right"===b?"right":"none","none"===b?e&&(e.remove(),e=null):e?(e.removeClass("ui-btn-left ui-btn-right").addClass("ui-btn-"+b),c&&e.text(c)):(d=this._inner.find(":jqmData(role='header')").first(),e=a("
",{href:"#","class":"ui-btn ui-corner-all ui-icon-delete ui-btn-icon-notext ui-btn-"+b}).attr("data-"+a.mobile.ns+"rel","back").text(c||this.options.closeBtnText||"").prependTo(d)),this._headerCloseButton=e}})}(a,this),function(a,b,c){a.widget("mobile.dialog",{options:{closeBtn:"left",closeBtnText:"Close",overlayTheme:"a",corners:!0},_handlePageBeforeShow:function(){this._isCloseable=!0,this.options.overlayTheme&&this.element.page("removeContainerBackground").page("setContainerBackground",this.options.overlayTheme)},_handlePageBeforeHide:function(){this._isCloseable=!1},_handleVClickSubmit:function(b){var c,d=a(b.target).closest("vclick"===b.type?"a":"form");d.length&&!d.jqmData("transition")&&(c={},c["data-"+a.mobile.ns+"transition"]=(a.mobile.navigate.history.getActive()||{}).transition||a.mobile.defaultDialogTransition,c["data-"+a.mobile.ns+"direction"]="reverse",d.attr(c))},_create:function(){var b=this.element,c=this.options;b.addClass("ui-dialog").wrapInner(a("
",{role:"dialog","class":"ui-dialog-contain ui-overlay-shadow"+(c.corners?" ui-corner-all":"")})),a.extend(this,{_isCloseable:!1,_inner:b.children(),_headerCloseButton:null}),this._on(b,{vclick:"_handleVClickSubmit",submit:"_handleVClickSubmit",pagebeforeshow:"_handlePageBeforeShow",pagebeforehide:"_handlePageBeforeHide"}),this._setCloseBtn(c.closeBtn)},_setOptions:function(b){var d,e,f=this.options;b.corners!==c&&this._inner.toggleClass("ui-corner-all",!!b.corners),b.overlayTheme!==c&&a.mobile.activePage[0]===this.element[0]&&(f.overlayTheme=b.overlayTheme,this._handlePageBeforeShow()),b.closeBtnText!==c&&(d=f.closeBtn,e=b.closeBtnText),b.closeBtn!==c&&(d=b.closeBtn),d&&this._setCloseBtn(d,e),this._super(b)},_setCloseBtn:function(b,c){var d,e=this._headerCloseButton;b="left"===b?"left":"right"===b?"right":"none","none"===b?e&&(e.remove(),e=null):e?(e.removeClass("ui-btn-left ui-btn-right").addClass("ui-btn-"+b),c&&e.text(c)):(d=this._inner.find(":jqmData(role='header')").first(),e=a("
",{role:"button",href:"#","class":"ui-btn ui-corner-all ui-icon-delete ui-btn-icon-notext ui-btn-"+b}).text(c||this.options.closeBtnText||"").prependTo(d),this._on(e,{click:"close"})),this._headerCloseButton=e},close:function(){var b=a.mobile.navigate.history;this._isCloseable&&(this._isCloseable=!1,a.mobile.hashListeningEnabled&&b.activeIndex>0?a.mobile.back():a.mobile.pageContainer.pagecontainer("back"))}})}(a,this),function(a,b){var c=/([A-Z])/g,d=function(a){return"ui-btn-icon-"+(null===a?"left":a)};a.widget("mobile.collapsible",{options:{enhanced:!1,expandCueText:null,collapseCueText:null,collapsed:!0,heading:"h1,h2,h3,h4,h5,h6,legend",collapsedIcon:null,expandedIcon:null,iconpos:null,theme:null,contentTheme:null,inset:null,corners:null,mini:null},_create:function(){var b=this.element,c={accordion:b.closest(":jqmData(role='collapsible-set'),:jqmData(role='collapsibleset')"+(a.mobile.collapsibleset?", :mobile-collapsibleset":"")).addClass("ui-collapsible-set")};this._ui=c,this._renderedOptions=this._getOptions(this.options),this.options.enhanced?(c.heading=this.element.children(".ui-collapsible-heading"),c.content=c.heading.next(),c.anchor=c.heading.children(),c.status=c.anchor.children(".ui-collapsible-heading-status")):this._enhance(b,c),this._on(c.heading,{tap:function(){c.heading.find("a").first().addClass(a.mobile.activeBtnClass)},click:function(a){this._handleExpandCollapse(!c.heading.hasClass("ui-collapsible-heading-collapsed")),a.preventDefault(),a.stopPropagation()}})},_getOptions:function(b){var d,e=this._ui.accordion,f=this._ui.accordionWidget;b=a.extend({},b),e.length&&!f&&(this._ui.accordionWidget=f=e.data("mobile-collapsibleset"));for(d in b)b[d]=null!=b[d]?b[d]:f?f.options[d]:e.length?a.mobile.getAttribute(e[0],d.replace(c,"-$1").toLowerCase()):null,null==b[d]&&(b[d]=a.mobile.collapsible.defaults[d]);return b},_themeClassFromOption:function(a,b){return b?"none"===b?"":a+b:""},_enhance:function(b,c){var e,f=this._renderedOptions,g=this._themeClassFromOption("ui-body-",f.contentTheme);return b.addClass("ui-collapsible "+(f.inset?"ui-collapsible-inset ":"")+(f.inset&&f.corners?"ui-corner-all ":"")+(g?"ui-collapsible-themed-content ":"")),c.originalHeading=b.children(this.options.heading).first(),c.content=b.wrapInner("
").children(".ui-collapsible-content"),c.heading=c.originalHeading,c.heading.is("legend")&&(c.heading=a("
"+c.heading.html()+"
"),c.placeholder=a("
").insertBefore(c.originalHeading),c.originalHeading.remove()),e=f.collapsed?f.collapsedIcon?"ui-icon-"+f.collapsedIcon:"":f.expandedIcon?"ui-icon-"+f.expandedIcon:"",c.status=a("
"),c.anchor=c.heading.detach().addClass("ui-collapsible-heading").append(c.status).wrapInner("
").find("a").first().addClass("ui-btn "+(e?e+" ":"")+(e?d(f.iconpos)+" ":"")+this._themeClassFromOption("ui-btn-",f.theme)+" "+(f.mini?"ui-mini ":"")),c.heading.insertBefore(c.content),this._handleExpandCollapse(this.options.collapsed),c},refresh:function(){this._applyOptions(this.options),this._renderedOptions=this._getOptions(this.options)},_applyOptions:function(a){var c,e,f,g,h,i=this.element,j=this._renderedOptions,k=this._ui,l=k.anchor,m=k.status,n=this._getOptions(a);a.collapsed!==b&&this._handleExpandCollapse(a.collapsed),c=i.hasClass("ui-collapsible-collapsed"),c?n.expandCueText!==b&&m.text(n.expandCueText):n.collapseCueText!==b&&m.text(n.collapseCueText),h=n.collapsedIcon!==b?n.collapsedIcon!==!1:j.collapsedIcon!==!1,(n.iconpos!==b||n.collapsedIcon!==b||n.expandedIcon!==b)&&(l.removeClass([d(j.iconpos)].concat(j.expandedIcon?["ui-icon-"+j.expandedIcon]:[]).concat(j.collapsedIcon?["ui-icon-"+j.collapsedIcon]:[]).join(" ")),h&&l.addClass([d(n.iconpos!==b?n.iconpos:j.iconpos)].concat(c?["ui-icon-"+(n.collapsedIcon!==b?n.collapsedIcon:j.collapsedIcon)]:["ui-icon-"+(n.expandedIcon!==b?n.expandedIcon:j.expandedIcon)]).join(" "))),n.theme!==b&&(f=this._themeClassFromOption("ui-btn-",j.theme),e=this._themeClassFromOption("ui-btn-",n.theme),l.removeClass(f).addClass(e)),n.contentTheme!==b&&(f=this._themeClassFromOption("ui-body-",j.contentTheme),e=this._themeClassFromOption("ui-body-",n.contentTheme),k.content.removeClass(f).addClass(e)),n.inset!==b&&(i.toggleClass("ui-collapsible-inset",n.inset),g=!(!n.inset||!n.corners&&!j.corners)),n.corners!==b&&(g=!(!n.corners||!n.inset&&!j.inset)),g!==b&&i.toggleClass("ui-corner-all",g),n.mini!==b&&l.toggleClass("ui-mini",n.mini)},_setOptions:function(a){this._applyOptions(a),this._super(a),this._renderedOptions=this._getOptions(this.options)},_handleExpandCollapse:function(b){var c=this._renderedOptions,d=this._ui;d.status.text(b?c.expandCueText:c.collapseCueText),d.heading.toggleClass("ui-collapsible-heading-collapsed",b).find("a").first().toggleClass("ui-icon-"+c.expandedIcon,!b).toggleClass("ui-icon-"+c.collapsedIcon,b||c.expandedIcon===c.collapsedIcon).removeClass(a.mobile.activeBtnClass),this.element.toggleClass("ui-collapsible-collapsed",b),d.content.toggleClass("ui-collapsible-content-collapsed",b).attr("aria-hidden",b).trigger("updatelayout"),this.options.collapsed=b,this._trigger(b?"collapse":"expand")},expand:function(){this._handleExpandCollapse(!1)},collapse:function(){this._handleExpandCollapse(!0)},_destroy:function(){var a=this._ui,b=this.options;b.enhanced||(a.placeholder?(a.originalHeading.insertBefore(a.placeholder),a.placeholder.remove(),a.heading.remove()):(a.status.remove(),a.heading.removeClass("ui-collapsible-heading ui-collapsible-heading-collapsed").children().contents().unwrap()),a.anchor.contents().unwrap(),a.content.contents().unwrap(),this.element.removeClass("ui-collapsible ui-collapsible-collapsed ui-collapsible-themed-content ui-collapsible-inset ui-corner-all"))}}),a.mobile.collapsible.defaults={expandCueText:" click to expand contents",collapseCueText:" click to collapse contents",collapsedIcon:"plus",contentTheme:"inherit",expandedIcon:"minus",iconpos:"left",inset:!0,corners:!0,theme:"inherit",mini:!1}}(a),function(a){function b(b){var d,e=b.length,f=[];for(d=0;e>d;d++)b[d].className.match(c)||f.push(b[d]);return a(f)}var c=/\bui-screen-hidden\b/;a.mobile.behaviors.addFirstLastClasses={_getVisibles:function(a,c){var d;return c?d=b(a):(d=a.filter(":visible"),0===d.length&&(d=b(a))),d},_addFirstLastClasses:function(a,b,c){a.removeClass("ui-first-child ui-last-child"),b.eq(0).addClass("ui-first-child").end().last().addClass("ui-last-child"),c||this.element.trigger("updatelayout")},_removeFirstLastClasses:function(a){a.removeClass("ui-first-child ui-last-child")}}}(a),function(a,b){var c=":mobile-collapsible, "+a.mobile.collapsible.initSelector;a.widget("mobile.collapsibleset",a.extend({initSelector:":jqmData(role='collapsible-set'),:jqmData(role='collapsibleset')",options:a.extend({enhanced:!1},a.mobile.collapsible.defaults),_handleCollapsibleExpand:function(b){var c=a(b.target).closest(".ui-collapsible");c.parent().is(":mobile-collapsibleset, :jqmData(role='collapsible-set')")&&c.siblings(".ui-collapsible:not(.ui-collapsible-collapsed)").collapsible("collapse")},_create:function(){var b=this.element,c=this.options;a.extend(this,{_classes:""}),c.enhanced||(b.addClass("ui-collapsible-set "+this._themeClassFromOption("ui-group-theme-",c.theme)+" "+(c.corners&&c.inset?"ui-corner-all ":"")),this.element.find(a.mobile.collapsible.initSelector).collapsible()),this._on(b,{collapsibleexpand:"_handleCollapsibleExpand"})},_themeClassFromOption:function(a,b){return b?"none"===b?"":a+b:""},_init:function(){this._refresh(!0),this.element.children(c).filter(":jqmData(collapsed='false')").collapsible("expand")},_setOptions:function(a){var c,d,e=this.element,f=this._themeClassFromOption("ui-group-theme-",a.theme);return f&&e.removeClass(this._themeClassFromOption("ui-group-theme-",this.options.theme)).addClass(f),a.inset!==b&&(d=!(!a.inset||!a.corners&&!this.options.corners)),a.corners!==b&&(d=!(!a.corners||!a.inset&&!this.options.inset)),d!==b&&e.toggleClass("ui-corner-all",d),c=this._super(a),this.element.children(":mobile-collapsible").collapsible("refresh"),c},_destroy:function(){var a=this.element;this._removeFirstLastClasses(a.children(c)),a.removeClass("ui-collapsible-set ui-corner-all "+this._themeClassFromOption("ui-group-theme-",this.options.theme)).children(":mobile-collapsible").collapsible("destroy")},_refresh:function(b){var d=this.element.children(c);this.element.find(a.mobile.collapsible.initSelector).not(".ui-collapsible").collapsible(),this._addFirstLastClasses(d,this._getVisibles(d,b),b)},refresh:function(){this._refresh(!1)}},a.mobile.behaviors.addFirstLastClasses))}(a),function(a){a.fn.fieldcontain=function(){return this.addClass("ui-field-contain")}}(a),function(a){a.fn.grid=function(b){return this.each(function(){var c,d,e=a(this),f=a.extend({grid:null},b),g=e.children(),h={solo:1,a:2,b:3,c:4,d:5},i=f.grid;if(!i)if(g.length<=5)for(d in h)h[d]===g.length&&(i=d);else i="a",e.addClass("ui-grid-duo");c=h[i],e.addClass("ui-grid-"+i),g.filter(":nth-child("+c+"n+1)").addClass("ui-block-a"),c>1&&g.filter(":nth-child("+c+"n+2)").addClass("ui-block-b"),c>2&&g.filter(":nth-child("+c+"n+3)").addClass("ui-block-c"),c>3&&g.filter(":nth-child("+c+"n+4)").addClass("ui-block-d"),c>4&&g.filter(":nth-child("+c+"n+5)").addClass("ui-block-e")})}}(a),function(a,b){a.widget("mobile.navbar",{options:{iconpos:"top",grid:null},_create:function(){var d=this.element,e=d.find("a, button"),f=e.filter(":jqmData(icon)").length?this.options.iconpos:b;d.addClass("ui-navbar").attr("role","navigation").find("ul").jqmEnhanceable().grid({grid:this.options.grid}),e.each(function(){var b=a.mobile.getAttribute(this,"icon"),c=a.mobile.getAttribute(this,"theme"),d="ui-btn";c&&(d+=" ui-btn-"+c),b&&(d+=" ui-icon-"+b+" ui-btn-icon-"+f),a(this).addClass(d)}),d.delegate("a","vclick",function(){var b=a(this);b.hasClass("ui-state-disabled")||b.hasClass("ui-disabled")||b.hasClass(a.mobile.activeBtnClass)||(e.removeClass(a.mobile.activeBtnClass),b.addClass(a.mobile.activeBtnClass),a(c).one("pagehide",function(){b.removeClass(a.mobile.activeBtnClass)}))}),d.closest(".ui-page").bind("pagebeforeshow",function(){e.filter(".ui-state-persist").addClass(a.mobile.activeBtnClass)})}})}(a),function(a){var b=a.mobile.getAttribute;a.widget("mobile.listview",a.extend({options:{theme:null,countTheme:null,dividerTheme:null,icon:"carat-r",splitIcon:"carat-r",splitTheme:null,corners:!0,shadow:!0,inset:!1},_create:function(){var a=this,b="";b+=a.options.inset?" ui-listview-inset":"",a.options.inset&&(b+=a.options.corners?" ui-corner-all":"",b+=a.options.shadow?" ui-shadow":""),a.element.addClass(" ui-listview"+b),a.refresh(!0)},_findFirstElementByTagName:function(a,b,c,d){var e={};for(e[c]=e[d]=!0;a;){if(e[a.nodeName])return a;a=a[b]}return null},_addThumbClasses:function(b){var c,d,e=b.length;for(c=0;e>c;c++)d=a(this._findFirstElementByTagName(b[c].firstChild,"nextSibling","img","IMG")),d.length&&a(this._findFirstElementByTagName(d[0].parentNode,"parentNode","li","LI")).addClass(d.hasClass("ui-li-icon")?"ui-li-has-icon":"ui-li-has-thumb")},_getChildrenByTagName:function(b,c,d){var e=[],f={};for(f[c]=f[d]=!0,b=b.firstChild;b;)f[b.nodeName]&&e.push(b),b=b.nextSibling;return a(e)},_beforeListviewRefresh:a.noop,_afterListviewRefresh:a.noop,refresh:function(c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x=this.options,y=this.element,z=!!a.nodeName(y[0],"ol"),A=y.attr("start"),B={},C=y.find(".ui-li-count"),D=b(y[0],"counttheme")||this.options.countTheme,E=D?"ui-body-"+D:"ui-body-inherit";for(x.theme&&y.addClass("ui-group-theme-"+x.theme),z&&(A||0===A)&&(n=parseInt(A,10)-1,y.css("counter-reset","listnumbering "+n)),this._beforeListviewRefresh(),w=this._getChildrenByTagName(y[0],"li","LI"),e=0,f=w.length;f>e;e++)g=w.eq(e),h="",(c||g[0].className.search(/\bui-li-static\b|\bui-li-divider\b/)<0)&&(l=this._getChildrenByTagName(g[0],"a","A"),m="list-divider"===b(g[0],"role"),p=g.attr("value"),i=b(g[0],"theme"),l.length&&l[0].className.search(/\bui-btn\b/)<0&&!m?(j=b(g[0],"icon"),k=j===!1?!1:j||x.icon,l.removeClass("ui-link"),d="ui-btn",i&&(d+=" ui-btn-"+i),l.length>1?(h="ui-li-has-alt",q=l.last(),r=b(q[0],"theme")||x.splitTheme||b(g[0],"theme",!0),s=r?" ui-btn-"+r:"",t=b(q[0],"icon")||b(g[0],"icon")||x.splitIcon,u="ui-btn ui-btn-icon-notext ui-icon-"+t+s,q.attr("title",a.trim(q.getEncodedText())).addClass(u).empty(),l=l.first()):k&&(d+=" ui-btn-icon-right ui-icon-"+k),l.addClass(d)):m?(v=b(g[0],"theme")||x.dividerTheme||x.theme,h="ui-li-divider ui-bar-"+(v?v:"inherit"),g.attr("role","heading")):l.length<=0&&(h="ui-li-static ui-body-"+(i?i:"inherit")),z&&p&&(o=parseInt(p,10)-1,g.css("counter-reset","listnumbering "+o))),B[h]||(B[h]=[]),B[h].push(g[0]);for(h in B)a(B[h]).addClass(h);C.each(function(){a(this).closest("li").addClass("ui-li-has-count")}),E&&C.not("[class*='ui-body-']").addClass(E),this._addThumbClasses(w),this._addThumbClasses(w.find(".ui-btn")),this._afterListviewRefresh(),this._addFirstLastClasses(w,this._getVisibles(w,c),c)}},a.mobile.behaviors.addFirstLastClasses))}(a),function(a){function b(b){var c=a.trim(b.text())||null;return c?c=c.slice(0,1).toUpperCase():null}a.widget("mobile.listview",a.mobile.listview,{options:{autodividers:!1,autodividersSelector:b},_beforeListviewRefresh:function(){this.options.autodividers&&(this._replaceDividers(),this._superApply(arguments))},_replaceDividers:function(){var b,d,e,f,g,h=null,i=this.element;for(i.children("li:jqmData(role='list-divider')").remove(),d=i.children("li"),b=0;b
-1;d--)e=a[d],e.className.match(b)?(f&&(e.className=e.className+" ui-screen-hidden"),f=!0):e.className.match(c)||(f=!1)}})}(a),function(a){a.mobile.nojs=function(b){a(":jqmData(role='nojs')",b).addClass("ui-nojs")}}(a),function(a){a.mobile.behaviors.formReset={_handleFormReset:function(){this._on(this.element.closest("form"),{reset:function(){this._delay("_reset")}})}}}(a),function(a,b){var c=a.mobile.path.hashToSelector;a.widget("mobile.checkboxradio",a.extend({initSelector:"input:not( :jqmData(role='flipswitch' ) )[type='checkbox'],input[type='radio']:not( :jqmData(role='flipswitch' ))",options:{theme:"inherit",mini:!1,wrapperClass:null,enhanced:!1,iconpos:"left"},_create:function(){var b=this.element,c=this.options,d=function(a,b){return a.jqmData(b)||a.closest("form, fieldset").jqmData(b)},e=this.options.enhanced?{element:this.element.siblings("label"),isParent:!1}:this._findLabel(),f=b[0].type,g="ui-"+f+"-on",h="ui-"+f+"-off";("checkbox"===f||"radio"===f)&&(this.element[0].disabled&&(this.options.disabled=!0),c.iconpos=d(b,"iconpos")||e.element.attr("data-"+a.mobile.ns+"iconpos")||c.iconpos,c.mini=d(b,"mini")||c.mini,a.extend(this,{input:b,label:e.element,labelIsParent:e.isParent,inputtype:f,checkedClass:g,uncheckedClass:h}),this.options.enhanced||this._enhance(),this._on(e.element,{vmouseover:"_handleLabelVMouseOver",vclick:"_handleLabelVClick"}),this._on(b,{vmousedown:"_cacheVals",vclick:"_handleInputVClick",focus:"_handleInputFocus",blur:"_handleInputBlur"}),this._handleFormReset(),this.refresh())},_findLabel:function(){var b,d,e,f=this.element,g=f[0].labels;return g&&g.length>0?(d=a(g[0]),e=a.contains(d[0],f[0])):(b=f.closest("label"),e=b.length>0,d=e?b:a(this.document[0].getElementsByTagName("label")).filter("[for='"+c(f[0].id)+"']").first()),{element:d,isParent:e}},_enhance:function(){this.label.addClass("ui-btn ui-corner-all"),this.labelIsParent?this.input.add(this.label).wrapAll(this._wrapper()):(this.element.wrap(this._wrapper()),this.element.parent().prepend(this.label)),this._setOptions({theme:this.options.theme,iconpos:this.options.iconpos,mini:this.options.mini})},_wrapper:function(){return a("
")},_handleInputFocus:function(){this.label.addClass(a.mobile.focusClass)},_handleInputBlur:function(){this.label.removeClass(a.mobile.focusClass)},_handleInputVClick:function(){this.element.prop("checked",this.element.is(":checked")),this._getInputSet().not(this.element).prop("checked",!1),this._updateAll(!0)},_handleLabelVMouseOver:function(a){this.label.parent().hasClass("ui-state-disabled")&&a.stopPropagation()},_handleLabelVClick:function(a){var b=this.element;return b.is(":disabled")?void a.preventDefault():(this._cacheVals(),b.prop("checked","radio"===this.inputtype&&!0||!b.prop("checked")),b.triggerHandler("click"),this._getInputSet().not(b).prop("checked",!1),this._updateAll(),!1)},_cacheVals:function(){this._getInputSet().each(function(){a(this).attr("data-"+a.mobile.ns+"cacheVal",this.checked)})},_getInputSet:function(){var b,d,e=this.element[0],f=e.name,g=e.form,h=this.element.parents().last().get(0),i=this.element;return f&&"radio"===this.inputtype&&h&&(b="input[type='radio'][name='"+c(f)+"']",g?(d=g.getAttribute("id"),d&&(i=a(b+"[form='"+c(d)+"']",h)),i=a(g).find(b).filter(function(){return this.form===g}).add(i)):i=a(b,h).filter(function(){return!this.form})),i},_updateAll:function(b){var c=this;this._getInputSet().each(function(){var d=a(this);!this.checked&&"checkbox"!==c.inputtype||b||d.trigger("change")}).checkboxradio("refresh")},_reset:function(){this.refresh()},_hasIcon:function(){var b,c,d=a.mobile.controlgroup;return d&&(b=this.element.closest(":mobile-controlgroup,"+d.prototype.initSelector),b.length>0)?(c=a.data(b[0],"mobile-controlgroup"),"horizontal"!==(c?c.options.type:b.attr("data-"+a.mobile.ns+"type"))):!0},refresh:function(){var b=this.element[0].checked,c=a.mobile.activeBtnClass,d="ui-btn-icon-"+this.options.iconpos,e=[],f=[];this._hasIcon()?(f.push(c),e.push(d)):(f.push(d),(b?e:f).push(c)),b?(e.push(this.checkedClass),f.push(this.uncheckedClass)):(e.push(this.uncheckedClass),f.push(this.checkedClass)),this.widget().toggleClass("ui-state-disabled",this.element.prop("disabled")),this.label.addClass(e.join(" ")).removeClass(f.join(" "))},widget:function(){return this.label.parent()},_setOptions:function(a){var c=this.label,d=this.options,e=this.widget(),f=this._hasIcon();a.disabled!==b&&(this.input.prop("disabled",!!a.disabled),e.toggleClass("ui-state-disabled",!!a.disabled)),a.mini!==b&&e.toggleClass("ui-mini",!!a.mini),a.theme!==b&&c.removeClass("ui-btn-"+d.theme).addClass("ui-btn-"+a.theme),a.wrapperClass!==b&&e.removeClass(d.wrapperClass).addClass(a.wrapperClass),a.iconpos!==b&&f?c.removeClass("ui-btn-icon-"+d.iconpos).addClass("ui-btn-icon-"+a.iconpos):f||c.removeClass("ui-btn-icon-"+d.iconpos),this._super(a)}},a.mobile.behaviors.formReset))}(a),function(a,b){a.widget("mobile.button",{initSelector:"input[type='button'], input[type='submit'], input[type='reset']",options:{theme:null,icon:null,iconpos:"left",iconshadow:!1,corners:!0,shadow:!0,inline:null,mini:null,wrapperClass:null,enhanced:!1},_create:function(){this.element.is(":disabled")&&(this.options.disabled=!0),this.options.enhanced||this._enhance(),a.extend(this,{wrapper:this.element.parent()}),this._on({focus:function(){this.widget().addClass(a.mobile.focusClass)},blur:function(){this.widget().removeClass(a.mobile.focusClass)}}),this.refresh(!0)},_enhance:function(){this.element.wrap(this._button())},_button:function(){var b=this.options,c=this._getIconClasses(this.options);return a(""+this.element.val()+"
")},widget:function(){return this.wrapper},_destroy:function(){this.element.insertBefore(this.wrapper),this.wrapper.remove()},_getIconClasses:function(a){return a.icon?"ui-icon-"+a.icon+(a.iconshadow?" ui-shadow-icon":"")+" ui-btn-icon-"+a.iconpos:""},_setOptions:function(c){var d=this.widget();c.theme!==b&&d.removeClass(this.options.theme).addClass("ui-btn-"+c.theme),c.corners!==b&&d.toggleClass("ui-corner-all",c.corners),c.shadow!==b&&d.toggleClass("ui-shadow",c.shadow),c.inline!==b&&d.toggleClass("ui-btn-inline",c.inline),c.mini!==b&&d.toggleClass("ui-mini",c.mini),c.disabled!==b&&(this.element.prop("disabled",c.disabled),d.toggleClass("ui-state-disabled",c.disabled)),(c.icon!==b||c.iconshadow!==b||c.iconpos!==b)&&d.removeClass(this._getIconClasses(this.options)).addClass(this._getIconClasses(a.extend({},this.options,c))),this._super(c)},refresh:function(b){var c,d=this.element.prop("disabled");this.options.icon&&"notext"===this.options.iconpos&&this.element.attr("title")&&this.element.attr("title",this.element.val()),b||(c=this.element.detach(),a(this.wrapper).text(this.element.val()).append(c)),this.options.disabled!==d&&this._setOptions({disabled:d})}})}(a),function(a){var b=a("meta[name=viewport]"),c=b.attr("content"),d=c+",maximum-scale=1, user-scalable=no",e=c+",maximum-scale=10, user-scalable=yes",f=/(user-scalable[\s]*=[\s]*no)|(maximum-scale[\s]*=[\s]*1)[$,\s]/.test(c);a.mobile.zoom=a.extend({},{enabled:!f,locked:!1,disable:function(c){f||a.mobile.zoom.locked||(b.attr("content",d),a.mobile.zoom.enabled=!1,a.mobile.zoom.locked=c||!1)},enable:function(c){f||a.mobile.zoom.locked&&c!==!0||(b.attr("content",e),a.mobile.zoom.enabled=!0,a.mobile.zoom.locked=!1)},restore:function(){f||(b.attr("content",c),a.mobile.zoom.enabled=!0)}})}(a),function(a,b){a.widget("mobile.textinput",{initSelector:"input[type='text'],input[type='search'],:jqmData(type='search'),input[type='number'],:jqmData(type='number'),input[type='password'],input[type='email'],input[type='url'],input[type='tel'],textarea,input[type='time'],input[type='date'],input[type='month'],input[type='week'],input[type='datetime'],input[type='datetime-local'],input[type='color'],input:not([type]),input[type='file']",options:{theme:null,corners:!0,mini:!1,preventFocusZoom:/iPhone|iPad|iPod/.test(navigator.platform)&&navigator.userAgent.indexOf("AppleWebKit")>-1,wrapperClass:"",enhanced:!1},_create:function(){var b=this.options,c=this.element.is("[type='search'], :jqmData(type='search')"),d="TEXTAREA"===this.element[0].tagName,e=this.element.is("[data-"+(a.mobile.ns||"")+"type='range']"),f=(this.element.is("input")||this.element.is("[data-"+(a.mobile.ns||"")+"type='search']"))&&!e;this.element.prop("disabled")&&(b.disabled=!0),a.extend(this,{classes:this._classesFromOptions(),isSearch:c,isTextarea:d,isRange:e,inputNeedsWrap:f}),this._autoCorrect(),b.enhanced||this._enhance(),this._on({focus:"_handleFocus",blur:"_handleBlur"})},refresh:function(){this.setOptions({disabled:this.element.is(":disabled")})},_enhance:function(){var a=[];this.isTextarea&&a.push("ui-input-text"),(this.isTextarea||this.isRange)&&a.push("ui-shadow-inset"),this.inputNeedsWrap?this.element.wrap(this._wrap()):a=a.concat(this.classes),this.element.addClass(a.join(" "))},widget:function(){return this.inputNeedsWrap?this.element.parent():this.element},_classesFromOptions:function(){var a=this.options,b=[];return b.push("ui-body-"+(null===a.theme?"inherit":a.theme)),a.corners&&b.push("ui-corner-all"),a.mini&&b.push("ui-mini"),a.disabled&&b.push("ui-state-disabled"),a.wrapperClass&&b.push(a.wrapperClass),b
},_wrap:function(){return a("
")},_autoCorrect:function(){"undefined"==typeof this.element[0].autocorrect||a.support.touchOverflow||(this.element[0].setAttribute("autocorrect","off"),this.element[0].setAttribute("autocomplete","off"))},_handleBlur:function(){this.widget().removeClass(a.mobile.focusClass),this.options.preventFocusZoom&&a.mobile.zoom.enable(!0)},_handleFocus:function(){this.options.preventFocusZoom&&a.mobile.zoom.disable(!0),this.widget().addClass(a.mobile.focusClass)},_setOptions:function(a){var c=this.widget();this._super(a),(a.disabled!==b||a.mini!==b||a.corners!==b||a.theme!==b||a.wrapperClass!==b)&&(c.removeClass(this.classes.join(" ")),this.classes=this._classesFromOptions(),c.addClass(this.classes.join(" "))),a.disabled!==b&&this.element.prop("disabled",!!a.disabled)},_destroy:function(){this.options.enhanced||(this.inputNeedsWrap&&this.element.unwrap(),this.element.removeClass("ui-input-text "+this.classes.join(" ")))}})}(a),function(a,d){a.widget("mobile.slider",a.extend({initSelector:"input[type='range'], :jqmData(type='range'), :jqmData(role='slider')",widgetEventPrefix:"slide",options:{theme:null,trackTheme:null,corners:!0,mini:!1,highlight:!1},_create:function(){var e,f,g,h,i,j,k,l,m,n,o=this,p=this.element,q=this.options.trackTheme||a.mobile.getAttribute(p[0],"theme"),r=q?" ui-bar-"+q:" ui-bar-inherit",s=this.options.corners||p.jqmData("corners")?" ui-corner-all":"",t=this.options.mini||p.jqmData("mini")?" ui-mini":"",u=p[0].nodeName.toLowerCase(),v="select"===u,w=p.parent().is(":jqmData(role='rangeslider')"),x=v?"ui-slider-switch":"",y=p.attr("id"),z=a("[for='"+y+"']"),A=z.attr("id")||y+"-label",B=v?0:parseFloat(p.attr("min")),C=v?p.find("option").length-1:parseFloat(p.attr("max")),D=b.parseFloat(p.attr("step")||1),E=c.createElement("a"),F=a(E),G=c.createElement("div"),H=a(G),I=this.options.highlight&&!v?function(){var b=c.createElement("div");return b.className="ui-slider-bg "+a.mobile.activeBtnClass,a(b).prependTo(H)}():!1;if(z.attr("id",A),this.isToggleSwitch=v,E.setAttribute("href","#"),G.setAttribute("role","application"),G.className=[this.isToggleSwitch?"ui-slider ui-slider-track ui-shadow-inset ":"ui-slider-track ui-shadow-inset ",x,r,s,t].join(""),E.className="ui-slider-handle",G.appendChild(E),F.attr({role:"slider","aria-valuemin":B,"aria-valuemax":C,"aria-valuenow":this._value(),"aria-valuetext":this._value(),title:this._value(),"aria-labelledby":A}),a.extend(this,{slider:H,handle:F,control:p,type:u,step:D,max:C,min:B,valuebg:I,isRangeslider:w,dragging:!1,beforeStart:null,userModified:!1,mouseMoved:!1}),v){for(k=p.attr("tabindex"),k&&F.attr("tabindex",k),p.attr("tabindex","-1").focus(function(){a(this).blur(),F.focus()}),f=c.createElement("div"),f.className="ui-slider-inneroffset",g=0,h=G.childNodes.length;h>g;g++)f.appendChild(G.childNodes[g]);for(G.appendChild(f),F.addClass("ui-slider-handle-snapping"),e=p.find("option"),i=0,j=e.length;j>i;i++)l=i?"a":"b",m=i?" "+a.mobile.activeBtnClass:"",n=c.createElement("span"),n.className=["ui-slider-label ui-slider-label-",l,m].join(""),n.setAttribute("role","img"),n.appendChild(c.createTextNode(e[i].innerHTML)),a(n).prependTo(H);o._labels=a(".ui-slider-label",H)}p.addClass(v?"ui-slider-switch":"ui-slider-input"),this._on(p,{change:"_controlChange",keyup:"_controlKeyup",blur:"_controlBlur",vmouseup:"_controlVMouseUp"}),H.bind("vmousedown",a.proxy(this._sliderVMouseDown,this)).bind("vclick",!1),this._on(c,{vmousemove:"_preventDocumentDrag"}),this._on(H.add(c),{vmouseup:"_sliderVMouseUp"}),H.insertAfter(p),v||w||(f=this.options.mini?"":"
",p.add(H).wrapAll(f)),this._on(this.handle,{vmousedown:"_handleVMouseDown",keydown:"_handleKeydown",keyup:"_handleKeyup"}),this.handle.bind("vclick",!1),this._handleFormReset(),this.refresh(d,d,!0)},_setOptions:function(a){a.theme!==d&&this._setTheme(a.theme),a.trackTheme!==d&&this._setTrackTheme(a.trackTheme),a.corners!==d&&this._setCorners(a.corners),a.mini!==d&&this._setMini(a.mini),a.highlight!==d&&this._setHighlight(a.highlight),a.disabled!==d&&this._setDisabled(a.disabled),this._super(a)},_controlChange:function(a){return this._trigger("controlchange",a)===!1?!1:void(this.mouseMoved||this.refresh(this._value(),!0))},_controlKeyup:function(){this.refresh(this._value(),!0,!0)},_controlBlur:function(){this.refresh(this._value(),!0)},_controlVMouseUp:function(){this._checkedRefresh()},_handleVMouseDown:function(){this.handle.focus()},_handleKeydown:function(b){var c=this._value();if(!this.options.disabled){switch(b.keyCode){case a.mobile.keyCode.HOME:case a.mobile.keyCode.END:case a.mobile.keyCode.PAGE_UP:case a.mobile.keyCode.PAGE_DOWN:case a.mobile.keyCode.UP:case a.mobile.keyCode.RIGHT:case a.mobile.keyCode.DOWN:case a.mobile.keyCode.LEFT:b.preventDefault(),this._keySliding||(this._keySliding=!0,this.handle.addClass("ui-state-active"))}switch(b.keyCode){case a.mobile.keyCode.HOME:this.refresh(this.min);break;case a.mobile.keyCode.END:this.refresh(this.max);break;case a.mobile.keyCode.PAGE_UP:case a.mobile.keyCode.UP:case a.mobile.keyCode.RIGHT:this.refresh(c+this.step);break;case a.mobile.keyCode.PAGE_DOWN:case a.mobile.keyCode.DOWN:case a.mobile.keyCode.LEFT:this.refresh(c-this.step)}}},_handleKeyup:function(){this._keySliding&&(this._keySliding=!1,this.handle.removeClass("ui-state-active"))},_sliderVMouseDown:function(a){return this.options.disabled||1!==a.which&&0!==a.which&&a.which!==d?!1:this._trigger("beforestart",a)===!1?!1:(this.dragging=!0,this.userModified=!1,this.mouseMoved=!1,this.isToggleSwitch&&(this.beforeStart=this.element[0].selectedIndex),this.refresh(a),this._trigger("start"),!1)},_sliderVMouseUp:function(){return this.dragging?(this.dragging=!1,this.isToggleSwitch&&(this.handle.addClass("ui-slider-handle-snapping"),this.refresh(this.mouseMoved?this.userModified?0===this.beforeStart?1:0:this.beforeStart:0===this.beforeStart?1:0)),this.mouseMoved=!1,this._trigger("stop"),!1):void 0},_preventDocumentDrag:function(a){return this._trigger("drag",a)===!1?!1:this.dragging&&!this.options.disabled?(this.mouseMoved=!0,this.isToggleSwitch&&this.handle.removeClass("ui-slider-handle-snapping"),this.refresh(a),this.userModified=this.beforeStart!==this.element[0].selectedIndex,!1):void 0},_checkedRefresh:function(){this.value!==this._value()&&this.refresh(this._value())},_value:function(){return this.isToggleSwitch?this.element[0].selectedIndex:parseFloat(this.element.val())},_reset:function(){this.refresh(d,!1,!0)},refresh:function(b,d,e){var f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z=this,A=a.mobile.getAttribute(this.element[0],"theme"),B=this.options.theme||A,C=B?" ui-btn-"+B:"",D=this.options.trackTheme||A,E=D?" ui-bar-"+D:" ui-bar-inherit",F=this.options.corners?" ui-corner-all":"",G=this.options.mini?" ui-mini":"";if(z.slider[0].className=[this.isToggleSwitch?"ui-slider ui-slider-switch ui-slider-track ui-shadow-inset":"ui-slider-track ui-shadow-inset",E,F,G].join(""),(this.options.disabled||this.element.prop("disabled"))&&this.disable(),this.value=this._value(),this.options.highlight&&!this.isToggleSwitch&&0===this.slider.find(".ui-slider-bg").length&&(this.valuebg=function(){var b=c.createElement("div");return b.className="ui-slider-bg "+a.mobile.activeBtnClass,a(b).prependTo(z.slider)}()),this.handle.addClass("ui-btn"+C+" ui-shadow"),l=this.element,m=!this.isToggleSwitch,n=m?[]:l.find("option"),o=m?parseFloat(l.attr("min")):0,p=m?parseFloat(l.attr("max")):n.length-1,q=m&&parseFloat(l.attr("step"))>0?parseFloat(l.attr("step")):1,"object"==typeof b){if(h=b,i=8,f=this.slider.offset().left,g=this.slider.width(),j=g/((p-o)/q),!this.dragging||h.pageX
f+g+i)return;k=j>1?(h.pageX-f)/g*100:Math.round((h.pageX-f)/g*100)}else null==b&&(b=m?parseFloat(l.val()||0):l[0].selectedIndex),k=(parseFloat(b)-o)/(p-o)*100;if(!isNaN(k)&&(r=k/100*(p-o)+o,s=(r-o)%q,t=r-s,2*Math.abs(s)>=q&&(t+=s>0?q:-q),u=100/((p-o)/q),r=parseFloat(t.toFixed(5)),"undefined"==typeof j&&(j=g/((p-o)/q)),j>1&&m&&(k=(r-o)*u*(1/q)),0>k&&(k=0),k>100&&(k=100),o>r&&(r=o),r>p&&(r=p),this.handle.css("left",k+"%"),this.handle[0].setAttribute("aria-valuenow",m?r:n.eq(r).attr("value")),this.handle[0].setAttribute("aria-valuetext",m?r:n.eq(r).getEncodedText()),this.handle[0].setAttribute("title",m?r:n.eq(r).getEncodedText()),this.valuebg&&this.valuebg.css("width",k+"%"),this._labels&&(v=this.handle.width()/this.slider.width()*100,w=k&&v+(100-v)*k/100,x=100===k?0:Math.min(v+100-w,100),this._labels.each(function(){var b=a(this).hasClass("ui-slider-label-a");a(this).width((b?w:x)+"%")})),!e)){if(y=!1,m?(y=parseFloat(l.val())!==r,l.val(r)):(y=l[0].selectedIndex!==r,l[0].selectedIndex=r),this._trigger("beforechange",b)===!1)return!1;!d&&y&&l.trigger("change")}},_setHighlight:function(a){a=!!a,a?(this.options.highlight=!!a,this.refresh()):this.valuebg&&(this.valuebg.remove(),this.valuebg=!1)},_setTheme:function(a){this.handle.removeClass("ui-btn-"+this.options.theme).addClass("ui-btn-"+a);var b=this.options.theme?this.options.theme:"inherit",c=a?a:"inherit";this.control.removeClass("ui-body-"+b).addClass("ui-body-"+c)},_setTrackTheme:function(a){var b=this.options.trackTheme?this.options.trackTheme:"inherit",c=a?a:"inherit";this.slider.removeClass("ui-body-"+b).addClass("ui-body-"+c)},_setMini:function(a){a=!!a,this.isToggleSwitch||this.isRangeslider||(this.slider.parent().toggleClass("ui-mini",a),this.element.toggleClass("ui-mini",a)),this.slider.toggleClass("ui-mini",a)},_setCorners:function(a){this.slider.toggleClass("ui-corner-all",a),this.isToggleSwitch||this.control.toggleClass("ui-corner-all",a)},_setDisabled:function(a){a=!!a,this.element.prop("disabled",a),this.slider.toggleClass("ui-state-disabled",a).attr("aria-disabled",a),this.element.toggleClass("ui-state-disabled",a)}},a.mobile.behaviors.formReset))}(a),function(a){function b(){return c||(c=a("
",{"class":"ui-slider-popup ui-shadow ui-corner-all"})),c.clone()}var c;a.widget("mobile.slider",a.mobile.slider,{options:{popupEnabled:!1,showValue:!1},_create:function(){this._super(),a.extend(this,{_currentValue:null,_popup:null,_popupVisible:!1}),this._setOption("popupEnabled",this.options.popupEnabled),this._on(this.handle,{vmousedown:"_showPopup"}),this._on(this.slider.add(this.document),{vmouseup:"_hidePopup"}),this._refresh()},_positionPopup:function(){var a=this.handle.offset();this._popup.offset({left:a.left+(this.handle.width()-this._popup.width())/2,top:a.top-this._popup.outerHeight()-5})},_setOption:function(a,c){this._super(a,c),"showValue"===a?this.handle.html(c&&!this.options.mini?this._value():""):"popupEnabled"===a&&c&&!this._popup&&(this._popup=b().addClass("ui-body-"+(this.options.theme||"a")).hide().insertBefore(this.element))},refresh:function(){this._super.apply(this,arguments),this._refresh()},_refresh:function(){var a,b=this.options;b.popupEnabled&&this.handle.removeAttr("title"),a=this._value(),a!==this._currentValue&&(this._currentValue=a,b.popupEnabled&&this._popup&&(this._positionPopup(),this._popup.html(a)),b.showValue&&!this.options.mini&&this.handle.html(a))},_showPopup:function(){this.options.popupEnabled&&!this._popupVisible&&(this.handle.html(""),this._popup.show(),this._positionPopup(),this._popupVisible=!0)},_hidePopup:function(){var a=this.options;a.popupEnabled&&this._popupVisible&&(a.showValue&&!a.mini&&this.handle.html(this._value()),this._popup.hide(),this._popupVisible=!1)}})}(a),function(a,b){a.widget("mobile.flipswitch",a.extend({options:{onText:"On",offText:"Off",theme:null,enhanced:!1,wrapperClass:null,corners:!0,mini:!1},_create:function(){this.options.enhanced?a.extend(this,{flipswitch:this.element.parent(),on:this.element.find(".ui-flipswitch-on").eq(0),off:this.element.find(".ui-flipswitch-off").eq(0),type:this.element.get(0).tagName}):this._enhance(),this._handleFormReset(),this._originalTabIndex=this.element.attr("tabindex"),null!=this._originalTabIndex&&this.on.attr("tabindex",this._originalTabIndex),this.element.attr("tabindex","-1"),this._on({focus:"_handleInputFocus"}),this.element.is(":disabled")&&this._setOptions({disabled:!0}),this._on(this.flipswitch,{click:"_toggle",swipeleft:"_left",swiperight:"_right"}),this._on(this.on,{keydown:"_keydown"}),this._on({change:"refresh"})},_handleInputFocus:function(){this.on.focus()},widget:function(){return this.flipswitch},_left:function(){this.flipswitch.removeClass("ui-flipswitch-active"),"SELECT"===this.type?this.element.get(0).selectedIndex=0:this.element.prop("checked",!1),this.element.trigger("change")},_right:function(){this.flipswitch.addClass("ui-flipswitch-active"),"SELECT"===this.type?this.element.get(0).selectedIndex=1:this.element.prop("checked",!0),this.element.trigger("change")},_enhance:function(){var b=a(""),c=this.options,d=this.element,e=c.theme?c.theme:"inherit",f=a("
",{href:"#"}),g=a("
"),h=d.get(0).tagName,i="INPUT"===h?c.onText:d.find("option").eq(1).text(),j="INPUT"===h?c.offText:d.find("option").eq(0).text();f.addClass("ui-flipswitch-on ui-btn ui-shadow ui-btn-inherit").text(i),g.addClass("ui-flipswitch-off").text(j),b.addClass("ui-flipswitch ui-shadow-inset ui-bar-"+e+" "+(c.wrapperClass?c.wrapperClass:"")+" "+(d.is(":checked")||d.find("option").eq(1).is(":selected")?"ui-flipswitch-active":"")+(d.is(":disabled")?" ui-state-disabled":"")+(c.corners?" ui-corner-all":"")+(c.mini?" ui-mini":"")).append(f,g),d.addClass("ui-flipswitch-input").after(b).appendTo(b),a.extend(this,{flipswitch:b,on:f,off:g,type:h})},_reset:function(){this.refresh()},refresh:function(){var a,b=this.flipswitch.hasClass("ui-flipswitch-active")?"_right":"_left";a="SELECT"===this.type?this.element.get(0).selectedIndex>0?"_right":"_left":this.element.prop("checked")?"_right":"_left",a!==b&&this[a]()},_toggle:function(){var a=this.flipswitch.hasClass("ui-flipswitch-active")?"_left":"_right";this[a]()},_keydown:function(b){b.which===a.mobile.keyCode.LEFT?this._left():b.which===a.mobile.keyCode.RIGHT?this._right():b.which===a.mobile.keyCode.SPACE&&(this._toggle(),b.preventDefault())},_setOptions:function(a){if(a.theme!==b){var c=a.theme?a.theme:"inherit",d=a.theme?a.theme:"inherit";this.widget().removeClass("ui-bar-"+c).addClass("ui-bar-"+d)}a.onText!==b&&this.on.text(a.onText),a.offText!==b&&this.off.text(a.offText),a.disabled!==b&&this.widget().toggleClass("ui-state-disabled",a.disabled),a.mini!==b&&this.widget().toggleClass("ui-mini",a.mini),a.corners!==b&&this.widget().toggleClass("ui-corner-all",a.corners),this._super(a)},_destroy:function(){this.options.enhanced||(null!=this._originalTabIndex?this.element.attr("tabindex",this._originalTabIndex):this.element.removeAttr("tabindex"),this.on.remove(),this.off.remove(),this.element.unwrap(),this.flipswitch.remove(),this.removeClass("ui-flipswitch-input"))}},a.mobile.behaviors.formReset))}(a),function(a,b){a.widget("mobile.rangeslider",a.extend({options:{theme:null,trackTheme:null,corners:!0,mini:!1,highlight:!0},_create:function(){var b=this.element,c=this.options.mini?"ui-rangeslider ui-mini":"ui-rangeslider",d=b.find("input").first(),e=b.find("input").last(),f=b.find("label").first(),g=a.data(d.get(0),"mobile-slider")||a.data(d.slider().get(0),"mobile-slider"),h=a.data(e.get(0),"mobile-slider")||a.data(e.slider().get(0),"mobile-slider"),i=g.slider,j=h.slider,k=g.handle,l=a("
").appendTo(b);d.addClass("ui-rangeslider-first"),e.addClass("ui-rangeslider-last"),b.addClass(c),i.appendTo(l),j.appendTo(l),f.insertBefore(b),k.prependTo(j),a.extend(this,{_inputFirst:d,_inputLast:e,_sliderFirst:i,_sliderLast:j,_label:f,_targetVal:null,_sliderTarget:!1,_sliders:l,_proxy:!1}),this.refresh(),this._on(this.element.find("input.ui-slider-input"),{slidebeforestart:"_slidebeforestart",slidestop:"_slidestop",slidedrag:"_slidedrag",slidebeforechange:"_change",blur:"_change",keyup:"_change"}),this._on({mousedown:"_change"}),this._on(this.element.closest("form"),{reset:"_handleReset"}),this._on(k,{vmousedown:"_dragFirstHandle"})},_handleReset:function(){var a=this;setTimeout(function(){a._updateHighlight()},0)},_dragFirstHandle:function(b){return a.data(this._inputFirst.get(0),"mobile-slider").dragging=!0,a.data(this._inputFirst.get(0),"mobile-slider").refresh(b),a.data(this._inputFirst.get(0),"mobile-slider")._trigger("start"),!1},_slidedrag:function(b){var c=a(b.target).is(this._inputFirst),d=c?this._inputLast:this._inputFirst;return this._sliderTarget=!1,"first"===this._proxy&&c||"last"===this._proxy&&!c?(a.data(d.get(0),"mobile-slider").dragging=!0,a.data(d.get(0),"mobile-slider").refresh(b),!1):void 0},_slidestop:function(b){var c=a(b.target).is(this._inputFirst);this._proxy=!1,this.element.find("input").trigger("vmouseup"),this._sliderFirst.css("z-index",c?1:"")},_slidebeforestart:function(b){this._sliderTarget=!1,a(b.originalEvent.target).hasClass("ui-slider-track")&&(this._sliderTarget=!0,this._targetVal=a(b.target).val())},_setOptions:function(a){a.theme!==b&&this._setTheme(a.theme),a.trackTheme!==b&&this._setTrackTheme(a.trackTheme),a.mini!==b&&this._setMini(a.mini),a.highlight!==b&&this._setHighlight(a.highlight),a.disabled!==b&&this._setDisabled(a.disabled),this._super(a),this.refresh()},refresh:function(){var a=this.element,b=this.options;(this._inputFirst.is(":disabled")||this._inputLast.is(":disabled"))&&(this.options.disabled=!0),a.find("input").slider({theme:b.theme,trackTheme:b.trackTheme,disabled:b.disabled,corners:b.corners,mini:b.mini,highlight:b.highlight}).slider("refresh"),this._updateHighlight()},_change:function(b){if("keyup"===b.type)return this._updateHighlight(),!1;var c=this,d=parseFloat(this._inputFirst.val(),10),e=parseFloat(this._inputLast.val(),10),f=a(b.target).hasClass("ui-rangeslider-first"),g=f?this._inputFirst:this._inputLast,h=f?this._inputLast:this._inputFirst;if(this._inputFirst.val()>this._inputLast.val()&&"mousedown"===b.type&&!a(b.target).hasClass("ui-slider-handle"))g.blur();else if("mousedown"===b.type)return;return d>e&&!this._sliderTarget?(g.val(f?e:d).slider("refresh"),this._trigger("normalize")):d>e&&(g.val(this._targetVal).slider("refresh"),setTimeout(function(){h.val(f?d:e).slider("refresh"),a.data(h.get(0),"mobile-slider").handle.focus(),c._sliderFirst.css("z-index",f?"":1),c._trigger("normalize")},0),this._proxy=f?"first":"last"),d===e?(a.data(g.get(0),"mobile-slider").handle.css("z-index",1),a.data(h.get(0),"mobile-slider").handle.css("z-index",0)):(a.data(h.get(0),"mobile-slider").handle.css("z-index",""),a.data(g.get(0),"mobile-slider").handle.css("z-index","")),this._updateHighlight(),d>=e?!1:void 0},_updateHighlight:function(){var b=parseInt(a.data(this._inputFirst.get(0),"mobile-slider").handle.get(0).style.left,10),c=parseInt(a.data(this._inputLast.get(0),"mobile-slider").handle.get(0).style.left,10),d=c-b;this.element.find(".ui-slider-bg").css({"margin-left":b+"%",width:d+"%"})},_setTheme:function(a){this._inputFirst.slider("option","theme",a),this._inputLast.slider("option","theme",a)},_setTrackTheme:function(a){this._inputFirst.slider("option","trackTheme",a),this._inputLast.slider("option","trackTheme",a)},_setMini:function(a){this._inputFirst.slider("option","mini",a),this._inputLast.slider("option","mini",a),this.element.toggleClass("ui-mini",!!a)},_setHighlight:function(a){this._inputFirst.slider("option","highlight",a),this._inputLast.slider("option","highlight",a)},_setDisabled:function(a){this._inputFirst.prop("disabled",a),this._inputLast.prop("disabled",a)},_destroy:function(){this._label.prependTo(this.element),this.element.removeClass("ui-rangeslider ui-mini"),this._inputFirst.after(this._sliderFirst),this._inputLast.after(this._sliderLast),this._sliders.remove(),this.element.find("input").removeClass("ui-rangeslider-first ui-rangeslider-last").slider("destroy")}},a.mobile.behaviors.formReset))}(a),function(a,b){a.widget("mobile.textinput",a.mobile.textinput,{options:{clearBtn:!1,clearBtnText:"Clear text"},_create:function(){this._super(),this.isSearch&&(this.options.clearBtn=!0),this.options.clearBtn&&this.inputNeedsWrap&&this._addClearBtn()},clearButton:function(){return a("
").attr("title",this.options.clearBtnText).text(this.options.clearBtnText)},_clearBtnClick:function(a){this.element.val("").focus().trigger("change"),this._clearBtn.addClass("ui-input-clear-hidden"),a.preventDefault()},_addClearBtn:function(){this.options.enhanced||this._enhanceClear(),a.extend(this,{_clearBtn:this.widget().find("a.ui-input-clear")}),this._bindClearEvents(),this._toggleClear()},_enhanceClear:function(){this.clearButton().appendTo(this.widget()),this.widget().addClass("ui-input-has-clear")},_bindClearEvents:function(){this._on(this._clearBtn,{click:"_clearBtnClick"}),this._on({keyup:"_toggleClear",change:"_toggleClear",input:"_toggleClear",focus:"_toggleClear",blur:"_toggleClear",cut:"_toggleClear",paste:"_toggleClear"})},_unbindClear:function(){this._off(this._clearBtn,"click"),this._off(this.element,"keyup change input focus blur cut paste")},_setOptions:function(a){this._super(a),a.clearBtn===b||this.element.is("textarea, :jqmData(type='range')")||(a.clearBtn?this._addClearBtn():this._destroyClear()),a.clearBtnText!==b&&this._clearBtn!==b&&this._clearBtn.text(a.clearBtnText).attr("title",a.clearBtnText)},_toggleClear:function(){this._delay("_toggleClearClass",0)},_toggleClearClass:function(){this._clearBtn.toggleClass("ui-input-clear-hidden",!this.element.val())},_destroyClear:function(){this.widget().removeClass("ui-input-has-clear"),this._unbindClear(),this._clearBtn.remove()},_destroy:function(){this._super(),this.options.clearBtn&&this._destroyClear()}})}(a),function(a,b){a.widget("mobile.textinput",a.mobile.textinput,{options:{autogrow:!0,keyupTimeoutBuffer:100},_create:function(){this._super(),this.options.autogrow&&this.isTextarea&&this._autogrow()},_autogrow:function(){this.element.addClass("ui-textinput-autogrow"),this._on({keyup:"_timeout",change:"_timeout",input:"_timeout",paste:"_timeout"}),this._on(!0,this.document,{pageshow:"_handleShow",popupbeforeposition:"_handleShow",updatelayout:"_handleShow",panelopen:"_handleShow"})},_handleShow:function(b){a.contains(b.target,this.element[0])&&this.element.is(":visible")&&("popupbeforeposition"!==b.type&&this.element.addClass("ui-textinput-autogrow-resize").animationComplete(a.proxy(function(){this.element.removeClass("ui-textinput-autogrow-resize")},this),"transition"),this._prepareHeightUpdate())},_unbindAutogrow:function(){this.element.removeClass("ui-textinput-autogrow"),this._off(this.element,"keyup change input paste"),this._off(this.document,"pageshow popupbeforeposition updatelayout panelopen")},keyupTimeout:null,_prepareHeightUpdate:function(a){this.keyupTimeout&&clearTimeout(this.keyupTimeout),a===b?this._updateHeight():this.keyupTimeout=this._delay("_updateHeight",a)},_timeout:function(){this._prepareHeightUpdate(this.options.keyupTimeoutBuffer)},_updateHeight:function(){var a,b,c,d,e,f,g,h,i,j=this.window.scrollTop();this.keyupTimeout=0,"onpage"in this.element[0]||this.element.css({height:0,"min-height":0,"max-height":0}),d=this.element[0].scrollHeight,e=this.element[0].clientHeight,f=parseFloat(this.element.css("border-top-width")),g=parseFloat(this.element.css("border-bottom-width")),h=f+g,i=d+h+15,0===e&&(a=parseFloat(this.element.css("padding-top")),b=parseFloat(this.element.css("padding-bottom")),c=a+b,i+=c),this.element.css({height:i,"min-height":"","max-height":""}),this.window.scrollTop(j)},refresh:function(){this.options.autogrow&&this.isTextarea&&this._updateHeight()},_setOptions:function(a){this._super(a),a.autogrow!==b&&this.isTextarea&&(a.autogrow?this._autogrow():this._unbindAutogrow())}})}(a),function(a){a.widget("mobile.selectmenu",a.extend({initSelector:"select:not( :jqmData(role='slider')):not( :jqmData(role='flipswitch') )",options:{theme:null,icon:"carat-d",iconpos:"right",inline:!1,corners:!0,shadow:!0,iconshadow:!1,overlayTheme:null,dividerTheme:null,hidePlaceholderMenuItems:!0,closeText:"Close",nativeMenu:!0,preventFocusZoom:/iPhone|iPad|iPod/.test(navigator.platform)&&navigator.userAgent.indexOf("AppleWebKit")>-1,mini:!1},_button:function(){return a("
")},_setDisabled:function(a){return this.element.attr("disabled",a),this.button.attr("aria-disabled",a),this._setOption("disabled",a)},_focusButton:function(){var a=this;setTimeout(function(){a.button.focus()},40)},_selectOptions:function(){return this.select.find("option")},_preExtension:function(){var b=this.options.inline||this.element.jqmData("inline"),c=this.options.mini||this.element.jqmData("mini"),d="";~this.element[0].className.indexOf("ui-btn-left")&&(d=" ui-btn-left"),~this.element[0].className.indexOf("ui-btn-right")&&(d=" ui-btn-right"),b&&(d+=" ui-btn-inline"),c&&(d+=" ui-mini"),this.select=this.element.removeClass("ui-btn-left ui-btn-right").wrap("
"),this.selectId=this.select.attr("id")||"select-"+this.uuid,this.buttonId=this.selectId+"-button",this.label=a("label[for='"+this.selectId+"']"),this.isMultiple=this.select[0].multiple},_destroy:function(){var a=this.element.parents(".ui-select");a.length>0&&(a.is(".ui-btn-left, .ui-btn-right")&&this.element.addClass(a.hasClass("ui-btn-left")?"ui-btn-left":"ui-btn-right"),this.element.insertAfter(a),a.remove())},_create:function(){this._preExtension(),this.button=this._button();var c=this,d=this.options,e=d.icon?d.iconpos||this.select.jqmData("iconpos"):!1,f=this.button.insertBefore(this.select).attr("id",this.buttonId).addClass("ui-btn"+(d.icon?" ui-icon-"+d.icon+" ui-btn-icon-"+e+(d.iconshadow?" ui-shadow-icon":""):"")+(d.theme?" ui-btn-"+d.theme:"")+(d.corners?" ui-corner-all":"")+(d.shadow?" ui-shadow":""));this.setButtonText(),d.nativeMenu&&b.opera&&b.opera.version&&f.addClass("ui-select-nativeonly"),this.isMultiple&&(this.buttonCount=a("
").addClass("ui-li-count ui-body-inherit").hide().appendTo(f.addClass("ui-li-has-count"))),(d.disabled||this.element.attr("disabled"))&&this.disable(),this.select.change(function(){c.refresh(),d.nativeMenu&&c._delay(function(){c.select.blur()})}),this._handleFormReset(),this._on(this.button,{keydown:"_handleKeydown"}),this.build()},build:function(){var b=this;this.select.appendTo(b.button).bind("vmousedown",function(){b.button.addClass(a.mobile.activeBtnClass)}).bind("focus",function(){b.button.addClass(a.mobile.focusClass)}).bind("blur",function(){b.button.removeClass(a.mobile.focusClass)}).bind("focus vmouseover",function(){b.button.trigger("vmouseover")}).bind("vmousemove",function(){b.button.removeClass(a.mobile.activeBtnClass)}).bind("change blur vmouseout",function(){b.button.trigger("vmouseout").removeClass(a.mobile.activeBtnClass)}),b.button.bind("vmousedown",function(){b.options.preventFocusZoom&&a.mobile.zoom.disable(!0)}),b.label.bind("click focus",function(){b.options.preventFocusZoom&&a.mobile.zoom.disable(!0)}),b.select.bind("focus",function(){b.options.preventFocusZoom&&a.mobile.zoom.disable(!0)}),b.button.bind("mouseup",function(){b.options.preventFocusZoom&&setTimeout(function(){a.mobile.zoom.enable(!0)},0)}),b.select.bind("blur",function(){b.options.preventFocusZoom&&a.mobile.zoom.enable(!0)})},selected:function(){return this._selectOptions().filter(":selected")},selectedIndices:function(){var a=this;return this.selected().map(function(){return a._selectOptions().index(this)}).get()},setButtonText:function(){var b=this,d=this.selected(),e=this.placeholder,f=a(c.createElement("span"));this.button.children("span").not(".ui-li-count").remove().end().end().prepend(function(){return e=d.length?d.map(function(){return a(this).text()}).get().join(", "):b.placeholder,e?f.text(e):f.html(" "),f.addClass(b.select.attr("class")).addClass(d.attr("class")).removeClass("ui-screen-hidden")}())},setButtonCount:function(){var a=this.selected();this.isMultiple&&this.buttonCount[a.length>1?"show":"hide"]().text(a.length)},_handleKeydown:function(){this._delay("_refreshButton")},_reset:function(){this.refresh()},_refreshButton:function(){this.setButtonText(),this.setButtonCount()},refresh:function(){this._refreshButton()},open:a.noop,close:a.noop,disable:function(){this._setDisabled(!0),this.button.addClass("ui-state-disabled")},enable:function(){this._setDisabled(!1),this.button.removeClass("ui-state-disabled")}},a.mobile.behaviors.formReset))}(a),function(a){a.mobile.links=function(b){a(b).find("a").jqmEnhanceable().filter(":jqmData(rel='popup')[href][href!='']").each(function(){var a=this,b=a.getAttribute("href").substring(1);b&&(a.setAttribute("aria-haspopup",!0),a.setAttribute("aria-owns",b),a.setAttribute("aria-expanded",!1))}).end().not(".ui-btn, :jqmData(role='none'), :jqmData(role='nojs')").addClass("ui-link")}}(a),function(a,c){function d(a,b,c,d){var e=d;return e=b>a?c+(a-b)/2:Math.min(Math.max(c,d-b/2),c+a-b)}function e(a){return{x:a.scrollLeft(),y:a.scrollTop(),cx:a[0].innerWidth||a.width(),cy:a[0].innerHeight||a.height()}}a.widget("mobile.popup",{options:{wrapperClass:null,theme:null,overlayTheme:null,shadow:!0,corners:!0,transition:"none",positionTo:"origin",tolerance:null,closeLinkSelector:"a:jqmData(rel='back')",closeLinkEvents:"click.popup",navigateEvents:"navigate.popup",closeEvents:"navigate.popup pagebeforechange.popup",dismissible:!0,enhanced:!1,history:!a.mobile.browser.oldIE},_handleDocumentVmousedown:function(b){this._isOpen&&a.contains(this._ui.container[0],b.target)&&this._ignoreResizeEvents()},_create:function(){var b=this.element,c=b.attr("id"),d=this.options;d.history=d.history&&a.mobile.ajaxEnabled&&a.mobile.hashListeningEnabled,this._on(this.document,{vmousedown:"_handleDocumentVmousedown"}),a.extend(this,{_scrollTop:0,_page:b.closest(".ui-page"),_ui:null,_fallbackTransition:"",_currentTransition:!1,_prerequisites:null,_isOpen:!1,_tolerance:null,_resizeData:null,_ignoreResizeTo:0,_orientationchangeInProgress:!1}),0===this._page.length&&(this._page=a("body")),d.enhanced?this._ui={container:b.parent(),screen:b.parent().prev(),placeholder:a(this.document[0].getElementById(c+"-placeholder"))}:(this._ui=this._enhance(b,c),this._applyTransition(d.transition)),this._setTolerance(d.tolerance)._ui.focusElement=this._ui.container,this._on(this._ui.screen,{vclick:"_eatEventAndClose"}),this._on(this.window,{orientationchange:a.proxy(this,"_handleWindowOrientationchange"),resize:a.proxy(this,"_handleWindowResize"),keyup:a.proxy(this,"_handleWindowKeyUp")}),this._on(this.document,{focusin:"_handleDocumentFocusIn"})},_enhance:function(b,c){var d=this.options,e=d.wrapperClass,f={screen:a(""),placeholder:a("
"),container:a("")},g=this.document[0].createDocumentFragment();return g.appendChild(f.screen[0]),g.appendChild(f.container[0]),c&&(f.screen.attr("id",c+"-screen"),f.container.attr("id",c+"-popup"),f.placeholder.attr("id",c+"-placeholder").html("")),this._page[0].appendChild(g),f.placeholder.insertAfter(b),b.detach().addClass("ui-popup "+this._themeClassFromOption("ui-body-",d.theme)+" "+(d.shadow?"ui-overlay-shadow ":"")+(d.corners?"ui-corner-all ":"")).appendTo(f.container),f},_eatEventAndClose:function(a){return a.preventDefault(),a.stopImmediatePropagation(),this.options.dismissible&&this.close(),!1},_resizeScreen:function(){var a=this._ui.screen,b=this._ui.container.outerHeight(!0),c=a.removeAttr("style").height(),d=this.document.height()-1;d>c?a.height(d):b>c&&a.height(b)},_handleWindowKeyUp:function(b){return this._isOpen&&b.keyCode===a.mobile.keyCode.ESCAPE?this._eatEventAndClose(b):void 0},_expectResizeEvent:function(){var a=e(this.window);
diff --git a/WebSCR/Setup.aspx b/WebSCR/Setup.aspx
new file mode 100644
index 0000000..73d89d7
--- /dev/null
+++ b/WebSCR/Setup.aspx
@@ -0,0 +1,33 @@
+<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="Setup.aspx.cs" Inherits="WebSCR.Setup" %>
+
+<%@ Register Src="~/WebUserControls/mod_elencoDisp.ascx" TagPrefix="uc1" TagName="mod_elencoDisp" %>
+<%@ Register Src="~/WebUserControls/mod_elencoSquadre.ascx" TagPrefix="uc1" TagName="mod_elencoSquadre" %>
+<%@ Register Src="~/WebUserControls/mod_elencoTipoInt.ascx" TagPrefix="uc1" TagName="mod_elencoTipoInt" %>
+<%@ Register Src="~/WebUserControls/mod_elencoZone.ascx" TagPrefix="uc1" TagName="mod_elencoZone" %>
+<%@ Register Src="~/WebUserControls/mod_listValues.ascx" TagPrefix="uc1" TagName="mod_listValues" %>
+<%@ Register Src="~/WebUserControls/mod_AssSquadra.ascx" TagPrefix="uc1" TagName="mod_AssSquadra" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebSCR/Setup.aspx.cs b/WebSCR/Setup.aspx.cs
new file mode 100644
index 0000000..b856eb4
--- /dev/null
+++ b/WebSCR/Setup.aspx.cs
@@ -0,0 +1,67 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace WebSCR
+{
+ public partial class Setup : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack)
+ {
+ showDetail("none");
+ }
+ }
+ ///
+ /// sistemazione visualizzaizone dettagli (moduli) secondo richiesta
+ ///
+ ///
+ private void showDetail(string dettaglio)
+ {
+ mod_AssSquadra.Visible = false;
+ mod_elencoDisp.Visible = false;
+ mod_elencoSquadre.Visible = false;
+ mod_elencoTipoInt.Visible = false;
+ mod_elencoZone.Visible = false;
+ mod_listValues.Visible = false;
+ switch (dettaglio)
+ {
+ case "calendario":
+ mod_elencoDisp.selezionaAttive();
+ mod_elencoDisp.Visible = true;
+ mod_elencoDisp.selezionaAttive();
+ break;
+ case "compSquadre":
+ mod_AssSquadra.Visible = true;
+ break;
+ case "squadre":
+ mod_elencoSquadre.Visible = true;
+ break;
+ case "tipoInt":
+ mod_elencoTipoInt.Visible = true;
+ break;
+ case "zone":
+ mod_elencoZone.Visible = true;
+ break;
+ case "listaVal":
+ mod_listValues.Visible = true;
+ break;
+ default:
+ break;
+ }
+ }
+ ///
+ /// seleziona e mostra corretto tipo di anagrafica
+ ///
+ ///
+ ///
+ protected void rblSelDetail_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ showDetail(((RadioButtonList)sender).SelectedValue);
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/Setup.aspx.designer.cs b/WebSCR/Setup.aspx.designer.cs
new file mode 100644
index 0000000..b7f5475
--- /dev/null
+++ b/WebSCR/Setup.aspx.designer.cs
@@ -0,0 +1,78 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR {
+
+
+ public partial class Setup {
+
+ ///
+ /// rblSelDetail control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.RadioButtonList rblSelDetail;
+
+ ///
+ /// mod_elencoTipoInt control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_elencoTipoInt mod_elencoTipoInt;
+
+ ///
+ /// mod_elencoZone control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_elencoZone mod_elencoZone;
+
+ ///
+ /// mod_elencoDisp control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_elencoDisp mod_elencoDisp;
+
+ ///
+ /// mod_elencoSquadre control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_elencoSquadre mod_elencoSquadre;
+
+ ///
+ /// mod_AssSquadra control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_AssSquadra mod_AssSquadra;
+
+ ///
+ /// mod_listValues control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_listValues mod_listValues;
+ }
+}
diff --git a/WebSCR/Squadra.aspx b/WebSCR/Squadra.aspx
new file mode 100644
index 0000000..109b1d9
--- /dev/null
+++ b/WebSCR/Squadra.aspx
@@ -0,0 +1,25 @@
+<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="Squadra.aspx.cs" Inherits="WebSCR.Squadra" %>
+
+<%@ Register Src="~/WebUserControls/mod_consegne.ascx" TagPrefix="uc1" TagName="mod_consegne" %>
+<%@ Register Src="~/WebUserControls/mod_dettInt.ascx" TagPrefix="uc1" TagName="mod_dettInt" %>
+<%@ Register Src="~/WebUserControls/mod_ImpegnoSmall.ascx" TagPrefix="uc1" TagName="mod_ImpegnoSmall" %>
+<%@ Register Src="~/WebUserControls/mod_gestIntSquadra.ascx" TagPrefix="uc1" TagName="mod_gestIntSquadra" %>
+<%@ Register Src="~/WebUserControls/mod_fileUpload.ascx" TagPrefix="uc1" TagName="mod_fileUpload" %>
+<%@ Register Src="~/WebUserControls/mod_selData.ascx" TagPrefix="uc1" TagName="mod_selData" %>
+
+
+
+
+
+
+
+
diff --git a/WebSCR/Squadra.aspx.cs b/WebSCR/Squadra.aspx.cs
new file mode 100644
index 0000000..51fd024
--- /dev/null
+++ b/WebSCR/Squadra.aspx.cs
@@ -0,0 +1,72 @@
+using SteamWare;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace WebSCR
+{
+ public partial class Squadra : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ fixVisibility();
+ mod_gestIntSquadra.eh_update += mod_gestIntSquadra_eh_update;
+ mod_selData.eh_update += Mod_selData_eh_update;
+ }
+
+ private void Mod_selData_eh_update(object sender, EventArgs e)
+ {
+ mod_consegne.DataBind();
+ mod_consegne.doUpdate();
+ }
+
+ ///
+ /// update gest squadra sul campo
+ ///
+ ///
+ ///
+ void mod_gestIntSquadra_eh_update(object sender, EventArgs e)
+ {
+ mod_dettInt.doUpdate();
+ mod_ImpegnoSmall.doUpdate();
+ }
+ ///
+ /// recupera valore querystring
+ ///
+ ///
+ ///
+ protected string qsVal(string nome)
+ {
+ return memLayer.ML.QSS(nome);
+ }
+ ///
+ /// imposta visibilità dato elementi già impostati
+ ///
+ private void fixVisibility()
+ {
+ mod_consegne.Visible = true;
+ mod_dettInt.Visible = false;
+ mod_ImpegnoSmall.Visible = false;
+ divFile.Visible = false;
+ mod_gestIntSquadra.Visible = false;
+ if (qsVal("Data") != "")
+ {
+ if (qsVal("IdxImpegno") != "")
+ {
+ mod_gestIntSquadra.Visible = true;
+ mod_ImpegnoSmall.Visible = true;
+ mod_dettInt.Visible = true;
+ divFile.Visible = true;
+ mod_consegne.Visible = false;
+ }
+ else
+ {
+ mod_consegne.Visible = true;
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/Squadra.aspx.designer.cs b/WebSCR/Squadra.aspx.designer.cs
new file mode 100644
index 0000000..f14b4f3
--- /dev/null
+++ b/WebSCR/Squadra.aspx.designer.cs
@@ -0,0 +1,78 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR {
+
+
+ public partial class Squadra {
+
+ ///
+ /// mod_selData control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_selData mod_selData;
+
+ ///
+ /// mod_consegne control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_consegne mod_consegne;
+
+ ///
+ /// mod_gestIntSquadra control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_gestIntSquadra mod_gestIntSquadra;
+
+ ///
+ /// mod_ImpegnoSmall control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_ImpegnoSmall mod_ImpegnoSmall;
+
+ ///
+ /// divFile control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlGenericControl divFile;
+
+ ///
+ /// mod_fileUpload control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_fileUpload mod_fileUpload;
+
+ ///
+ /// mod_dettInt control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_dettInt mod_dettInt;
+ }
+}
diff --git a/WebSCR/Test.html b/WebSCR/Test.html
new file mode 100644
index 0000000..9617fb7
--- /dev/null
+++ b/WebSCR/Test.html
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/WebSCR/Upload/Client.aspx b/WebSCR/Upload/Client.aspx
new file mode 100644
index 0000000..aec5d4f
--- /dev/null
+++ b/WebSCR/Upload/Client.aspx
@@ -0,0 +1,16 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Client.aspx.cs" Inherits="WebSCR.Upload.Client" %>
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebSCR/Upload/Client.aspx.cs b/WebSCR/Upload/Client.aspx.cs
new file mode 100644
index 0000000..475b277
--- /dev/null
+++ b/WebSCR/Upload/Client.aspx.cs
@@ -0,0 +1,124 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using SteamWare;
+using WebSCR_data;
+
+namespace WebSCR.Upload
+{
+ public partial class Client : System.Web.UI.Page
+ {
+ ///
+ /// recupera valore querystring
+ ///
+ ///
+ ///
+ protected string qsVal(string nome)
+ {
+ return memLayer.ML.QSS(nome);
+ }
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (memLayer.ML.CRI("_logLevel") > 5)
+ {
+ logger.lg.scriviLog("INIZIO esecuzione UPLOAD CLI");
+ }
+ string answ = "ND";
+ /*
+ * http://webscr.steamware.net/Rigamonti/Upload/Client?CodCliente=C0000&RagSoc=Cognome+Nome&CodFis=ABCDEFGH123456&Tel=035+0000000&Cell333+000000&EnableSMS=1&Email=email.address@dominio.it&Indir=via+dai+piedi&Cap=24999&Localita=Dalmine&Prov=BG&Note=note+se+presenti
+ */
+ // legge i get x processare dati input
+ string CodCliente = "";
+ string RagSoc = "";
+ string CodFis = "";
+ string Tel = "";
+ string Cell = "";
+ bool EnableSMS = false;
+ string Email = "";
+ string Indir = "";
+ string Cap = "";
+ string Localita = "";
+ string Prov = "";
+ string Note = "";
+ try
+ {
+ CodCliente = qsVal("CodCliente");
+ RagSoc = qsVal("RagSoc");
+ CodFis = qsVal("CodFis");
+ Tel = qsVal("Tel");
+ Cell = qsVal("Cell");
+ EnableSMS = memLayer.ML.QSB("EnableSMS");
+ Email = qsVal("Email");
+ Indir = qsVal("Indir");
+ Cap = qsVal("Cap");
+ Localita = qsVal("Localita");
+ Prov = qsVal("Prov");
+ Note = qsVal("Note");
+ if (memLayer.ML.CRI("_logLevel") > 6)
+ {
+ logger.lg.scriviLog(string.Format("Valori letti:{0}CodCliente: {1}{0}RagSoc: {2}{0}CodFis: {3}{0}Tel: {4}{0}Cell: {5}{0}EnableSMS: {6}{0}Email: {7}{0}Indir: {8}{0}Cap: {9}{0}Localita: {10}{0}Prov: {11}{0}Note: {12}", Environment.NewLine, CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Localita, Prov, Note), tipoLog.INFO);
+ }
+ }
+ catch
+ { }
+ // provo a fare insert!!!
+ if (CodCliente != null && RagSoc != null)
+ {
+ if (CodCliente != "" && RagSoc != "")
+ {
+ try
+ {
+ // ora processo UPSERT...
+ DtProxy.man.taAC.upsert(CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Localita, Prov, Note);
+ answ = "OK"; // registro in risposta che è andato tutto bene...
+ }
+ catch (Exception exc)
+ {
+ if (memLayer.ML.confReadInt("_logLevel") > 5)
+ {
+ string errore = string.Format("Errore: {0}{1}", Environment.NewLine, exc);
+ logger.lg.scriviLog(errore, tipoLog.EXCEPTION);
+ answ = errore;
+ }
+ }
+ }
+ else
+ {
+ // restituisco ultimo COD CLIENTE inserito
+ try
+ {
+ answ = DtProxy.man.taAC.getLast()[0].CodCliente;
+ }
+ catch
+ {
+ answ = "ko";
+ }
+ }
+ }
+ else
+ {
+ // restituisco ultimo COD CLIENTE inserito
+ try
+ {
+ answ = DtProxy.man.taAC.getLast()[0].CodCliente;
+ }
+ catch
+ {
+ answ = "ko";
+ }
+ }
+
+ // ripulisco pagina restituita e tolgo html (solo codice ok/NO)
+ Response.Clear();
+ Response.Write(answ);
+ if (memLayer.ML.CRI("_logLevel") > 5)
+ {
+ logger.lg.scriviLog(string.Format("FINE esecuzione UPLOAD CLI, CodCliente: {0}", CodCliente));
+ }
+ Context.Response.End();
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/Upload/Client.aspx.designer.cs b/WebSCR/Upload/Client.aspx.designer.cs
new file mode 100644
index 0000000..64ec5c0
--- /dev/null
+++ b/WebSCR/Upload/Client.aspx.designer.cs
@@ -0,0 +1,26 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.Upload
+{
+
+
+ public partial class Client
+ {
+
+ ///
+ /// form1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+ }
+}
diff --git a/WebSCR/Upload/Document.aspx b/WebSCR/Upload/Document.aspx
new file mode 100644
index 0000000..0a770b4
--- /dev/null
+++ b/WebSCR/Upload/Document.aspx
@@ -0,0 +1,16 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Document.aspx.cs" Inherits="WebSCR.Upload.Document" %>
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebSCR/Upload/Document.aspx.cs b/WebSCR/Upload/Document.aspx.cs
new file mode 100644
index 0000000..48f5859
--- /dev/null
+++ b/WebSCR/Upload/Document.aspx.cs
@@ -0,0 +1,144 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using SteamWare;
+using WebSCR_data;
+
+namespace WebSCR.Upload
+{
+ public partial class Document : System.Web.UI.Page
+ {
+ ///
+ /// recupera valore querystring
+ ///
+ ///
+ ///
+ protected string qsVal(string nome)
+ {
+ return memLayer.ML.QSS(nome);
+ }
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (memLayer.ML.CRI("_logLevel") > 5)
+ {
+ logger.lg.scriviLog("INIZIO esecuzione UPLOAD DOC");
+ }
+ string answ = "ND";
+ /*
+ * http://webscr.steamware.net/Rigamonti/Upload/Document?TIPOPROTOC=OC&NUMERO=000000&ESERPROTOC=2015&NUMEPROTOC=000000&DATAPROTOC=20150521&ESERRIFERI=&NUMERIFERI=&TIPORIFERI=&DATARIFERI=&NUMEDOCRIF=&DATADOCRIF=&ESERCOLLEG=&CLI_FOR=C000000&DESTINATAR=C000000&RGSOC_DEST=SE+CI+FOSSE&INDIR_DEST=OPZIONALE&LOCAL_DEST=OPZIONALE&CAP_DEST=OPZIONALE&ULT_AGG=20150521
+ */
+ // legge i get x processare dati input
+ string TIPOPROTOC = "";
+ string NUMERO = "";
+ string ESERPROTOC = "";
+ string NUMEPROTOC = "";
+ string DATAPROTOC = "";
+ string ESERRIFERI = "";
+ string NUMERIFERI = "";
+ string TIPORIFERI = "";
+ string DATARIFERI = "";
+ string NUMEDOCRIF = "";
+ string DATADOCRIF = "";
+ string ESERCOLLEG = "";
+ string CLI_FOR = "";
+ string DESTINATAR = "";
+ string RGSOC_DEST = "";
+ string INDIR_DEST = "";
+ string LOCAL_DEST = "";
+ string CAP_DEST = "";
+ string ULT_AGG = "";
+ string ANNOTAZION = "";
+ try
+ {
+ TIPOPROTOC = qsVal("TIPOPROTOC");
+ NUMERO = qsVal("NUMERO");
+ ESERPROTOC = qsVal("ESERPROTOC");
+ NUMEPROTOC = qsVal("NUMEPROTOC");
+ DATAPROTOC = qsVal("DATAPROTOC");
+ ESERRIFERI = qsVal("ESERRIFERI");
+ NUMERIFERI = qsVal("NUMERIFERI");
+ TIPORIFERI = qsVal("TIPORIFERI");
+ DATARIFERI = qsVal("DATARIFERI");
+ NUMEDOCRIF = qsVal("NUMEDOCRIF");
+ DATADOCRIF = qsVal("DATADOCRIF");
+ ESERCOLLEG = qsVal("ESERCOLLEG");
+ CLI_FOR = qsVal("CLI_FOR");
+ DESTINATAR = qsVal("DESTINATAR");
+ RGSOC_DEST = qsVal("RGSOC_DEST");
+ INDIR_DEST = qsVal("INDIR_DEST");
+ LOCAL_DEST = qsVal("LOCAL_DEST");
+ CAP_DEST = qsVal("CAP_DEST");
+ ULT_AGG = qsVal("ULT_AGG");
+ ANNOTAZION = qsVal("ANNOTAZION");
+ if (memLayer.ML.CRI("_logLevel") > 7)
+ {
+ logger.lg.scriviLog(string.Format("Valori letti:{0}TIPOPROTOC: {1}{0}NUMERO: {2}{0}ESERPROTOC: {3}{0}NUMEPROTOC: {4}{0}DATAPROTOC: {5}{0}ESERRIFERI: {6}{0}NUMERIFERI: {7}{0}TIPORIFERI: {8}{0}DATARIFERI: {9}{0}NUMEDOCRIF: {10}{0}DATADOCRIF: {11}{0}ESERCOLLEG: {12}{0}CLI_FOR: {12}{0}DESTINATAR: {12}{0}RGSOC_DEST: {12}{0}INDIR_DEST: {12}{0}LOCAL_DEST: {12}{0}CAP_DEST: {12}{0}ULT_AGG: {12}{0}ANNOTAZION: {13}", Environment.NewLine, TIPOPROTOC, NUMERO, ESERPROTOC, NUMEPROTOC, DATAPROTOC, ESERRIFERI, NUMERIFERI, TIPORIFERI, DATARIFERI, NUMEDOCRIF, DATADOCRIF, ESERCOLLEG, CLI_FOR, DESTINATAR, RGSOC_DEST, INDIR_DEST, LOCAL_DEST, CAP_DEST, ULT_AGG, ANNOTAZION), tipoLog.INFO);
+ }
+ }
+ catch
+ { }
+ // provo a fare insert!!!
+ if (TIPOPROTOC != null && NUMEPROTOC != null)
+ {
+ if (TIPOPROTOC != "" && NUMEPROTOC != "")
+ {
+ try
+ {
+ // ora processo UPSERT...
+ DtProxy.man.taDocs.upsert(TIPOPROTOC, NUMERO, ESERPROTOC, NUMEPROTOC, DATAPROTOC, ESERRIFERI, NUMERIFERI, TIPORIFERI, DATARIFERI, NUMEDOCRIF, DATADOCRIF, ESERCOLLEG, CLI_FOR, DESTINATAR, RGSOC_DEST, INDIR_DEST, LOCAL_DEST, CAP_DEST, ULT_AGG, ANNOTAZION);
+ answ = "OK"; // registro in risposta che è andato tutto bene...
+ if (memLayer.ML.CRI("_logLevel") > 6)
+ {
+ logger.lg.scriviLog("Completato merge documento");
+ }
+ }
+ catch (Exception exc)
+ {
+ string errore = string.Format("Errore: {0}{1}", Environment.NewLine, exc);
+ logger.lg.scriviLog(errore, tipoLog.EXCEPTION);
+ answ = errore;
+ }
+ }
+ else
+ {
+ // restituisco ultimo DOCUMENTO inserito
+ try
+ {
+ DS_Applicazione.DB2_DOCSRow riga = DtProxy.man.taDocs.getLast()[0];
+ //answ = string.Format("{0}{1}", riga.TIPOPROTOC, riga.NUMEPROTOC);
+ answ = string.Format("{0}", riga.NUMERO);
+ logger.lg.scriviLog(string.Format("Recuperato LAST DOC: {0}", answ));
+ }
+ catch
+ {
+ answ = "ko";
+ }
+ }
+ }
+ else
+ {
+ // restituisco ultimo COD CLIENTE inserito
+ try
+ {
+ answ = DtProxy.man.taDocs.getLast()[0].NUMERO;
+ }
+ catch
+ {
+ answ = "ko";
+ }
+ }
+
+ // ripulisco pagina restituita e tolgo html (solo codice ok/NO)
+ Response.Clear();
+ Response.Write(answ);
+ if (memLayer.ML.CRI("_logLevel") > 5)
+ {
+ logger.lg.scriviLog(string.Format("FINE esecuzione UPLOAD DOC, NUMERO: {0}", NUMERO));
+ }
+ Context.Response.End();
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/Upload/Document.aspx.designer.cs b/WebSCR/Upload/Document.aspx.designer.cs
new file mode 100644
index 0000000..3fbd281
--- /dev/null
+++ b/WebSCR/Upload/Document.aspx.designer.cs
@@ -0,0 +1,26 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.Upload
+{
+
+
+ public partial class Document
+ {
+
+ ///
+ /// form1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+ }
+}
diff --git a/WebSCR/Upload/PingPage.aspx b/WebSCR/Upload/PingPage.aspx
new file mode 100644
index 0000000..810b580
--- /dev/null
+++ b/WebSCR/Upload/PingPage.aspx
@@ -0,0 +1,16 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PingPage.aspx.cs" Inherits="WebSCR.Upload.PingPage" %>
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebSCR/Upload/PingPage.aspx.cs b/WebSCR/Upload/PingPage.aspx.cs
new file mode 100644
index 0000000..001f959
--- /dev/null
+++ b/WebSCR/Upload/PingPage.aspx.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace WebSCR.Upload
+{
+ public partial class PingPage : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ Response.Clear();
+ Response.Write("OK");
+ Context.Response.End();
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/Upload/PingPage.aspx.designer.cs b/WebSCR/Upload/PingPage.aspx.designer.cs
new file mode 100644
index 0000000..9a2e942
--- /dev/null
+++ b/WebSCR/Upload/PingPage.aspx.designer.cs
@@ -0,0 +1,26 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.Upload
+{
+
+
+ public partial class PingPage
+ {
+
+ ///
+ /// form1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+ }
+}
diff --git a/WebSCR/UserAdmin.aspx b/WebSCR/UserAdmin.aspx
new file mode 100644
index 0000000..0716c16
--- /dev/null
+++ b/WebSCR/UserAdmin.aspx
@@ -0,0 +1,24 @@
+<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="UserAdmin.aspx.cs" Inherits="WebSCR.UserAdmin" %>
+
+<%@ Register Src="WebUserControls/mod_enrollByEmail.ascx" TagName="mod_enrollByEmail" TagPrefix="uc2" %>
+
+<%@ Register Src="WebUserControls/mod_elencoRichResetUtenti.ascx" TagName="mod_elencoRichResetUtenti" TagPrefix="uc3" %>
+
+<%@ Register src="WebUserControls/mod_enrollByAuthKey.ascx" tagname="mod_enrollByAuthKey" tagprefix="uc4" %>
+
+
+
+
+
+
Gestione Accesso WebSCR
+ Attenzione, se non è possibile accedere all'applicazione prego richiedere autorizzazione all'amministratore.
+
+
+
+
+
+
+
Admin Task
+
+
+
diff --git a/WebSCR/UserAdmin.aspx.cs b/WebSCR/UserAdmin.aspx.cs
new file mode 100644
index 0000000..d40ed23
--- /dev/null
+++ b/WebSCR/UserAdmin.aspx.cs
@@ -0,0 +1,44 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using SteamWare;
+
+namespace WebSCR
+{
+ public partial class UserAdmin : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ // check visibilità controlli opzionali
+ checkVisibCtrl();
+ }
+
+ private void checkVisibCtrl()
+ {
+ // controllo se c'è chiamata x aggiungere device da authKey e mostro panel...
+ mod_enrollByAuthKey1.Visible = (Request.QueryString["addDeviceByKey"] == "lvabe");
+ // se è admin vede anche i controlli x abilitare richieste utenti & co...
+ divAdmin.Visible = userIsAdmin;
+ divUnauth.Visible=!userIsAdmin;
+ }
+
+ public bool userIsAdmin
+ {
+ get
+ {
+ bool answ = false;
+ try
+ {
+ answ = devicesAuthProxy.stObj.userHasRight("SuperAdmin");
+ }
+ catch
+ { }
+ return answ;
+ }
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/UserAdmin.aspx.designer.cs b/WebSCR/UserAdmin.aspx.designer.cs
new file mode 100644
index 0000000..554451a
--- /dev/null
+++ b/WebSCR/UserAdmin.aspx.designer.cs
@@ -0,0 +1,60 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR {
+
+
+ public partial class UserAdmin {
+
+ ///
+ /// divUnauth control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlGenericControl divUnauth;
+
+ ///
+ /// mod_enrollByAuthKey1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_enrollByAuthKey mod_enrollByAuthKey1;
+
+ ///
+ /// mod_enrollByEmail1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_enrollByEmail mod_enrollByEmail1;
+
+ ///
+ /// divAdmin control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlGenericControl divAdmin;
+
+ ///
+ /// mod_elencoRichResetUtenti1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_elencoRichResetUtenti mod_elencoRichResetUtenti1;
+ }
+}
diff --git a/WebSCR/Web.Debug.config b/WebSCR/Web.Debug.config
index 2e302f9..1ea23ef 100644
--- a/WebSCR/Web.Debug.config
+++ b/WebSCR/Web.Debug.config
@@ -11,7 +11,7 @@
+ xdt:Transform="SetAttributes" xdt:Locator="Match(name)" />
-->
@@ -23,7 +23,7 @@
-
+
-->
diff --git a/WebSCR/Web.Release.config b/WebSCR/Web.Release.config
index c358444..bf44e3e 100644
--- a/WebSCR/Web.Release.config
+++ b/WebSCR/Web.Release.config
@@ -11,7 +11,7 @@
+ xdt:Transform="SetAttributes" xdt:Locator="Match(name)" />
-->
@@ -24,7 +24,7 @@
-
+
-->
diff --git a/WebSCR/Web.WinLab.config b/WebSCR/Web.WinLab.config
new file mode 100644
index 0000000..31b4d64
--- /dev/null
+++ b/WebSCR/Web.WinLab.config
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WebSCR/Web.config b/WebSCR/Web.config
index ed9a46b..7fc5df6 100644
--- a/WebSCR/Web.config
+++ b/WebSCR/Web.config
@@ -8,8 +8,52 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
+
+
-
+
-
+
+
-
+
+
@@ -76,7 +133,7 @@
- -->
+ -->
@@ -88,7 +145,19 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebSCR/WebSC.csproj b/WebSCR/WebSCR.csproj
similarity index 54%
rename from WebSCR/WebSC.csproj
rename to WebSCR/WebSCR.csproj
index 41caed2..38e41aa 100644
--- a/WebSCR/WebSC.csproj
+++ b/WebSCR/WebSCR.csproj
@@ -20,7 +20,7 @@
- ..\packages\WebGrease.1.5.2\lib
+
true
@@ -42,8 +42,12 @@
false
-
- ..\packages\Antlr.3.4.1.9004\lib\Antlr3.Runtime.dll
+
+ ..\packages\Antlr.3.5.0.2\lib\Antlr3.Runtime.dll
+ True
+
+
+ ..\packages\DayPilot.5.0.302\lib\DayPilot.dll
True
@@ -62,16 +66,16 @@
..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll
True
-
- ..\packages\Newtonsoft.Json.5.0.4\lib\net45\Newtonsoft.Json.dll
+
+ ..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll
True
-
- ..\packages\NLog.3.2.0.0\lib\net35\NLog.dll
+
+ ..\packages\NLog.4.0.0\lib\net45\NLog.dll
True
-
- ..\packages\NLog.Web.1.0.8.0\lib\net35\NLog.Web.dll
+
+ ..\packages\NLog.Web.2.0.0.0\lib\net35\NLog.Web.dll
True
@@ -93,13 +97,14 @@
-
- ..\packages\WebGrease.1.5.2\lib\WebGrease.dll
+
+ ..\packages\WebGrease.1.6.0\lib\WebGrease.dll
True
+
@@ -317,22 +322,113 @@
+
+ Style.less
+
+
+ Style.css
+
+
+
+ WebSCR.less
+
+
+ WebSCR.css
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+ Always
+
+
+
+ Designer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+ Designer
+
+
+
+ Web.config
+ Designer
+
+
+ WebSC.cs
+
+
+
+ Clienti.aspx
+ ASPXCodeBehind
+
+
+ Clienti.aspx
+
ASPXCodeBehind
Default.aspx
@@ -340,7 +436,59 @@
Default.aspx
+
+ Interventi.aspx
+ ASPXCodeBehind
+
+
+ Interventi.aspx
+
+
+ Menu.aspx
+ ASPXCodeBehind
+
+
+ Menu.aspx
+
+
+ Pianificazione.aspx
+ ASPXCodeBehind
+
+
+ Pianificazione.aspx
+
+
+ Global.asax
+
+
+ JQMob.Master
+ ASPXCodeBehind
+
+
+ JQMob.Master
+
+
+ jumper.aspx
+ ASPXCodeBehind
+
+
+ jumper.aspx
+
+
+ NuovoImpegno.aspx
+ ASPXCodeBehind
+
+
+ NuovoImpegno.aspx
+
+
+ Setup.aspx
+ ASPXCodeBehind
+
+
+ Setup.aspx
+
Site.Mobile.Master
ASPXCodeBehind
@@ -348,6 +496,41 @@
Site.Mobile.Master
+
+ Squadra.aspx
+ ASPXCodeBehind
+
+
+ Squadra.aspx
+
+
+ Client.aspx
+ ASPXCodeBehind
+
+
+ Client.aspx
+
+
+ Document.aspx
+ ASPXCodeBehind
+
+
+ Document.aspx
+
+
+ PingPage.aspx
+ ASPXCodeBehind
+
+
+ PingPage.aspx
+
+
+ UserAdmin.aspx
+ ASPXCodeBehind
+
+
+ UserAdmin.aspx
+
ViewSwitcher.ascx
ASPXCodeBehind
@@ -355,24 +538,235 @@
ViewSwitcher.ascx
+
+ mod_AssSquadra.ascx
+ ASPXCodeBehind
+
+
+ mod_AssSquadra.ascx
+
+
+ mod_compSquadra.ascx
+ ASPXCodeBehind
+
+
+ mod_compSquadra.ascx
+
+
+ mod_consegne.ascx
+ ASPXCodeBehind
+
+
+ mod_consegne.ascx
+
+
+ mod_dettInt.ascx
+ ASPXCodeBehind
+
+
+ mod_dettInt.ascx
+
+
+ mod_dispPeriodo.ascx
+ ASPXCodeBehind
+
+
+ mod_dispPeriodo.ascx
+
+
+ mod_DocIntCli.ascx
+ ASPXCodeBehind
+
+
+ mod_DocIntCli.ascx
+
+
+ mod_elencoClienti.ascx
+ ASPXCodeBehind
+
+
+ mod_elencoClienti.ascx
+
+
+ mod_elencoDisp.ascx
+ ASPXCodeBehind
+
+
+ mod_elencoDisp.ascx
+
+
+ mod_elencoRichResetUtenti.ascx
+ ASPXCodeBehind
+
+
+ mod_elencoRichResetUtenti.ascx
+
+
+ mod_elencoSquadre.ascx
+ ASPXCodeBehind
+
+
+ mod_elencoSquadre.ascx
+
+
+ mod_elencoTipoInt.ascx
+ ASPXCodeBehind
+
+
+ mod_elencoTipoInt.ascx
+
+
+ mod_elencoZone.ascx
+ ASPXCodeBehind
+
+
+ mod_elencoZone.ascx
+
+
+ mod_enrollByAuthKey.ascx
+ ASPXCodeBehind
+
+
+ mod_enrollByAuthKey.ascx
+
+
+ mod_enrollByEmail.ascx
+ ASPXCodeBehind
+
+
+ mod_enrollByEmail.ascx
+
+
+ mod_enrollByJumperAuthKey.ascx
+ ASPXCodeBehind
+
+
+ mod_enrollByJumperAuthKey.ascx
+
+
+ mod_fileImpegno.ascx
+ ASPXCodeBehind
+
+
+ mod_fileImpegno.ascx
+
+
+ mod_fileUpload.ascx
+ ASPXCodeBehind
+
+
+ mod_fileUpload.ascx
+
+
+ mod_filtroPeriodo.ascx
+ ASPXCodeBehind
+
+
+ mod_filtroPeriodo.ascx
+
+
+ mod_filtroZona.ascx
+ ASPXCodeBehind
+
+
+ mod_filtroZona.ascx
+
+
+ mod_footer.ascx
+ ASPXCodeBehind
+
+
+ mod_footer.ascx
+
+
+ mod_gestIntSquadra.ascx
+ ASPXCodeBehind
+
+
+ mod_gestIntSquadra.ascx
+
+
+ mod_giornata.ascx
+ ASPXCodeBehind
+
+
+ mod_giornata.ascx
+
+
+ mod_header.ascx
+ ASPXCodeBehind
+
+
+ mod_header.ascx
+
+
+ mod_impegno.ascx
+ ASPXCodeBehind
+
+
+ mod_impegno.ascx
+
+
+ mod_ImpegnoSmall.ascx
+ ASPXCodeBehind
+
+
+ mod_ImpegnoSmall.ascx
+
+
+ mod_Interventi.ascx
+ ASPXCodeBehind
+
+
+ mod_Interventi.ascx
+
+
+ mod_listValues.ascx
+ ASPXCodeBehind
+
+
+ mod_listValues.ascx
+
+
+ mod_pianificazione.ascx
+ ASPXCodeBehind
+
+
+ mod_pianificazione.ascx
+
+
+ mod_selData.ascx
+ ASPXCodeBehind
+
+
+ mod_selData.ascx
+
+
+ mod_selSquadre.ascx
+ ASPXCodeBehind
+
+
+ mod_selSquadre.ascx
+
+
+ mod_squadre.ascx
+ ASPXCodeBehind
+
+
+ mod_squadre.ascx
+
+
-
- Always
-
-
- Designer
-
-
Web.config
@@ -386,11 +780,24 @@
{2872dcfe-8b46-43b2-baa0-842a816a2dd5}
SteamWare
+
+ {d2ed1b6f-171d-4a7f-b0d5-87942451b79d}
+ WebSCR_data
+
10.0
$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
+
+ bin\
+ TRACE
+ true
+ pdbonly
+ AnyCPU
+ prompt
+ MinimumRecommendedRules.ruleset
+
diff --git a/WebSCR/WebSCR.csproj.user b/WebSCR/WebSCR.csproj.user
new file mode 100644
index 0000000..3b3a0e7
--- /dev/null
+++ b/WebSCR/WebSCR.csproj.user
@@ -0,0 +1,32 @@
+
+
+
+ WinLab-Rigamonti
+ ShowAllFiles
+
+
+
+
+
+
+
+ CurrentPage
+ True
+ False
+ False
+ False
+
+
+
+
+
+
+
+
+ False
+ True
+
+
+
+
+
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_AssSquadra.ascx b/WebSCR/WebUserControls/mod_AssSquadra.ascx
new file mode 100644
index 0000000..df390c5
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_AssSquadra.ascx
@@ -0,0 +1,67 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_AssSquadra.ascx.cs" Inherits="WebSCR.WebUserControls.mod_AssSquadra" %>
+<%@ Register Src="~/WebUserControls/mod_selData.ascx" TagPrefix="uc1" TagName="mod_selData" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Nessun componente squadra assegnato
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebSCR/WebUserControls/mod_AssSquadra.ascx.cs b/WebSCR/WebUserControls/mod_AssSquadra.ascx.cs
new file mode 100644
index 0000000..4dda6ae
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_AssSquadra.ascx.cs
@@ -0,0 +1,70 @@
+using SteamWare;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using WebSCR_data;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_AssSquadra : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack)
+ {
+ reloadSessionByCookie();
+ }
+ mod_selData.eh_update += Mod_selData_eh_update;
+ }
+ ///
+ /// rilegge (eventualmente90 dati ins essione da cookie se non presenti
+ ///
+ private static void reloadSessionByCookie()
+ {
+ // se valore in session è nullo PROVO a leggerlo da cookie...
+ DateTime adesso = DateTime.Now;
+ if (!memLayer.ML.isInSessionObject("DataRif"))
+ {
+ try
+ {
+ adesso = Convert.ToDateTime(memLayer.ML.getCookieVal("DataRif"));
+ }
+ catch
+ { }
+ memLayer.ML.setSessionVal("DataRif", adesso.ToString("yyyy-MM-dd"), true);
+ }
+ }
+ private void Mod_selData_eh_update(object sender, EventArgs e)
+ {
+ reloadSessionByCookie();
+ try
+ {
+ grView.DataBind();
+ }
+ catch
+ { }
+ }
+ ///
+ /// inserimento associazione user/squadra
+ ///
+ ///
+ ///
+ protected void btnDoInsert_Click(object sender, EventArgs e)
+ {
+ DtProxy.man.taAsSq.insertQuery(ddlSquadre.SelectedValue, mod_selData.dateSel, ddlDip.SelectedValue);
+ grView.DataBind();
+ }
+
+ protected void ddlSquadre_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ grView.DataBind();
+ }
+
+ protected void ddlDip_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_AssSquadra.ascx.designer.cs b/WebSCR/WebUserControls/mod_AssSquadra.ascx.designer.cs
new file mode 100644
index 0000000..e916202
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_AssSquadra.ascx.designer.cs
@@ -0,0 +1,87 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_AssSquadra {
+
+ ///
+ /// ddlSquadre control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.DropDownList ddlSquadre;
+
+ ///
+ /// odsSquadre control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource odsSquadre;
+
+ ///
+ /// mod_selData control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_selData mod_selData;
+
+ ///
+ /// ddlDip control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.DropDownList ddlDip;
+
+ ///
+ /// odsDip control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource odsDip;
+
+ ///
+ /// btnDoInsert control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.LinkButton btnDoInsert;
+
+ ///
+ /// grView control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView grView;
+
+ ///
+ /// ods control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource ods;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_DocIntCli.ascx b/WebSCR/WebUserControls/mod_DocIntCli.ascx
new file mode 100644
index 0000000..4b85ae0
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_DocIntCli.ascx
@@ -0,0 +1,138 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_DocIntCli.ascx.cs" Inherits="WebSCR.WebUserControls.mod_DocIntCli" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Nessun risultato
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Nessun risultato
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebSCR/WebUserControls/mod_DocIntCli.ascx.cs b/WebSCR/WebUserControls/mod_DocIntCli.ascx.cs
new file mode 100644
index 0000000..bcdcbc3
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_DocIntCli.ascx.cs
@@ -0,0 +1,87 @@
+using SteamWare;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using WebSCR_data;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_DocIntCli : System.Web.UI.UserControl
+ {
+ public event EventHandler eh_return;
+ ///
+ /// solleva evento selezione data
+ ///
+ protected void reportEvent()
+ {
+ // evento!
+ if (eh_return != null)
+ {
+ eh_return(this, new EventArgs());
+ }
+ }
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void btnChiudi_Click(object sender, EventArgs e)
+ {
+ reportEvent();
+ }
+ ///
+ /// ultimo comando letto da link button
+ ///
+ public string lastCmd { get; set; }
+ ///
+ /// evento selezione paziente...
+ ///
+ ///
+ ///
+ protected void grView_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ // recupero dati paziente...
+ int IdxImpegno = 0;
+ DS_Applicazione.ImpegniRow riga;// = DtProxy.man.taImp.GetData()[0];
+ try
+ {
+ IdxImpegno = Convert.ToInt32(grView.SelectedDataKey["IdxImpegno"]);
+ memLayer.ML.setSessionVal("IdxImpegno", IdxImpegno);
+ riga = DtProxy.man.taImp.getByKey(IdxImpegno)[0];
+ memLayer.ML.setSessionVal("Cliente", string.Format("{0}", riga.RagSoc));
+ memLayer.ML.setSessionVal("CodCliente", riga.CodCliente);
+ }
+ catch (Exception exc)
+ {
+ logger.lg.scriviLog(string.Format("Errore in rimando clienti --> interventi: {0}{1}", Environment.NewLine, exc));
+ riga = DtProxy.man.taImp.GetData()[0];
+ }
+ // rimando su pagina!
+ Response.Redirect(string.Format("{0}?CodCliente={1}&Indir={2}&Data={3:yyyy-MM-dd}&IdxImpegno={4}", "Pianificazione", riga.CodCliente, riga.Indir, riga.DataOra, IdxImpegno));
+ }
+ protected void grView_RowCommand(object sender, GridViewCommandEventArgs e)
+ {
+ // salvo il command argument...
+ lastCmd = e.CommandArgument.ToString();
+ }
+ ///
+ /// verifica se valore passato è NON NULLO
+ ///
+ ///
+ ///
+ public bool notNull(object dataInizio)
+ {
+ bool answ = false;
+ try
+ {
+ answ = dataInizio.ToString() != "";
+ }
+ catch
+ { }
+ return answ;
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_DocIntCli.ascx.designer.cs b/WebSCR/WebUserControls/mod_DocIntCli.ascx.designer.cs
new file mode 100644
index 0000000..1ab80fe
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_DocIntCli.ascx.designer.cs
@@ -0,0 +1,60 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_DocIntCli {
+
+ ///
+ /// btnChiudi control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btnChiudi;
+
+ ///
+ /// grViewDoc control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView grViewDoc;
+
+ ///
+ /// odsDoc control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource odsDoc;
+
+ ///
+ /// grView control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView grView;
+
+ ///
+ /// ods control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource ods;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_ImpegnoSmall.ascx b/WebSCR/WebUserControls/mod_ImpegnoSmall.ascx
new file mode 100644
index 0000000..a1ed117
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_ImpegnoSmall.ascx
@@ -0,0 +1,54 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_ImpegnoSmall.ascx.cs" Inherits="WebSCR.WebUserControls.mod_ImpegnoSmall" %>
+
+
diff --git a/WebSCR/WebUserControls/mod_ImpegnoSmall.ascx.cs b/WebSCR/WebUserControls/mod_ImpegnoSmall.ascx.cs
new file mode 100644
index 0000000..22f9c9a
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_ImpegnoSmall.ascx.cs
@@ -0,0 +1,40 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_ImpegnoSmall : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ ///
+ /// verifica se valore passato è NON NULLO
+ ///
+ ///
+ ///
+ public bool notNull(object dataInizio)
+ {
+ bool answ = false;
+ try
+ {
+ answ = dataInizio.ToString() != "";
+ }
+ catch
+ { }
+ return answ;
+ }
+ ///
+ /// effettua update
+ ///
+ public void doUpdate()
+ {
+ frmViewImpegni.DataBind();
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_ImpegnoSmall.ascx.designer.cs b/WebSCR/WebUserControls/mod_ImpegnoSmall.ascx.designer.cs
new file mode 100644
index 0000000..875ae31
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_ImpegnoSmall.ascx.designer.cs
@@ -0,0 +1,33 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_ImpegnoSmall {
+
+ ///
+ /// frmViewImpegni control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.FormView frmViewImpegni;
+
+ ///
+ /// odsImpegni control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource odsImpegni;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_Interventi.ascx b/WebSCR/WebUserControls/mod_Interventi.ascx
new file mode 100644
index 0000000..f942bb6
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_Interventi.ascx
@@ -0,0 +1,203 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_Interventi.ascx.cs" Inherits="WebSCR.WebUserControls.mod_Interventi" %>
+<%@ Register Src="~/WebUserControls/mod_selSquadre.ascx" TagPrefix="uc1" TagName="mod_selSquadre" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Nessun risultato
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <%--
+
+
+ --%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebSCR/WebUserControls/mod_Interventi.ascx.cs b/WebSCR/WebUserControls/mod_Interventi.ascx.cs
new file mode 100644
index 0000000..ce16b6c
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_Interventi.ascx.cs
@@ -0,0 +1,204 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using SteamWare;
+using WebSCR_data;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_Interventi : System.Web.UI.UserControl
+ {
+ public event EventHandler eh_selData;
+ ///
+ /// solleva evento selezione data
+ ///
+ protected void reportEvent()
+ {
+ // evento!
+ if (eh_selData != null)
+ {
+ eh_selData(this, new EventArgs());
+ }
+ }
+ ///
+ /// numero giorni selezionati
+ ///
+ public int numGG
+ {
+ get
+ {
+ int answ = 0;
+ try
+ {
+ answ = Convert.ToInt32(txtNumGG.Text.Trim());
+ }
+ catch
+ { }
+ return answ;
+ }
+ set
+ {
+ int newVal = 0;
+ if (value >= newVal) newVal = value;
+ txtNumGG.Text = newVal.ToString();
+ }
+ }
+
+ ///
+ /// data riferimento
+ ///
+ public DateTime dataFrom
+ {
+ get
+ {
+ DateTime answ = DateTime.Now.Date;
+ try
+ {
+ answ = Convert.ToDateTime(txtDataFrom.Text.Trim());
+ }
+ catch
+ { }
+ return answ;
+ }
+ set
+ {
+ txtDataFrom.Text = value.ToString("yyyy-MM-dd");
+ }
+ }
+ ///
+ /// data selezionata (da query string o inizializzata...
+ ///
+ protected DateTime dataSel
+ {
+ get
+ {
+ DateTime answ = DateTime.Now;
+ if (memLayer.ML.isInSessionObject("DataRif"))
+ {
+ try
+ {
+ answ = Convert.ToDateTime(memLayer.ML.StringSessionObj("DataRif"));
+ }
+ catch
+ { }
+ }
+ else if (memLayer.ML.getCookieVal("DataRif") != "")
+ {
+ try
+ {
+ answ = Convert.ToDateTime(memLayer.ML.getCookieVal("DataRif"));
+ }
+ catch
+ { }
+ }
+ return answ;
+ }
+ set
+ {
+ memLayer.ML.setSessionVal("DataRif", value);
+ }
+ }
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack)
+ {
+ dataFrom = dataSel;
+ }
+ }
+ ///
+ /// ultimo comando letto da link button
+ ///
+ public string lastCmd { get; set; }
+
+
+ ///
+ /// aggiungo/tolgo all'intervallo selezione
+ ///
+ ///
+ ///
+ protected void lbNumGg_Click(object sender, EventArgs e)
+ {
+ int diff = 0;
+ try
+ {
+ LinkButton lb = (LinkButton)sender;
+ diff = Convert.ToInt32(lb.CommandArgument);
+ }
+ catch
+ { }
+ numGG = numGG + diff;
+ reportEvent();
+ }
+
+ protected void txtDataFrom_TextChanged(object sender, EventArgs e)
+ {
+ dataSel = Convert.ToDateTime(txtDataFrom.Text);
+ reportEvent();
+ }
+
+ protected void txtNumGG_TextChanged(object sender, EventArgs e)
+ {
+ reportEvent();
+ }
+ ///
+ /// selezione nuova squadra...
+ ///
+ ///
+ ///
+ protected void rblSquadre_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ // aggiorno controllo...
+ }
+ protected void grView_RowCommand(object sender, GridViewCommandEventArgs e)
+ {
+ // salvo il command argument...
+ lastCmd = e.CommandArgument.ToString();
+ }
+ ///
+ /// verifica se valore passato è NON NULLO
+ ///
+ ///
+ ///
+ public bool notNull(object dataInizio)
+ {
+ bool answ = false;
+ try
+ {
+ answ = dataInizio.ToString() != "";
+ }
+ catch
+ { }
+ return answ;
+ }
+ ///
+ /// evento selezione paziente...
+ ///
+ ///
+ ///
+ protected void grView_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ // recupero dati paziente...
+ int IdxImpegno = 0;
+ DS_Applicazione.ImpegniRow riga;// = DtProxy.man.taImp.GetData()[0];
+ try
+ {
+ IdxImpegno = Convert.ToInt32(grView.SelectedDataKey["IdxImpegno"]);
+ memLayer.ML.setSessionVal("IdxImpegno", IdxImpegno);
+ riga = DtProxy.man.taImp.getByKey(IdxImpegno)[0];
+ memLayer.ML.setSessionVal("Cliente", string.Format("{0}", riga.RagSoc));
+ memLayer.ML.setSessionVal("CodCliente", riga.CodCliente);
+ }
+ catch (Exception exc)
+ {
+ logger.lg.scriviLog(string.Format("Errore in rimando clienti --> interventi: {0}{1}", Environment.NewLine, exc));
+ riga = DtProxy.man.taImp.GetData()[0];
+ }
+ // rimando su pagina!
+ Response.Redirect(string.Format("{0}?CodCliente={1}&Indir={2}&Data={3:yyyy-MM-dd}&IdxImpegno={4}", "Pianificazione", riga.CodCliente, riga.Indir, riga.DataOra, IdxImpegno));
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_Interventi.ascx.designer.cs b/WebSCR/WebUserControls/mod_Interventi.ascx.designer.cs
new file mode 100644
index 0000000..bd481c5
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_Interventi.ascx.designer.cs
@@ -0,0 +1,123 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_Interventi {
+
+ ///
+ /// ddlStato control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.DropDownList ddlStato;
+
+ ///
+ /// txtDataFrom control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtDataFrom;
+
+ ///
+ /// lbMinus5 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.LinkButton lbMinus5;
+
+ ///
+ /// lbMinus control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.LinkButton lbMinus;
+
+ ///
+ /// txtNumGG control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtNumGG;
+
+ ///
+ /// lbPlus control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.LinkButton lbPlus;
+
+ ///
+ /// lbPlus5 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.LinkButton lbPlus5;
+
+ ///
+ /// txtSearch control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtSearch;
+
+ ///
+ /// ddlRecAgeDd control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.DropDownList ddlRecAgeDd;
+
+ ///
+ /// mod_selSquadre control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_selSquadre mod_selSquadre;
+
+ ///
+ /// grView control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView grView;
+
+ ///
+ /// ods control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource ods;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_compSquadra.ascx b/WebSCR/WebUserControls/mod_compSquadra.ascx
new file mode 100644
index 0000000..de750c8
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_compSquadra.ascx
@@ -0,0 +1,38 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_compSquadra.ascx.cs" Inherits="WebSCR.WebUserControls.mod_compSquadra" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Nessun componente squadra assegnato
+
+
+ <%-- --%>
+
+
+
+
+
+
+
+ <%-- --%>
+
+ <%-- --%>
+
+
+
+
+
+
diff --git a/WebSCR/WebUserControls/mod_compSquadra.ascx.cs b/WebSCR/WebUserControls/mod_compSquadra.ascx.cs
new file mode 100644
index 0000000..126fc45
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_compSquadra.ascx.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_compSquadra : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_compSquadra.ascx.designer.cs b/WebSCR/WebUserControls/mod_compSquadra.ascx.designer.cs
new file mode 100644
index 0000000..1ae0b81
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_compSquadra.ascx.designer.cs
@@ -0,0 +1,33 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_compSquadra {
+
+ ///
+ /// grView control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView grView;
+
+ ///
+ /// ods control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource ods;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_consegne.ascx b/WebSCR/WebUserControls/mod_consegne.ascx
new file mode 100644
index 0000000..2eb0c26
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_consegne.ascx
@@ -0,0 +1,83 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_consegne.ascx.cs" Inherits="WebSCR.WebUserControls.mod_consegne" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Nessuna Consegna
+
+
+
+
+
+
+
+
+
+
+ <%--
+
+
+ --%>
+
+
+
+
+
+ <%-- --%>
+
+
+
+
+
+
+
diff --git a/WebSCR/WebUserControls/mod_consegne.ascx.cs b/WebSCR/WebUserControls/mod_consegne.ascx.cs
new file mode 100644
index 0000000..8aa9a42
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_consegne.ascx.cs
@@ -0,0 +1,100 @@
+using SteamWare;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using WebSCR_data;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_consegne : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if(!Page.IsPostBack)
+ {
+ reloadSessionByCookie();
+ }
+ }
+ ///
+ /// rilegge (eventualmente90 dati ins essione da cookie se non presenti
+ ///
+ private static void reloadSessionByCookie()
+ {
+ // se valore in session è nullo PROVO a leggerlo da cookie...
+ if (!memLayer.ML.isInSessionObject("DataRif"))
+ {
+ try
+ {
+ DateTime adesso = Convert.ToDateTime(memLayer.ML.getCookieVal("DataRif"));
+ memLayer.ML.setSessionVal("DataRif", adesso.ToString("yyyy-MM-dd"), true);
+ }
+ catch
+ { }
+ }
+ }
+
+
+ ///
+ /// verifica se valore passato è NON NULLO
+ ///
+ ///
+ ///
+ public bool notNull(object dataInizio)
+ {
+ bool answ = false;
+ try
+ {
+ answ = dataInizio.ToString() != "";
+ }
+ catch
+ { }
+ return answ;
+ }
+ protected void grView_RowCommand(object sender, GridViewCommandEventArgs e)
+ {
+ // salvo il command argument...
+ lastCmd = e.CommandArgument.ToString();
+ }
+ ///
+ /// ultimo comando letto da link button
+ ///
+ public string lastCmd { get; set; }
+ ///
+ /// evento selezione paziente...
+ ///
+ ///
+ ///
+ protected void grView_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ // recupero dati paziente...
+ int IdxImpegno = 0;
+ DS_Applicazione.ImpegniRow riga;// = DtProxy.man.taImp.GetData()[0];
+ try
+ {
+ IdxImpegno = Convert.ToInt32(grView.SelectedDataKey["IdxImpegno"]);
+ memLayer.ML.setSessionVal("IdxImpegno", IdxImpegno);
+ riga = DtProxy.man.taImp.getByKey(IdxImpegno)[0];
+ memLayer.ML.setSessionVal("Cliente", string.Format("{0}", riga.RagSoc));
+ memLayer.ML.setSessionVal("CodCliente", riga.CodCliente);
+ }
+ catch (Exception exc)
+ {
+ logger.lg.scriviLog(string.Format("Errore in rimando clienti --> interventi: {0}{1}", Environment.NewLine, exc));
+ riga = DtProxy.man.taImp.GetData()[0];
+ }
+ // ricarico!
+ Response.Redirect(string.Format("{0}?CodCliente={1}&Indir={2}&Data={3:yyyy-MM-dd}&IdxImpegno={4}", devicesAuthProxy.pagCorrente, riga.CodCliente, riga.Indir, riga.DataOra, IdxImpegno));
+ }
+ ///
+ /// forza update
+ ///
+ public void doUpdate()
+ {
+ DateTime adesso = Convert.ToDateTime(memLayer.ML.getCookieVal("DataRif"));
+ grView.DataBind();
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_consegne.ascx.designer.cs b/WebSCR/WebUserControls/mod_consegne.ascx.designer.cs
new file mode 100644
index 0000000..63d07ea
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_consegne.ascx.designer.cs
@@ -0,0 +1,33 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_consegne {
+
+ ///
+ /// grView control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView grView;
+
+ ///
+ /// ods control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource ods;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_dettInt.ascx b/WebSCR/WebUserControls/mod_dettInt.ascx
new file mode 100644
index 0000000..af6e791
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_dettInt.ascx
@@ -0,0 +1,88 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_dettInt.ascx.cs" Inherits="WebSCR.WebUserControls.mod_dettInt" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Nessuna Attivià
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebSCR/WebUserControls/mod_dettInt.ascx.cs b/WebSCR/WebUserControls/mod_dettInt.ascx.cs
new file mode 100644
index 0000000..f39e980
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_dettInt.ascx.cs
@@ -0,0 +1,132 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using WebSCR_data;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_dettInt : System.Web.UI.UserControl
+ {
+ public event EventHandler eh_update;
+ ///
+ /// solleva evento selezione data
+ ///
+ protected void reportEvent()
+ {
+ // evento!
+ if (eh_update != null)
+ {
+ eh_update(this, new EventArgs());
+ }
+ }
+ ///
+ /// disabilita modalità EDIT record...
+ ///
+ public bool disableEdit { get; set; }
+ ///
+ /// determina se sia visibile...
+ ///
+ public string isVisible
+ {
+ get
+ {
+ string answ = "visible";
+ if (disableEdit)
+ {
+ answ = "hidden";
+ }
+ return answ;
+ }
+ }
+ ///
+ /// determina altezza visibile
+ ///
+ public string visHeight
+ {
+ get
+ {
+ string answ = "1em";
+ if (disableEdit)
+ {
+ answ = "0px";
+ }
+ return answ;
+ }
+
+ }
+ ///
+ /// impegno corrente
+ ///
+ public int idxImpegno
+ {
+ get
+ {
+ int answ = 0;
+ try
+ {
+ answ = Convert.ToInt32(qsVal("IdxImpegno"));
+ }
+ catch
+ { }
+ return answ;
+ }
+ }
+ ///
+ /// recupera valore querystring
+ ///
+ ///
+ ///
+ protected string qsVal(string nome)
+ {
+ string answ = "";
+ try
+ {
+ answ = Request.QueryString[nome].ToString();
+ }
+ catch
+ { }
+ return answ;
+ }
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ }
+ ///
+ /// aggiunge il task corrente all'elenco dei task...
+ ///
+ ///
+ ///
+ protected void lbAdd_Click(object sender, EventArgs e)
+ {
+ DtProxy.man.taDetImp.insertQuery(idxImpegno, ddlTipoCons.SelectedValue);
+ //doUpdate();
+ reportEvent();
+ }
+
+ protected void odsDettInt_Deleted(object sender, ObjectDataSourceStatusEventArgs e)
+ {
+ //doUpdate();
+ reportEvent();
+ }
+
+ protected void odsDettInt_Updated(object sender, ObjectDataSourceStatusEventArgs e)
+ {
+ //doUpdate();
+ reportEvent();
+ }
+ public void doUpdate()
+ {
+ grViewDettInt.DataBind();
+ }
+ protected void odsDettInt_Updating(object sender, ObjectDataSourceMethodEventArgs e)
+ {
+#if false
+ // recupero valori consegna e note...
+ e.InputParameters["CodConsegna"] = ((DropDownList)grViewDettInt.Rows[grViewDettInt.EditIndex].FindControl("ddlTipoCons")).SelectedValue;
+ e.InputParameters["Note"] = ((TextBox)grViewDettInt.Rows[grViewDettInt.EditIndex].FindControl("txtNote")).Text;
+#endif
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_dettInt.ascx.designer.cs b/WebSCR/WebUserControls/mod_dettInt.ascx.designer.cs
new file mode 100644
index 0000000..eda9110
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_dettInt.ascx.designer.cs
@@ -0,0 +1,60 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_dettInt {
+
+ ///
+ /// ddlTipoCons control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.DropDownList ddlTipoCons;
+
+ ///
+ /// lbAdd control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.LinkButton lbAdd;
+
+ ///
+ /// odsTipoCons control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource odsTipoCons;
+
+ ///
+ /// grViewDettInt control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView grViewDettInt;
+
+ ///
+ /// odsDettInt control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource odsDettInt;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_dispPeriodo.ascx b/WebSCR/WebUserControls/mod_dispPeriodo.ascx
new file mode 100644
index 0000000..81c6f2a
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_dispPeriodo.ascx
@@ -0,0 +1,28 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_dispPeriodo.ascx.cs" Inherits="WebSCR.WebUserControls.mod_dispPeriodo" %>
+
+
+
+
+
+
+
+
+ <%#Eval("Data","{0:ddd dd/MM/yy}") %>
+
+
+ disp: <%# Eval("ScoreDisp","{0:P1}") %>
+
+ zona: <%# Eval("ScoreZona","{0:P1}") %>
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebSCR/WebUserControls/mod_dispPeriodo.ascx.cs b/WebSCR/WebUserControls/mod_dispPeriodo.ascx.cs
new file mode 100644
index 0000000..df3bc0b
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_dispPeriodo.ascx.cs
@@ -0,0 +1,128 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using SteamWare;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_dispPeriodo : System.Web.UI.UserControl
+ {
+ ///
+ /// data selezionata
+ ///
+ public DateTime dataSel { get; set; }
+ ///
+ /// caricamento pagina
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ ///
+ /// recupera valore querystring
+ ///
+ ///
+ ///
+ protected string qsVal(string nome)
+ {
+ return memLayer.ML.QSS(nome);
+ }
+ ///
+ /// esegue update componenti
+ ///
+ public void doUpdate()
+ {
+ repSlot.DataBind();
+ }
+ ///
+ /// campo (nascosto) data from
+ ///
+ public string DataFrom
+ {
+ get
+ {
+ return lblDataFrom.Text;
+ }
+ set
+ {
+ lblDataFrom.Text = value;
+ }
+ }
+ ///
+ /// campo (nascosto) data from
+ ///
+ public string Zona
+ {
+ get
+ {
+ return lblZona.Text;
+ }
+ set
+ {
+ lblZona.Text = value;
+ }
+ }
+ ///
+ /// campo (nascosto) data from
+ ///
+ public string NumGG
+ {
+ get
+ {
+ return lblNumGG.Text;
+ }
+ set
+ {
+ lblNumGG.Text = value;
+ }
+ }
+ ///
+ /// restituisce il codice css x il frame dati score x disponibilità e zona
+ ///
+ ///
+ ///
+ ///
+ ///
+ public string frameFromDispZona(object _scoreDisp, object _scoreZona)
+ {
+ string answ = "";
+ double scoreDisp = Convert.ToDouble(_scoreDisp);
+ double scoreZona = Convert.ToDouble(_scoreZona);
+ if (scoreDisp > 0.75)
+ {
+ answ = "greenBox";
+ }
+ else if (scoreDisp > 0.50)
+ {
+ answ = "yellowBox";
+ }
+ else if (scoreDisp > 0.25)
+ {
+ answ = "orangeBox";
+ }
+ else
+ {
+ answ = "redBox";
+ }
+ // aggiungo classi base
+ answ += " ui-shadow ui-corner-all";
+ return answ;
+ }
+ ///
+ /// evento selezione data
+ ///
+ ///
+ ///
+ protected void lbSelect_Click(object sender, EventArgs e)
+ {
+ LinkButton lb = (LinkButton)sender;
+ dataSel = Convert.ToDateTime(lb.CommandArgument);
+ Response.Redirect(string.Format("{0}?CodCliente={1}&Indir={2}&Data={3:yyyy-MM-dd}", devicesAuthProxy.pagCorrente, qsVal("CodCliente"), qsVal("Indir"), dataSel));
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_dispPeriodo.ascx.designer.cs b/WebSCR/WebUserControls/mod_dispPeriodo.ascx.designer.cs
new file mode 100644
index 0000000..043797c
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_dispPeriodo.ascx.designer.cs
@@ -0,0 +1,60 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_dispPeriodo {
+
+ ///
+ /// lblDataFrom control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox lblDataFrom;
+
+ ///
+ /// lblNumGG control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox lblNumGG;
+
+ ///
+ /// lblZona control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblZona;
+
+ ///
+ /// repSlot control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Repeater repSlot;
+
+ ///
+ /// odsSlot control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource odsSlot;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_elencoClienti.ascx b/WebSCR/WebUserControls/mod_elencoClienti.ascx
new file mode 100644
index 0000000..bc1b559
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_elencoClienti.ascx
@@ -0,0 +1,49 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_elencoClienti.ascx.cs" Inherits="WebSCR.WebUserControls.mod_elencoClienti" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Nessun risultato
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebSCR/WebUserControls/mod_elencoClienti.ascx.cs b/WebSCR/WebUserControls/mod_elencoClienti.ascx.cs
new file mode 100644
index 0000000..2d8b424
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_elencoClienti.ascx.cs
@@ -0,0 +1,112 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using SteamWare;
+using WebSCR_data;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_elencoClienti : System.Web.UI.UserControl
+ {
+ public event EventHandler eh_selCliente;
+ ///
+ /// solleva evento selezione data
+ ///
+ protected void reportEvent()
+ {
+ // evento!
+ if (eh_selCliente != null)
+ {
+ eh_selCliente(this, new EventArgs());
+ }
+ }
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack)
+ {
+ memLayer.ML.emptySessionVal("Cliente");
+ hlLocalUploader.NavigateUrl = memLayer.ML.confReadString("localUplURL");
+ }
+ }
+ ///
+ /// ultimo comando letto da link button
+ ///
+ public string lastCmd { get; set; }
+ ///
+ /// gestione evento novo record
+ ///
+ ///
+ ///
+ protected void btnNew_Click(object sender, EventArgs e)
+ {
+ // richiamo pagina di edit senza parametri x metodo NEW
+ Response.Redirect("ClientiEdit");
+ }
+ ///
+ /// evento selezione paziente...
+ ///
+ ///
+ ///
+ protected void grView_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ // recupero dati paziente...
+ string CodCliente = "";
+ try
+ {
+ CodCliente = grView.SelectedDataKey["CodCliente"].ToString();
+ memLayer.ML.setSessionVal("CodCliente", CodCliente);
+ DS_Applicazione.AnagClientiRow riga = DtProxy.man.taAC.getByKey(CodCliente)[0];
+ memLayer.ML.setSessionVal("Cliente", string.Format("{0}", riga.RagSoc));
+
+ }
+ catch (Exception exc)
+ {
+ logger.lg.scriviLog(string.Format("Errore in rimando clienti --> interventi: {0}{1}", Environment.NewLine, exc));
+ }
+ reportEvent();
+#if false
+ if (lastCmd == "add")
+ {
+ // mando a AGGIUNTA intervento cliente!
+ Response.Redirect(string.Format("Pianificazione?CodCliente={0}", grView.SelectedDataKey["CodCliente"]));
+ }
+ else
+ {
+ // mando a dettaglio con filtro x cliente!
+ Response.Redirect(string.Format("Interventi?FiltroCliente=1&ShowState=0&CodCliente={0}", grView.SelectedDataKey["CodCliente"]));
+ }
+
+#endif
+ }
+
+ protected void grView_RowCommand(object sender, GridViewCommandEventArgs e)
+ {
+ // salvo il command argument...
+ lastCmd = e.CommandArgument.ToString();
+ }
+ ///
+ /// trimma una stringa alla lunghezza richiesta...
+ ///
+ ///
+ ///
+ ///
+ public string stringTrim(object _stringa, object _maxChar)
+ {
+ string answ = "";
+ try
+ {
+ answ = _stringa.ToString();
+ if (answ.Length > Convert.ToInt32(_maxChar))
+ {
+ answ = answ.Substring(0, Convert.ToInt32(_maxChar)) + "[...]";
+ }
+ }
+ catch
+ { }
+ return answ;
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_elencoClienti.ascx.designer.cs b/WebSCR/WebUserControls/mod_elencoClienti.ascx.designer.cs
new file mode 100644
index 0000000..9a906fa
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_elencoClienti.ascx.designer.cs
@@ -0,0 +1,60 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_elencoClienti {
+
+ ///
+ /// hlLocalUploader control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.HyperLink hlLocalUploader;
+
+ ///
+ /// btnNew control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btnNew;
+
+ ///
+ /// txtSearch control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtSearch;
+
+ ///
+ /// grView control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView grView;
+
+ ///
+ /// ods control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource ods;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_elencoDisp.ascx b/WebSCR/WebUserControls/mod_elencoDisp.ascx
new file mode 100644
index 0000000..5311d83
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_elencoDisp.ascx
@@ -0,0 +1,66 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_elencoDisp.ascx.cs" Inherits="WebSCR.WebUserControls.mod_elencoDisp" %>
+<%@ Register Src="~/WebUserControls/mod_filtroPeriodo.ascx" TagPrefix="uc1" TagName="mod_filtroPeriodo" %>
+<%@ Register Src="~/WebUserControls/mod_selSquadre.ascx" TagPrefix="uc1" TagName="mod_selSquadre" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Nessun risultato
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebSCR/WebUserControls/mod_elencoDisp.ascx.cs b/WebSCR/WebUserControls/mod_elencoDisp.ascx.cs
new file mode 100644
index 0000000..05b4925
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_elencoDisp.ascx.cs
@@ -0,0 +1,57 @@
+using SteamWare;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using WebSCR_data;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_elencoDisp : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack)
+ {
+ mod_filtroPeriodo.numGG = 30;
+ }
+ }
+
+ protected void grView_RowCommand(object sender, GridViewCommandEventArgs e)
+ {
+
+ }
+ ///
+ /// pre-seleziona squadre attive da anagrafica
+ ///
+ public void selezionaAttive()
+ {
+ mod_selSquadre.selezionaAttive();
+ }
+ protected void grView_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ }
+ ///
+ /// crea disponibilità delle squadre selezionate x il periodo
+ ///
+ ///
+ ///
+ protected void btnCreaDisp_Click(object sender, EventArgs e)
+ {
+ DtProxy.man.taDisp.genDispSquadre(mod_filtroPeriodo.dataFrom, memLayer.ML.StringSessionObj("elencoSquadre"), mod_filtroPeriodo.numGG);
+ grView.DataBind();
+ }
+ ///
+ /// crea disponibilità delle squadre selezionate x singola giornata selezionata
+ ///
+ ///
+ ///
+ protected void btnCreaDispGg_Click(object sender, EventArgs e)
+ {
+ DtProxy.man.taDisp.genDispSquadreGg(mod_filtroPeriodo.dataFrom, memLayer.ML.StringSessionObj("elencoSquadre"));
+ grView.DataBind();
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_elencoDisp.ascx.designer.cs b/WebSCR/WebUserControls/mod_elencoDisp.ascx.designer.cs
new file mode 100644
index 0000000..c9d35ac
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_elencoDisp.ascx.designer.cs
@@ -0,0 +1,69 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_elencoDisp {
+
+ ///
+ /// btnCreaDisp control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btnCreaDisp;
+
+ ///
+ /// btnCreaDispGg control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btnCreaDispGg;
+
+ ///
+ /// mod_filtroPeriodo control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_filtroPeriodo mod_filtroPeriodo;
+
+ ///
+ /// mod_selSquadre control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_selSquadre mod_selSquadre;
+
+ ///
+ /// grView control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView grView;
+
+ ///
+ /// ods control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource ods;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_elencoRichResetUtenti.ascx b/WebSCR/WebUserControls/mod_elencoRichResetUtenti.ascx
new file mode 100644
index 0000000..14db09c
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_elencoRichResetUtenti.ascx
@@ -0,0 +1,89 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_elencoRichResetUtenti.ascx.cs" Inherits="WebSCR.WebUserControls.mod_elencoRichResetUtenti" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Nessun risultato
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Spiegazione
+ Ogni riga rappresenta un utente, se questo è indicato
con un font barrato significa che l'utente è disattivato e tutti i suoi devices (eventualmente registrati) sono stati disabilitati e rimossi dal DB (e
non possono più accedere alla piattaforma) .
+
+ Partendo da sinistra verso destra abbiamo:
+
+
+ <%-- seleziona l'utente per visualizzare i devices lui associati
+ seleziona l'utente per modificare i dati quali cognome, nome, email --%>
+ Attivazione: il pulsante disattiva un utente (ed i relativi devices) mentre il pulsante lo riattiva (generando una NUOVA AuthKey) e permette nuovi enroll dei dispositivi.
+ NumAuth: indica il numero di attivazioni residue per l'utente, si possono incrementare/decrementare con i button e
+ Grp: indica il gruppo di appartenenza dell'utente
+ Reset: permette di gestire le richieste di supporto: col pulsante si possono approvare (generando una nuova auth key), con si possono rifiutare le richieste e con si possono inviare (per gli utenti ATTIVI) le email contenenti i link per autorizzare i dispositivi; nb: numAuth deve essere maggiore di zero altrimenti un link valido non permette comunque l'attivazione di nuovi devices utente.
+
+
+
diff --git a/WebSCR/WebUserControls/mod_elencoRichResetUtenti.ascx.cs b/WebSCR/WebUserControls/mod_elencoRichResetUtenti.ascx.cs
new file mode 100644
index 0000000..0322059
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_elencoRichResetUtenti.ascx.cs
@@ -0,0 +1,105 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using SteamWare;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_elencoRichResetUtenti : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ //if (!Page.IsPostBack)
+ //{
+ //}
+ }
+ ///
+ /// ultimo comando letto da link button
+ ///
+ public string lastCmd { get; set; }
+ ///
+ /// gestione evento novo record
+ ///
+ ///
+ ///
+ protected void btnNew_Click(object sender, EventArgs e)
+ {
+ }
+ public bool toBool(object value)
+ {
+ bool answ = false;
+ try
+ {
+ answ = Convert.ToBoolean(value);
+ }
+ catch
+ { }
+ return answ;
+ }
+ ///
+ /// evento selezione paziente...
+ ///
+ ///
+ ///
+ protected void grView_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ // recupero dati utente...
+ string USER_NAME = "";
+ try
+ {
+ USER_NAME = grView.SelectedDataKey["USER_NAME"].ToString();
+ }
+ catch
+ { }
+ if (USER_NAME != "")
+ {
+ switch (lastCmd)
+ {
+ case "+1":
+ devicesAuthProxy.stObj.taUtenti.UpdateNumAuth(1, USER_NAME);
+ break;
+ case "-1":
+ devicesAuthProxy.stObj.taUtenti.UpdateNumAuth(-1, USER_NAME);
+ break;
+ case "Disattiva":
+ case "Attiva":
+ devicesAuthProxy.stObj.taUtenti.ToggleAttivo(SteamwareStrings.pseudoRandomString(20), USER_NAME);
+ break;
+ case "NoReset":
+ devicesAuthProxy.stObj.taUtenti.rejectResetAK(USER_NAME);
+ break;
+ case "ResetKeyAndDevices":
+ devicesAuthProxy.stObj.taUtenti.ResetKeyAndDevices(SteamwareStrings.pseudoRandomString(20), USER_NAME);
+ break;
+ case "SendMail":
+ // cerco chiave...
+ string AuthKey = "";
+ try
+ {
+ AuthKey = devicesAuthProxy.stObj.taUtenti.getByEmail(USER_NAME)[0].authKey;
+ }
+ catch
+ { }
+ if (USER_NAME != "" && AuthKey != "")
+ {
+ // invio email!
+ devicesAuthProxy.stObj.sendEmailAuthKey(USER_NAME, AuthKey,"WebSCR authorization");
+ }
+ break;
+ default:
+ break;
+ }
+ }
+ grView.DataBind();
+ }
+
+ protected void grView_RowCommand(object sender, GridViewCommandEventArgs e)
+ {
+ // salvo il command argument...
+ lastCmd = e.CommandArgument.ToString();
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_elencoRichResetUtenti.ascx.designer.cs b/WebSCR/WebUserControls/mod_elencoRichResetUtenti.ascx.designer.cs
new file mode 100644
index 0000000..ce1ba9d
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_elencoRichResetUtenti.ascx.designer.cs
@@ -0,0 +1,33 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_elencoRichResetUtenti {
+
+ ///
+ /// grView control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView grView;
+
+ ///
+ /// ods control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource ods;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_elencoSquadre.ascx b/WebSCR/WebUserControls/mod_elencoSquadre.ascx
new file mode 100644
index 0000000..9b7a909
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_elencoSquadre.ascx
@@ -0,0 +1,162 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_elencoSquadre.ascx.cs" Inherits="WebSCR.WebUserControls.mod_elencoSquadre" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Nessun risultato
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebSCR/WebUserControls/mod_elencoSquadre.ascx.cs b/WebSCR/WebUserControls/mod_elencoSquadre.ascx.cs
new file mode 100644
index 0000000..61d6824
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_elencoSquadre.ascx.cs
@@ -0,0 +1,40 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using WebSCR_data;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_elencoSquadre : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void grView_RowCommand(object sender, GridViewCommandEventArgs e)
+ {
+
+ }
+
+ protected void grView_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ }
+ ///
+ /// crea nuovo record squadre
+ ///
+ ///
+ ///
+ protected void btnNew_Click(object sender, EventArgs e)
+ {
+ // creo novo record e vado in editing...
+ DtProxy.man.taAS.InsertQuery(" -ND", "Inserire Descrizione", 0, true, false, false);
+ grView.EditIndex = 0;
+ grView.DataBind();
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_elencoSquadre.ascx.designer.cs b/WebSCR/WebUserControls/mod_elencoSquadre.ascx.designer.cs
new file mode 100644
index 0000000..e3ef6d5
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_elencoSquadre.ascx.designer.cs
@@ -0,0 +1,42 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_elencoSquadre {
+
+ ///
+ /// txtSearch control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtSearch;
+
+ ///
+ /// grView control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView grView;
+
+ ///
+ /// ods control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource ods;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_elencoTipoInt.ascx b/WebSCR/WebUserControls/mod_elencoTipoInt.ascx
new file mode 100644
index 0000000..8e6bd2c
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_elencoTipoInt.ascx
@@ -0,0 +1,113 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_elencoTipoInt.ascx.cs" Inherits="WebSCR.WebUserControls.mod_elencoTipoInt" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Nessun risultato
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_elencoTipoInt.ascx.cs b/WebSCR/WebUserControls/mod_elencoTipoInt.ascx.cs
new file mode 100644
index 0000000..72d3df7
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_elencoTipoInt.ascx.cs
@@ -0,0 +1,39 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using WebSCR_data;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_elencoTipoInt : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void grView_RowCommand(object sender, GridViewCommandEventArgs e)
+ {
+
+ }
+
+ protected void grView_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ }
+ ///
+ /// crea nuovo record squadre
+ ///
+ ///
+ ///
+ protected void btnNew_Click(object sender, EventArgs e)
+ {
+ // creo novo record e vado in editing...
+ DtProxy.man.taATC.InsertQuery(" -ND", "Inserire Descrizione", 0, 1, false, false, false);
+ grView.EditIndex = 0;
+ grView.DataBind();
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_elencoTipoInt.ascx.designer.cs b/WebSCR/WebUserControls/mod_elencoTipoInt.ascx.designer.cs
new file mode 100644
index 0000000..4efac34
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_elencoTipoInt.ascx.designer.cs
@@ -0,0 +1,42 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_elencoTipoInt {
+
+ ///
+ /// txtSearch control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtSearch;
+
+ ///
+ /// grView control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView grView;
+
+ ///
+ /// ods control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource ods;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_elencoZone.ascx b/WebSCR/WebUserControls/mod_elencoZone.ascx
new file mode 100644
index 0000000..8cec762
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_elencoZone.ascx
@@ -0,0 +1,74 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_elencoZone.ascx.cs" Inherits="WebSCR.WebUserControls.mod_elencoZone" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Nessun risultato
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_elencoZone.ascx.cs b/WebSCR/WebUserControls/mod_elencoZone.ascx.cs
new file mode 100644
index 0000000..781b556
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_elencoZone.ascx.cs
@@ -0,0 +1,39 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using WebSCR_data;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_elencoZone : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+
+ protected void grView_RowCommand(object sender, GridViewCommandEventArgs e)
+ {
+
+ }
+
+ protected void grView_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ }
+ ///
+ /// crea nuovo record squadre
+ ///
+ ///
+ ///
+ protected void btnNew_Click(object sender, EventArgs e)
+ {
+ // creo novo record e vado in editing...
+ DtProxy.man.taAZ.InsertQuery("00000", "Inserire Località ", "ND", 0, "Z00");
+ grView.EditIndex = 0;
+ grView.DataBind();
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_elencoZone.ascx.designer.cs b/WebSCR/WebUserControls/mod_elencoZone.ascx.designer.cs
new file mode 100644
index 0000000..a6d0a54
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_elencoZone.ascx.designer.cs
@@ -0,0 +1,42 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_elencoZone {
+
+ ///
+ /// txtSearch control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtSearch;
+
+ ///
+ /// grView control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView grView;
+
+ ///
+ /// ods control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource ods;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_enrollByAuthKey.ascx b/WebSCR/WebUserControls/mod_enrollByAuthKey.ascx
new file mode 100644
index 0000000..f2f9e40
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_enrollByAuthKey.ascx
@@ -0,0 +1,14 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_enrollByAuthKey.ascx.cs"
+ Inherits="WebSCR.WebUserControls.mod_enrollByAuthKey" %>
+
+
+
Registrazione da Auth Key
+
+
+
+
+
+
Spiegazione
+ Questa funzione permette di inserire un devices tra quelli gestiti tramite digitazione della AuthKey personale (MD5 o meno se abilitato, da richiedere all'admin se non nota).
+
+
diff --git a/WebSCR/WebUserControls/mod_enrollByAuthKey.ascx.cs b/WebSCR/WebUserControls/mod_enrollByAuthKey.ascx.cs
new file mode 100644
index 0000000..499820d
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_enrollByAuthKey.ascx.cs
@@ -0,0 +1,59 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using SteamWare;
+using WebSCR_data;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_enrollByAuthKey : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+
+ ///
+ /// richiesta enroll device da chiave personale + email
+ ///
+ ///
+ ///
+ protected void btnEnrollByAK_Click(object sender, EventArgs e)
+ {
+ // controllo email & co...
+ string email = txtEmailAK.Text.Trim();
+ string authKey = txtAuthKey.Text.Trim();
+ if (email != "" && email.IndexOf("@") > 0)
+ {
+ // ora controllo che l'email SIA nell'elenco delle email degli utenti...
+ if (devicesAuthProxy.stObj.checkUserEmail(email))
+ {
+ // controllo se la authKey è corretta x utente...
+ if (devicesAuthProxy.stObj.checkUserEmailAK(email, authKey))
+ {
+ // rimando al jumper...
+ Response.Redirect(string.Format("jumper?UserAuthkey={0}&USER_NAME={1}", authKey, email));
+ }
+ else
+ {
+ lblOutRegAuthKey.Text = "Attenzione! auth key NON valida, prego contattare amministratore!";
+ lblOutRegAuthKey.Visible = true;
+ }
+ }
+ else
+ {
+ lblOutRegAuthKey.Text = "Attenzione! email non trovata, prego contattare amministratore!";
+ lblOutRegAuthKey.Visible = true;
+ }
+ }
+ else
+ {
+ lblOutRegAuthKey.Text = "Attenzione! preogo inserire email valida!";
+ lblOutRegAuthKey.Visible = true;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_enrollByAuthKey.ascx.designer.cs b/WebSCR/WebUserControls/mod_enrollByAuthKey.ascx.designer.cs
new file mode 100644
index 0000000..7d055e6
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_enrollByAuthKey.ascx.designer.cs
@@ -0,0 +1,51 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_enrollByAuthKey {
+
+ ///
+ /// txtEmailAK control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtEmailAK;
+
+ ///
+ /// txtAuthKey control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtAuthKey;
+
+ ///
+ /// btnEnrollByAK control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btnEnrollByAK;
+
+ ///
+ /// lblOutRegAuthKey control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblOutRegAuthKey;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_enrollByEmail.ascx b/WebSCR/WebUserControls/mod_enrollByEmail.ascx
new file mode 100644
index 0000000..2ff886a
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_enrollByEmail.ascx
@@ -0,0 +1,13 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_enrollByEmail.ascx.cs"
+ Inherits="WebSCR.WebUserControls.mod_enrollByEmail" %>
+
+
+
Richiesta Reset Chiave Personale
+
+
+
+
+
Spiegazione
+ Con questa procedura l'utente richiede il reset della propria chiave di autenticazione personale. L'amministratore della piattaforma valuterà e validata la richiesta annullerà le chiavi emesse per i devices eventualmente già autorizzati ed inoltrerà , all'indirizzo email dell'utente, la nuova chiave da utilizzare per abilitare i devices desiderati.
+
+
diff --git a/WebSCR/WebUserControls/mod_enrollByEmail.ascx.cs b/WebSCR/WebUserControls/mod_enrollByEmail.ascx.cs
new file mode 100644
index 0000000..19e7f7e
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_enrollByEmail.ascx.cs
@@ -0,0 +1,50 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using SteamWare;
+using WebSCR_data;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_enrollByEmail : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ ///
+ /// richiesta reset dispositivi utente
+ ///
+ ///
+ ///
+ protected void btnReqNewKey_Click(object sender, EventArgs e)
+ {
+ // controllo email & co...
+ string email = txtEmailReq.Text.Trim();
+ if (email != "" && email.IndexOf("@") > 0)
+ {
+ // ora controllo che l'email SIA nell'elenco delle email degli utenti...
+ if (devicesAuthProxy.stObj.checkUserEmail(email))
+ {
+ // registro richiesta reset ed invio email ad admin...
+ devicesAuthProxy.stObj.reqResetAuthKey(email, memLayer.ML.confReadString("adminEmail"));
+ lblOutUnauth.Text = "Richiesta inoltrata all'amministratore, attendere sua risposta alla casella email indicata.";
+ lblOutUnauth.Visible = true;
+ }
+ else
+ {
+ lblOutUnauth.Text = "Attenzione! email non trovata, prego contattare amministratore!";
+ lblOutUnauth.Visible = true;
+ }
+ }
+ else
+ {
+ lblOutUnauth.Text = "Attenzione! preogo inserire email valida!";
+ lblOutUnauth.Visible = true;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_enrollByEmail.ascx.designer.cs b/WebSCR/WebUserControls/mod_enrollByEmail.ascx.designer.cs
new file mode 100644
index 0000000..01de8d5
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_enrollByEmail.ascx.designer.cs
@@ -0,0 +1,42 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_enrollByEmail {
+
+ ///
+ /// txtEmailReq control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtEmailReq;
+
+ ///
+ /// btnReqNewKey control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btnReqNewKey;
+
+ ///
+ /// lblOutUnauth control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblOutUnauth;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_enrollByJumperAuthKey.ascx b/WebSCR/WebUserControls/mod_enrollByJumperAuthKey.ascx
new file mode 100644
index 0000000..8de262b
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_enrollByJumperAuthKey.ascx
@@ -0,0 +1,2 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_enrollByJumperAuthKey.ascx.cs" Inherits="WebSCR.WebUserControls.mod_enrollByJumperAuthKey" %>
+<%--è una procedura automatica, niente elementi grafici!--%>
diff --git a/WebSCR/WebUserControls/mod_enrollByJumperAuthKey.ascx.cs b/WebSCR/WebUserControls/mod_enrollByJumperAuthKey.ascx.cs
new file mode 100644
index 0000000..5df45ec
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_enrollByJumperAuthKey.ascx.cs
@@ -0,0 +1,68 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using SteamWare;
+using WebSCR_data;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_enrollByJumperAuthKey : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ // procedo alla ricerca di dati via sessione x User AuthKey
+ tryAutoEnroll();
+ }
+ ///
+ /// prova a fare auto enroll
+ ///
+ public void tryAutoEnroll()
+ {
+ // recupero dati da session
+ string UserAuthKey = "";
+ string email = "";
+ string userAgent = "";
+ bool fatto = false;
+ string DeviceName = "";
+ string IPv4 = "";
+ try
+ {
+ //UserAuthKey = memLayer.ML.StringSessionObj("UserAuthkey");
+ //email = memLayer.ML.StringSessionObj("email");
+ UserAuthKey = Request["UserAuthkey"];
+ email = Request["USER_NAME"];
+ userAgent = Request.UserAgent;
+ }
+ catch
+ { }
+ // se ci sono i dati effettua tentativo di AutoEnroll del device
+ if (email != "" && UserAuthKey != "")
+ {
+ IPv4 = Request.UserHostAddress;
+ DeviceName = SteamWare.dnsUtils.ReverseLookup(IPv4);
+ //DeviceName = SteamWare.dnsUtils.DetermineCompName(IPv4); // WIN2012R2SAM
+ //DeviceName = Request.UserHostName; // ::1
+
+ // prova ad usare la chiave DECODIFICATA x autorizzare device
+ fatto = devicesAuthProxy.stObj.enrollDevice(devicesAuthProxy.decodeKey(UserAuthKey), IPv4, DeviceName, userAgent, email);
+ // se NON ce l'ha fatta ed è abilitata l'autenticazione "plain" cerca di eseguire anche quella...
+ if (memLayer.ML.confReadBool("enablePlain") && !fatto)
+ {
+ fatto = devicesAuthProxy.stObj.enrollDevice(UserAuthKey, IPv4, DeviceName, userAgent, email);
+ }
+ if (fatto)
+ {
+ Response.Redirect("Default");
+ }
+ else
+ {
+ Response.Redirect("UserAdmin");
+ }
+ }
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_enrollByJumperAuthKey.ascx.designer.cs b/WebSCR/WebUserControls/mod_enrollByJumperAuthKey.ascx.designer.cs
new file mode 100644
index 0000000..b011714
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_enrollByJumperAuthKey.ascx.designer.cs
@@ -0,0 +1,17 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls
+{
+
+
+ public partial class mod_enrollByJumperAuthKey
+ {
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_fileImpegno.ascx b/WebSCR/WebUserControls/mod_fileImpegno.ascx
new file mode 100644
index 0000000..98ece17
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_fileImpegno.ascx
@@ -0,0 +1,5 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_fileImpegno.ascx.cs" Inherits="WebSCR.WebUserControls.mod_fileImpegno" %>
+
+
diff --git a/WebSCR/WebUserControls/mod_fileImpegno.ascx.cs b/WebSCR/WebUserControls/mod_fileImpegno.ascx.cs
new file mode 100644
index 0000000..ffa1362
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_fileImpegno.ascx.cs
@@ -0,0 +1,67 @@
+using SteamWare;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using WebSCR_data;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_fileImpegno : System.Web.UI.UserControl
+ {
+ ///
+ /// caricamento modulo
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ // leggo impegno
+ int IdxImpegno = 0;
+ try
+ {
+ IdxImpegno = Convert.ToInt32(qsVal("IdxImpegno"));
+ }
+ catch
+ { }
+ hlDoc.Text = "-";
+ // recupero documento...
+ if (IdxImpegno > 0)
+ {
+ // cerco DOC...
+ DS_Applicazione.ImpegniRow riga =DtProxy.man.taImp.getByKey(IdxImpegno)[0];
+ // se c'è documento...
+ if (riga.RifOC != "")
+ {
+ string tipoDoc = "";
+ int numDoc = 0;
+ try
+ {
+ tipoDoc = riga.RifOC.Substring(0, 2);
+ numDoc = Convert.ToInt32(riga.RifOC.Replace(tipoDoc, ""));
+ }
+ catch
+ { }
+ if (numDoc > 0)
+ {
+ // imposto link del doc richiesto x download...
+ hlDoc.NavigateUrl = string.Format("{0}/{1:0000000}_{2}_{3:yyyy}.pdf", memLayer.ML.CRS("fileUploadFolder"), numDoc, tipoDoc, DateTime.Now);
+ hlDoc.Text = string.Format("{1}{0:0000000} ({2:yyyy})", numDoc, tipoDoc, DateTime.Now);
+ }
+ }
+ }
+ }
+ ///
+ /// recupera valore querystring
+ ///
+ ///
+ ///
+ protected string qsVal(string nome)
+ {
+ return memLayer.ML.QSS(nome);
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_fileImpegno.ascx.designer.cs b/WebSCR/WebUserControls/mod_fileImpegno.ascx.designer.cs
new file mode 100644
index 0000000..a3146c3
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_fileImpegno.ascx.designer.cs
@@ -0,0 +1,24 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_fileImpegno {
+
+ ///
+ /// hlDoc control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.HyperLink hlDoc;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_fileUpload.ascx b/WebSCR/WebUserControls/mod_fileUpload.ascx
new file mode 100644
index 0000000..9c3a657
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_fileUpload.ascx
@@ -0,0 +1,79 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_fileUpload.ascx.cs" Inherits="WebSCR.WebUserControls.mod_fileUpload" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebSCR/WebUserControls/mod_fileUpload.ascx.cs b/WebSCR/WebUserControls/mod_fileUpload.ascx.cs
new file mode 100644
index 0000000..4c46235
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_fileUpload.ascx.cs
@@ -0,0 +1,125 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.IO;
+using System.Data;
+using System.Data.SqlClient;
+using System.Configuration;
+using WebSCR_data;
+using System.Text;
+using SteamWare;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_fileUpload : SteamWare.UserControl
+ {
+ ///
+ /// abilita modifica/cancellazione allegati
+ ///
+ public bool enableMod { get; set; }
+ ///
+ /// caricamento pagina
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ fisVisFU(false);
+ grView.DataBind();
+ }
+ divNewEdit.Visible = isWriteEnabled;
+ btnAdd.DataBind();
+ }
+ protected void Upload(object sender, EventArgs e)
+ {
+ string filename = Path.GetFileName(FileUpload1.PostedFile.FileName);
+ string contentType = FileUpload1.PostedFile.ContentType;
+ int idxImpegno = memLayer.ML.QSI("idxImpegno");
+ using (Stream fs = FileUpload1.PostedFile.InputStream)
+ {
+ using (BinaryReader br = new BinaryReader(fs))
+ {
+ byte[] bytes = br.ReadBytes((Int32)fs.Length);
+ // PROCEDO SOLO SE HO UN FILE!!!! ovvero bytes <> null
+ if (bytes.Length > 0)
+ {
+ // controllo se sia caricamento o update...
+ if (grView.SelectedIndex != -1)
+ {
+ try
+ {
+ int orig_idxFile = Convert.ToInt32(grView.SelectedValue);
+ DtProxy.man.taFile.UpdateQuery(idxImpegno, 0, filename, contentType, bytes, orig_idxFile);
+ }
+ catch
+ { }
+ }
+ else
+ {
+ DtProxy.man.taFile.InsertQuery(idxImpegno, 0, filename, contentType, bytes);
+ }
+ }
+ }
+ }
+ Response.Redirect(Request.Url.AbsoluteUri);
+ }
+
+ protected void DownloadFile(object sender, EventArgs e)
+ {
+ int idxFile = int.Parse((sender as LinkButton).CommandArgument);
+ byte[] bytes;
+ string fileName, contentType;
+ DS_Utility.tblFilesRow fileRow = DtProxy.man.taFile.getByKey(idxFile)[0];
+ bytes = fileRow.Data;
+ contentType = fileRow.ContentType;
+ fileName = fileRow.FileName;
+ Response.Clear();
+ Response.Buffer = true;
+ Response.Charset = "";
+ Response.Cache.SetCacheability(HttpCacheability.NoCache);
+ Response.ContentType = contentType;
+ Response.AppendHeader("Content-Disposition", "attachment; filename=" + fileName);
+ Response.BinaryWrite(bytes);
+ Response.Flush();
+ Response.End();
+ }
+
+ protected void grView_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ // mostro controllo x edit...
+ fisVisFU(true);
+ btnUpload.Text = "Sostituisci File";
+ }
+
+ protected void btnAdd_Click(object sender, EventArgs e)
+ {
+ fisVisFU(true);
+ btnUpload.Text = "Carica Nuovo File";
+ }
+ ///
+ /// fix visibilità controllo file upload
+ ///
+ /// mostra controlli add=true oppure nasconde = false
+ private void fisVisFU(bool showAdd)
+ {
+ divFileUpl.Visible = showAdd;
+ btnAdd.Visible = !showAdd;
+ btnCancel.Visible = showAdd;
+ if (grView.SelectedIndex != -1 && !showAdd)
+ {
+ grView.SelectedIndex = -1;
+ }
+ }
+
+ protected void btnCancel_Click(object sender, EventArgs e)
+ {
+ fisVisFU(false);
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_fileUpload.ascx.designer.cs b/WebSCR/WebUserControls/mod_fileUpload.ascx.designer.cs
new file mode 100644
index 0000000..5951f8e
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_fileUpload.ascx.designer.cs
@@ -0,0 +1,87 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_fileUpload {
+
+ ///
+ /// divNewEdit control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlGenericControl divNewEdit;
+
+ ///
+ /// btnAdd control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btnAdd;
+
+ ///
+ /// btnCancel control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btnCancel;
+
+ ///
+ /// divFileUpl control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlGenericControl divFileUpl;
+
+ ///
+ /// FileUpload1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.FileUpload FileUpload1;
+
+ ///
+ /// btnUpload control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btnUpload;
+
+ ///
+ /// grView control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView grView;
+
+ ///
+ /// odsFile control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource odsFile;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_filtroPeriodo.ascx b/WebSCR/WebUserControls/mod_filtroPeriodo.ascx
new file mode 100644
index 0000000..76d6706
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_filtroPeriodo.ascx
@@ -0,0 +1,46 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_filtroPeriodo.ascx.cs" Inherits="WebSCR.WebUserControls.mod_filtroPeriodo" %>
+
+
diff --git a/WebSCR/WebUserControls/mod_filtroPeriodo.ascx.cs b/WebSCR/WebUserControls/mod_filtroPeriodo.ascx.cs
new file mode 100644
index 0000000..21e9e08
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_filtroPeriodo.ascx.cs
@@ -0,0 +1,195 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using SteamWare;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_filtroPeriodo : System.Web.UI.UserControl
+ {
+ public event EventHandler eh_selData;
+ ///
+ /// solleva evento selezione data
+ ///
+ protected void reportEvent()
+ {
+#if false
+ // salvo data!
+ dataSel = dataFrom;
+#endif
+ // evento!
+ if (eh_selData != null)
+ {
+ eh_selData(this, new EventArgs());
+ }
+ }
+ ///
+ /// numero giorni selezionati
+ ///
+ public int numGG
+ {
+ get
+ {
+ int answ = 0;
+ try
+ {
+ answ = Convert.ToInt32(txtNumGG.Text.Trim());
+ }
+ catch
+ { }
+ return answ;
+ }
+ set
+ {
+ int newVal = 0;
+ if (value >= newVal) newVal = value;
+ txtNumGG.Text = newVal.ToString();
+ }
+ }
+ ///
+ /// stringa UID univoca
+ ///
+ public string uid
+ {
+ get
+ {
+ return this.UniqueID.Replace("$", "_").Replace("-", "_");
+ }
+ }
+ ///
+ /// data riferimento
+ ///
+ public DateTime dataFrom
+ {
+ get
+ {
+ return dataSel;
+ }
+ set
+ {
+ txtDataFrom.Text = value.ToString("yyyy-MM-dd");
+ }
+ }
+ ///
+ /// data selezionata (da query string o inizializzata...)
+ ///
+ protected DateTime dataSel
+ {
+ get
+ {
+ DateTime answ = DateTime.Now;
+ reloadSessionByCookie();
+ if (memLayer.ML.isInSessionObject("DataStart" + uid))
+ {
+ try
+ {
+ answ = Convert.ToDateTime(memLayer.ML.StringSessionObj("DataStart" + uid));
+ }
+ catch
+ { }
+ }
+ return answ;
+ }
+ set
+ {
+ memLayer.ML.setSessionVal("DataStart" + uid, value);
+ memLayer.ML.setCookieVal("DataRif", value.ToString("yyyy-MM-dd"), DateTime.Now.AddMinutes(memLayer.ML.confReadInt("minCookieSquadra")));
+ memLayer.ML.setSessionVal("DataRif", value.ToString("yyyy-MM-dd"), true);
+ }
+ }
+ ///
+ /// rilegge (eventualmente90 dati ins essione da cookie se non presenti
+ ///
+ private void reloadSessionByCookie()
+ {
+ // se valore in session è nullo PROVO a leggerlo da cookie...
+ if (!memLayer.ML.isInSessionObject("DataStart" + uid))
+ {
+ try
+ {
+ DateTime adesso = Convert.ToDateTime(memLayer.ML.getCookieVal("DataRif"));
+ memLayer.ML.setSessionVal("DataStart" + uid, adesso.ToString("yyyy-MM-dd"), true);
+ memLayer.ML.setSessionVal("DataRif", adesso.ToString("yyyy-MM-dd"), true);
+ }
+ catch
+ { }
+ }
+ }
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack)
+ {
+ //numGG = memLayer.ML.confReadInt("numGgDef");
+ dataFrom = dataSel;
+ }
+
+ }
+ ///
+ /// aggiungo/tolgo all'intervallo selezione
+ ///
+ ///
+ ///
+ protected void lbNumGg_Click(object sender, EventArgs e)
+ {
+ int diff = 0;
+ try
+ {
+ LinkButton lb = (LinkButton)sender;
+ diff = Convert.ToInt32(lb.CommandArgument);
+ }
+ catch
+ { }
+ numGG = numGG + diff;
+ reportEvent();
+ }
+
+ protected void txtDataFrom_TextChanged(object sender, EventArgs e)
+ {
+ dataSel = Convert.ToDateTime(txtDataFrom.Text);
+ reportEvent();
+ }
+
+ protected void txtNumGG_TextChanged(object sender, EventArgs e)
+ {
+ reportEvent();
+ }
+ ///
+ /// recupera valore querystring
+ ///
+ ///
+ ///
+ protected string qsVal(string nome)
+ {
+ string answ = "";
+ try
+ {
+ answ = Request.QueryString[nome].ToString();
+ }
+ catch
+ { }
+ return answ;
+ }
+
+#if false
+ ///
+ /// campo (nascosto) data from
+ ///
+ public string Zona
+ {
+ get
+ {
+ return lblZona.Text;
+ }
+ set
+ {
+ string newVal = "Z00";
+ if (value != newVal) newVal = value;
+ lblZona.Text = newVal;
+ }
+ }
+#endif
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_filtroPeriodo.ascx.designer.cs b/WebSCR/WebUserControls/mod_filtroPeriodo.ascx.designer.cs
new file mode 100644
index 0000000..f5fefbd
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_filtroPeriodo.ascx.designer.cs
@@ -0,0 +1,78 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_filtroPeriodo {
+
+ ///
+ /// divDisponib control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlGenericControl divDisponib;
+
+ ///
+ /// txtDataFrom control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtDataFrom;
+
+ ///
+ /// lbMinus5 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.LinkButton lbMinus5;
+
+ ///
+ /// lbMinus control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.LinkButton lbMinus;
+
+ ///
+ /// txtNumGG control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtNumGG;
+
+ ///
+ /// lbPlus control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.LinkButton lbPlus;
+
+ ///
+ /// lbPlus5 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.LinkButton lbPlus5;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_filtroZona.ascx b/WebSCR/WebUserControls/mod_filtroZona.ascx
new file mode 100644
index 0000000..cc99f1e
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_filtroZona.ascx
@@ -0,0 +1,26 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_filtroZona.ascx.cs" Inherits="WebSCR.WebUserControls.mod_filtroZona" %>
+
diff --git a/WebSCR/WebUserControls/mod_filtroZona.ascx.cs b/WebSCR/WebUserControls/mod_filtroZona.ascx.cs
new file mode 100644
index 0000000..487607e
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_filtroZona.ascx.cs
@@ -0,0 +1,143 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using WebSCR_data;
+using SteamWare;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_filtroZona : System.Web.UI.UserControl
+ {
+ public event EventHandler eh_selIndir;
+ ///
+ /// solleva evento selezione data
+ ///
+ protected void reportEvent()
+ {
+ // evento!
+ if (eh_selIndir != null)
+ {
+ eh_selIndir(this, new EventArgs());
+ }
+ }
+
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack)
+ {
+ if (memLayer.ML.isInSessionObject("currDoc"))
+ {
+ txtCerca.Text = memLayer.ML.StringSessionObj("currDoc");
+ ddlAnno.DataBind();
+ refreshSearch();
+ }
+ else
+ {
+ lblCliente.Text = "";
+ lblIndirizzo.Text = "";
+ lblZona.Text = "";
+ }
+ }
+ }
+
+ ///
+ /// valore zona selezionata da QueryString
+ ///
+ public string Zona
+ {
+ get
+ {
+ string answ = "Z00";
+ try
+ {
+ answ = lblZona.Text;
+ }
+ catch
+ { }
+ return answ;
+ }
+ set
+ {
+ string newVal = "Z00";
+ if (value != newVal) newVal = value;
+ lblZona.Text = newVal;
+ }
+ }
+ public string ricerca
+ {
+ get
+ {
+ string answ = "";
+ try
+ {
+ answ = txtCerca.Text.Trim();
+ }
+ catch
+ { }
+ return answ;
+ }
+ set
+ {
+ txtCerca.Text = value;
+ }
+ }
+ ///
+ /// effettua ricerca
+ ///
+ ///
+ ///
+ protected void txtCerca_TextChanged(object sender, EventArgs e)
+ {
+ refreshSearch();
+ reportEvent();
+ }
+ ///
+ /// refresh search da documento
+ ///
+ private void refreshSearch()
+ {
+ // cerco per DOCUMENTO...
+ DS_Applicazione.v_clientiZoneRow riga = null;
+ if (ricerca != "")
+ {
+ try
+ {
+ riga = DtProxy.man.taVcz.getBySearch(ricerca, Convert.ToInt32(ddlAnno.SelectedValue))[0];
+ if (riga != null)
+ {
+ lblCliente.Text = string.Format("{0} {1} ", riga.RagSoc, riga.Indir);
+ lblIndirizzo.Text = string.Format("{0} | {1}", riga.Localita, riga.Prov);
+ lblZona.Text = riga.Zona;
+ Zona = riga.Zona;
+ memLayer.ML.setSessionVal("currDoc", ricerca);
+ memLayer.ML.setSessionVal("annoDoc", ddlAnno.SelectedValue);
+ }
+ else
+ {
+ memLayer.ML.emptySessionVal("currDoc");
+ }
+ }
+ catch
+ { }
+ }
+ else
+ {
+ Zona = "Z00";
+ lblCliente.Text = "";
+ lblZona.Text = "";
+ lblIndirizzo.Text = "";
+ }
+ }
+
+ protected void ddlAnno_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ refreshSearch();
+ reportEvent();
+ }
+
+ }
+
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_filtroZona.ascx.designer.cs b/WebSCR/WebUserControls/mod_filtroZona.ascx.designer.cs
new file mode 100644
index 0000000..06220e3
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_filtroZona.ascx.designer.cs
@@ -0,0 +1,69 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_filtroZona {
+
+ ///
+ /// lblCliente control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblCliente;
+
+ ///
+ /// lblZona control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblZona;
+
+ ///
+ /// lblIndirizzo control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblIndirizzo;
+
+ ///
+ /// txtCerca control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtCerca;
+
+ ///
+ /// ddlAnno control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.DropDownList ddlAnno;
+
+ ///
+ /// odsAnno control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource odsAnno;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_footer.ascx b/WebSCR/WebUserControls/mod_footer.ascx
new file mode 100644
index 0000000..889df35
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_footer.ascx
@@ -0,0 +1,14 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_footer.ascx.cs" Inherits="WebSCR.WebUserControls.mod_footer" %>
+
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_footer.ascx.cs b/WebSCR/WebUserControls/mod_footer.ascx.cs
new file mode 100644
index 0000000..38c553e
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_footer.ascx.cs
@@ -0,0 +1,69 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using SteamWare;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_footer : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!memLayer.ML.isInSessionObject("USER_NAME"))
+ {
+ divFooterMenu.Visible = false;
+ }
+ bool showMenuSquadra = false;
+ // in base alla pagina corrente decido cosa mostrare in footer...
+ if (devicesAuthProxy.pagCorrente == "Squadra")
+ {
+ showMenuSquadra = true;
+ }
+ ulStd.Visible = !showMenuSquadra;
+ ulSquadra.Visible = showMenuSquadra;
+ }
+ ///
+ /// restituisce stato active se pagina corrente...
+ ///
+ ///
+ ///
+ public string liClass(object nomeElem)
+ {
+ string answ = "";
+ string nome = nomeElem.ToString();
+ if (Request.Url.ToString().ToLower().Contains(nome.ToLower())) answ = "ui-btn-active";
+
+ // !!!FARE!!! controllo visibilità da permessi (x squadre in particolare)
+#if false
+ // se E' Dettaglio e non c'è cod Impegno metto disabled...
+ if (nome.Contains("Dettaglio"))
+ {
+ if (!memLayer.ML.isInSessionObject("Impegno"))
+ {
+ answ += " ui-state-disabled";
+ }
+ }
+#endif
+ return answ;
+ }
+
+ ///
+ /// stringa del paziente selezionato
+ ///
+ public bool hasPaziente
+ {
+ get
+ {
+ bool answ = false;
+ if (memLayer.ML.isInSessionObject("Impegno"))
+ {
+ answ = true;
+ }
+ return answ;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_footer.ascx.designer.cs b/WebSCR/WebUserControls/mod_footer.ascx.designer.cs
new file mode 100644
index 0000000..f29ac73
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_footer.ascx.designer.cs
@@ -0,0 +1,42 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_footer {
+
+ ///
+ /// divFooterMenu control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlGenericControl divFooterMenu;
+
+ ///
+ /// ulStd control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlGenericControl ulStd;
+
+ ///
+ /// ulSquadra control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlGenericControl ulSquadra;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_gestIntSquadra.ascx b/WebSCR/WebUserControls/mod_gestIntSquadra.ascx
new file mode 100644
index 0000000..16cd648
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_gestIntSquadra.ascx
@@ -0,0 +1,32 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_gestIntSquadra.ascx.cs" Inherits="WebSCR.WebUserControls.mod_gestIntSquadra" %>
+
+
+
+
+<%--
+ --%>
+
+
diff --git a/WebSCR/WebUserControls/mod_gestIntSquadra.ascx.cs b/WebSCR/WebUserControls/mod_gestIntSquadra.ascx.cs
new file mode 100644
index 0000000..cf8283c
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_gestIntSquadra.ascx.cs
@@ -0,0 +1,167 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using SteamWare;
+using WebSCR_data;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_gestIntSquadra : System.Web.UI.UserControl
+ {
+ public event EventHandler eh_update;
+ ///
+ /// solleva evento selezione data
+ ///
+ protected void reportEvent()
+ {
+ // evento!
+ if (eh_update != null)
+ {
+ eh_update(this, new EventArgs());
+ }
+ }
+ ///
+ /// load pagina
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ fixVisibility();
+ }
+ protected int IdxImpegno
+ {
+ get
+ {
+ int answ = 0;
+ try
+ {
+ answ = memLayer.ML.QSI("IdxImpegno");
+ }
+ catch
+ { }
+ return answ;
+ }
+ }
+ protected double latitude
+ {
+ get
+ {
+ double answ = 0;
+ try
+ {
+ answ = Convert.ToDouble(hLat.Value.Replace(".", ","));
+ }
+ catch
+ { }
+ return answ;
+ }
+ }
+ protected double longitude
+ {
+ get
+ {
+ double answ = 0;
+ try
+ {
+ answ = Convert.ToDouble(hLon.Value.Replace(".", ","));
+ }
+ catch
+ { }
+ return answ;
+ }
+ }
+ ///
+ /// sistemo visibilità buttons
+ ///
+ private void fixVisibility()
+ {
+ // verifico se impegno è iniziato o meno e di conseguenza mostro inizio/fine
+ if (IdxImpegno > 0)
+ {
+ DS_Applicazione.ImpegniRow riga = DtProxy.man.taImp.getByKey(IdxImpegno)[0];
+ bool iniziato = false;
+ bool finito = false;
+ try
+ {
+ if (riga.InizioInt != null)
+ {
+ iniziato = true;
+ }
+ }
+ catch
+ { }
+ try
+ {
+ if (riga.FineInt != null)
+ {
+ finito = true;
+ }
+ }
+ catch
+ { }
+ lbInizioInt.Visible = !iniziato;
+ lbFineInt.Visible = iniziato && !finito;
+ if (divNote.Visible)
+ {
+ lbNoteInt.Text = "Chiudi Note Intervento";
+ }
+ else
+ {
+ lbNoteInt.Text = "Note Intervento";
+ }
+ }
+ }
+
+
+ //protected void btnLoad_Click(object sender, EventArgs e)
+ //{
+ // lblCoord.Text = string.Format("Lat: {0}, Lon: {1}", hLat.Value, hLon.Value);
+ //}
+
+ protected void lbInizioInt_Click(object sender, EventArgs e)
+ {
+ DtProxy.man.taImp.recStartInt(IdxImpegno, DateTime.Now, latitude, longitude);
+ fixVisibility();
+ reportEvent();
+ }
+
+ protected void lbFineInt_Click(object sender, EventArgs e)
+ {
+ DtProxy.man.taImp.recFineInt(IdxImpegno, DateTime.Now, latitude, longitude);
+ fixVisibility();
+ reportEvent();
+ }
+
+ protected void lbNoteInt_Click(object sender, EventArgs e)
+ {
+ divNote.Visible = !divNote.Visible;
+ fixVisibility();
+ string note = "";
+ try
+ {
+ note = DtProxy.man.taImp.getByKey(IdxImpegno)[0].NoteInt;
+ }
+ catch
+ { }
+ txtNote.Text = note;
+ reportEvent();
+ }
+
+ ///
+ /// Aggiungo nota...
+ ///
+ ///
+ ///
+ protected void lbAddNote_Click(object sender, EventArgs e)
+ {
+ DtProxy.man.taImp.updNoteInt(IdxImpegno, txtNote.Text.Trim());
+ divNote.Visible = false;
+ fixVisibility();
+ reportEvent();
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_gestIntSquadra.ascx.designer.cs b/WebSCR/WebUserControls/mod_gestIntSquadra.ascx.designer.cs
new file mode 100644
index 0000000..e3a7c87
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_gestIntSquadra.ascx.designer.cs
@@ -0,0 +1,87 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_gestIntSquadra {
+
+ ///
+ /// hLat control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.HiddenField hLat;
+
+ ///
+ /// hLon control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.HiddenField hLon;
+
+ ///
+ /// lbInizioInt control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.LinkButton lbInizioInt;
+
+ ///
+ /// lbFineInt control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.LinkButton lbFineInt;
+
+ ///
+ /// lbNoteInt control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.LinkButton lbNoteInt;
+
+ ///
+ /// divNote control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlGenericControl divNote;
+
+ ///
+ /// txtNote control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtNote;
+
+ ///
+ /// lbAddNote control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.LinkButton lbAddNote;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_giornata.ascx b/WebSCR/WebUserControls/mod_giornata.ascx
new file mode 100644
index 0000000..970c6c8
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_giornata.ascx
@@ -0,0 +1,50 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_giornata.ascx.cs" Inherits="WebSCR.WebUserControls.mod_giornata" %>
+<%@ Register Assembly="DayPilot" Namespace="DayPilot.Web.Ui" TagPrefix="DayPilot" %>
+<%@ Register Src="~/WebUserControls/mod_selSquadre.ascx" TagPrefix="uc1" TagName="mod_selSquadre" %>
+
+
+
+
+
+
+
+
diff --git a/WebSCR/WebUserControls/mod_giornata.ascx.cs b/WebSCR/WebUserControls/mod_giornata.ascx.cs
new file mode 100644
index 0000000..c818054
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_giornata.ascx.cs
@@ -0,0 +1,162 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using SteamWare;
+using WebSCR_data;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_giornata : System.Web.UI.UserControl
+ {
+ public event EventHandler eh_newData;
+ ///
+ /// solleva evento selezione data
+ ///
+ protected void reportEvent()
+ {
+ // evento!
+ if (eh_newData != null)
+ {
+ eh_newData(this, new EventArgs());
+ }
+ }
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ lblCodCli.Text = Request.QueryString["CodCliente"];
+ if (qsVal("Data") != "")
+ {
+ data = Convert.ToDateTime(qsVal("Data"));
+ }
+ DayPilotCalendar1.TimeRangeSelected += DayPilotCalendar1_TimeRangeSelected;
+ DayPilotCalendar1.EventMove += DayPilotCalendar1_EventMove;
+ }
+ public string CodCliente
+ {
+ get
+ {
+ return qsVal("CodCliente");
+ }
+ }
+ public string Indir
+ {
+ get
+ {
+ return qsVal("Indir");
+ }
+ }
+ public string Data
+ {
+ get
+ {
+ return qsVal("Data");
+ }
+ }
+ ///
+ /// recupera valore querystring
+ ///
+ ///
+ ///
+ protected string qsVal(string nome)
+ {
+ return memLayer.ML.QSS(nome);
+ }
+ void DayPilotCalendar1_EventMove(object sender, DayPilot.Web.Ui.Events.EventMoveEventArgs e)
+ {
+ // sposto evento!
+ DtProxy.man.taImp.updStart(Convert.ToInt32(e.Id), e.NewStart);
+ doUpdate();
+ }
+
+ ///
+ /// evento selezione periodo inizio
+ ///
+ ///
+ ///
+ void DayPilotCalendar1_TimeRangeSelected(object sender, DayPilot.Web.Ui.Events.TimeRangeSelectedEventArgs e)
+ {
+ // se ho 1 sola squadra selezionata...
+ //if(rblSquadre.SelectedIndex >= 0)
+ //if (mod_selSquadre.selected.Count == 1)
+ if (memLayer.ML.StringSessionObj("elencoSquadre").IndexOf(",") > 0)
+ {
+ // recupero OC se in sessione...
+ string doc = memLayer.ML.StringSessionObj("currDoc");
+ if (doc == "") doc = "OC00000000";
+ // prendo la squadra selezionata
+ //string squadra = mod_selSquadre.selected[0].ToString();
+ string squadra = memLayer.ML.StringSessionObj("elencoSquadre").Split(',')[0].ToString();
+ // selezionato periodo, salvo evento inizio...
+ DtProxy.man.taImp.insertQuery(e.Start, "INDIC", squadra, doc, DateTime.Now.Year);
+ // consumo il doc selezionato e quindi rimuovo da sessione...
+ memLayer.ML.emptySessionVal("currDoc");
+ }
+ doUpdate();
+ }
+
+ private void doUpdate()
+ {
+ //ods.DataBind();
+ //rblSquadre.SelectedIndex = -1;
+ DayPilotCalendar1.DataBind();
+ DayPilotCalendar1.Update();
+ reportEvent();
+ }
+ ///
+ /// data di riferimento
+ ///
+ public DateTime data
+ {
+ get
+ {
+ DateTime answ = DateTime.Now;
+ try
+ {
+ answ = DayPilotCalendar1.StartDate;
+ }
+ catch
+ { }
+ return answ;
+ }
+ set
+ {
+ DayPilotCalendar1.StartDate = value;
+ lblData.Text = value.ToString("yyyy/MM/dd");
+ }
+ }
+ ///
+ /// selezione nuova squadra...
+ ///
+ ///
+ ///
+ protected void rblSquadre_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ // aggiorno controllo...
+ }
+
+ ///
+ /// intercetto e cambio classe CSS...
+ ///
+ ///
+ ///
+ protected void DayPilotCalendar1_BeforeEventRender(object sender, DayPilot.Web.Ui.Events.Calendar.BeforeEventRenderEventArgs e)
+ {
+ try
+ {
+ // this assumes your event object in Events collection has "color" field or property
+ e.BackgroundColor = (string)e.DataItem["CssColor"];
+ }
+ catch
+ { }
+ }
+
+ protected void DayPilotCalendar1_EventClick(object sender, DayPilot.Web.Ui.Events.EventClickEventArgs e)
+ {
+#if false
+ Response.Redirect(string.Format("{0}?CodCliente={1}&Indir={2}&Data={3:yyyy-MM-dd}&IdxImpegno={4}", devicesAuthProxy.pagCorrente, qsVal("CodCliente"), qsVal("Indir"), qsVal("Data"), e.Id));
+#endif
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_giornata.ascx.designer.cs b/WebSCR/WebUserControls/mod_giornata.ascx.designer.cs
new file mode 100644
index 0000000..8b2ff38
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_giornata.ascx.designer.cs
@@ -0,0 +1,51 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_giornata {
+
+ ///
+ /// lblCodCli control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblCodCli;
+
+ ///
+ /// lblData control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblData;
+
+ ///
+ /// DayPilotCalendar1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::DayPilot.Web.Ui.DayPilotCalendar DayPilotCalendar1;
+
+ ///
+ /// ods control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource ods;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_header.ascx b/WebSCR/WebUserControls/mod_header.ascx
new file mode 100644
index 0000000..76c28c3
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_header.ascx
@@ -0,0 +1,28 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_header.ascx.cs" Inherits="WebSCR.WebUserControls.mod_header" %>
+
+
+
+ WSC - <%: titolo %>
+
+
+
+
+
+
+
+ <%: CognomeNome %>
+
+
+ <%: DateTime.Now.ToString("ddd dd/MM/yyyy HH:mm:ss") %>
+
+ <%--
+ <%: DataSel %> | <%: ClienteSel %> | <%: SquadraSel %>
+
--%>
+
+
+
diff --git a/WebSCR/WebUserControls/mod_header.ascx.cs b/WebSCR/WebUserControls/mod_header.ascx.cs
new file mode 100644
index 0000000..0a553ce
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_header.ascx.cs
@@ -0,0 +1,242 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using WebSCR_data;
+using SteamWare;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_header : SteamWare.UserControl
+ {
+ ///
+ /// Data selezionata
+ ///
+ public string DataSel
+ {
+ get
+ {
+ string answ = "-";
+ if (memLayer.ML.getCookieVal("Data") != "")
+ {
+ answ = memLayer.ML.getCookieVal("Data");
+ }
+ return answ;
+ }
+ }
+ ///
+ /// codice Cliente selezionato (dall'impegno)
+ ///
+ public string ClienteSel
+ {
+ get
+ {
+ string answ = "-";
+ if (memLayer.ML.isInSessionObject("Cliente"))
+ {
+ answ = memLayer.ML.StringSessionObj("Cliente");
+ }
+ return answ;
+ }
+ }
+ ///
+ /// Squadra selezionata (da cookie)
+ ///
+ public string SquadraSel
+ {
+ get
+ {
+ string answ = "-";
+ if (memLayer.ML.getCookieVal("SquadraCurr")!="")
+ {
+ answ = memLayer.ML.getCookieVal("SquadraCurr");
+ }
+ return answ;
+ }
+ }
+ ///
+ /// Squadra selezionata (da cookie)
+ ///
+ public string colorSquadraCurr
+ {
+ get
+ {
+ string answ = "-";
+ if (memLayer.ML.hasCookieVal("colorSquadraCurr"))
+ {
+ answ = memLayer.ML.getCookieVal("colorSquadraCurr");
+ }
+ return answ;
+ }
+ }
+
+ ///
+ /// caricamento pagina
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ // altri controlli
+ if (!Page.IsPostBack)
+ {
+ Timer1.Interval = memLayer.ML.confReadInt("intUpdatePagina_ms");
+ Page.Title = Request.Url.ToString();
+ // se ho cambiato pagina registro...)
+ if (devicesAuthProxy.pagPrecedente != titolo)
+ {
+ devicesAuthProxy.pagPrecedente = devicesAuthProxy.pagCorrente;
+ }
+ // salvo apgina corrente
+ devicesAuthProxy.pagCorrente = titolo; // devicesAuthProxy.getCurrPage(Request.Url);
+ // update valori
+ lblVers.Text = string.Format("v.{0}.{1}", System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Major, System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Minor);
+ lblVers.ToolTip = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.MinorRevision.ToString();
+ }
+ // SOLO se la pagina NON E' "safe"...
+ if (memLayer.ML.confReadString("PageNoIndex").IndexOf(titolo) < 0)
+ {
+ bool userOk = checkUser();
+ bool pageOk = checkPageIsAuth();
+ // controllo se c'è utente in sessione..
+ if ((userOk))
+ {
+ // ora controllo pagina...
+ if (!pageOk)
+ {
+ if (devicesAuthProxy.stObj.isPageEnabled(devicesAuthProxy.pagPrecedente))
+ {
+ Response.Redirect(devicesAuthProxy.pagPrecedente);
+ }
+ else
+ {
+ Response.Redirect("Pianificazione");
+ }
+ }
+ }
+ else
+ {
+ // rimando pagina x registrazione devices
+ Response.Redirect("UserAdmin");
+ }
+ }
+ }
+ ///
+ /// verifica che la pagina sia tra quelle autorizzate x l'utente
+ ///
+ ///
+ private bool checkPageIsAuth()
+ {
+ bool allOk = false;
+ bool pageSafe = (memLayer.ML.confReadString("PageNoIndex").IndexOf(titolo) >= 0);
+ bool pageAuth = devicesAuthProxy.stObj.isPageEnabled(titolo);
+ allOk = (pageSafe || pageAuth);
+ return allOk;
+ }
+ ///
+ /// verifica presenza utente autorizzato in sessione
+ ///
+ private bool checkUser()
+ {
+ bool allOk = devicesAuthProxy.stObj.isAuth;
+ if (!devicesAuthProxy.stObj.isAuth)
+ {
+ // controllo cookie device...
+ allOk = checkAuthCookieWebSCR();
+ if (!allOk)
+ {
+ ResetUser();
+ }
+ }
+ return allOk;
+ }
+ ///
+ /// Restituisce cognome/nome da sessione...
+ ///
+ public string CognomeNome
+ {
+ get
+ {
+ string answ = "-";
+ try
+ {
+ answ = SteamWare.devicesAuthProxy.stObj.CognomeNome;
+ }
+ catch
+ { }
+ return answ;
+ }
+ }
+ ///
+ /// verifica la presenza di un cookie VALIDO per autorizzare il device ed avvia utente...
+ ///
+ private bool checkAuthCookieWebSCR()
+ {
+ bool answ = false;
+ try
+ {
+ HttpCookie cookie = Request.Cookies[memLayer.ML.confReadString("AuthCookieName")];
+ if (!(cookie == null || cookie.Value == ""))
+ {
+ // ricavo utente da cookie...
+ string userAgent = "";
+ string postazione_IP = "";
+ string devSecret = cookie.Value;
+ DS_Auth.AnagDevicesRow device = null;
+ // cerco il device...ogni dipendente può averne + di 1 registrato a suo nome...
+ string email = "";
+ try
+ {
+ device = devicesAuthProxy.stObj.taAnagDev.getByDeviceSecret(devSecret)[0];
+ email = device.USER_NAME;
+ }
+ catch (Exception exc)
+ {
+ logger.lg.scriviLog(string.Format("Errore in auth cookie: {0}", exc), tipoLog.EXCEPTION);
+ }
+ if (email != "")
+ {
+ // aggiorno descrizione (user agent) ed IP...
+ userAgent = Request.UserAgent;
+ postazione_IP = Request.UserHostAddress;
+ // controllo IP e DeviceDescription x eventuale update
+ if ((device.lastIPv4 != postazione_IP) || (device.Description != userAgent))
+ {
+ // salvo ultimo "contatto" del device aggiornando descrizione ed IP
+ devicesAuthProxy.stObj.taAnagDev.updateIP(device.IdxDevice, DateTime.Now, postazione_IP, userAgent);
+ }
+ // salvo in sessione utente
+ memLayer.ML.setSessionVal("email", email);
+ // avvio utente...
+ devicesAuthProxy.stObj.startUpUtente(email);
+ // salvo gruppo...
+ if (devicesAuthProxy.stObj.isAuth)
+ {
+ // se tutto ok
+ memLayer.ML.setSessionVal("Gruppo", devicesAuthProxy.stObj.rigaUtente.CodGruppo);
+ answ = true;
+ }
+
+ }
+ }
+ }
+ catch (Exception exc)
+ {
+ logger.lg.scriviLog(string.Format("Errore in checkAuthCookie:{0}{1}", Environment.NewLine, exc), tipoLog.EXCEPTION);
+ }
+ return answ;
+ }
+
+ private void ResetUser()
+ {
+ devicesAuthProxy.stObj.clearAllUserData();
+ // svuoto cookie...
+ memLayer.ML.setCookieVal(memLayer.ML.confReadString("AuthCookieName"), "");
+ memLayer.ML.emptyCookieVal(memLayer.ML.confReadString("AuthCookieName"));
+ }
+
+
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_header.ascx.designer.cs b/WebSCR/WebUserControls/mod_header.ascx.designer.cs
new file mode 100644
index 0000000..6ce35d2
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_header.ascx.designer.cs
@@ -0,0 +1,33 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_header {
+
+ ///
+ /// Timer1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.Timer Timer1;
+
+ ///
+ /// lblVers control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblVers;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_impegno.ascx b/WebSCR/WebUserControls/mod_impegno.ascx
new file mode 100644
index 0000000..0c9c506
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_impegno.ascx
@@ -0,0 +1,234 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_impegno.ascx.cs" Inherits="WebSCR.WebUserControls.mod_impegno" %>
+
+
+
+
+
+
+
+
+
+
+ Cliente
+
+ documento
+
+ <%-- --%>
+
+
+
+
+
+
+
+
+
+
+ Intervento
+
+ Intervento (min)
+
+
+
+ Viaggio (min)
+
+
+
+ Fine intervento (prev)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Cliente
+
+ documento
+
+ <%-- --%>
+
+
+
+
+
+
+
+
+
+
+ Intervento
+
+ Intervento (min)
+
+
+
+ Viaggio (min)
+
+
+
+ Fine intervento (prev)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebSCR/WebUserControls/mod_impegno.ascx.cs b/WebSCR/WebUserControls/mod_impegno.ascx.cs
new file mode 100644
index 0000000..a3bc1fa
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_impegno.ascx.cs
@@ -0,0 +1,77 @@
+using SteamWare;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using WebSCR_data;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_impegno : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack)
+ {
+ doUpdate();
+ }
+ }
+ ///
+ /// disabilita modalità EDIT record...
+ ///
+ public bool disableEdit { get; set; }
+ ///
+ /// impegno corrente
+ ///
+ public int idxImpegno
+ {
+ get
+ {
+ int answ = 0;
+ try
+ {
+ answ = Convert.ToInt32(qsVal("IdxImpegno"));
+ }
+ catch
+ { }
+ return answ;
+ }
+ }
+
+ public void doUpdate()
+ {
+ frmViewImpegni.DataBind();
+ }
+ ///
+ /// recupera valore querystring
+ ///
+ ///
+ ///
+ protected string qsVal(string nome)
+ {
+ return memLayer.ML.QSS(nome);
+ }
+ ///
+ /// recupero valori mancanti
+ ///
+ ///
+ ///
+ protected void odsImpegni_Updating(object sender, ObjectDataSourceMethodEventArgs e)
+ {
+ if (e.InputParameters["UrlDoc"] == null)
+ {
+ e.InputParameters["UrlDoc"] = "";
+ }
+ if (e.InputParameters["UserMod"] == null)
+ {
+ e.InputParameters["UserMod"] = SteamWare.user_std.UtSn.userNameAD;
+ }
+ if (e.InputParameters["NoteGen"] == null)
+ {
+ e.InputParameters["NoteGen"] = "";
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_impegno.ascx.designer.cs b/WebSCR/WebUserControls/mod_impegno.ascx.designer.cs
new file mode 100644
index 0000000..a42551f
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_impegno.ascx.designer.cs
@@ -0,0 +1,51 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_impegno {
+
+ ///
+ /// frmViewImpegni control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.FormView frmViewImpegni;
+
+ ///
+ /// odsImpegni control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource odsImpegni;
+
+ ///
+ /// odsSquadre control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource odsSquadre;
+
+ ///
+ /// odsOrario control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource odsOrario;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_listValues.ascx b/WebSCR/WebUserControls/mod_listValues.ascx
new file mode 100644
index 0000000..0bcfeec
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_listValues.ascx
@@ -0,0 +1,136 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_listValues.ascx.cs"
+ Inherits="WebSCR.WebUserControls.mod_listValues" %>
+
+
+
+
+
+ --- Selezionare ---
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebSCR/WebUserControls/mod_listValues.ascx.cs b/WebSCR/WebUserControls/mod_listValues.ascx.cs
new file mode 100644
index 0000000..6eb3673
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_listValues.ascx.cs
@@ -0,0 +1,133 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using SteamWare;
+using WebSCR_data;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_listValues : System.Web.UI.UserControl
+ {
+ ///
+ /// caricamento pagina
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack)
+ {
+ lbShowNew.Enabled = true;
+ divInsert.Visible = false;
+
+ }
+ }
+ ///
+ /// dimensione pagina grid view
+ ///
+ public int pageSize
+ {
+ get
+ {
+ return grView.PageSize;
+ }
+ set
+ {
+ grView.PageSize = value;
+ }
+ }
+ ///
+ /// effettua traduzione del lemma
+ ///
+ ///
+ ///
+ public string traduci(string lemma)
+ {
+ return user_std.UtSn.Traduci(lemma);
+ }
+ ///
+ /// effettuo update
+ ///
+ private void doUpdate()
+ {
+ }
+
+ ///
+ /// reset selezione
+ ///
+ ///
+ ///
+ protected void btnReset_Click(object sender, EventArgs e)
+ {
+ // deseleziono e nascondo pnl statistiche...
+ grView.SelectedIndex = -1;
+ }
+ ///
+ /// mostra footer
+ ///
+ ///
+ ///
+ protected void btnShowInsert(object sender, EventArgs e)
+ {
+ // SE HO SELEZIONATO UN VALORE!!!
+ if (ddlTable.SelectedIndex > 0)
+ {
+ // inverto visibilità insert nuovi valori
+ divInsert.Visible = !divInsert.Visible;
+ if (divInsert.Visible)
+ {
+ lblBtnShowNew.Text = "Nascondi crea nuovo";
+ // precompilo valori tabella
+ txtTableName.Text = ddlTable.SelectedValue;
+ }
+ else
+ {
+ lblBtnShowNew.Text = "Mostra crea nuovo";
+ }
+ }
+ }
+
+ ///
+ /// evento post "aggancio" del grView x traduzione headers
+ ///
+ ///
+ ///
+ protected void grView_DataBound(object sender, EventArgs e)
+ {
+ if (grView.Rows.Count > 0)
+ {
+ int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
+ lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
+ }
+ else
+ {
+ lblNumRec.Text = "";
+ }
+ }
+
+ protected void ddlTable_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ // se seleziono valore "vuoto" resetto...
+ if (ddlTable.SelectedIndex == 0)
+ {
+ divInsert.Visible = false;
+ }
+ else
+ {
+ txtTableName.Text = ddlTable.SelectedValue;
+ }
+ }
+
+ protected void btnDoInsert_Click(object sender, EventArgs e)
+ {
+ // effettua insert!
+ DtProxy.man.taListVal.insertQuery(txtTableName.Text.Trim(), txtFieldName.Text.Trim(), txtvalue.Text.Trim(), txtvalue.Text.Trim(), 999);
+ // refresh dati!
+ grView.DataBind();
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_listValues.ascx.designer.cs b/WebSCR/WebUserControls/mod_listValues.ascx.designer.cs
new file mode 100644
index 0000000..e1926c9
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_listValues.ascx.designer.cs
@@ -0,0 +1,132 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_listValues {
+
+ ///
+ /// ddlTable control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.DropDownList ddlTable;
+
+ ///
+ /// grView control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView grView;
+
+ ///
+ /// lblNumRec control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblNumRec;
+
+ ///
+ /// lblWarning control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblWarning;
+
+ ///
+ /// ods control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource ods;
+
+ ///
+ /// odsTableName control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource odsTableName;
+
+ ///
+ /// lbShowNew control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.LinkButton lbShowNew;
+
+ ///
+ /// lblBtnShowNew control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblBtnShowNew;
+
+ ///
+ /// divInsert control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlGenericControl divInsert;
+
+ ///
+ /// txtTableName control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtTableName;
+
+ ///
+ /// txtFieldName control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtFieldName;
+
+ ///
+ /// txtvalue control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtvalue;
+
+ ///
+ /// btnDoInsert control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.LinkButton btnDoInsert;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_pianificazione.ascx b/WebSCR/WebUserControls/mod_pianificazione.ascx
new file mode 100644
index 0000000..4822fd2
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_pianificazione.ascx
@@ -0,0 +1,62 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_pianificazione.ascx.cs" Inherits="WebSCR.WebUserControls.mod_pianificazione" %>
+
+<%@ Register Src="~/WebUserControls/mod_filtroZona.ascx" TagPrefix="uc1" TagName="mod_filtroZona" %>
+<%@ Register Src="~/WebUserControls/mod_filtroPeriodo.ascx" TagPrefix="uc1" TagName="mod_filtroPeriodo" %>
+<%@ Register Src="~/WebUserControls/mod_dispPeriodo.ascx" TagPrefix="uc1" TagName="mod_dispPeriodo" %>
+<%@ Register Src="~/WebUserControls/mod_giornata.ascx" TagPrefix="uc1" TagName="mod_giornata" %>
+<%@ Register Src="~/WebUserControls/mod_impegno.ascx" TagPrefix="uc1" TagName="mod_impegno" %>
+<%@ Register Src="~/WebUserControls/mod_dettInt.ascx" TagPrefix="uc1" TagName="mod_dettInt" %>
+<%@ Register Src="~/WebUserControls/mod_selSquadre.ascx" TagPrefix="uc1" TagName="mod_selSquadre" %>
+<%@ Register Src="~/WebUserControls/mod_fileImpegno.ascx" TagPrefix="uc1" TagName="mod_fileImpegno" %>
+<%@ Register Src="~/WebUserControls/mod_fileUpload.ascx" TagPrefix="uc1" TagName="mod_fileUpload" %>
+<%@ Register Src="~/WebUserControls/mod_compSquadra.ascx" TagPrefix="uc1" TagName="mod_compSquadra" %>
+
+
+
+
+
+
+
+
+
Ricerca per Documento
+
+
+
+
Ricerca per Periodo
+
+
+
+
+
+
+
diff --git a/WebSCR/WebUserControls/mod_pianificazione.ascx.cs b/WebSCR/WebUserControls/mod_pianificazione.ascx.cs
new file mode 100644
index 0000000..487cbc8
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_pianificazione.ascx.cs
@@ -0,0 +1,148 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using SteamWare;
+using WebSCR_data;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_pianificazione : System.Web.UI.UserControl
+ {
+ ///
+ /// avvio pagina
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ fixVisibility();
+ if (!Page.IsPostBack)
+ {
+ mod_filtroZona.Zona = memLayer.ML.confReadString("zonaDef");
+ mod_filtroPeriodo.numGG = memLayer.ML.confReadInt("numGgDef");
+ // reimposto selezione squadre...
+ mod_selSquadre.selezionaDaSession();
+ refreshDetail();
+ }
+ mod_filtroZona.eh_selIndir += mod_filtroZona_eh_selIndir;
+ mod_filtroPeriodo.eh_selData += mod_filtroPeriodo_eh_selData;
+ mod_dettInt.eh_update += mod_dettInt_eh_update;
+ }
+
+ ///
+ /// richiesta refresh da inserimento dettaglio
+ ///
+ ///
+ ///
+ void mod_dettInt_eh_update(object sender, EventArgs e)
+ {
+ refreshDetail();
+ }
+ ///
+ /// evento selezione nuova data in filtro
+ ///
+ ///
+ ///
+ void mod_filtroPeriodo_eh_selData(object sender, EventArgs e)
+ {
+ refreshDetail();
+ }
+ ///
+ /// recupera valore querystring
+ ///
+ ///
+ ///
+ protected string qsVal(string nome)
+ {
+ return memLayer.ML.QSS(nome);
+ }
+ ///
+ /// imposta visibilità dato elementi già impostati
+ ///
+ private void fixVisibility()
+ {
+ // imposto filtraggi zona...
+ mod_dispPeriodo.Zona = mod_filtroZona.Zona;
+ mod_filtroPeriodo.Visible = true;
+
+ // sistemo visibilità giornata/impegni
+ mod_giornata.eh_newData += mod_giornata_eh_newData;
+
+ mod_giornata.Visible = false;
+ mod_dettInt.Visible = false;
+ mod_impegno.Visible = false;
+ mod_fileImpegno.Visible = false;
+ mod_fileUpload.Visible = false;
+ if (qsVal("Data") != "")
+ {
+ if (qsVal("IdxImpegno") != "")
+ {
+ // salvo parametri in sessione
+ saveSessParam();
+
+ mod_impegno.Visible = true;
+ mod_dettInt.Visible = true;
+ mod_fileImpegno.Visible = true;
+ mod_fileUpload.Visible = true;
+ }
+ else
+ {
+ mod_giornata.Visible = true;
+ }
+ }
+ }
+
+ private void saveSessParam()
+ {
+ // metto in sessione squadra sel
+ int idxImpegno = 0;
+ string CodSquadra = "";
+ DateTime DataImp = Convert.ToDateTime(memLayer.ML.StringSessionObj("DataRif"));
+ try
+ {
+ idxImpegno = Convert.ToInt32(qsVal("IdxImpegno"));
+ DS_Applicazione.ImpegniRow rigaImp = DtProxy.man.taImp.getByKey(idxImpegno)[0];
+ CodSquadra = rigaImp.CodSquadra;
+ DataImp = rigaImp.DataOra;
+ }
+ catch
+ { }
+ memLayer.ML.setSessionVal("CodSquadra", CodSquadra);
+ memLayer.ML.setSessionVal("DataImp", DataImp);
+ }
+
+ ///
+ /// nuovo record impegno...
+ ///
+ ///
+ ///
+ void mod_giornata_eh_newData(object sender, EventArgs e)
+ {
+ refreshDetail();
+ }
+ ///
+ /// evento selezione indirizzo, allora mostro il resto
+ ///
+ ///
+ ///
+ void mod_filtroZona_eh_selIndir(object sender, EventArgs e)
+ {
+ refreshDetail();
+ }
+ ///
+ /// refresh detail
+ ///
+ private void refreshDetail()
+ {
+ mod_dispPeriodo.DataFrom = mod_filtroPeriodo.dataFrom.ToString("yyyy-MM-dd");
+ mod_dispPeriodo.NumGG = mod_filtroPeriodo.numGG.ToString();
+ mod_dispPeriodo.Zona = mod_filtroZona.Zona;
+ mod_dispPeriodo.doUpdate();
+ mod_impegno.doUpdate();
+ mod_dettInt.doUpdate();
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_pianificazione.ascx.designer.cs b/WebSCR/WebUserControls/mod_pianificazione.ascx.designer.cs
new file mode 100644
index 0000000..d723b2b
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_pianificazione.ascx.designer.cs
@@ -0,0 +1,105 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_pianificazione {
+
+ ///
+ /// mod_filtroZona control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_filtroZona mod_filtroZona;
+
+ ///
+ /// mod_filtroPeriodo control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_filtroPeriodo mod_filtroPeriodo;
+
+ ///
+ /// mod_selSquadre control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_selSquadre mod_selSquadre;
+
+ ///
+ /// mod_dispPeriodo control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_dispPeriodo mod_dispPeriodo;
+
+ ///
+ /// mod_giornata control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_giornata mod_giornata;
+
+ ///
+ /// mod_impegno control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_impegno mod_impegno;
+
+ ///
+ /// mod_dettInt control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_dettInt mod_dettInt;
+
+ ///
+ /// mod_compSquadra control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_compSquadra mod_compSquadra;
+
+ ///
+ /// mod_fileImpegno control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_fileImpegno mod_fileImpegno;
+
+ ///
+ /// mod_fileUpload control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_fileUpload mod_fileUpload;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_selData.ascx b/WebSCR/WebUserControls/mod_selData.ascx
new file mode 100644
index 0000000..161b229
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_selData.ascx
@@ -0,0 +1,6 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_selData.ascx.cs" Inherits="WebSCR.WebUserControls.mod_selData" %>
+
+
+
diff --git a/WebSCR/WebUserControls/mod_selData.ascx.cs b/WebSCR/WebUserControls/mod_selData.ascx.cs
new file mode 100644
index 0000000..62f5972
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_selData.ascx.cs
@@ -0,0 +1,111 @@
+using SteamWare;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_selData : System.Web.UI.UserControl
+ {
+ ///
+ /// selezionata NUOVA data
+ ///
+ public event EventHandler eh_update;
+ ///
+ /// solleva evento selezione data
+ ///
+ protected void reportEvent()
+ {
+ // evento!
+ if (eh_update != null)
+ {
+ eh_update(this, new EventArgs());
+ }
+ }
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack)
+ {
+#if false
+ DateTime adesso = DateTime.Now;
+ try
+ {
+ adesso = Convert.ToDateTime(memLayer.ML.getCookieVal("DataRif"));
+ }
+ catch
+ { }
+ // metto data odierna...
+ txtDataRif.Text = adesso.ToString("yyyy-MM-dd");
+#endif
+ txtDataRif.Text = dataSel.ToString("yyyy-MM-dd");
+ }
+ }
+ ///
+ /// data selezionata (da query string o inizializzata...
+ ///
+ protected DateTime dataSel
+ {
+ get
+ {
+ DateTime answ = DateTime.Now;
+ if (memLayer.ML.isInSessionObject("DataRif"))
+ {
+ try
+ {
+ answ = Convert.ToDateTime(memLayer.ML.StringSessionObj("DataRif"));
+ }
+ catch
+ { }
+ }
+ else if (memLayer.ML.getCookieVal("DataRif") != "")
+ {
+ try
+ {
+ answ = Convert.ToDateTime(memLayer.ML.getCookieVal("DataRif"));
+ }
+ catch
+ { }
+ }
+ return answ;
+ }
+ set
+ {
+ memLayer.ML.setSessionVal("DataRif", value);
+ }
+ }
+ protected void txtDataRif_TextChanged(object sender, EventArgs e)
+ {
+ DateTime adesso = DateTime.Now;
+ try
+ {
+ adesso = Convert.ToDateTime(txtDataRif.Text);
+ }
+ catch
+ { }
+ // salvo in cookie e in sessione
+ memLayer.ML.setCookieVal("DataRif", adesso.ToString("yyyy-MM-dd"), DateTime.Now.AddMinutes(memLayer.ML.confReadInt("minCookieSquadra")));
+ memLayer.ML.setSessionVal("DataRif", adesso.ToString("yyyy-MM-dd"), true);
+ reportEvent();
+ }
+
+ public DateTime dateSel
+ {
+ get
+ {
+ DateTime answ = DateTime.Now;
+ try
+ {
+ answ = Convert.ToDateTime(memLayer.ML.getCookieVal("DataRif"));
+ }
+ catch
+ {
+ answ = Convert.ToDateTime(txtDataRif.Text);
+ }
+ return answ;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_selData.ascx.designer.cs b/WebSCR/WebUserControls/mod_selData.ascx.designer.cs
new file mode 100644
index 0000000..12746bf
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_selData.ascx.designer.cs
@@ -0,0 +1,24 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_selData {
+
+ ///
+ /// txtDataRif control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtDataRif;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_selSquadre.ascx b/WebSCR/WebUserControls/mod_selSquadre.ascx
new file mode 100644
index 0000000..921d0c4
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_selSquadre.ascx
@@ -0,0 +1,7 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_selSquadre.ascx.cs" Inherits="WebSCR.WebUserControls.mod_selSquadre" %>
+
+
+
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_selSquadre.ascx.cs b/WebSCR/WebUserControls/mod_selSquadre.ascx.cs
new file mode 100644
index 0000000..36d5683
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_selSquadre.ascx.cs
@@ -0,0 +1,75 @@
+using SteamWare;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using WebSCR_data;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_selSquadre : System.Web.UI.UserControl
+ {
+ ///
+ /// elenco squadre slezionate
+ ///
+ public List selected;
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack) selected = new List();
+ }
+ ///
+ /// pre-seleziona squadre attive da anagrafica
+ ///
+ public void selezionaAttive()
+ {
+ // leggo elenco squadre attive
+ DS_Applicazione.AnagSquadreDataTable tab = DtProxy.man.taAS.getAttive();
+ // preseleziono se in elenco...
+ foreach (ListItem item in cblSquadre.Items)
+ {
+ if (tab.Select(string.Format("CodSquadra = '{0}'", item.Value)).Length > 0)
+ item.Selected = true;
+ }
+ saveSelected();
+ }
+
+ ///
+ /// effettua selezione da valori in sessione...
+ ///
+ public void selezionaDaSession()
+ {
+ cblSquadre.DataBind();
+ if (memLayer.ML.isInSessionObject("elencoSquadre"))
+ {
+ foreach (ListItem item in cblSquadre.Items)
+ {
+ if (memLayer.ML.StringSessionObj("elencoSquadre").ToString().IndexOf(item.Value) >= 0)
+ item.Selected = true;
+ }
+ }
+ }
+
+ protected void cblSquadre_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ saveSelected();
+ }
+
+ private void saveSelected()
+ {
+ selected = new List();
+ string elencoSquadre = "";
+ foreach (ListItem item in cblSquadre.Items)
+ {
+ if (item.Selected)
+ {
+ selected.Add(item);
+ }
+ }
+ elencoSquadre = string.Join(",", selected);
+ memLayer.ML.setSessionVal("elencoSquadre", elencoSquadre);
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_selSquadre.ascx.designer.cs b/WebSCR/WebUserControls/mod_selSquadre.ascx.designer.cs
new file mode 100644
index 0000000..a9481ec
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_selSquadre.ascx.designer.cs
@@ -0,0 +1,33 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_selSquadre {
+
+ ///
+ /// cblSquadre control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.CheckBoxList cblSquadre;
+
+ ///
+ /// odsSquadre control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource odsSquadre;
+ }
+}
diff --git a/WebSCR/WebUserControls/mod_squadre.ascx b/WebSCR/WebUserControls/mod_squadre.ascx
new file mode 100644
index 0000000..8ef98a6
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_squadre.ascx
@@ -0,0 +1,10 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_squadre.ascx.cs" Inherits="WebSCR.WebUserControls.mod_squadre" %>
+
+
diff --git a/WebSCR/WebUserControls/mod_squadre.ascx.cs b/WebSCR/WebUserControls/mod_squadre.ascx.cs
new file mode 100644
index 0000000..71b4494
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_squadre.ascx.cs
@@ -0,0 +1,58 @@
+using SteamWare;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using WebSCR_data;
+
+namespace WebSCR.WebUserControls
+{
+ public partial class mod_squadre : System.Web.UI.UserControl
+ {
+
+ protected string cookieName = "colorSquadraCurr";
+
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ bool showSel = true;
+ // controllo se c'è il cookie
+ if (memLayer.ML.hasCookieVal(cookieName))
+ {
+ // se c'è e non è expired
+ showSel = false;
+ }
+ rblSquadre.Visible = showSel;
+ }
+ ///
+ /// selezione nuova squadra...
+ ///
+ ///
+ ///
+ protected void rblSquadre_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ // salvo cookie!
+ string codSquadra = "";
+ try
+ {
+ codSquadra = rblSquadre.SelectedValue;
+ }
+ catch
+ { }
+ if (codSquadra != "")
+ {
+ DS_Applicazione.AnagSquadreRow riga = DtProxy.man.taAS.getByKey(codSquadra)[0];
+ memLayer.ML.setCookieVal(cookieName, riga.CssColor, DateTime.Now.AddMinutes(memLayer.ML.confReadInt("minCookieSquadra")));
+ memLayer.ML.setCookieVal("CodSquadra", riga.CodSquadra, DateTime.Now.AddMinutes(memLayer.ML.confReadInt("minCookieSquadra")));
+ memLayer.ML.setCookieVal("SquadraCurr", riga.DescrSquadra, DateTime.Now.AddMinutes(memLayer.ML.confReadInt("minCookieSquadra")));
+ memLayer.ML.setCookieVal("DataRif", DateTime.Now.ToString("yyyy-MM-dd"), DateTime.Now.AddMinutes(memLayer.ML.confReadInt("minCookieSquadra")));
+ memLayer.ML.setCookieVal("NumGg", memLayer.ML.CRS("NumGg"), DateTime.Now.AddMinutes(memLayer.ML.confReadInt("minCookieSquadra")));
+ memLayer.ML.setCookieVal("RecAgeDd", "1000", DateTime.Now.AddMinutes(memLayer.ML.confReadInt("minCookieSquadra")));
+ // ricarico!
+ Response.Redirect(devicesAuthProxy.pagCorrente);
+ }
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/WebUserControls/mod_squadre.ascx.designer.cs b/WebSCR/WebUserControls/mod_squadre.ascx.designer.cs
new file mode 100644
index 0000000..9016c8c
--- /dev/null
+++ b/WebSCR/WebUserControls/mod_squadre.ascx.designer.cs
@@ -0,0 +1,33 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR.WebUserControls {
+
+
+ public partial class mod_squadre {
+
+ ///
+ /// rblSquadre control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.RadioButtonList rblSquadre;
+
+ ///
+ /// odsSquadre control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource odsSquadre;
+ }
+}
diff --git a/WebSCR/bin/Antlr3.Runtime.dll b/WebSCR/bin/Antlr3.Runtime.dll
index 34bd478..b963933 100644
Binary files a/WebSCR/bin/Antlr3.Runtime.dll and b/WebSCR/bin/Antlr3.Runtime.dll differ
diff --git a/WebSCR/bin/Antlr3.Runtime.pdb b/WebSCR/bin/Antlr3.Runtime.pdb
index 315edcf..4afaf35 100644
Binary files a/WebSCR/bin/Antlr3.Runtime.pdb and b/WebSCR/bin/Antlr3.Runtime.pdb differ
diff --git a/WebSCR/bin/DayPilot.dll b/WebSCR/bin/DayPilot.dll
new file mode 100644
index 0000000..4dada23
Binary files /dev/null and b/WebSCR/bin/DayPilot.dll differ
diff --git a/WebSCR/bin/NLog.Web.dll b/WebSCR/bin/NLog.Web.dll
index fd30701..70d8719 100644
Binary files a/WebSCR/bin/NLog.Web.dll and b/WebSCR/bin/NLog.Web.dll differ
diff --git a/WebSCR/bin/NLog.dll b/WebSCR/bin/NLog.dll
index c3628b8..064bc61 100644
Binary files a/WebSCR/bin/NLog.dll and b/WebSCR/bin/NLog.dll differ
diff --git a/WebSCR/bin/NLog.xml b/WebSCR/bin/NLog.xml
index 3fed478..d050ecd 100644
--- a/WebSCR/bin/NLog.xml
+++ b/WebSCR/bin/NLog.xml
@@ -1005,7 +1005,7 @@
A bunch of utility methods (mostly predicates) which can be used in
- condition expressions. Parially inspired by XPath 1.0.
+ condition expressions. Partially inspired by XPath 1.0.
@@ -1366,6 +1366,20 @@
Gets the next token and sets and properties.
+
+
+ Try the comparison tokens (greater, smaller, greater-equals, smaller-equals)
+
+ current char
+ is match
+
+
+
+ Try the logical tokens (and, or, not, equals)
+
+ current char
+ is match
+
Gets the token position.
@@ -1589,7 +1603,7 @@
Factory for class-based items.
The base type of each item.
- The type of the attribute used to annotate itemss.
+ The type of the attribute used to annotate items.
@@ -1607,7 +1621,7 @@
- Tries to get registed item definition.
+ Tries to get registered item definition.
Name of the item.
Reference to a variable which will store the item definition.
@@ -1637,7 +1651,7 @@
Scans the assembly.
- The types to scane.
+ The types to scan.
The prefix.
@@ -1668,7 +1682,7 @@
- Tries to get registed item definition.
+ Tries to get registered item definition.
Name of the item.
Reference to a variable which will store the item definition.
@@ -1885,6 +1899,14 @@
Validates the configuration.
+
+
+ Gets the variables defined in the configuration.
+
+
+ Returns null if not configured using XML configuration.
+
+
Gets a collection of named targets specified in the configuration.
@@ -1908,8 +1930,11 @@
- Gets or sets the default culture info use.
+ Gets or sets the default culture info to use as .
+
+ Specific culture info or null to use
+
@@ -2300,7 +2325,7 @@
- Capture maximum amount of the stack trace information supported on the plaform.
+ Capture maximum amount of the stack trace information supported on the platform.
@@ -2378,6 +2403,11 @@
the application configuration file (app.exe.config ).
+
+
+ Did the Succeeded? true = success, false = error, null = initialize not started yet.
+
+
Gets the variables defined in the configuration.
@@ -2518,7 +2548,7 @@
Matches when the calculated layout contains the specified substring.
- This filter is deprecated in favour of <when /> which is based on contitions .
+ This filter is deprecated in favor of <when /> which is based on conditions .
@@ -2547,7 +2577,7 @@
Matches when the calculated layout is equal to the specified substring.
- This filter is deprecated in favour of <when /> which is based on contitions .
+ This filter is deprecated in favor of <when /> which is based on conditions .
@@ -2576,7 +2606,7 @@
Matches when the calculated layout does NOT contain the specified substring.
- This filter is deprecated in favour of <when /> which is based on contitions .
+ This filter is deprecated in favor of <when /> which is based on conditions .
@@ -2605,7 +2635,7 @@
Matches when the calculated layout is NOT equal to the specified substring.
- This filter is deprecated in favour of <when /> which is based on contitions .
+ This filter is deprecated in favor of <when /> which is based on conditions .
@@ -2636,18 +2666,73 @@
+
+
+ A global logging class using caller info to find the logger.
+
+
+
+
+ Starts building a log event with the specified .
+
+ The log level.
+ The full path of the source file that contains the caller. This is the file path at the time of compile.
+ An instance of the fluent .
+
+
+
+ Starts building a log event at the Trace level.
+
+ The full path of the source file that contains the caller. This is the file path at the time of compile.
+ An instance of the fluent .
+
+
+
+ Starts building a log event at the Debug level.
+
+ The full path of the source file that contains the caller. This is the file path at the time of compile.
+ An instance of the fluent .
+
+
+
+ Starts building a log event at the Info level.
+
+ The full path of the source file that contains the caller. This is the file path at the time of compile.
+ An instance of the fluent .
+
+
+
+ Starts building a log event at the Warn level.
+
+ The full path of the source file that contains the caller. This is the file path at the time of compile.
+ An instance of the fluent .
+
+
+
+ Starts building a log event at the Error level.
+
+ The full path of the source file that contains the caller. This is the file path at the time of compile.
+ An instance of the fluent .
+
+
+
+ Starts building a log event at the Fatal level.
+
+ The full path of the source file that contains the caller. This is the file path at the time of compile.
+ An instance of the fluent .
+
A fluent class to build log events for NLog.
-
+
Initializes a new instance of the class.
The to send the log event.
-
+
Initializes a new instance of the class.
@@ -2684,7 +2769,7 @@
- Sets the log message and parameters for formating on the logging event.
+ Sets the log message and parameters for formatting on the logging event.
A composite format string.
The object to format.
@@ -2692,7 +2777,7 @@
- Sets the log message and parameters for formating on the logging event.
+ Sets the log message and parameters for formatting on the logging event.
A composite format string.
The first object to format.
@@ -2701,7 +2786,7 @@
- Sets the log message and parameters for formating on the logging event.
+ Sets the log message and parameters for formatting on the logging event.
A composite format string.
The first object to format.
@@ -2711,7 +2796,7 @@
- Sets the log message and parameters for formating on the logging event.
+ Sets the log message and parameters for formatting on the logging event.
A composite format string.
The first object to format.
@@ -2722,7 +2807,7 @@
- Sets the log message and parameters for formating on the logging event.
+ Sets the log message and parameters for formatting on the logging event.
A composite format string.
An object array that contains zero or more objects to format.
@@ -2730,7 +2815,7 @@
- Sets the log message and parameters for formating on the logging event.
+ Sets the log message and parameters for formatting on the logging event.
An object that supplies culture-specific formatting information.
A composite format string.
@@ -2760,22 +2845,31 @@
Index of the first user stack frame within the stack trace.
-
+
Writes the log event to the underlying logger.
+ The method or property name of the caller to the method. This is set at by the compiler.
+ The full path of the source file that contains the caller. This is set at by the compiler.
+ The line number in the source file at which the method is called. This is set at by the compiler.
-
+
- Writes the log event to the underlying logger.
+ Writes the log event to the underlying logger if the condition delegate is true.
If condition is true, write log event; otherwise ignore event.
+ The method or property name of the caller to the method. This is set at by the compiler.
+ The full path of the source file that contains the caller. This is set at by the compiler.
+ The line number in the source file at which the method is called. This is set at by the compiler.
-
+
- Writes the log event to the underlying logger.
+ Writes the log event to the underlying logger if the condition is true.
If condition is true, write log event; otherwise ignore event.
+ The method or property name of the caller to the method. This is set at by the compiler.
+ The full path of the source file that contains the caller. This is set at by the compiler.
+ The line number in the source file at which the method is called. This is set at by the compiler.
@@ -2787,7 +2881,7 @@
Extension methods for NLog .
-
+
Starts building a log event with the specified .
@@ -2795,42 +2889,42 @@
The log level.
-
+
Starts building a log event at the Trace level.
The logger to write the log event to.
-
+
Starts building a log event at the Debug level.
The logger to write the log event to.
-
+
Starts building a log event at the Info level.
The logger to write the log event to.
-
+
Starts building a log event at the Warn level.
The logger to write the log event to.
-
+
Starts building a log event at the Error level.
The logger to write the log event to.
-
+
Starts building a log event at the Fatal level.
@@ -2911,6 +3005,2739 @@
Clears the content of the GDC.
+
+
+ Provides logging interface and utility functions.
+
+
+ Auto-generated Logger members for binary compatibility with NLog 1.0.
+
+
+
+
+ Auto-generated Logger members for binary compatibility with NLog 1.0.
+
+
+
+
+ Gets a value indicating whether logging is enabled for the specified level.
+
+ Log level to be checked.
+ A value of if logging is enabled for the specified level, otherwise it returns .
+
+
+
+ Writes the specified diagnostic message.
+
+ Log event.
+
+
+
+ Writes the specified diagnostic message.
+
+ The name of the type that wraps Logger.
+ Log event.
+
+
+
+ Writes the diagnostic message at the specified level using the specified format provider and format parameters.
+
+
+ Writes the diagnostic message at the specified level.
+
+ Type of the value.
+ The log level.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the specified level.
+
+ Type of the value.
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the specified level.
+
+ The log level.
+ A function returning message to be written. Function is not evaluated if logging is not enabled.
+
+
+
+ Writes the diagnostic message and exception at the specified level.
+
+ The log level.
+ A to be written.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message and exception at the specified level.
+
+ The log level.
+ A to be written.
+ Arguments to format.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message and exception at the specified level.
+
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+ Arguments to format.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider.
+
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the specified level.
+
+ The log level.
+ Log message.
+
+
+
+ Writes the diagnostic message at the specified level using the specified parameters.
+
+ The log level.
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the specified level.
+
+ The log level.
+ A to be written.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider.
+
+ The type of the argument.
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified parameter.
+
+ The type of the argument.
+ The log level.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider.
+
+ The type of the first argument.
+ The type of the second argument.
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified parameters.
+
+ The type of the first argument.
+ The type of the second argument.
+ The log level.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified parameters.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ The log level.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
+
+
+ Writes the diagnostic message at the specified level.
+
+ The log level.
+ A to be written.
+
+
+
+ Writes the diagnostic message at the specified level.
+
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+
+
+
+ Writes the diagnostic message at the specified level using the specified parameters.
+
+ The log level.
+ A containing format items.
+ First argument to format.
+ Second argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified parameters.
+
+ The log level.
+ A containing format items.
+ First argument to format.
+ Second argument to format.
+ Third argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter.
+
+ The log level.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter.
+
+ The log level.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter.
+
+ The log level.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter.
+
+ The log level.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter.
+
+ The log level.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter.
+
+ The log level.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter.
+
+ The log level.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter.
+
+ The log level.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter.
+
+ The log level.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter.
+
+ The log level.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter.
+
+ The log level.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter.
+
+ The log level.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the specified level using the specified value as a parameter.
+
+ The log level.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Occurs when logger configuration changes.
+
+
+
+
+ Gets the name of the logger.
+
+
+
+
+ Gets the factory that created this logger.
+
+
+
+
+ Provides an interface to execute System.Actions without surfacing any exceptions raised for that action.
+
+
+
+
+ Runs action. If the action throws, the exception is logged at Error level. Exception is not propagated outside of this method.
+
+ Action to execute.
+
+
+
+ Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
+ Exception is not propagated outside of this method. Fallback value is returned instead.
+
+ Return type of the provided function.
+ Function to run.
+ Result returned by the provided function or fallback value in case of exception.
+
+
+
+ Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
+ Exception is not propagated outside of this method. Fallback value is returned instead.
+
+ Return type of the provided function.
+ Function to run.
+ Fallback value to return in case of exception. Defaults to default value of type T.
+ Result returned by the provided function or fallback value in case of exception.
+
+
+
+ Runs async action. If the action throws, the exception is logged at Error level. Exception is not propagated outside of this method.
+
+ Async action to execute.
+
+
+
+ Runs the provided async function and returns its result. If exception is thrown, it is logged at Error level.
+ Exception is not propagated outside of this method. Fallback value is returned instead.
+
+ Return type of the provided function.
+ Async function to run.
+ Result returned by the provided function or fallback value in case of exception.
+
+
+
+ Runs the provided async function and returns its result. If exception is thrown, it is logged at Error level.
+ Exception is not propagated outside of this method. Fallback value is returned instead.
+
+ Return type of the provided function.
+ Async function to run.
+ Fallback value to return in case of exception. Defaults to default value of type T.
+ Result returned by the provided function or fallback value in case of exception.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified format provider and format parameters.
+
+
+ Writes the diagnostic message at the Trace level.
+
+ Type of the value.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the Trace level.
+
+ Type of the value.
+ An IFormatProvider that supplies culture-specific formatting information.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the Trace level.
+
+ A function returning message to be written. Function is not evaluated if logging is not enabled.
+
+
+
+ Writes the diagnostic message and exception at the Trace level.
+
+ A to be written.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message and exception at the Trace level.
+
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Trace level.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Trace level.
+
+ Log message.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified parameters.
+
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Trace level.
+
+ A to be written.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider.
+
+ The type of the argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified parameter.
+
+ The type of the argument.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider.
+
+ The type of the first argument.
+ The type of the second argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified parameters.
+
+ The type of the first argument.
+ The type of the second argument.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified parameters.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified format provider and format parameters.
+
+
+ Writes the diagnostic message at the Debug level.
+
+ Type of the value.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the Debug level.
+
+ Type of the value.
+ An IFormatProvider that supplies culture-specific formatting information.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the Debug level.
+
+ A function returning message to be written. Function is not evaluated if logging is not enabled.
+
+
+
+ Writes the diagnostic message and exception at the Debug level.
+
+ A to be written.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message and exception at the Debug level.
+
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Debug level.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Debug level.
+
+ Log message.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameters.
+
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Debug level.
+
+ A to be written.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider.
+
+ The type of the argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameter.
+
+ The type of the argument.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider.
+
+ The type of the first argument.
+ The type of the second argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameters.
+
+ The type of the first argument.
+ The type of the second argument.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameters.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified format provider and format parameters.
+
+
+ Writes the diagnostic message at the Info level.
+
+ Type of the value.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the Info level.
+
+ Type of the value.
+ An IFormatProvider that supplies culture-specific formatting information.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the Info level.
+
+ A function returning message to be written. Function is not evaluated if logging is not enabled.
+
+
+
+ Writes the diagnostic message and exception at the Info level.
+
+ A to be written.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message and exception at the Info level.
+
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Info level.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified parameters and formatting them with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Info level.
+
+ Log message.
+
+
+
+ Writes the diagnostic message at the Info level using the specified parameters.
+
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Info level.
+
+ A to be written.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider.
+
+ The type of the argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified parameter.
+
+ The type of the argument.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider.
+
+ The type of the first argument.
+ The type of the second argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified parameters.
+
+ The type of the first argument.
+ The type of the second argument.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified arguments formatting it with the supplied format provider.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified parameters.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified format provider and format parameters.
+
+
+ Writes the diagnostic message at the Warn level.
+
+ Type of the value.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the Warn level.
+
+ Type of the value.
+ An IFormatProvider that supplies culture-specific formatting information.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the Warn level.
+
+ A function returning message to be written. Function is not evaluated if logging is not enabled.
+
+
+
+ Writes the diagnostic message and exception at the Warn level.
+
+ A to be written.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message and exception at the Warn level.
+
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Warn level.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified parameters and formatting them with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Warn level.
+
+ Log message.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified parameters.
+
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Warn level.
+
+ A to be written.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider.
+
+ The type of the argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified parameter.
+
+ The type of the argument.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider.
+
+ The type of the first argument.
+ The type of the second argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified parameters.
+
+ The type of the first argument.
+ The type of the second argument.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified arguments formatting it with the supplied format provider.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified parameters.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified format provider and format parameters.
+
+
+ Writes the diagnostic message at the Error level.
+
+ Type of the value.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the Error level.
+
+ Type of the value.
+ An IFormatProvider that supplies culture-specific formatting information.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the Error level.
+
+ A function returning message to be written. Function is not evaluated if logging is not enabled.
+
+
+
+ Writes the diagnostic message and exception at the Error level.
+
+ A to be written.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message and exception at the Error level.
+
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Error level.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified parameters and formatting them with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Error level.
+
+ Log message.
+
+
+
+ Writes the diagnostic message at the Error level using the specified parameters.
+
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Error level.
+
+ A to be written.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider.
+
+ The type of the argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified parameter.
+
+ The type of the argument.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider.
+
+ The type of the first argument.
+ The type of the second argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified parameters.
+
+ The type of the first argument.
+ The type of the second argument.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified arguments formatting it with the supplied format provider.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified parameters.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified format provider and format parameters.
+
+
+ Writes the diagnostic message at the Fatal level.
+
+ Type of the value.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the Fatal level.
+
+ Type of the value.
+ An IFormatProvider that supplies culture-specific formatting information.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the Fatal level.
+
+ A function returning message to be written. Function is not evaluated if logging is not enabled.
+
+
+
+ Writes the diagnostic message and exception at the Fatal level.
+
+ A to be written.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message and exception at the Fatal level.
+
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Fatal level.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified parameters and formatting them with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Fatal level.
+
+ Log message.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified parameters.
+
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Fatal level.
+
+ A to be written.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider.
+
+ The type of the argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified parameter.
+
+ The type of the argument.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider.
+
+ The type of the first argument.
+ The type of the second argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified parameters.
+
+ The type of the first argument.
+ The type of the second argument.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified arguments formatting it with the supplied format provider.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified parameters.
+
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level.
+
+ A to be written.
+
+
+
+ Writes the diagnostic message at the Trace level.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified parameters.
+
+ A containing format items.
+ First argument to format.
+ Second argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified parameters.
+
+ A containing format items.
+ First argument to format.
+ Second argument to format.
+ Third argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.s
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level.
+
+ A to be written.
+
+
+
+ Writes the diagnostic message at the Debug level.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameters.
+
+ A containing format items.
+ First argument to format.
+ Second argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameters.
+
+ A containing format items.
+ First argument to format.
+ Second argument to format.
+ Third argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level.
+
+ A to be written.
+
+
+
+ Writes the diagnostic message at the Info level.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+
+
+
+ Writes the diagnostic message at the Info level using the specified parameters.
+
+ A containing format items.
+ First argument to format.
+ Second argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified parameters.
+
+ A containing format items.
+ First argument to format.
+ Second argument to format.
+ Third argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Info level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level.
+
+ A to be written.
+
+
+
+ Writes the diagnostic message at the Warn level.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified parameters.
+
+ A containing format items.
+ First argument to format.
+ Second argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified parameters.
+
+ A containing format items.
+ First argument to format.
+ Second argument to format.
+ Third argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Warn level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level.
+
+ A to be written.
+
+
+
+ Writes the diagnostic message at the Error level.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+
+
+
+ Writes the diagnostic message at the Error level using the specified parameters.
+
+ A containing format items.
+ First argument to format.
+ Second argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified parameters.
+
+ A containing format items.
+ First argument to format.
+ Second argument to format.
+ Third argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Error level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level.
+
+ A to be written.
+
+
+
+ Writes the diagnostic message at the Fatal level.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified parameters.
+
+ A containing format items.
+ First argument to format.
+ Second argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified parameters.
+
+ A containing format items.
+ First argument to format.
+ Second argument to format.
+ Third argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter and formatting it with the supplied format provider.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Fatal level using the specified value as a parameter.
+
+ A containing one format item.
+ The argument to format.
+
+
+
+ Gets a value indicating whether logging is enabled for the Trace level.
+
+ A value of if logging is enabled for the Trace level, otherwise it returns .
+
+
+
+ Gets a value indicating whether logging is enabled for the Debug level.
+
+ A value of if logging is enabled for the Debug level, otherwise it returns .
+
+
+
+ Gets a value indicating whether logging is enabled for the Info level.
+
+ A value of if logging is enabled for the Info level, otherwise it returns .
+
+
+
+ Gets a value indicating whether logging is enabled for the Warn level.
+
+ A value of if logging is enabled for the Warn level, otherwise it returns .
+
+
+
+ Gets a value indicating whether logging is enabled for the Error level.
+
+ A value of if logging is enabled for the Error level, otherwise it returns .
+
+
+
+ Gets a value indicating whether logging is enabled for the Fatal level.
+
+ A value of if logging is enabled for the Fatal level, otherwise it returns .
+
Various helper methods for accessing state of ASP application.
@@ -3128,6 +5955,47 @@
The current element in the collection.
+
+
+ UTF-8 BOM 239, 187, 191
+
+
+
+
+ Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded.
+
+ The enumeration type to which to convert value.
+ The string representation of the enumeration name or underlying value to convert.
+ When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized.
+ true if the value parameter was converted successfully; otherwise, false .
+ Wrapper because Enum.TryParse is not present in .net 3.5
+
+
+
+ Converts the string representation of the name or numeric value of one or more enumerated constants to an equivalent enumerated object. A parameter specifies whether the operation is case-sensitive. The return value indicates whether the conversion succeeded.
+
+ The enumeration type to which to convert value.
+ The string representation of the enumeration name or underlying value to convert.
+ true to ignore case; false to consider case.
+ When this method returns, result contains an object of type TEnum whose value is represented by value if the parse operation succeeds. If the parse operation fails, result contains the default value of the underlying type of TEnum. Note that this value need not be a member of the TEnum enumeration. This parameter is passed uninitialized.
+ true if the value parameter was converted successfully; otherwise, false .
+ Wrapper because Enum.TryParse is not present in .net 3.5
+
+
+
+ Enum.TryParse implementation for .net 3.5
+
+
+
+ Don't uses reflection
+
+
+
+ IsNullOrWhiteSpace for .net 3.5
+
+
+
+
Safe way to get environment variables.
@@ -3180,6 +6048,11 @@
Gets or set the friendly name.
+
+
+ Gets an integer that uniquely identifies the application domain within the process.
+
+
Process exit event.
@@ -3221,6 +6094,11 @@
Gets or set the friendly name.
+
+
+ Gets an integer that uniquely identifies the application domain within the process.
+
+
Process exit event.
@@ -3263,7 +6141,7 @@
Gets the file info.
- The last write time.
+ The last file write time. The value must be of UTC kind.
Length of the file.
True if the operation succeeded, false otherwise.
@@ -3287,7 +6165,7 @@
Records the last write time for a file to be specific date.
- Date and time when the last write occurred.
+ Date and time when the last write occurred. The value must be of UTC kind.
@@ -3306,13 +6184,13 @@
Gets the last write time.
- The last write time.
+ The last write time. DateTime value must be of UTC kind.
Gets the open time of the file.
- The open time.
+ The open time. DateTime value must be of UTC kind.
@@ -3347,7 +6225,7 @@
Gets the file info.
- The last write time.
+ The last file write time. The value must be of UTC kind.
Length of the file.
True if the operation succeeded, false otherwise.
@@ -3430,7 +6308,7 @@
Gets the file info.
- The last write time.
+ The last file write time. The value must be of UTC kind.
Length of the file.
True if the operation succeeded, false otherwise.
@@ -3484,7 +6362,7 @@
Gets the file info.
- The last write time.
+ The last file write time. The value must be of UTC kind.
Length of the file.
True if the operation succeeded, false otherwise.
@@ -3537,7 +6415,7 @@
Gets the file info.
- The last write time.
+ The last file write time. The value must be of UTC kind.
Length of the file.
True if the operation succeeded, false otherwise.
@@ -3574,54 +6452,10 @@
Name of the file.
The file handle.
- The last write time of the file.
+ The last write time of the file in UTC.
Length of the file.
A value of true if file information was retrieved successfully, false otherwise.
-
-
- Form helper methods.
-
-
-
-
- Creates RichTextBox and docks in parentForm.
-
- Name of RichTextBox.
- Form to dock RichTextBox.
- Created RichTextBox.
-
-
-
- Finds control embedded on searchControl.
-
- Name of the control.
- Control in which we're searching for control.
- A value of null if no control has been found.
-
-
-
- Finds control of specified type embended on searchControl.
-
- The type of the control.
- Name of the control.
- Control in which we're searching for control.
-
- A value of null if no control has been found.
-
-
-
-
- Creates a form.
-
- Name of form.
- Width of form.
- Height of form.
- Auto show form.
- If set to true the form will be minimized.
- If set to true the form will be created as tool window.
- Created form.
-
Interface implemented by layouts and layout renderers.
@@ -3692,18 +6526,6 @@
A value of true if the specified level is enabled; otherwise, false .
-
-
- Message Box helper.
-
-
-
-
- Shows the specified message using platform-specific message box.
-
- The message.
- The caption.
-
Watches multiple files at the same time and raises an event whenever
@@ -3736,66 +6558,6 @@
Supports mocking of SMTP Client code.
-
-
- Sends a QUIT message to the SMTP server, gracefully ends the TCP connection, and releases all resources used by the current instance of the class.
-
-
-
-
- Supports mocking of SMTP Client code.
-
-
-
-
- Supports mocking of SMTP Client code.
-
-
-
-
- Supports mocking of SMTP Client code.
-
-
-
-
- Supports mocking of SMTP Client code.
-
-
-
-
- Supports mocking of SMTP Client code.
-
-
-
-
- Supports mocking of SMTP Client code.
-
-
-
-
- Supports mocking of SMTP Client code.
-
-
-
-
- Supports mocking of SMTP Client code.
-
-
-
-
- Supports mocking of SMTP Client code.
-
-
-
-
- Supports mocking of SMTP Client code.
-
-
-
-
- Supports mocking of SMTP Client code.
-
-
Network sender which uses HTTP or HTTPS POST.
@@ -4166,7 +6928,7 @@
Name of the file.
The file handle.
- The last write time of the file.
+ The last write time of the file in UTC.
Length of the file.
A value of true if file information was retrieved successfully, false otherwise.
@@ -4347,7 +7109,7 @@
The inputs.
The key selector function.
- Dictonary where keys are unique input keys, and values are lists of .
+ Dictionary where keys are unique input keys, and values are lists of .
@@ -4364,6 +7126,19 @@
Utilities for dealing with values.
+
+
+ Stream helpers
+
+
+
+
+ Copy stream input to output. Skip the first bytes
+
+ stream to read from
+ stream to write to
+ first bytes to skip (optional)
+
Represents target with a chain of filters which determine
@@ -4461,7 +7236,7 @@
Name of the file.
The file handle.
- The last write time of the file.
+ The last write time of the file in UTC.
Length of the file.
A value of true if file information was retrieved successfully, false otherwise.
@@ -4546,20 +7321,9 @@
-
+
- Designates a property of the class as an ambient property.
-
-
-
-
- Initializes a new instance of the class.
-
- Ambient property name.
-
-
-
- ASP Application variable.
+ Log event context data.
@@ -4637,6 +7401,82 @@
Gets the logging configuration this target is part of.
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Renders all log event's properties and appends them to the specified .
+
+ The to append the rendered data to.
+ Logging event.
+
+
+
+ Gets or sets string that will be used to separate key/value pairs.
+
+
+
+
+
+ Gets or sets how key/value pairs will be formatted.
+
+
+
+
+
+ Designates a property of the class as an ambient property.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Ambient property name.
+
+
+
+ Used to render the application domain name.
+
+
+
+
+ Create a new renderer
+
+
+
+
+ Create a new renderer
+
+
+
+
+ Render the layout
+
+
+
+
+
+
+ Convert the formatting string
+
+
+
+
+
+
+ Format string. Possible values: "Short", "Long" or custom like {0} {1}. Default "Long"
+ The first parameter is the , the second the second the
+ This string is used in
+
+
+
+
+ ASP Application variable.
+
+
Renders the specified ASP Application variable and appends it to the specified .
@@ -5740,7 +8580,7 @@
- Peak Vitual Memory Size.
+ Peak Virtual Memory Size.
@@ -6068,6 +8908,12 @@
+
+
+ Gets or sets the number of frames to skip.
+
+
+
Gets or sets the stack frame separator string.
@@ -6363,6 +9209,23 @@
Contents of inner layout.
+
+
+ Horizontal alignment for padding layout renderers.
+
+
+
+
+ When layout text is too long, align it to the left
+ (remove characters from the right).
+
+
+
+
+ When layout text is too long, align it to the right
+ (remove characters from the left).
+
+
Applies padding to another layout output.
@@ -6403,6 +9266,15 @@
+
+
+ Gets or sets a value indicating whether a value that has
+ been truncated (when is true)
+ will be left-aligned (characters removed from the right)
+ or right-aligned (characters removed from the left). The
+ default is left alignment.
+
+
Replaces a string in the output of another layout with another string.
@@ -6941,7 +9813,7 @@
- Specifies allowes CSV quoting modes.
+ Specifies CSV quoting modes.
@@ -6960,6 +9832,56 @@
the separator.
+
+
+ JSON attribute.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The name of the attribute.
+ The layout of the attribute's value.
+
+
+
+ Gets or sets the name of the attribute.
+
+
+
+
+ Gets or sets the layout that will be rendered as the attribute's value.
+
+
+
+
+ A specialized layout that renders JSON-formatted events.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Formats the log event as a JSON document for writing.
+
+ The log event to be formatted.
+ A JSON string representation of the log event.
+
+
+
+ Gets the array of attributes' configurations.
+
+
+
Marks class as a layout renderer and assigns a format string to it.
@@ -7045,26 +9967,26 @@
The text to be escaped.
The escaped text.
- Escaping is done by replacing all occurences of
+ Escaping is done by replacing all occurrences of
'${' with '${literal:text=${}'
- Evaluates the specified text by expadinging all layout renderers.
+ Evaluates the specified text by expanding all layout renderers.
The text to be evaluated.
Log event to be used for evaluation.
- The input text with all occurences of ${} replaced with
+ The input text with all occurrences of ${} replaced with
values provided by the appropriate layout renderers.
- Evaluates the specified text by expadinging all layout renderers
+ Evaluates the specified text by expanding all layout renderers
in new context.
The text to be evaluated.
- The input text with all occurences of ${} replaced with
+ The input text with all occurrences of ${} replaced with
values provided by the appropriate layout renderers.
@@ -7089,6 +10011,16 @@
+
+
+ Is the message fixed? (no Layout renderers used)
+
+
+
+
+ Get the fixed text. Only set when is true
+
+
Gets a collection of objects that make up this layout.
@@ -7184,6 +10116,29 @@
The exception.
Instance of .
+
+
+ Creates the log event.
+
+ The log level.
+ Name of the logger.
+ The exception.
+ The format provider.
+ The message.
+ Instance of .
+
+
+
+ Creates the log event.
+
+ The log level.
+ Name of the logger.
+ The exception.
+ The format provider.
+ The message.
+ The parameters.
+ Instance of .
+
Creates from this by attaching the specified asynchronous continuation.
@@ -7305,7 +10260,8 @@
- Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+ Performs application-defined tasks associated with freeing, releasing, or resetting
+ unmanaged resources.
@@ -7326,17 +10282,19 @@
Gets the logger named after the currently-being-initialized class.
- The type of the logger to create. The type must inherit from NLog.Logger.
+ The type of the logger to create. The type must inherit from
+ NLog.Logger.
The logger.
- This is a slow-running method.
- Make sure you're not doing this in a loop.
+ This is a slow-running method. Make sure you are not calling this method in a
+ loop.
Gets the specified named logger.
Name of the logger.
- The logger reference. Multiple calls to GetLogger with the same argument aren't guaranteed to return the same logger reference.
+ The logger reference. Multiple calls to GetLogger with the same argument
+ are not guaranteed to return the same logger reference.
@@ -7349,8 +10307,8 @@
- Loops through all loggers previously returned by GetLogger
- and recalculates their target and filter list. Useful after modifying the configuration programmatically
+ Loops through all loggers previously returned by GetLogger and recalculates their
+ target and filter list. Useful after modifying the configuration programmatically
to ensure that all loggers have been properly configured.
@@ -7363,13 +10321,15 @@
Flush any pending log messages (in case of asynchronous targets).
- Maximum time to allow for the flush. Any messages after that time will be discarded.
+ Maximum time to allow for the flush. Any messages after that time
+ will be discarded.
Flush any pending log messages (in case of asynchronous targets).
- Maximum time to allow for the flush. Any messages after that time will be discarded.
+ Maximum time to allow for the flush. Any messages
+ after that time will be discarded.
@@ -7382,7 +10342,8 @@
Flush any pending log messages (in case of asynchronous targets).
The asynchronous continuation.
- Maximum time to allow for the flush. Any messages after that time will be discarded.
+ Maximum time to allow for the flush. Any messages
+ after that time will be discarded.
@@ -7392,17 +10353,41 @@
Maximum time to allow for the flush. Any messages after that time will be discarded.
- Decreases the log enable counter and if it reaches -1
- the logs are disabled.
- Logging is enabled if the number of calls is greater
- than or equal to calls.
- An object that iplements IDisposable whose Dispose() method
- reenables logging. To be used with C# using () statement.
+
+ Decreases the log enable counter and if it reaches -1 the logs are disabled.
+
+
+ Logging is enabled if the number of calls is greater than
+ or equal to calls.
+
+ An object that implements IDisposable whose Dispose() method re-enables logging.
+ To be used with C# using () statement.
- Increases the log enable counter and if it reaches 0 the logs are disabled.
- Logging is enabled if the number of calls is greater
- than or equal to calls.
+
+ Increases the log enable counter and if it reaches 0 the logs are disabled.
+
+
+ Logging is enabled if the number of calls is greater than
+ or equal to calls.
+
+
+
+ Decreases the log enable counter and if it reaches -1 the logs are disabled.
+
+
+ Logging is enabled if the number of calls is greater than
+ or equal to calls.
+
+ An object that implements IDisposable whose Dispose() method re-enables logging.
+ To be used with C# using () statement.
+
+
+
+ Increases the log enable counter and if it reaches 0 the logs are disabled.
+
+ Logging is enabled if the number of calls is greater
+ than or equal to calls.
@@ -7410,14 +10395,21 @@
A value of if logging is currently enabled,
otherwise.
- Logging is enabled if the number of calls is greater
- than or equal to calls.
+ Logging is enabled if the number of calls is greater
+ than or equal to calls.
+
+
+
+ Invoke the Changed event; called whenever list changes
+
+ Event arguments.
Releases unmanaged and - optionally - managed resources.
- True to release both managed and unmanaged resources; false to release only unmanaged resources.
+ True to release both managed and unmanaged resources;
+ false to release only unmanaged resources.
@@ -7438,10 +10430,8 @@
Gets or sets a value indicating whether exceptions should be thrown.
- A value of true if exceptiosn should be thrown; otherwise, false .
- By default exceptions
- are not thrown under any circumstances.
-
+ A value of true if exception should be thrown; otherwise, false .
+ By default exceptions are not thrown under any circumstances.
@@ -7453,6 +10443,14 @@
Gets or sets the global log threshold. Log events below this threshold are not logged.
+
+
+ Gets the default culture info to use as .
+
+
+ Specific culture info or null to use
+
+
Logger cache key.
@@ -7470,9 +10468,28 @@
Determines if two objects are equal in value.
- Other object to compare to.
+ Other object to compare to.
True if objects are equal, false otherwise.
+
+
+ Determines if two objects of the same type are equal in value.
+
+ Other object to compare to.
+ True if objects are equal, false otherwise.
+
+
+
+ Logger cache.
+
+
+
+
+ Inserts or updates.
+
+
+
+
Enables logging in implementation.
@@ -7514,6 +10531,20 @@
Provides logging interface and utility functions.
+
+ Provides logging interface and utility functions.
+
+
+ Logging methods which only are executed when the DEBUG conditional compilation symbol is set.
+
+
+ The DEBUG conditional compilation symbol is default enabled (only) in a debug build.
+
+ If the DEBUG conditional compilation symbol isn't set in the calling library, the compiler will remove all the invocations to these methods.
+ This could lead to better performance.
+
+ See: https://msdn.microsoft.com/en-us/library/4xssyw96%28v=vs.90%29.aspx
+
Auto-generated Logger members for binary compatibility with NLog 1.0.
@@ -7610,6 +10641,25 @@
A to be written.
An exception to be logged.
+
+
+ Writes the diagnostic message and exception at the specified level.
+
+ The log level.
+ A to be written.
+ Arguments to format.
+ An exception to be logged.
+
+
+
+ Writes the diagnostic message and exception at the specified level.
+
+ The log level.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+ Arguments to format.
+ An exception to be logged.
+
Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider.
@@ -7679,6 +10729,56 @@
The second argument to format.
The third argument to format.
+
+
+ Runs action. If the action throws, the exception is logged at Error level. Exception is not propagated outside of this method.
+
+ Action to execute.
+
+
+
+ Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
+ Exception is not propagated outside of this method. Fallback value is returned instead.
+
+ Return type of the provided function.
+ Function to run.
+ Result returned by the provided function or fallback value in case of exception.
+
+
+
+ Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
+ Exception is not propagated outside of this method. Fallback value is returned instead.
+
+ Return type of the provided function.
+ Function to run.
+ Fallback value to return in case of exception. Defaults to default value of type T.
+ Result returned by the provided function or fallback value in case of exception.
+
+
+
+ Runs async action. If the action throws, the exception is logged at Error level. Exception is not propagated outside of this method.
+
+ Async action to execute.
+
+
+
+ Runs the provided async function and returns its result. If exception is thrown, it is logged at Error level.
+ Exception is not propagated outside of this method. Fallback value is returned instead.
+
+ Return type of the provided function.
+ Async function to run.
+ Result returned by the provided function or fallback value in case of exception.
+
+
+
+ Runs the provided async function and returns its result. If exception is thrown, it is logged at Error level.
+ Exception is not propagated outside of this method. Fallback value is returned instead.
+
+ Return type of the provided function.
+ Async function to run.
+ Fallback value to return in case of exception. Defaults to default value of type T.
+ Result returned by the provided function or fallback value in case of exception.
+
Writes the diagnostic message at the Trace level using the specified format provider and format parameters.
@@ -7738,6 +10838,23 @@
A to be written.
An exception to be logged.
+
+
+ Writes the diagnostic message and exception at the Trace level.
+
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Trace level.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider.
@@ -7860,6 +10977,23 @@
A to be written.
An exception to be logged.
+
+
+ Writes the diagnostic message and exception at the Debug level.
+
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Debug level.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider.
@@ -7982,6 +11116,23 @@
A to be written.
An exception to be logged.
+
+
+ Writes the diagnostic message and exception at the Info level.
+
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Info level.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
Writes the diagnostic message at the Info level using the specified parameter and formatting it with the supplied format provider.
@@ -8104,6 +11255,23 @@
A to be written.
An exception to be logged.
+
+
+ Writes the diagnostic message and exception at the Warn level.
+
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Warn level.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
Writes the diagnostic message at the Warn level using the specified parameter and formatting it with the supplied format provider.
@@ -8226,6 +11394,23 @@
A to be written.
An exception to be logged.
+
+
+ Writes the diagnostic message and exception at the Error level.
+
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Error level.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
Writes the diagnostic message at the Error level using the specified parameter and formatting it with the supplied format provider.
@@ -8348,6 +11533,23 @@
A to be written.
An exception to be logged.
+
+
+ Writes the diagnostic message and exception at the Fatal level.
+
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Fatal level.
+
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
Writes the diagnostic message at the Fatal level using the specified parameter and formatting it with the supplied format provider.
@@ -8411,30 +11613,615 @@
The second argument to format.
The third argument to format.
-
+
+
+ Writes the diagnostic message at the Debug level using the specified format provider and format parameters.
+
- Runs action. If the action throws, the exception is logged at Error level. Exception is not propagated outside of this method.
-
- Action to execute.
+ Writes the diagnostic message at the Debug level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ Type of the value.
+ The value to be written.
-
+
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
-
- Return type of the provided function.
- Function to run.
- Result returned by the provided function or fallback value in case of exception.
+ Writes the diagnostic message at the Debug level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ Type of the value.
+ An IFormatProvider that supplies culture-specific formatting information.
+ The value to be written.
-
+
- Runs the provided function and returns its result. If exception is thrown, it is logged at Error level.
- Exception is not propagated outside of this method. Fallback value is returned instead.
-
- Return type of the provided function.
- Function to run.
- Fallback value to return in case of exception. Defaults to default value of type T.
- Result returned by the provided function or fallback value in case of exception.
+ Writes the diagnostic message at the Debug level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A function returning message to be written. Function is not evaluated if logging is not enabled.
+
+
+
+ Writes the diagnostic message and exception at the Debug level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Debug level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameters and formatting them with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Debug level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ Log message.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameters.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ The type of the argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ The type of the argument.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ The type of the first argument.
+ The type of the second argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameters.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ The type of the first argument.
+ The type of the second argument.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified arguments formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameters.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A to be written.
+
+
+
+ Writes the diagnostic message at the Debug level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameters.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing format items.
+ First argument to format.
+ Second argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified parameters.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing format items.
+ First argument to format.
+ Second argument to format.
+ Third argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Debug level using the specified value as a parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified format provider and format parameters.
+
+
+ Writes the diagnostic message at the Trace level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ Type of the value.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the Trace level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ Type of the value.
+ An IFormatProvider that supplies culture-specific formatting information.
+ The value to be written.
+
+
+
+ Writes the diagnostic message at the Trace level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A function returning message to be written. Function is not evaluated if logging is not enabled.
+
+
+
+ Writes the diagnostic message and exception at the Trace level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message and exception at the Trace level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+ An exception to be logged.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified parameters and formatting them with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Trace level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ Log message.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified parameters.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing format items.
+ Arguments to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ The type of the argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ The type of the argument.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ The type of the first argument.
+ The type of the second argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified parameters.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ The type of the first argument.
+ The type of the second argument.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified arguments formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified parameters.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ The type of the first argument.
+ The type of the second argument.
+ The type of the third argument.
+ A containing one format item.
+ The first argument to format.
+ The second argument to format.
+ The third argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A to be written.
+
+
+
+ Writes the diagnostic message at the Trace level.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A to be written.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified parameters.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing format items.
+ First argument to format.
+ Second argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified parameters.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing format items.
+ First argument to format.
+ Second argument to format.
+ Third argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ An IFormatProvider that supplies culture-specific formatting information.
+ A containing one format item.
+ The argument to format.
+
+
+
+ Writes the diagnostic message at the Trace level using the specified value as a parameter.
+ Only executed when the DEBUG conditional compilation symbol is set.
+ A containing one format item.
+ The argument to format.
@@ -10097,6 +13884,27 @@
Implementation of logging engine.
+
+
+ Finds first user stack frame in a stack trace
+
+ The stack trace of the logging method invocation
+ Type of the logger or logger wrapper
+ Index of the first user stack frame or 0 if all stack frames are non-user
+
+
+
+
+ Defines whether a stack frame belongs to non-user code
+
+ Method of the stack frame
+ Type of the logger or logger wrapper
+ , if the method is from non-user code and should be skipped
+
+ The method is classified as non-user if its declaring assembly is from hidden assemblies list
+ or its declaring type is or one of its subtypes.
+
+
Gets the filter result.
@@ -10223,7 +14031,7 @@
Returns the that corresponds to the supplied .
- The texual representation of the log level.
+ The textual representation of the log level.
The enumeration value.
@@ -10245,12 +14053,16 @@
Determines whether the specified is equal to this instance.
The to compare with this instance.
-
- Value of true if the specified is equal to this instance; otherwise, false .
-
-
- The parameter is null.
-
+ Value of true if the specified is equal to
+ this instance; otherwise, false .
+
+
+
+ Determines whether the specified instance is equal to this instance.
+
+ The to compare with this instance.
+ Value of true if the specified is equal to
+ this instance; otherwise, false .
@@ -10291,13 +14103,6 @@
Prevents a default instance of the LogManager class from being created.
-
-
- Adds the given assembly which will be skipped
- when NLog is trying to find the calling method on stack trace.
-
- The assembly to skip.
-
Gets the logger named after the currently-being-initialized class.
@@ -10306,6 +14111,13 @@
This is a slow-running method.
Make sure you're not doing this in a loop.
+
+
+ Adds the given assembly which will be skipped
+ when NLog is trying to find the calling method on stack trace.
+
+ The assembly to skip.
+
Gets the logger named after the currently-being-initialized class.
@@ -10381,32 +14193,41 @@
Maximum time to allow for the flush. Any messages after that time will be discarded.
- Decreases the log enable counter and if it reaches -1
- the logs are disabled.
+
+ Decreases the log enable counter and if it reaches -1 the logs are disabled.
+
Logging is enabled if the number of calls is greater
- than or equal to calls.
- An object that iplements IDisposable whose Dispose() method
- reenables logging. To be used with C# using () statement.
+ than or equal to calls.
+ An object that implements IDisposable whose Dispose() method reenables logging.
+ To be used with C# using () statement.
- Increases the log enable counter and if it reaches 0 the logs are disabled.
+
+ Increases the log enable counter and if it reaches 0 the logs are disabled.
+
Logging is enabled if the number of calls is greater
- than or equal to calls.
+ than or equal to calls.
- Returns if logging is currently enabled.
+ Checks if logging is currently enabled.
- A value of if logging is currently enabled,
- otherwise.
+ if logging is currently enabled,
+ otherwise.
Logging is enabled if the number of calls is greater
- than or equal to calls.
+ than or equal to calls.
Dispose all targets, and shutdown logging.
+
+
+ Gets the fully qualified name of the class invoking the LogManager, including the
+ namespace but not the assembly.
+
+
Occurs when logging changes.
@@ -10440,9 +14261,8 @@
- Delegate used to the the culture to use.
+ Delegate used to set/get the culture in use.
-
@@ -10451,6 +14271,34 @@
Log message.
+
+
+ Base implementation of a log receiver server which forwards received logs through or a given .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The log factory.
+
+
+
+ Processes the log messages.
+
+ The events to process.
+
+
+
+ Processes the log messages.
+
+ The log events.
+
Service contract for Log Receiver client.
@@ -10473,6 +14321,39 @@
The result.
+
+
+ Service contract for Log Receiver client.
+
+
+
+
+ Begins processing of log messages.
+
+ The events.
+ The callback.
+ Asynchronous state.
+
+ IAsyncResult value which can be passed to .
+
+
+
+
+ Ends asynchronous processing of log messages.
+
+ The result.
+
+
+
+ Service contract for Log Receiver server.
+
+
+
+
+ Processes the log messages.
+
+ The events.
+
Service contract for Log Receiver server.
@@ -10500,17 +14381,21 @@
The log factory.
-
+
- Processes the log messages.
+ Implementation of which forwards received logs through or a given .
- The events to process.
-
+
- Processes the log messages.
+ Initializes a new instance of the class.
- The log events.
+
+
+
+ Initializes a new instance of the class.
+
+ The log factory.
@@ -10737,6 +14622,213 @@
Occurs when Close operation has completed.
+
+
+ Log Receiver Client facade. It allows the use either of the one way or two way
+ service contract using WCF through its unified interface.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Whether to use the one way or two way WCF client.
+
+
+
+ Initializes a new instance of the class.
+
+ Whether to use the one way or two way WCF client.
+ Name of the endpoint configuration.
+
+
+
+ Initializes a new instance of the class.
+
+ Whether to use the one way or two way WCF client.
+ Name of the endpoint configuration.
+ The remote address.
+
+
+
+ Initializes a new instance of the class.
+
+ Whether to use the one way or two way WCF client.
+ Name of the endpoint configuration.
+ The remote address.
+
+
+
+ Initializes a new instance of the class.
+
+ Whether to use the one way or two way WCF client.
+ The binding.
+ The remote address.
+
+
+
+ Opens the client asynchronously.
+
+
+
+
+ Opens the client asynchronously.
+
+ User-specific state.
+
+
+
+ Closes the client asynchronously.
+
+
+
+
+ Closes the client asynchronously.
+
+ User-specific state.
+
+
+
+ Processes the log messages asynchronously.
+
+ The events to send.
+
+
+
+ Processes the log messages asynchronously.
+
+ The events to send.
+ User-specific state.
+
+
+
+ Causes a communication object to transition from its current state into the closed state.
+
+
+
+
+ Occurs when the log message processing has completed.
+
+
+
+
+ Occurs when Open operation has completed.
+
+
+
+
+ Occurs when Close operation has completed.
+
+
+
+
+ Gets the current state of the System.ServiceModel.ClientBase<TChannel> object.
+
+
+
+
+ Log Receiver Client using WCF.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ Name of the endpoint configuration.
+
+
+
+ Initializes a new instance of the class.
+
+ Name of the endpoint configuration.
+ The remote address.
+
+
+
+ Initializes a new instance of the class.
+
+ Name of the endpoint configuration.
+ The remote address.
+
+
+
+ Initializes a new instance of the class.
+
+ The binding.
+ The remote address.
+
+
+
+ Opens the client asynchronously.
+
+
+
+
+ Opens the client asynchronously.
+
+ User-specific state.
+
+
+
+ Closes the client asynchronously.
+
+
+
+
+ Closes the client asynchronously.
+
+ User-specific state.
+
+
+
+ Processes the log messages asynchronously.
+
+ The events to send.
+
+
+
+ Processes the log messages asynchronously.
+
+ The events to send.
+ User-specific state.
+
+
+
+ Begins processing of log messages.
+
+ The events to send.
+ The callback.
+ Asynchronous state.
+
+ IAsyncResult value which can be passed to .
+
+
+
+
+ Ends asynchronous processing of log messages.
+
+ The result.
+
+
+
+ Occurs when the log message processing has completed.
+
+
+
+
+ Occurs when Open operation has completed.
+
+
+
+
+ Occurs when Close operation has completed.
+
+
Mapped Diagnostics Context - a thread-local structure that keeps a dictionary
@@ -10954,6 +15046,13 @@
The message.
+
+
+ Initializes a new instance of the class.
+
+ The message.
+ Parameters for the message
+
Initializes a new instance of the class.
@@ -11103,7 +15202,7 @@
The log parameters.
The event id.
The event type.
- The releated activity id.
+ The related activity id.
@@ -11155,7 +15254,8 @@
- Date style numbering. Archives will be stamped with the prior period (Year, Month, Day, Hour, Minute) datetime.
+ Date style numbering. Archives will be stamped with the prior period
+ (Year, Month, Day, Hour, Minute) datetime.
@@ -11169,7 +15269,7 @@
Outputs log messages through the ASP Response object.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
@@ -11348,7 +15448,7 @@
Sends log messages to the remote instance of Chainsaw application from log4j.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
To set up the target in the configuration file ,
@@ -11375,7 +15475,7 @@
Sends log messages to the remote instance of NLog Viewer.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
To set up the target in the configuration file ,
@@ -11402,7 +15502,7 @@
Sends log messages over the network.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
To set up the target in the configuration file ,
@@ -11609,7 +15709,7 @@
Writes log messages to the console with customizable coloring.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
@@ -11725,6 +15825,12 @@
+
+
+ The encoding for writing messages to the .
+
+ Has side effect
+
Gets the row highlighting rules.
@@ -11898,7 +16004,7 @@
Writes log messages to the console.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
To set up the target in the configuration file ,
@@ -11935,12 +16041,24 @@
Note that the Error option is not supported on .NET Compact Framework.
+
+
+ Write to output
+
+ text to be written.
+
Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output.
+
+
+ The encoding for writing messages to the .
+
+ Has side effect
+
Highlighting rule for Win32 colorful console.
@@ -12093,7 +16211,7 @@
Writes log messages to the database using an ADO.NET provider.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
The configuration is dependent on the database type, because
@@ -12231,13 +16349,6 @@
-
-
- Gets or sets a value indicating whether to use database transactions.
- Some data providers require this.
-
-
-
Gets or sets the database host name. If the ConnectionString is not provided
@@ -12342,7 +16453,7 @@
Mock target - useful for testing.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
To set up the target in the configuration file ,
@@ -12389,7 +16500,7 @@
Writes log message to the Event Log.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
To set up the target in the configuration file ,
@@ -12448,6 +16559,34 @@
The logging event.
+
+
+ Get the entry type for logging the message.
+
+ The logging event - for rendering the
+
+
+
+
+ Get the source, if and only if the source is fixed.
+
+ null when not
+ Internal for unit tests
+
+
+
+ Get the eventlog to write to.
+
+ Event if the source needs to be rendered.
+
+
+
+
+ (re-)create a event source, if it isn't there. Works only with fixed sourcenames.
+
+ sourcenaam. If source is not fixed (see , then pass null or emptystring.
+ always throw an Exception when there is an error
+
Gets or sets the name of the machine on which Event Log service is running.
@@ -12466,6 +16605,11 @@
+
+
+ Optional entrytype. When not set, or when not convertable to then determined by
+
+
Gets or sets the value to be used as the event Source.
@@ -12494,34 +16638,34 @@
- Archive every year.
+ AddToArchive every year.
- Archive every month.
+ AddToArchive every month.
- Archive daily.
+ AddToArchive daily.
- Archive every hour.
+ AddToArchive every hour.
- Archive every minute.
+ AddToArchive every minute.
Writes log messages to one or more files.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
@@ -12611,6 +16755,21 @@
The byte array.
The modified byte array. The function can do the modification in-place.
+
+
+ Deletes archive files in reverse chronological order until only the
+ MaxArchiveFiles number of archive files remain.
+
+ The pattern that archive filenames will match
+
+
+
+ Gets the pattern that archive files will match
+
+ Filename of the log file
+ Log event info of the log that is currently been written
+ A string with a pattern that will match the archive filenames
+
Gets or sets the name of the file to write to.
@@ -12630,7 +16789,7 @@
- Gets or sets a value indicating whether to create directories if they don't exist.
+ Gets or sets a value indicating whether to create directories if they do not exist.
Setting this to false may improve performance a bit, but you'll receive an error
@@ -12672,6 +16831,16 @@
+
+
+ Gets or sets the maximum number of log filenames that should be stored as existing.
+
+
+ The bigger this number is the longer it will take to write each log record. The smaller the number is
+ the higher the chance that the clean function will be run when no new files have been opened.
+
+
+
Gets or sets a value indicating whether to enable log file(s) to be deleted.
@@ -12843,70 +17012,109 @@
+
+
+ Gets or sets a value indicating whether to compress archive files into the zip archive format.
+
+
+
Gets the characters that are appended after each line.
-
- true if the file has been moved successfully
-
-
+
- Logs text to Windows.Forms.Control.Text property control of specified Name.
+ Adds a file into archive.
-
-
- To set up the target in the configuration file ,
- use the following syntax:
-
-
-
- The result is:
-
-
-
- To set up the log target programmatically similar to above use code like this:
-
- ,
-
+ File name of the archive
+ Original file name
+ Create a directory, if it does not exist
+ Enables file compression
+ true if the file has been moved successfully; false otherwise
-
+
- Initializes a new instance of the class.
+
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
-
+
+
+
+
-
+
- Log message to control.
+ Remove old archive files when the files on the queue are more than the
+ MaxArchiveFilesToKeep.
-
- The logging event.
-
-
+
- Gets or sets the name of control to which NLog will log write log text.
+ Creates a new unique filename by appending a number to it. This method tests that
+ the filename created does not exist.
+
+ This process can be slow as it increments the number sequentially from a specified
+ starting point until it finds a number which produces a filename which does not
+ exist.
+
+ Example:
+ Original Filename trace.log
+ Target Filename trace.15.log
+
+ Original filename
+ Number starting point
+ File name suitable for archiving
+
+
+
+ Characters determining the start of the .
-
-
+
- Gets or sets a value indicating whether log text should be appended to the text of the control instead of overwriting it.
-
-
-
-
- Gets or sets the name of the Form on which the control is located.
+ Characters determining the end of the .
-
-
+
- Gets or sets whether new log entry are added to the start or the end of the control
+ Checks if there the
+ contains the .
+
+ Returns if pattern is found in
+ the template, otherwise.
+
+
+
+ Replace the pattern with the specified String.
+
+
+
+
+
+
+ File name which is used as template for matching and replacements.
+ It is expected to contain a pattern to match.
+
+
+
+
+ Pattern found within .
+ is returned when the template does
+ not contain any pattern.
+
+
+
+
+ The begging position of the
+ within the . -1 is returned
+ when no pattern can be found.
+
+
+
+
+ The ending position of the
+ within the . -1 is returned
+ when no pattern can be found.
@@ -12936,14 +17144,113 @@
- Don't insert any line ending.
+ Do not insert any line ending.
+
+
+ Initializes a new instance of .
+
+ The mode name.
+ The new line characters to be used.
+
+
+
+ Returns the that corresponds to the supplied .
+
+
+ The textual representation of the line ending mode, such as CRLF, LF, Default etc.
+ Name is not case sensitive.
+
+ The value, that corresponds to the .
+ There is no line ending mode with the specified name.
+
+
+
+ Compares two objects and returns a
+ value indicating whether the first one is equal to the second one.
+
+ The first level.
+ The second level.
+ The value of mode1.NewLineCharacters == mode2.NewLineCharacters .
+
+
+
+ Compares two objects and returns a
+ value indicating whether the first one is not equal to the second one.
+
+ The first mode
+ The second mode
+ The value of mode1.NewLineCharacters != mode2.NewLineCharacters .
+
+
+
+ Returns a string representation of the log level.
+
+ Log level name.
+
+
+
+ Returns a hash code for this instance.
+
+
+ A hash code for this instance, suitable for use in hashing algorithms
+ and data structures like a hash table.
+
+
+
+
+ Determines whether the specified is
+ equal to this instance.
+
+ The to compare with
+ this instance.
+
+ Value of true if the specified
+ is equal to this instance; otherwise, false .
+
+
+ The parameter is null.
+
+
+
+
+ Gets the name of the LineEndingMode instance.
+
+
+
+
+ Gets the new line characters (value) of the LineEndingMode instance.
+
+
+
+
+ Provides a type converter to convert objects to and from other representations.
+
+
+
+
+ Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.
+
+
+ true if this converter can perform the conversion; otherwise, false.
+
+ An that provides a format context. A that represents the type you want to convert from.
+
+
+
+ Converts the given object to the type of this converter, using the specified context and culture information.
+
+
+ An that represents the converted value.
+
+ An that provides a format context. The to use as the current culture. The to convert. The conversion cannot be performed.
+
Sends log messages to a NLog Receiver Service (using WCF or Web Services).
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
@@ -13008,6 +17315,12 @@
+
+
+ Gets or sets a value indicating whether to use a WCF service contract that is one way (fire and forget) or two way (request-reply)
+
+
+
Gets or sets the client ID.
@@ -13032,7 +17345,7 @@
Sends log messages by email using SMTP protocol.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
To set up the target in the configuration file ,
@@ -13082,6 +17395,57 @@
Array of logging events.
+
+
+ Create mail and send with SMTP
+
+ event printed in the body of the event
+
+
+
+ Create buffer for body
+
+ all events
+ first event for header
+ last event for footer
+
+
+
+
+ Set propertes of
+
+ last event for username/password
+ client to set properties on
+
+
+
+ Create key for grouping. Needed for multiple events in one mailmessage
+
+ event for rendering layouts
+ string to group on
+
+
+
+ Append rendered layout to the stringbuilder
+
+ append to this
+ event for rendering
+ append if not null
+
+
+
+ Create the mailmessage with the addresses, properties and body.
+
+
+
+
+ Render and add the addresses to
+
+ Addresses appended to this list
+ layout with addresses, ; separated
+ event for rendering the
+ added a address?
+
Gets or sets sender's email address (e.g. joe@domain.com).
@@ -13195,12 +17559,13 @@
Gets or sets a value indicating the SMTP client timeout.
+ Warning: zero is not infinit waiting
Writes log messages to an ArrayList in memory for programmatic retrieval.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
To set up the target in the configuration file ,
@@ -13236,59 +17601,6 @@
Gets the list of logs gathered in the .
-
-
- Pops up log messages as message boxes.
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file ,
- use the following syntax:
-
-
-
- This assumes just one target and a single rule. More configuration
- options are described here .
-
-
- The result is a message box:
-
-
-
- To set up the log target programmatically use code like this:
-
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
-
-
-
-
- Displays the message box with the log message and caption specified in the Caption
- parameter.
-
- The logging event.
-
-
-
- Displays the message box with the array of rendered logs messages and caption specified in the Caption
- parameter.
-
- The array of logging events.
-
-
-
- Gets or sets the message box title.
-
-
-
A parameter to MethodCall.
@@ -13334,7 +17646,7 @@
- Gets or sets the layout that should be use to calcuate the value for the parameter.
+ Gets or sets the layout that should be use to calculate the value for the parameter.
@@ -13342,7 +17654,7 @@
Calls the specified static method on each log message and passes contextual parameters to it.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
To set up the target in the configuration file ,
@@ -13466,7 +17778,7 @@
Discards log messages. Used mainly for debugging and benchmarking.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
To set up the target in the configuration file ,
@@ -13500,7 +17812,7 @@
Outputs log messages through the OutputDebugString() Win32 API.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
To set up the target in the configuration file ,
@@ -13527,7 +17839,7 @@
Increments specified performance counter on each write.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
To set up the target in the configuration file ,
@@ -13650,7 +17962,7 @@
Initializes a new instance of the class.
The condition.
- Color of the foregroung text.
+ Color of the foreground text.
Color of the background text.
The font style.
@@ -13713,172 +18025,6 @@
-
-
- Log text a Rich Text Box control in an existing or new form.
-
- Documentation on NLog Wiki
-
-
- To set up the target in the configuration file ,
- use the following syntax:
-
-
-
- The result is:
-
- To set up the target with coloring rules in the configuration file ,
- use the following syntax:
-
-
-
-
-
- The result is:
-
- To set up the log target programmatically similar to above use code like this:
-
-
- ,
-
-
- for RowColoring,
-
-
- for WordColoring
-
-
-
-
- Initializes static members of the RichTextBoxTarget class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
-
-
-
-
- Initializes a new instance of the class.
-
-
- The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
-
-
-
-
- Initializes the target. Can be used by inheriting classes
- to initialize logging.
-
-
-
-
- Closes the target and releases any unmanaged resources.
-
-
-
-
- Log message to RichTextBox.
-
- The logging event.
-
-
-
- Gets the default set of row coloring rules which applies when is set to true.
-
-
-
-
- Gets or sets the Name of RichTextBox to which Nlog will write.
-
-
-
-
-
- Gets or sets the name of the Form on which the control is located.
- If there is no open form of a specified name than NLog will create a new one.
-
-
-
-
-
- Gets or sets a value indicating whether to use default coloring rules.
-
-
-
-
-
- Gets the row coloring rules.
-
-
-
-
-
- Gets the word highlighting rules.
-
-
-
-
-
- Gets or sets a value indicating whether the created window will be a tool window.
-
-
- This parameter is ignored when logging to existing form control.
- Tool windows have thin border, and do not show up in the task bar.
-
-
-
-
-
- Gets or sets a value indicating whether the created form will be initially minimized.
-
-
- This parameter is ignored when logging to existing form control.
-
-
-
-
-
- Gets or sets the initial width of the form with rich text box.
-
-
- This parameter is ignored when logging to existing form control.
-
-
-
-
-
- Gets or sets the initial height of the form with rich text box.
-
-
- This parameter is ignored when logging to existing form control.
-
-
-
-
-
- Gets or sets a value indicating whether scroll bar will be moved automatically to show most recent log entries.
-
-
-
-
-
- Gets or sets the maximum number of lines the rich text box will store (or 0 to disable this feature).
-
-
- After exceeding the maximum number, first line will be deleted.
-
-
-
-
-
- Gets or sets the form to log to.
-
-
-
-
- Gets or sets the rich text box to log to.
-
-
Highlighting rule for Win32 colorful console.
@@ -14001,7 +18147,7 @@
Sends log messages through System.Diagnostics.Trace.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
To set up the target in the configuration file ,
@@ -14056,7 +18202,7 @@
Calls the specified web service on each log message.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
The web service must implement a method that accepts a number of string parameters.
@@ -14096,6 +18242,25 @@
Parameters to be passed.
The continuation.
+
+
+ Helper for creating soap POST-XML request
+
+
+
+
+
+
+
+
+
+ Write from input to output. Fix the UTF-8 bom
+
+
+
+
+
+
Gets or sets the web service URL.
@@ -14104,13 +18269,13 @@
- Gets or sets the Web service method name.
+ Gets or sets the Web service method name. Only used with Soap.
- Gets or sets the Web service namespace.
+ Gets or sets the Web service namespace. Only used with Soap.
@@ -14120,6 +18285,13 @@
+
+
+ Should we include the BOM (Byte-order-mark) for UTF? Influences the property.
+
+ This will only work for UTF-8.
+
+
Gets or sets the encoding.
@@ -14267,7 +18439,7 @@
Provides asynchronous, buffered execution of target writes.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
Asynchronous target wrapper allows the logger code to execute more quickly, by queueing
@@ -14442,7 +18614,7 @@
Causes a flush after each write on a wrapped target.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
To set up the target in the configuration file ,
@@ -14481,7 +18653,7 @@
A target that buffers log events and sends them in batches to the wrapped target.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
@@ -14595,7 +18767,7 @@
Provides fallback-on-error.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
This example causes the messages to be written to server1,
and if it fails, messages go to server2.
@@ -14674,7 +18846,7 @@
Filters log entries based on a condition.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
This example causes the messages not contains the string '1' to be ignored.
@@ -14720,7 +18892,7 @@
Impersonates another user for the duration of the write.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
@@ -14841,7 +19013,7 @@
Filters buffered log entries based on a set of conditions that are evaluated on a group of events.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
PostFilteringWrapper must be used with some type of buffering target or wrapper, such as
AsyncTargetWrapper, BufferingWrapper or ASPNetBufferingWrapper.
@@ -14898,7 +19070,7 @@
Sends log messages to a randomly selected target.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
This example causes the messages to be written to either file1.txt or file2.txt
chosen randomly on a per-message basis.
@@ -14937,7 +19109,7 @@
Repeats each log event the specified number of times.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
This example causes each log message to be repeated 3 times.
@@ -14980,7 +19152,7 @@
Retries in case of write error.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
This example causes each write attempt to be repeated 3 times,
sleeping 1 second between attempts if first one fails.
@@ -15031,7 +19203,7 @@
Distributes log events to targets in a round-robin fashion.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
This example causes the messages to be written to either file1.txt or file2.txt.
Each odd message is written to file2.txt, each even message goes to file1.txt.
@@ -15170,7 +19342,7 @@
Writes log events to all targets.
- Documentation on NLog Wiki
+ Documentation on NLog Wiki
This example causes the messages to be written to both file1.txt or file2.txt
@@ -15229,6 +19401,31 @@
A that represents this instance.
+
+
+ Converts the specified system time to the same form as the time value originated from this time source.
+
+ The system originated time value to convert.
+
+ The value of converted to the same form
+ as time values originated from this source.
+
+
+
+ There are situations when NLog have to compare the time originated from TimeSource
+ to the time originated externally in the system.
+ To be able to provide meaningful result of such comparisons the system time must be expressed in
+ the same form as TimeSource time.
+
+
+ Examples:
+ - If the TimeSource provides time values of local time, it should also convert the provided
+ to the local time.
+ - If the TimeSource shifts or skews its time values, it should also apply
+ the same transform to the given .
+
+
+
Gets current time.
@@ -15242,6 +19439,15 @@
Default time source is .
+
+
+ Converts the specified system time to the same form as the time value originated from this time source.
+
+ The system originated time value to convert.
+
+ The value of converted to local time.
+
+
Gets current local time directly from DateTime.Now.
@@ -15252,6 +19458,15 @@
Current UTC time retrieved directly from DateTime.UtcNow.
+
+
+ Converts the specified system time to the same form as the time value originated from this time source.
+
+ The system originated time value to convert.
+
+ The value of converted to UTC time.
+
+
Gets current UTC time directly from DateTime.UtcNow.
@@ -15277,6 +19492,15 @@
Fast local time source that is updated once per tick (15.6 milliseconds).
+
+
+ Converts the specified system time to the same form as the time value originated from this time source.
+
+ The system originated time value to convert.
+
+ The value of converted to local time.
+
+
Gets uncached local time directly from DateTime.Now.
@@ -15287,6 +19511,15 @@
Fast UTC time source that is updated once per tick (15.6 milliseconds).
+
+
+ Converts the specified system time to the same form as the time value originated from this time source.
+
+ The system originated time value to convert.
+
+ The value of converted to UTC time.
+
+
Gets uncached UTC time directly from DateTime.UtcNow.
diff --git a/WebSCR/bin/Newtonsoft.Json.dll b/WebSCR/bin/Newtonsoft.Json.dll
index 62079fc..71fd69e 100644
Binary files a/WebSCR/bin/Newtonsoft.Json.dll and b/WebSCR/bin/Newtonsoft.Json.dll differ
diff --git a/WebSCR/bin/Newtonsoft.Json.xml b/WebSCR/bin/Newtonsoft.Json.xml
index 18ca1e7..4ecec60 100644
--- a/WebSCR/bin/Newtonsoft.Json.xml
+++ b/WebSCR/bin/Newtonsoft.Json.xml
@@ -23,12 +23,12 @@
- Represents a reader that provides fast, non-cached, forward-only access to serialized Json data.
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
- Represents a reader that provides fast, non-cached, forward-only access to serialized Json data.
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
@@ -56,9 +56,9 @@
- Reads the next JSON token from the stream as a .
+ Reads the next JSON token from the stream as a [].
- A or a null reference if the next JSON token is null. This method will return null at the end of an array.
+ A [] or a null reference if the next JSON token is null. This method will return null at the end of an array.
@@ -133,6 +133,15 @@
the reader is closed; otherwise false. The default is true.
+
+
+ Gets or sets a value indicating whether multiple pieces of JSON content can
+ be read from a continuous stream without erroring.
+
+
+ true to support reading multiple pieces of JSON content; otherwise false. The default is false.
+
+
Gets the quotation mark character used to enclose the value of a string.
@@ -153,6 +162,11 @@
Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
+
+
+ Get or set how custom date formatted strings are parsed when reading JSON.
+
+
Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
@@ -289,10 +303,10 @@
- Reads the next JSON token from the stream as a .
+ Reads the next JSON token from the stream as a [].
- A or a null reference if the next JSON token is null. This method will return null at the end of an array.
+ A [] or a null reference if the next JSON token is null. This method will return null at the end of an array.
@@ -369,7 +383,7 @@
- Represents a writer that provides a fast, non-cached, forward-only way of generating Json data.
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
@@ -449,6 +463,22 @@
The to read the token from.
A flag indicating whether the current token's children should be written.
+
+
+ Writes the token and its value.
+
+ The to write.
+
+ The value to write.
+ A value is only required for tokens that have an associated value, e.g. the property name for .
+ A null value can be passed to the method for token's that don't have a value, e.g. .
+
+
+
+ Writes the token.
+
+ The to write.
+
Writes the specified end token.
@@ -704,9 +734,9 @@
- Writes a value.
+ Writes a [] value.
- The value to write.
+ The [] value to write.
@@ -986,9 +1016,9 @@
- Writes a value.
+ Writes a [] value.
- The value to write.
+ The [] value to write.
@@ -1010,7 +1040,7 @@
- Writes a value that represents a BSON object id.
+ Writes a [] value that represents a BSON object id.
The Object ID value to write.
@@ -1283,6 +1313,38 @@
true if this instance can convert the specified object type; otherwise, false .
+
+
+ Converts a F# discriminated union type to and from JSON.
+
+
+
+
+ Writes the JSON representation of the object.
+
+ The to write to.
+ The value.
+ The calling serializer.
+
+
+
+ Reads the JSON representation of the object.
+
+ The to read from.
+ Type of the object.
+ The existing value of object being read.
+ The calling serializer.
+ The object value.
+
+
+
+ Determines whether this instance can convert the specified object type.
+
+ Type of the object.
+
+ true if this instance can convert the specified object type; otherwise, false .
+
+
Converts an Entity Framework EntityKey to and from JSON.
@@ -1488,6 +1550,11 @@
Converts an to and from its name string value.
+
+
+ Initializes a new instance of the class.
+
+
Writes the JSON representation of the object.
@@ -1521,6 +1588,12 @@
true if the written enum text will be camel case; otherwise, false .
+
+
+ Gets or sets a value indicating whether integer values are allowed.
+
+ true if integers are allowed; otherwise, false .
+
Converts a to and from a string (e.g. "1.2.3.4").
@@ -1707,7 +1780,7 @@
Ignore members where the member value is the same as the member's default value when serializing objects
so that is is not written to JSON.
- This option will ignore all default values (e.g. null for objects and nullable typesl; 0 for integers,
+ This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers,
decimals and floating point numbers; and false for booleans). The default value ignored can be changed by
placing the on the property.
@@ -1830,6 +1903,17 @@
The collection's items converter.
+
+
+ The parameter list to use when constructing the JsonConverter described by ItemConverterType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
+
+
Gets or sets a value that indicates whether to preserve object references.
@@ -2094,6 +2178,15 @@
The string delimiter character.
A JSON string representation of the .
+
+
+ Converts the to its JSON string representation.
+
+ The value to convert.
+ The string delimiter character.
+ The string escape handling.
+ A JSON string representation of the .
+
Converts the to its JSON string representation.
@@ -2110,7 +2203,7 @@
- Serializes the specified object to a JSON string.
+ Serializes the specified object to a JSON string using formatting.
The object to serialize.
Indicates how the output is formatted.
@@ -2128,7 +2221,7 @@
- Serializes the specified object to a JSON string using a collection of .
+ Serializes the specified object to a JSON string using formatting and a collection of .
The object to serialize.
Indicates how the output is formatted.
@@ -2137,35 +2230,51 @@
- Serializes the specified object to a JSON string using a collection of .
+ Serializes the specified object to a JSON string using .
The object to serialize.
The used to serialize the object.
- If this is null, default serialization settings will be is used.
+ If this is null, default serialization settings will be used.
+
+ A JSON string representation of the object.
+
+
+
+
+ Serializes the specified object to a JSON string using a type, formatting and .
+
+ The object to serialize.
+ The used to serialize the object.
+ If this is null, default serialization settings will be used.
+
+ The type of the value being serialized.
+ This parameter is used when is Auto to write out the type name if the type of the value does not match.
+ Specifing the type is optional.
+
A JSON string representation of the object.
- Serializes the specified object to a JSON string using a collection of .
+ Serializes the specified object to a JSON string using formatting and .
The object to serialize.
Indicates how the output is formatted.
The used to serialize the object.
- If this is null, default serialization settings will be is used.
+ If this is null, default serialization settings will be used.
A JSON string representation of the object.
- Serializes the specified object to a JSON string using a collection of .
+ Serializes the specified object to a JSON string using a type, formatting and .
The object to serialize.
Indicates how the output is formatted.
The used to serialize the object.
- If this is null, default serialization settings will be is used.
+ If this is null, default serialization settings will be used.
The type of the value being serialized.
This parameter is used when is Auto to write out the type name if the type of the value does not match.
@@ -2177,7 +2286,8 @@
- Asynchronously serializes the specified object to a JSON string using a collection of .
+ Asynchronously serializes the specified object to a JSON string.
+ Serialization will happen on a new thread.
The object to serialize.
@@ -2186,7 +2296,8 @@
- Asynchronously serializes the specified object to a JSON string using a collection of .
+ Asynchronously serializes the specified object to a JSON string using formatting.
+ Serialization will happen on a new thread.
The object to serialize.
Indicates how the output is formatted.
@@ -2196,12 +2307,13 @@
- Asynchronously serializes the specified object to a JSON string using a collection of .
+ Asynchronously serializes the specified object to a JSON string using formatting and a collection of .
+ Serialization will happen on a new thread.
The object to serialize.
Indicates how the output is formatted.
The used to serialize the object.
- If this is null, default serialization settings will be is used.
+ If this is null, default serialization settings will be used.
A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object.
@@ -2211,16 +2323,16 @@
Deserializes the JSON to a .NET object.
The JSON to deserialize.
- The deserialized object from the Json string.
+ The deserialized object from the JSON string.
- Deserializes the JSON to a .NET object.
+ Deserializes the JSON to a .NET object using .
The JSON to deserialize.
The used to deserialize the object.
- If this is null, default serialization settings will be is used.
+ If this is null, default serialization settings will be used.
The deserialized object from the JSON string.
@@ -2230,7 +2342,7 @@
The JSON to deserialize.
The of object being deserialized.
- The deserialized object from the Json string.
+ The deserialized object from the JSON string.
@@ -2238,7 +2350,7 @@
The type of the object to deserialize to.
The JSON to deserialize.
- The deserialized object from the Json string.
+ The deserialized object from the JSON string.
@@ -2255,7 +2367,7 @@
- Deserializes the JSON to the given anonymous type.
+ Deserializes the JSON to the given anonymous type using .
The anonymous type to deserialize to. This can't be specified
@@ -2266,13 +2378,13 @@
The anonymous type object.
The used to deserialize the object.
- If this is null, default serialization settings will be is used.
+ If this is null, default serialization settings will be used.
The deserialized anonymous type from the JSON string.
- Deserializes the JSON to the specified .NET type.
+ Deserializes the JSON to the specified .NET type using a collection of .
The type of the object to deserialize to.
The JSON to deserialize.
@@ -2281,19 +2393,19 @@
- Deserializes the JSON to the specified .NET type.
+ Deserializes the JSON to the specified .NET type using .
The type of the object to deserialize to.
The object to deserialize.
The used to deserialize the object.
- If this is null, default serialization settings will be is used.
+ If this is null, default serialization settings will be used.
The deserialized object from the JSON string.
- Deserializes the JSON to the specified .NET type.
+ Deserializes the JSON to the specified .NET type using a collection of .
The JSON to deserialize.
The type of the object to deserialize.
@@ -2302,19 +2414,20 @@
- Deserializes the JSON to the specified .NET type.
+ Deserializes the JSON to the specified .NET type using .
The JSON to deserialize.
The type of the object to deserialize to.
The used to deserialize the object.
- If this is null, default serialization settings will be is used.
+ If this is null, default serialization settings will be used.
The deserialized object from the JSON string.
Asynchronously deserializes the JSON to the specified .NET type.
+ Deserialization will happen on a new thread.
The type of the object to deserialize to.
The JSON to deserialize.
@@ -2324,13 +2437,14 @@
- Asynchronously deserializes the JSON to the specified .NET type.
+ Asynchronously deserializes the JSON to the specified .NET type using .
+ Deserialization will happen on a new thread.
The type of the object to deserialize to.
The JSON to deserialize.
The used to deserialize the object.
- If this is null, default serialization settings will be is used.
+ If this is null, default serialization settings will be used.
A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
@@ -2339,6 +2453,7 @@
Asynchronously deserializes the JSON to the specified .NET type.
+ Deserialization will happen on a new thread.
The JSON to deserialize.
@@ -2347,13 +2462,14 @@
- Asynchronously deserializes the JSON to the specified .NET type.
+ Asynchronously deserializes the JSON to the specified .NET type using .
+ Deserialization will happen on a new thread.
The JSON to deserialize.
The type of the object to deserialize to.
The used to deserialize the object.
- If this is null, default serialization settings will be is used.
+ If this is null, default serialization settings will be used.
A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string.
@@ -2368,24 +2484,24 @@
- Populates the object with values from the JSON string.
+ Populates the object with values from the JSON string using .
The JSON to populate values from.
The target object to populate values onto.
The used to deserialize the object.
- If this is null, default serialization settings will be is used.
+ If this is null, default serialization settings will be used.
- Asynchronously populates the object with values from the JSON string.
+ Asynchronously populates the object with values from the JSON string using .
The JSON to populate values from.
The target object to populate values onto.
The used to deserialize the object.
- If this is null, default serialization settings will be is used.
+ If this is null, default serialization settings will be used.
A task that represents the asynchronous populate operation.
@@ -2400,7 +2516,7 @@
- Serializes the XML node to a JSON string.
+ Serializes the XML node to a JSON string using formatting.
The node to serialize.
Indicates how the output is formatted.
@@ -2408,7 +2524,7 @@
- Serializes the XML node to a JSON string.
+ Serializes the XML node to a JSON string using formatting and omits the root object if is true .
The node to serialize.
Indicates how the output is formatted.
@@ -2424,7 +2540,7 @@
- Deserializes the XmlNode from a JSON string nested in a root elment.
+ Deserializes the XmlNode from a JSON string nested in a root elment specified by .
The JSON string.
The name of the root element to append when deserializing.
@@ -2432,7 +2548,8 @@
- Deserializes the XmlNode from a JSON string nested in a root elment.
+ Deserializes the XmlNode from a JSON string nested in a root elment specified by
+ and writes a .NET array attribute for collections.
The JSON string.
The name of the root element to append when deserializing.
@@ -2451,7 +2568,7 @@
- Serializes the to a JSON string.
+ Serializes the to a JSON string using formatting.
The node to convert to JSON.
Indicates how the output is formatted.
@@ -2459,7 +2576,7 @@
- Serializes the to a JSON string.
+ Serializes the to a JSON string using formatting and omits the root object if is true .
The node to serialize.
Indicates how the output is formatted.
@@ -2475,7 +2592,7 @@
- Deserializes the from a JSON string nested in a root elment.
+ Deserializes the from a JSON string nested in a root elment specified by .
The JSON string.
The name of the root element to append when deserializing.
@@ -2483,7 +2600,8 @@
- Deserializes the from a JSON string nested in a root elment.
+ Deserializes the from a JSON string nested in a root elment specified by
+ and writes a .NET array attribute for collections.
The JSON string.
The name of the root element to append when deserializing.
@@ -2493,6 +2611,15 @@
The deserialized XNode
+
+
+ Gets or sets a function that creates default .
+ Default settings are automatically used by serialization methods on ,
+ and and on .
+ To serialize without using any default settings create a with
+ .
+
+
Instructs the to use the specified when serializing the member or class.
@@ -2504,12 +2631,25 @@
Type of the converter.
+
+
+ Initializes a new instance of the class.
+
+ Type of the converter.
+ Parameter list to use when constructing the JsonConverter. Can be null.
+
Gets the type of the converter.
The type of the converter.
+
+
+ The parameter list to use when constructing the JsonConverter described by ConverterType.
+ If null, the default constructor is used.
+
+
Represents a collection of .
@@ -2565,6 +2705,33 @@
The parameter is null.
The class name is null or is zero (0).
+
+
+ Instructs the to deserialize properties with no matching class member into the specified collection
+ and write values during serialization.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets or sets a value that indicates whether to write extension data when serializing the object.
+
+
+ true to write extension data when serializing the object; otherwise, false . The default is true .
+
+
+
+
+ Gets or sets a value that indicates whether to read extension data when deserializing the object.
+
+
+ true to read extension data when deserializing the object; otherwise, false . The default is true .
+
+
Instructs the not to serialize the public field or public read/write property value.
@@ -2628,6 +2795,17 @@
The collection's items converter.
+
+
+ The parameter list to use when constructing the JsonConverter described by ItemConverterType.
+ If null, the default constructor is used.
+ When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number,
+ order, and type of these parameters.
+
+
+ [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
+
+
Gets or sets the null value handling used when serializing this property.
@@ -2799,12 +2977,47 @@
Initializes a new instance of the class.
+
+
+ Creates a new instance.
+ The will not use default settings.
+
+
+ A new instance.
+ The will not use default settings.
+
+
Creates a new instance using the specified .
+ The will not use default settings.
The settings to be applied to the .
- A new instance using the specified .
+
+ A new instance using the specified .
+ The will not use default settings.
+
+
+
+
+ Creates a new instance.
+ The will use default settings.
+
+
+ A new instance.
+ The will use default settings.
+
+
+
+
+ Creates a new instance using the specified .
+ The will use default settings.
+
+ The settings to be applied to the .
+
+ A new instance using the specified .
+ The will use default settings.
+
@@ -2965,6 +3178,12 @@
The constructor handling.
+
+
+ Gets or sets how metadata properties are used during deserialization.
+
+ The metadata properties handling.
+
Gets a collection that will be used during serialization.
@@ -3101,6 +3320,12 @@
The type name handling.
+
+
+ Gets or sets how metadata properties are used during deserialization.
+
+ The metadata properties handling.
+
Gets or sets how a type name assembly is written and resolved by the serializer.
@@ -3231,10 +3456,10 @@
- Reads the next JSON token from the stream as a .
+ Reads the next JSON token from the stream as a [].
- A or a null reference if the next JSON token is null. This method will return null at the end of an array.
+ A [] or a null reference if the next JSON token is null. This method will return null at the end of an array.
@@ -3298,7 +3523,7 @@
- Represents a writer that provides a fast, non-cached, forward-only way of generating Json data.
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
@@ -3494,9 +3719,9 @@
- Writes a value.
+ Writes a [] value.
- The value to write.
+ The [] value to write.
@@ -3669,10 +3894,10 @@
- Reads the next JSON token from the stream as a .
+ Reads the next JSON token from the stream as a [].
- A or a null reference if the next JSON token is null.
+ A [] or a null reference if the next JSON token is null.
@@ -3810,7 +4035,15 @@
The type of the objects in source, constrained to .
An of that contains the source collection.
- An of that contains the ancestors of every node in the source collection.
+ An of that contains the ancestors of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains every token in the source collection, the ancestors of every token in the source collection.
@@ -3818,7 +4051,15 @@
The type of the objects in source, constrained to .
An of that contains the source collection.
- An of that contains the descendants of every node in the source collection.
+ An of that contains the descendants of every token in the source collection.
+
+
+
+ Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection.
+
+ The type of the objects in source, constrained to .
+ An of that contains the source collection.
+ An of that contains every token in the source collection, and the descendants of every token in the source collection.
@@ -3833,14 +4074,14 @@
An of that contains the source collection.
The token key.
- An of that contains the values of every node in the source collection with the given key.
+ An of that contains the values of every token in the source collection with the given key.
Returns a collection of child values of every object in the source collection.
An of that contains the source collection.
- An of that contains the values of every node in the source collection.
+ An of that contains the values of every token in the source collection.
@@ -3849,7 +4090,7 @@
The type to convert the values to.
An of that contains the source collection.
The token key.
- An that contains the converted values of every node in the source collection with the given key.
+ An that contains the converted values of every token in the source collection with the given key.
@@ -3857,7 +4098,7 @@
The type to convert the values to.
An of that contains the source collection.
- An that contains the converted values of every node in the source collection.
+ An that contains the converted values of every token in the source collection.
@@ -3882,7 +4123,7 @@
The source collection type.
An of that contains the source collection.
- An of that contains the values of every node in the source collection.
+ An of that contains the values of every token in the source collection.
@@ -3891,7 +4132,7 @@
An of that contains the source collection.
The type to convert the values to.
The source collection type.
- An that contains the converted values of every node in the source collection.
+ An that contains the converted values of every token in the source collection.
@@ -3964,6 +4205,12 @@
A collection of the ancestor tokens of this token.
+
+
+ Returns a collection of tokens that contain this token, and the ancestors of this token.
+
+ A collection of tokens that contain this token, and the ancestors of this token.
+
Returns a collection of the sibling tokens after this token, in document order.
@@ -4136,6 +4383,13 @@
The value.
The result of the conversion.
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
Performs an explicit conversion from to .
@@ -4164,6 +4418,13 @@
The value.
The result of the conversion.
+
+
+ Performs an explicit conversion from to .
+
+ The value.
+ The result of the conversion.
+
Performs an explicit conversion from to .
@@ -4243,7 +4504,7 @@
- Performs an explicit conversion from to .
+ Performs an explicit conversion from to [].
The value.
The result of the conversion.
@@ -4297,6 +4558,34 @@
The value to create a from.
The initialized with the specified value.
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
+
+
+ Performs an implicit conversion from to .
+
+ The value to create a from.
+ The initialized with the specified value.
+
Performs an implicit conversion from to .
@@ -4460,7 +4749,7 @@
- Performs an implicit conversion from to .
+ Performs an implicit conversion from [] to .
The value to create a from.
The initialized with the specified value.
@@ -4582,28 +4871,41 @@
- Selects the token that matches the object path.
+ Selects a using a JPath expression. Selects the token that matches the object path.
- The object path from the current to the
- to be returned. This must be a string of property names or array indexes separated
- by periods, such as Tables[0].DefaultView[0].Price in C# or
- Tables(0).DefaultView(0).Price in Visual Basic.
+ A that contains a JPath expression.
- The that matches the object path or a null reference if no matching token is found.
+ A , or null.
- Selects the token that matches the object path.
+ Selects a using a JPath expression. Selects the token that matches the object path.
- The object path from the current to the
- to be returned. This must be a string of property names or array indexes separated
- by periods, such as Tables[0].DefaultView[0].Price in C# or
- Tables(0).DefaultView(0).Price in Visual Basic.
+ A that contains a JPath expression.
- A flag to indicate whether an error should be thrown if no token is found.
- The that matches the object path.
+ A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
+ A .
+
+
+
+ Selects a collection of elements using a JPath expression.
+
+
+ A that contains a JPath expression.
+
+ An that contains the selected elements.
+
+
+
+ Selects a collection of elements using a JPath expression.
+
+
+ A that contains a JPath expression.
+
+ A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
+ An that contains the selected elements.
@@ -4629,6 +4931,52 @@
A new instance of the .
+
+
+ Adds an object to the annotation list of this .
+
+ The annotation to add.
+
+
+
+ Get the first annotation object of the specified type from this .
+
+ The type of the annotation to retrieve.
+ The first annotation object that matches the specified type, or null if no annotation is of the specified type.
+
+
+
+ Gets the first annotation object of the specified type from this .
+
+ The of the annotation to retrieve.
+ The first annotation object that matches the specified type, or null if no annotation is of the specified type.
+
+
+
+ Gets a collection of annotations of the specified type for this .
+
+ The type of the annotations to retrieve.
+ An that contains the annotations for this .
+
+
+
+ Gets a collection of annotations of the specified type for this .
+
+ The of the annotations to retrieve.
+ An of that contains the annotations that match the specified type for this .
+
+
+
+ Removes the annotations of the specified type from this .
+
+ The type of annotations to remove.
+
+
+
+ Removes the annotations of the specified type from this .
+
+ The of annotations to remove.
+
Gets a comparer that can compare two tokens for value equality.
@@ -4655,7 +5003,7 @@
- Gets a value indicating whether this token has childen tokens.
+ Gets a value indicating whether this token has child tokens.
true if this token has child values; otherwise, false .
@@ -4737,6 +5085,12 @@
An containing the descendant tokens of the .
+
+
+ Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order.
+
+ An containing this token, and all the descendant tokens of the .
+
Adds the specified content as children of this .
@@ -4766,6 +5120,19 @@
Removes the child nodes from this token.
+
+
+ Merge the specified content into this .
+
+ The content to be merged.
+
+
+
+ Merge the specified content into this using .
+
+ The content to be merged.
+ The used to merge the content.
+
Occurs when the list changes or an item in the list changes.
@@ -4789,7 +5156,7 @@
- Gets a value indicating whether this token has childen tokens.
+ Gets a value indicating whether this token has child tokens.
true if this token has child values; otherwise, false .
@@ -4907,6 +5274,14 @@
is not a valid index in the .
The is read-only.
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
Adds an item to the .
@@ -4929,6 +5304,13 @@
true if is found in the ; otherwise, false.
+
+
+ Copies to.
+
+ The array.
+ Index of the array.
+
Removes the first occurrence of a specific object from the .
@@ -4963,6 +5345,12 @@
+
+
+ Gets a value indicating whether the is read-only.
+
+ true if the is read-only; otherwise, false.
+
Represents a JSON constructor.
@@ -5070,6 +5458,15 @@
An object that can be used to iterate through the collection.
+
+
+ Determines whether the specified is equal to this instance.
+
+ The to compare with this instance.
+
+ true if the specified is equal to this instance; otherwise, false .
+
+
Determines whether the specified is equal to this instance.
@@ -5169,11 +5566,11 @@
- Creates a from an object.
+ Creates a from an object.
- The object that will be used to create .
+ The object that will be used to create .
The that will be used to read the object.
- A with the values of the specified object
+ A with the values of the specified object
@@ -5395,6 +5792,17 @@
+
+
+ Specifies the settings used when merging JSON.
+
+
+
+
+ Gets or sets the method used when merging JSON arrays.
+
+ The method used when merging JSON arrays.
+
Represents a JSON property.
@@ -5463,12 +5871,11 @@
Represents a view of a .
-
+
Initializes a new instance of the class.
The name.
- Type of the property.
@@ -5570,6 +5977,12 @@
The value.
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
Initializes a new instance of the class with the given value.
@@ -5600,6 +6013,12 @@
The value.
+
+
+ Initializes a new instance of the class with the given value.
+
+ The value.
+
Initializes a new instance of the class with the given value.
@@ -5650,6 +6069,18 @@
The value.
A string with the given value.
+
+
+ Creates a null value.
+
+ A null value.
+
+
+
+ Creates a null value.
+
+ A null value.
+
Writes this token to a .
@@ -5753,7 +6184,7 @@
- Gets a value indicating whether this token has childen tokens.
+ Gets a value indicating whether this token has child tokens.
true if this token has child values; otherwise, false .
@@ -5815,7 +6246,7 @@
- Represents a reader that provides fast, non-cached, forward-only access to serialized Json data.
+ Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
@@ -5826,10 +6257,10 @@
- Reads the next JSON token from the stream as a .
+ Reads the next JSON token from the stream as a [].
- A or a null reference if the next JSON token is null. This method will return null at the end of an array.
+ A [] or a null reference if the next JSON token is null. This method will return null at the end of an array.
@@ -5870,6 +6301,16 @@
true if the next token was read successfully; false if there are no more tokens to read.
+
+
+ Gets the at the reader's current position.
+
+
+
+
+ Gets the path of the current JSON token.
+
+
Specifies the type of token.
@@ -5967,7 +6408,7 @@
- Represents a writer that provides a fast, non-cached, forward-only way of generating Json data.
+ Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
@@ -6146,9 +6587,9 @@
- Writes a value.
+ Writes a [] value.
- The value to write.
+ The [] value to write.
@@ -6168,12 +6609,34 @@
The value to write.
+
+
+ Gets the at the writer's current position.
+
+
Gets the token being writen.
The token being writen.
+
+
+ Specifies how JSON arrays are merged together.
+
+
+
+ Concatenate arrays.
+
+
+ Union arrays, skipping items that already exist.
+
+
+ Replace all array items.
+
+
+ Merge array items together, matched by index.
+
Specifies the member serialization options for the .
@@ -6198,6 +6661,26 @@
and setting IgnoreSerializableAttribute on to false.
+
+
+ Specifies metadata property handling options for the .
+
+
+
+
+ Read metadata properties located at the start of a JSON object.
+
+
+
+
+ Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance.
+
+
+
+
+ Do not try to read metadata properties.
+
+
Specifies missing member handling options for the .
@@ -6877,9 +7360,9 @@
If set to true the will use a cached shared with other resolvers of the same type.
- Sharing the cache will significantly performance because expensive reflection will only happen once but could cause unexpected
- behavior if different instances of the resolver are suppose to produce different results. When set to false it is highly
- recommended to reuse instances with the .
+ Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only
+ happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different
+ results. When set to false it is highly recommended to reuse instances with the .
@@ -7227,7 +7710,7 @@
- Gets or sets the error.
+ Gets the error.
The error.
@@ -7304,6 +7787,26 @@
The target to get the value from.
The value.
+
+
+ Provides methods to get attributes.
+
+
+
+
+ Returns a collection of all of the attributes, or an empty collection if there are no attributes.
+
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
+
+ The type of the attributes.
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
Contract details for a used by the .
@@ -7478,6 +7981,20 @@
The streaming context.
The error context.
+
+
+ Sets extension data for an object during deserialization.
+
+ The object to set extension data on.
+ The extension data key.
+ The extension data value.
+
+
+
+ Gets extension data for an object during serialization.
+
+ The object to set extension data on.
+
Contract details for a used by the .
@@ -7594,6 +8111,11 @@
Gets the constructor parameters required for any non-default constructor
+
+
+ Gets a collection of instances that define the parameters used with .
+
+
Gets or sets the override constructor used to create the object.
@@ -7608,6 +8130,23 @@
The parametrized constructor.
+
+
+ Gets or sets the function used to create the object. When set this function will override .
+ This function is called with a collection of arguments which are defined by the collection.
+
+ The function used to create the object.
+
+
+
+ Gets or sets the extension data setter.
+
+
+
+
+ Gets or sets the extension data getter.
+
+
Contract details for a used by the .
@@ -7662,6 +8201,12 @@
The that will get and set the during serialization.
+
+
+ Gets or sets the for this property.
+
+ The for this property.
+
Gets or sets the type of the property.
@@ -7677,31 +8222,31 @@
- Gets the member converter.
+ Gets or sets the member converter.
The member converter.
- Gets a value indicating whether this is ignored.
+ Gets or sets a value indicating whether this is ignored.
true if ignored; otherwise, false .
- Gets a value indicating whether this is readable.
+ Gets or sets a value indicating whether this is readable.
true if readable; otherwise, false .
- Gets a value indicating whether this is writable.
+ Gets or sets a value indicating whether this is writable.
true if writable; otherwise, false .
- Gets a value indicating whether this has a member attribute.
+ Gets or sets a value indicating whether this has a member attribute.
true if has a member attribute; otherwise, false .
@@ -7713,13 +8258,13 @@
- Gets a value indicating whether this is required.
+ Gets or sets a value indicating whether this is required.
A value indicating whether this is required.
- Gets a value indicating whether this property preserves object references.
+ Gets or sets a value indicating whether this property preserves object references.
true if this instance is reference; otherwise, false .
@@ -7727,31 +8272,31 @@
- Gets the property null value handling.
+ Gets or sets the property null value handling.
The null value handling.
- Gets the property default value handling.
+ Gets or sets the property default value handling.
The default value handling.
- Gets the property reference loop handling.
+ Gets or sets the property reference loop handling.
The reference loop handling.
- Gets the property object creation handling.
+ Gets or sets the property object creation handling.
The object creation handling.
- Gets or sets the type name handling.
+ Gets or sets or sets the type name handling.
The type name handling.
@@ -7849,6 +8394,21 @@
The underlying type for the contract.
+
+
+ Lookup and create an instance of the JsonConverter type described by the argument.
+
+ The JsonConverter type to create.
+ Optional arguments to pass to an initializing constructor of the JsonConverter.
+ If null, the default constructor is used.
+
+
+
+ Create a factory function that can be used to create instances of a JsonConverter described by the
+ argument type. The returned function can then be used to either invoke the converter's default ctor, or any
+ parameterized constructors by way of an object array.
+
+
Represents a trace writer that writes to memory. When the trace message limit is
@@ -7903,6 +8463,31 @@
When applied to a method, specifies that the method is called when an error occurs serializing an object.
+
+
+ Provides methods to get attributes from a , , or .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Returns a collection of all of the attributes, or an empty collection if there are no attributes.
+
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
+
+
+ Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
+
+ The type of the attributes.
+ When true, look up the hierarchy chain for the inherited custom attribute.
+ A collection of s, or an empty collection.
+
Get and set values for a using reflection.
@@ -8004,27 +8589,6 @@
An equality comparer to compare values.
The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1.
-
-
- Converts the value to the specified type.
-
- The value to convert.
- The culture to use when converting.
- The type to convert the value to.
- The converted type.
-
-
-
- Converts the value to the specified type.
-
- The value to convert.
- The culture to use when converting.
- The type to convert the value to.
- The converted value if the conversion was successful or the default value of T if it failed.
-
- true if initialValue was converted successfully; otherwise, false .
-
-
Converts the value to the specified type. If the value is unable to be converted, the
diff --git a/WebSCR/bin/SteamWare.dll b/WebSCR/bin/SteamWare.dll
index b977c0d..ebfe80c 100644
Binary files a/WebSCR/bin/SteamWare.dll and b/WebSCR/bin/SteamWare.dll differ
diff --git a/WebSCR/bin/SteamWare.pdb b/WebSCR/bin/SteamWare.pdb
deleted file mode 100644
index f6dfe9d..0000000
Binary files a/WebSCR/bin/SteamWare.pdb and /dev/null differ
diff --git a/WebSCR/bin/SteamWare.xml b/WebSCR/bin/SteamWare.xml
index dd8e6e2..4157f50 100644
--- a/WebSCR/bin/SteamWare.xml
+++ b/WebSCR/bin/SteamWare.xml
@@ -55,6 +55,11 @@
tipo id controllo con classi di base comune da cui derivare gli *.asmx
+
+
+ imposto il tipo di anagrafica del controlloS
+
+
nome della pagina correntemente caricata
@@ -424,6 +429,32 @@
+
+
+ variabile salvata in view state x la stringa di sorting - dg 2
+
+
+
+
+ variabile salvata in view state x la stringa di sorting - dg 2
+
+
+
+
+ legge e scrive in viewState la stringa di filtraggio...
+
+
+
+
+ variabile salvata in viewstate x la direzione del sorting
+
+
+
+
+ genera la stringa filtro x i cdc autorizzati x l'user
+
+
+
esegue la ricerca dei cdc nelle posizioni indicate dal filtro e restituisce elenco distinct degli stessi
@@ -499,6 +530,11 @@
+
+
+ tipo di vista del modulo
+
+
effettua la registrazione degli eventi
@@ -549,42 +585,6 @@
The tipo.
-
-
- imposto il tipo di anagrafica del controlloS
-
-
-
-
- variabile salvata in view state x la stringa di sorting - dg 2
-
-
-
-
- variabile salvata in view state x la stringa di sorting - dg 2
-
-
-
-
- legge e scrive in viewState la stringa di filtraggio...
-
-
-
-
- variabile salvata in viewstate x la direzione del sorting
-
-
-
-
- genera la stringa filtro x i cdc autorizzati x l'user
-
-
-
-
-
- tipo di vista del modulo
-
-
classe gestione auth
@@ -735,21 +735,6 @@
inizializzazione classe
-
-
- valorizza i diff dei valori old e new
-
-
-
-
- calcola solo il vettore dei valori old (x delete)
-
-
-
-
- oggetto statico per il confronto valori
-
-
stringa diff dei valori originali modificati
@@ -760,6 +745,16 @@
stringa diff dei valori nuovi modificati
+
+
+ valorizza i diff dei valori old e new
+
+
+
+
+ calcola solo il vettore dei valori old (x delete)
+
+
dictionary dei parametri old
@@ -770,6 +765,11 @@
dictionary dei parametri new
+
+
+ oggetto statico per il confronto valori
+
+
classe di gestione lettura
@@ -1258,16 +1258,16 @@
-
-
- classe singleton x la gestione dei tableadapters
-
-
elenco lingue ammesse da vocabolario...
+
+
+ classe singleton x la gestione dei tableadapters
+
+
classe di gestione dei db x creazione/update alla versione richiesta
@@ -1389,7 +1389,15 @@
-
+
+
+ invia email ad utente con url x reset hash password
+
+ destinatario
+ hashPasswd ATTUALE (in chiaro)
+
+
+
invia email ad utente con url x enroll
@@ -1407,6 +1415,11 @@
+
+
+ restituisce nome cookie di auth (o default...)
+
+
genera la passphrase utente a partire dai parametri richiesti
@@ -1428,59 +1441,6 @@
cancella da session l'utente
-
-
- conta il numero di permessi utente per la pagina attuale e restituisce true se ne trova almeno 1
-
-
-
-
-
-
- verifica se il permesso utente per la pagina attuale sia write per almeno 1 diritto assegnato (restituisce true se ne trova almeno 1 con permessi2funzione.readwrite='S')
-
-
-
-
-
-
- Procedura da chiamare DOPO aver messo in session i dati utente/email x caricare gli altri dati
-
-
-
-
-
-
- carica la riga dati utente
-
-
-
-
- Carica la tabella diritti dell'utente da db e salva in session
-
-
-
-
- Effettua setup dei permessi una volta salvati i diritti
-
-
-
-
- verifica nella tab diritti se l'utente abbia il right richiesto e fornisce bool in risposta
-
-
-
-
-
-
- restituisce il nome della pagina corrente
-
-
-
-
- restituisce nome cookie di auth (o default...)
-
-
restituisce la tabella diritti da session
@@ -1531,6 +1491,49 @@
è un boolean che indica se in session ci siano user/email e DeviceSecret (cookie) e quindi utente autenticato in precedenza...
+
+
+ conta il numero di permessi utente per la pagina attuale e restituisce true se ne trova almeno 1
+
+
+
+
+
+
+ verifica se il permesso utente per la pagina attuale sia write per almeno 1 diritto assegnato (restituisce true se ne trova almeno 1 con permessi2funzione.readwrite='S')
+
+
+
+
+
+
+ Procedura da chiamare DOPO aver messo in session i dati utente/email x caricare gli altri dati
+
+
+
+
+
+
+ carica la riga dati utente
+
+
+
+
+ Carica la tabella diritti dell'utente da db e salva in session
+
+
+
+
+ Effettua setup dei permessi una volta salvati i diritti
+
+
+
+
+ verifica nella tab diritti se l'utente abbia il right richiesto e fornisce bool in risposta
+
+
+
+
pagina correntemente visualizzata (URL in sessione)
@@ -1541,6 +1544,11 @@
pagina precedentemente visualizzata (URL in sessione)
+
+
+ restituisce il nome della pagina corrente
+
+
classe gestione parametri deviceper stampa
@@ -1606,36 +1614,17 @@
helper x raccolta dati di diagnostica
+
+
+ uptime macchina (formattato)
+
+
calcolo uptime in formato timespan
-
-
- elenco devices USB
-
-
-
-
-
- registra esito ping ad un dato IP/hostname
-
- IPaddress / host name.
-
-
-
- restituisce contenuto di una pagina web (per testing)
-
-
-
-
-
-
- uptime macchina (formattato)
-
-
restituisce elenco dischi con utilizzo (formattato)
@@ -1653,11 +1642,30 @@
+
+
+ elenco devices USB
+
+
+
elenco porte seriali
+
+
+ registra esito ping ad un dato IP/hostname
+
+ IPaddress / host name.
+
+
+
+ restituisce contenuto di una pagina web (per testing)
+
+
+
+
classe definizione info oggetti USB
@@ -2332,12 +2340,26 @@
The _nome file.
+
+
+ cerca di caricare il fileinfo o da httpcontext-application re-position o direttamente come workpath + nomefile
+
+ The _path.
+ The _nome file.
+
+
cerca di caricare la directoryInfo o da httpcontext-application re-position o direttamente come workpath
+
+
+ imposta la directory richiesta...
+
+
+
Legge i dati da uno stream fino a quando arriva alla fine.
@@ -2405,6 +2427,14 @@
+
+
+ verifica se il file indicato esista in _path
+
+
+
+
+
elimina il file indicato dalla directory di lavoro
@@ -2921,6 +2951,11 @@
avvio del logger nella dir desiderata
+
+
+ livello di log applicazione (da web.config, chiave '_logLevel')
+
+
avvio del logger nella dir desiderata
@@ -2984,11 +3019,6 @@
-
-
- livello di log applicazione (da web.config, chiave '_logLevel')
-
-
tipo di log ammesso
@@ -3101,6 +3131,34 @@
+
+
+ recupera valore querystring STRING
+
+
+ valore string
+
+
+
+ recupera valore querystring INT
+
+
+ valore INT
+
+
+
+ recupera valore querystring BOOL
+
+
+ valore string
+
+
+
+ recupera valore querystring DATE
+
+
+ valore DATE
+
carica dalla sessione un dato di tipo object generico
@@ -3165,6 +3223,13 @@
+
+
+ restituisco se ci sia un dato cookie
+
+
+
+
restituisco un valore da cookie
@@ -3245,12 +3310,22 @@
+
+
+ elenco dictionary delle tab in cache da aggiornare con update svuotando da cache...
+
+
aggiunge la stringa corrente nel dictionary delle tabelle messe in cache e da aggiornare su comando update
+
+
+ elenco dictionary dei valori in session da NON aggiornare con update...
+
+
aggiunge la stringa corrente nel dictionary delle tabelle messe in session che vanno preservate da comando update (es: oggetto selezionato...)
@@ -3263,15 +3338,48 @@
forza lo svuotamento delel tabelle indicate come in cache...
-
+
- elenco dictionary delle tab in cache da aggiornare con update svuotando da cache...
+ Salted password hashing with PBKDF2-SHA1.
+ Author: havoc AT defuse.ca
+ www: http://crackstation.net/hashing-security.htm
+ Compatibility: .NET 3.0 and later.
-
+
- elenco dictionary dei valori in session da NON aggiornare con update...
+ Creates a salted PBKDF2 hash of the password.
+ The password to hash.
+ The hash of the password.
+
+
+
+ Validates a password given a hash of the correct one.
+
+ The password to check.
+ A hash of the correct password.
+ True if the password is correct. False otherwise.
+
+
+
+ Compares two byte arrays in length-constant time. This comparison
+ method is used so that password hashes cannot be extracted from
+ on-line systems using a timing attack and then attacked off-line.
+
+ The first byte array.
+ The second byte array.
+ True if both byte arrays are equal. False otherwise.
+
+
+
+ Computes the PBKDF2-SHA1 hash of a password.
+
+ The password to hash.
+ The salt.
+ The PBKDF2 iteration count.
+ The length of the hash to generate, in bytes.
+ A hash of the password.
@@ -3327,6 +3435,11 @@
web control che disegna un grafico a torta
+
+
+ tipo di grafico (2D/3D)
+
+
altezza di default
@@ -3352,6 +3465,41 @@
soglia minima 5% per mostrare il dato
+
+
+ ampiezza del grafico
+
+
+
+
+ altezza del grafico
+
+
+
+
+ padding grafico/container
+
+
+
+
+ boolean se si debba mostrale la legenda
+
+
+
+
+ percentuale minima da mostrare
+
+
+
+
+ serie di dati (tipizzata) ma mostrare
+
+
+
+
+ testo associato al controllo
+
+
renderizza il contenuto
@@ -3397,46 +3545,6 @@
-
-
- tipo di grafico (2D/3D)
-
-
-
-
- ampiezza del grafico
-
-
-
-
- altezza del grafico
-
-
-
-
- padding grafico/container
-
-
-
-
- boolean se si debba mostrale la legenda
-
-
-
-
- percentuale minima da mostrare
-
-
-
-
- serie di dati (tipizzata) ma mostrare
-
-
-
-
- testo associato al controllo
-
-
Classe gestione metodi di accesso ai dati embeddati
@@ -3675,11 +3783,71 @@
+
+
+ restituisce la tabella diritti da session
+
+
+
+
+ tabella dei permessi utente
+
+
+
+
+ tabella dei permessi utente di tipo "WRITE" enabled
+
+
inizializza la gestione utente...
+
+
+ retituisce username AD
+
+
+
+
+ oggetto utente con metodi get/set
+
+
+
+
+ oggetto password con metodi get/set
+
+
+
+
+ oggetto dominio con metodi get/set
+
+
+
+
+ oggetto modulo (applicazione) con metodi get/set
+
+
+
+
+ oggetto lingua utente con metodi get/set
+
+
+
+
+ oggetto runMode corrente
+
+
+
+
+ restituisce true se utente forzato da forceUser.aspx
+
+
+
+
+ restituisce i valori della riga utente da db
+
+
restituisce riga utente data la matricola...
@@ -3687,6 +3855,31 @@
matricola
+
+
+ restituisce una stringa formattata con cognome, nome e matricola
+
+
+
+
+ restituisce una stringa della sigla dell'utente
+
+
+
+
+ restituisce una stringa formattata con cognome e nome
+
+
+
+
+ restituisce una stringa formattata con cognome
+
+
+
+
+ restituisce una stringa formattata con nome
+
+
traduce il lemma nella lingua dell'user corrente
@@ -3716,6 +3909,11 @@
+
+
+ fornisce un file XML della mappa del sito abilitato per l'utente...
+
+
LogOff utente con reset dati
@@ -3775,6 +3973,11 @@
+
+
+ è un boolean che indica se in session ci siano user/dominio e quindi utente autenticato in rpecedenza...
+
+
conta il numero di permessi utente per la pagina attuale e restituisce true se ne trova almeno 1
@@ -3914,101 +4117,6 @@
versione statica della classe utente come singleton UtenTeSignletoN
-
-
- restituisce la tabella diritti da session
-
-
-
-
- tabella dei permessi utente
-
-
-
-
- tabella dei permessi utente di tipo "WRITE" enabled
-
-
-
-
- retituisce username AD
-
-
-
-
- oggetto utente con metodi get/set
-
-
-
-
- oggetto password con metodi get/set
-
-
-
-
- oggetto dominio con metodi get/set
-
-
-
-
- oggetto modulo (applicazione) con metodi get/set
-
-
-
-
- oggetto lingua utente con metodi get/set
-
-
-
-
- oggetto runMode corrente
-
-
-
-
- restituisce true se utente forzato da forceUser.aspx
-
-
-
-
- restituisce i valori della riga utente da db
-
-
-
-
- restituisce una stringa formattata con cognome, nome e matricola
-
-
-
-
- restituisce una stringa della sigla dell'utente
-
-
-
-
- restituisce una stringa formattata con cognome e nome
-
-
-
-
- restituisce una stringa formattata con cognome
-
-
-
-
- restituisce una stringa formattata con nome
-
-
-
-
- fornisce un file XML della mappa del sito abilitato per l'utente...
-
-
-
-
- è un boolean che indica se in session ci siano user/dominio e quindi utente autenticato in rpecedenza...
-
-
pagina correntemente visualizzata (URL in sessione)
@@ -4523,5 +4631,24 @@
+
+
+ classe gestione valori percentuali per semplificare edit utente (moltiplicati x 100 appunto)
+
+
+
+
+ converte da percentuale a numero (es 5,3% --> 0.053)
+
+
+
+
+
+
+ converte da numero a percentuale (es 0.053 --> 5,3%)
+
+
+
+
diff --git a/WebSCR/bin/WebGrease.dll b/WebSCR/bin/WebGrease.dll
index 1d308f8..a6a80d3 100644
Binary files a/WebSCR/bin/WebGrease.dll and b/WebSCR/bin/WebGrease.dll differ
diff --git a/WebSCR/bin/WebSCR.dll b/WebSCR/bin/WebSCR.dll
index 1a3a658..1798668 100644
Binary files a/WebSCR/bin/WebSCR.dll and b/WebSCR/bin/WebSCR.dll differ
diff --git a/WebSCR/bin/WebSCR.dll.config b/WebSCR/bin/WebSCR.dll.config
new file mode 100644
index 0000000..7fc5df6
--- /dev/null
+++ b/WebSCR/bin/WebSCR.dll.config
@@ -0,0 +1,164 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WebSCR/bin/WebSCR.pdb b/WebSCR/bin/WebSCR.pdb
deleted file mode 100644
index 3238a63..0000000
Binary files a/WebSCR/bin/WebSCR.pdb and /dev/null differ
diff --git a/WebSCR/bin/WebSCR_data.dll b/WebSCR/bin/WebSCR_data.dll
new file mode 100644
index 0000000..aae618a
Binary files /dev/null and b/WebSCR/bin/WebSCR_data.dll differ
diff --git a/WebSCR/compilerconfig.json b/WebSCR/compilerconfig.json
new file mode 100644
index 0000000..13ce3c3
--- /dev/null
+++ b/WebSCR/compilerconfig.json
@@ -0,0 +1,10 @@
+[
+ {
+ "outputFile": "Content/Style.css",
+ "inputFile": "Content/Style.less"
+ },
+ {
+ "outputFile": "Content/WebSCR.css",
+ "inputFile": "Content/WebSCR.less"
+ }
+]
\ No newline at end of file
diff --git a/WebSCR/favicon.ico b/WebSCR/favicon.ico
new file mode 100644
index 0000000..70ccada
Binary files /dev/null and b/WebSCR/favicon.ico differ
diff --git a/WebSCR/images/LogoSteamware.png b/WebSCR/images/LogoSteamware.png
new file mode 100644
index 0000000..9098752
Binary files /dev/null and b/WebSCR/images/LogoSteamware.png differ
diff --git a/WebSCR/jumper.aspx b/WebSCR/jumper.aspx
new file mode 100644
index 0000000..5e1341d
--- /dev/null
+++ b/WebSCR/jumper.aspx
@@ -0,0 +1,20 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="jumper.aspx.cs" Inherits="WebSCR.jumper" %>
+
+<%@ Register src="WebUserControls/mod_enrollByJumperAuthKey.ascx" tagname="mod_enrollByJumperAuthKey" tagprefix="uc1" %>
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebSCR/jumper.aspx.cs b/WebSCR/jumper.aspx.cs
new file mode 100644
index 0000000..b400b9b
--- /dev/null
+++ b/WebSCR/jumper.aspx.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace WebSCR
+{
+ public partial class jumper : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/WebSCR/jumper.aspx.designer.cs b/WebSCR/jumper.aspx.designer.cs
new file mode 100644
index 0000000..7e0b4b9
--- /dev/null
+++ b/WebSCR/jumper.aspx.designer.cs
@@ -0,0 +1,33 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace WebSCR {
+
+
+ public partial class jumper {
+
+ ///
+ /// form1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// mod_enrollByJumperAuthKey1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_enrollByJumperAuthKey mod_enrollByJumperAuthKey1;
+ }
+}
diff --git a/WebSCR/logs/20150416.txt.zip b/WebSCR/logs/20150416.txt.zip
new file mode 100644
index 0000000..8376f19
Binary files /dev/null and b/WebSCR/logs/20150416.txt.zip differ
diff --git a/WebSCR/logs/20150417.txt.zip b/WebSCR/logs/20150417.txt.zip
new file mode 100644
index 0000000..03e1796
Binary files /dev/null and b/WebSCR/logs/20150417.txt.zip differ
diff --git a/WebSCR/logs/20150427.txt.zip b/WebSCR/logs/20150427.txt.zip
new file mode 100644
index 0000000..7849ef5
Binary files /dev/null and b/WebSCR/logs/20150427.txt.zip differ
diff --git a/WebSCR/logs/20150429.txt.zip b/WebSCR/logs/20150429.txt.zip
new file mode 100644
index 0000000..b417936
Binary files /dev/null and b/WebSCR/logs/20150429.txt.zip differ
diff --git a/WebSCR/logs/20150505.txt.zip b/WebSCR/logs/20150505.txt.zip
new file mode 100644
index 0000000..c3bb344
Binary files /dev/null and b/WebSCR/logs/20150505.txt.zip differ
diff --git a/WebSCR/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/WebSCR/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
deleted file mode 100644
index 6ec1843..0000000
Binary files a/WebSCR/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ
diff --git a/WebSCR/obj/Debug/WebSCR.csproj.FileListAbsolute.txt b/WebSCR/obj/Debug/WebSCR.csproj.FileListAbsolute.txt
index 4ebfa64..17852a6 100644
--- a/WebSCR/obj/Debug/WebSCR.csproj.FileListAbsolute.txt
+++ b/WebSCR/obj/Debug/WebSCR.csproj.FileListAbsolute.txt
@@ -1,14 +1,6 @@
-c:\users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\NLog.config
-c:\users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\WebSCR.dll
-c:\users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\WebSCR.pdb
-c:\users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\SteamWare.dll
-c:\users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\Flesk.ViewState.dll
-c:\users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\ICSharpCode.SharpZipLib.dll
-c:\users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\SteamWare.pdb
-c:\users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\SteamWare.xml
-c:\users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\obj\Debug\WebSCR.csprojResolveAssemblyReference.cache
-c:\users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\obj\Debug\WebSCR.dll
-c:\users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\obj\Debug\WebSCR.pdb
+C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\NLog.config
+C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\WebSCR.dll
+C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\WebSCR.pdb
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\Antlr3.Runtime.dll
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\Elmah.dll
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\Microsoft.AspNet.FriendlyUrls.dll
@@ -17,10 +9,51 @@ C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\Microso
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\Newtonsoft.Json.dll
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\NLog.dll
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\NLog.Web.dll
+C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\SteamWare.dll
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\System.Web.Optimization.dll
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\WebGrease.dll
+C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\WebSCR_data.dll
+C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\Flesk.ViewState.dll
+C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\ICSharpCode.SharpZipLib.dll
+C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\SteamWare.pdb
+C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\SteamWare.xml
+C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\WebSCR_data.pdb
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\Antlr3.Runtime.pdb
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\Microsoft.AspNet.FriendlyUrls.xml
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\Newtonsoft.Json.xml
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\NLog.xml
C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\bin\System.Web.Optimization.xml
+C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\obj\Debug\WebSCR.csprojResolveAssemblyReference.cache
+C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\obj\Debug\WebSCR.dll
+C:\Users\samuele\documents\visual studio 2012\Projects\WebSCR\WebSCR\obj\Debug\WebSCR.pdb
+C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebSCR\WebSCR\bin\DayPilot.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\NLog.config
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\WebSCR.dll.config
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\WebSCR.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\WebSCR.pdb
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\Antlr3.Runtime.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\DayPilot.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\Elmah.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\Microsoft.AspNet.FriendlyUrls.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\Microsoft.AspNet.Web.Optimization.WebForms.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\Microsoft.Web.Infrastructure.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\Newtonsoft.Json.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\NLog.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\NLog.Web.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\SteamWare.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\System.Web.Optimization.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\WebGrease.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\WebSCR_data.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\Flesk.ViewState.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\ICSharpCode.SharpZipLib.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\SteamWare.pdb
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\SteamWare.xml
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\WebSCR_data.pdb
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\Antlr3.Runtime.pdb
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\Microsoft.AspNet.FriendlyUrls.xml
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\Newtonsoft.Json.xml
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\NLog.xml
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\bin\System.Web.Optimization.xml
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\obj\Debug\WebSCR.csprojResolveAssemblyReference.cache
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\obj\Debug\WebSCR.dll
+C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\WebSCR\obj\Debug\WebSCR.pdb
diff --git a/WebSCR/obj/Debug/WebSCR.csprojResolveAssemblyReference.cache b/WebSCR/obj/Debug/WebSCR.csprojResolveAssemblyReference.cache
deleted file mode 100644
index e6170a9..0000000
Binary files a/WebSCR/obj/Debug/WebSCR.csprojResolveAssemblyReference.cache and /dev/null differ
diff --git a/WebSCR/obj/Debug/WebSCR.dll b/WebSCR/obj/Debug/WebSCR.dll
deleted file mode 100644
index 1a3a658..0000000
Binary files a/WebSCR/obj/Debug/WebSCR.dll and /dev/null differ
diff --git a/WebSCR/obj/Debug/WebSCR.pdb b/WebSCR/obj/Debug/WebSCR.pdb
deleted file mode 100644
index 3238a63..0000000
Binary files a/WebSCR/obj/Debug/WebSCR.pdb and /dev/null differ
diff --git a/WebSCR/packages.config b/WebSCR/packages.config
index 9e67f78..6563bb1 100644
--- a/WebSCR/packages.config
+++ b/WebSCR/packages.config
@@ -1,20 +1,21 @@

-
+
+
-
+
-
-
-
-
-
-
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WebSCR_data/DS_Applicazione.Designer.cs b/WebSCR_data/DS_Applicazione.Designer.cs
new file mode 100644
index 0000000..30d4583
--- /dev/null
+++ b/WebSCR_data/DS_Applicazione.Designer.cs
@@ -0,0 +1,16358 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+#pragma warning disable 1591
+
+namespace WebSCR_data {
+
+
+ ///
+ ///Represents a strongly typed in-memory cache of data.
+ ///
+ [global::System.Serializable()]
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
+ [global::System.Xml.Serialization.XmlRootAttribute("DS_Applicazione")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
+ public partial class DS_Applicazione : global::System.Data.DataSet {
+
+ private AnagSquadreDataTable tableAnagSquadre;
+
+ private AnagZoneDataTable tableAnagZone;
+
+ private AnagTipoConsegneDataTable tableAnagTipoConsegne;
+
+ private AnagClientiDataTable tableAnagClienti;
+
+ private ImpegniDataTable tableImpegni;
+
+ private DispImpTotDataTable tableDispImpTot;
+
+ private DispImpSquadreDataTable tableDispImpSquadre;
+
+ private v_ImpegniCalDataTable tablev_ImpegniCal;
+
+ private DisponibilitaDataTable tableDisponibilita;
+
+ private DettImpegnoDataTable tableDettImpegno;
+
+ private v_clientiZoneDataTable tablev_clientiZone;
+
+ private DB2_DOCSDataTable tableDB2_DOCS;
+
+ private AssegnSquadreDataTable tableAssegnSquadre;
+
+ private DipendentiDataTable tableDipendenti;
+
+ private global::System.Data.DataRelation relationFK_Disponibilita_AnagSquadre;
+
+ private global::System.Data.DataRelation relationFK_AssegnSquadre_Disponibilita;
+
+ private global::System.Data.DataRelation relationFK_AssegnSquadre_Dipendenti;
+
+ private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DS_Applicazione() {
+ this.BeginInit();
+ this.InitClass();
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ base.Tables.CollectionChanged += schemaChangedHandler;
+ base.Relations.CollectionChanged += schemaChangedHandler;
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected DS_Applicazione(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context, false) {
+ if ((this.IsBinarySerialized(info, context) == true)) {
+ this.InitVars(false);
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ this.Tables.CollectionChanged += schemaChangedHandler1;
+ this.Relations.CollectionChanged += schemaChangedHandler1;
+ return;
+ }
+ string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
+ if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
+ global::System.Data.DataSet ds = new global::System.Data.DataSet();
+ ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
+ if ((ds.Tables["AnagSquadre"] != null)) {
+ base.Tables.Add(new AnagSquadreDataTable(ds.Tables["AnagSquadre"]));
+ }
+ if ((ds.Tables["AnagZone"] != null)) {
+ base.Tables.Add(new AnagZoneDataTable(ds.Tables["AnagZone"]));
+ }
+ if ((ds.Tables["AnagTipoConsegne"] != null)) {
+ base.Tables.Add(new AnagTipoConsegneDataTable(ds.Tables["AnagTipoConsegne"]));
+ }
+ if ((ds.Tables["AnagClienti"] != null)) {
+ base.Tables.Add(new AnagClientiDataTable(ds.Tables["AnagClienti"]));
+ }
+ if ((ds.Tables["Impegni"] != null)) {
+ base.Tables.Add(new ImpegniDataTable(ds.Tables["Impegni"]));
+ }
+ if ((ds.Tables["DispImpTot"] != null)) {
+ base.Tables.Add(new DispImpTotDataTable(ds.Tables["DispImpTot"]));
+ }
+ if ((ds.Tables["DispImpSquadre"] != null)) {
+ base.Tables.Add(new DispImpSquadreDataTable(ds.Tables["DispImpSquadre"]));
+ }
+ if ((ds.Tables["v_ImpegniCal"] != null)) {
+ base.Tables.Add(new v_ImpegniCalDataTable(ds.Tables["v_ImpegniCal"]));
+ }
+ if ((ds.Tables["Disponibilita"] != null)) {
+ base.Tables.Add(new DisponibilitaDataTable(ds.Tables["Disponibilita"]));
+ }
+ if ((ds.Tables["DettImpegno"] != null)) {
+ base.Tables.Add(new DettImpegnoDataTable(ds.Tables["DettImpegno"]));
+ }
+ if ((ds.Tables["v_clientiZone"] != null)) {
+ base.Tables.Add(new v_clientiZoneDataTable(ds.Tables["v_clientiZone"]));
+ }
+ if ((ds.Tables["DB2_DOCS"] != null)) {
+ base.Tables.Add(new DB2_DOCSDataTable(ds.Tables["DB2_DOCS"]));
+ }
+ if ((ds.Tables["AssegnSquadre"] != null)) {
+ base.Tables.Add(new AssegnSquadreDataTable(ds.Tables["AssegnSquadre"]));
+ }
+ if ((ds.Tables["Dipendenti"] != null)) {
+ base.Tables.Add(new DipendentiDataTable(ds.Tables["Dipendenti"]));
+ }
+ this.DataSetName = ds.DataSetName;
+ this.Prefix = ds.Prefix;
+ this.Namespace = ds.Namespace;
+ this.Locale = ds.Locale;
+ this.CaseSensitive = ds.CaseSensitive;
+ this.EnforceConstraints = ds.EnforceConstraints;
+ this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
+ this.InitVars();
+ }
+ else {
+ this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
+ }
+ this.GetSerializationData(info, context);
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ base.Tables.CollectionChanged += schemaChangedHandler;
+ this.Relations.CollectionChanged += schemaChangedHandler;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public AnagSquadreDataTable AnagSquadre {
+ get {
+ return this.tableAnagSquadre;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public AnagZoneDataTable AnagZone {
+ get {
+ return this.tableAnagZone;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public AnagTipoConsegneDataTable AnagTipoConsegne {
+ get {
+ return this.tableAnagTipoConsegne;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public AnagClientiDataTable AnagClienti {
+ get {
+ return this.tableAnagClienti;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public ImpegniDataTable Impegni {
+ get {
+ return this.tableImpegni;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public DispImpTotDataTable DispImpTot {
+ get {
+ return this.tableDispImpTot;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public DispImpSquadreDataTable DispImpSquadre {
+ get {
+ return this.tableDispImpSquadre;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public v_ImpegniCalDataTable v_ImpegniCal {
+ get {
+ return this.tablev_ImpegniCal;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public DisponibilitaDataTable Disponibilita {
+ get {
+ return this.tableDisponibilita;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public DettImpegnoDataTable DettImpegno {
+ get {
+ return this.tableDettImpegno;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public v_clientiZoneDataTable v_clientiZone {
+ get {
+ return this.tablev_clientiZone;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public DB2_DOCSDataTable DB2_DOCS {
+ get {
+ return this.tableDB2_DOCS;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public AssegnSquadreDataTable AssegnSquadre {
+ get {
+ return this.tableAssegnSquadre;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public DipendentiDataTable Dipendenti {
+ get {
+ return this.tableDipendenti;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.BrowsableAttribute(true)]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
+ public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
+ get {
+ return this._schemaSerializationMode;
+ }
+ set {
+ this._schemaSerializationMode = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
+ public new global::System.Data.DataTableCollection Tables {
+ get {
+ return base.Tables;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
+ public new global::System.Data.DataRelationCollection Relations {
+ get {
+ return base.Relations;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void InitializeDerivedDataSet() {
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataSet Clone() {
+ DS_Applicazione cln = ((DS_Applicazione)(base.Clone()));
+ cln.InitVars();
+ cln.SchemaSerializationMode = this.SchemaSerializationMode;
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override bool ShouldSerializeTables() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override bool ShouldSerializeRelations() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
+ if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
+ this.Reset();
+ global::System.Data.DataSet ds = new global::System.Data.DataSet();
+ ds.ReadXml(reader);
+ if ((ds.Tables["AnagSquadre"] != null)) {
+ base.Tables.Add(new AnagSquadreDataTable(ds.Tables["AnagSquadre"]));
+ }
+ if ((ds.Tables["AnagZone"] != null)) {
+ base.Tables.Add(new AnagZoneDataTable(ds.Tables["AnagZone"]));
+ }
+ if ((ds.Tables["AnagTipoConsegne"] != null)) {
+ base.Tables.Add(new AnagTipoConsegneDataTable(ds.Tables["AnagTipoConsegne"]));
+ }
+ if ((ds.Tables["AnagClienti"] != null)) {
+ base.Tables.Add(new AnagClientiDataTable(ds.Tables["AnagClienti"]));
+ }
+ if ((ds.Tables["Impegni"] != null)) {
+ base.Tables.Add(new ImpegniDataTable(ds.Tables["Impegni"]));
+ }
+ if ((ds.Tables["DispImpTot"] != null)) {
+ base.Tables.Add(new DispImpTotDataTable(ds.Tables["DispImpTot"]));
+ }
+ if ((ds.Tables["DispImpSquadre"] != null)) {
+ base.Tables.Add(new DispImpSquadreDataTable(ds.Tables["DispImpSquadre"]));
+ }
+ if ((ds.Tables["v_ImpegniCal"] != null)) {
+ base.Tables.Add(new v_ImpegniCalDataTable(ds.Tables["v_ImpegniCal"]));
+ }
+ if ((ds.Tables["Disponibilita"] != null)) {
+ base.Tables.Add(new DisponibilitaDataTable(ds.Tables["Disponibilita"]));
+ }
+ if ((ds.Tables["DettImpegno"] != null)) {
+ base.Tables.Add(new DettImpegnoDataTable(ds.Tables["DettImpegno"]));
+ }
+ if ((ds.Tables["v_clientiZone"] != null)) {
+ base.Tables.Add(new v_clientiZoneDataTable(ds.Tables["v_clientiZone"]));
+ }
+ if ((ds.Tables["DB2_DOCS"] != null)) {
+ base.Tables.Add(new DB2_DOCSDataTable(ds.Tables["DB2_DOCS"]));
+ }
+ if ((ds.Tables["AssegnSquadre"] != null)) {
+ base.Tables.Add(new AssegnSquadreDataTable(ds.Tables["AssegnSquadre"]));
+ }
+ if ((ds.Tables["Dipendenti"] != null)) {
+ base.Tables.Add(new DipendentiDataTable(ds.Tables["Dipendenti"]));
+ }
+ this.DataSetName = ds.DataSetName;
+ this.Prefix = ds.Prefix;
+ this.Namespace = ds.Namespace;
+ this.Locale = ds.Locale;
+ this.CaseSensitive = ds.CaseSensitive;
+ this.EnforceConstraints = ds.EnforceConstraints;
+ this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
+ this.InitVars();
+ }
+ else {
+ this.ReadXml(reader);
+ this.InitVars();
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
+ global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
+ this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
+ stream.Position = 0;
+ return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.InitVars(true);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars(bool initTable) {
+ this.tableAnagSquadre = ((AnagSquadreDataTable)(base.Tables["AnagSquadre"]));
+ if ((initTable == true)) {
+ if ((this.tableAnagSquadre != null)) {
+ this.tableAnagSquadre.InitVars();
+ }
+ }
+ this.tableAnagZone = ((AnagZoneDataTable)(base.Tables["AnagZone"]));
+ if ((initTable == true)) {
+ if ((this.tableAnagZone != null)) {
+ this.tableAnagZone.InitVars();
+ }
+ }
+ this.tableAnagTipoConsegne = ((AnagTipoConsegneDataTable)(base.Tables["AnagTipoConsegne"]));
+ if ((initTable == true)) {
+ if ((this.tableAnagTipoConsegne != null)) {
+ this.tableAnagTipoConsegne.InitVars();
+ }
+ }
+ this.tableAnagClienti = ((AnagClientiDataTable)(base.Tables["AnagClienti"]));
+ if ((initTable == true)) {
+ if ((this.tableAnagClienti != null)) {
+ this.tableAnagClienti.InitVars();
+ }
+ }
+ this.tableImpegni = ((ImpegniDataTable)(base.Tables["Impegni"]));
+ if ((initTable == true)) {
+ if ((this.tableImpegni != null)) {
+ this.tableImpegni.InitVars();
+ }
+ }
+ this.tableDispImpTot = ((DispImpTotDataTable)(base.Tables["DispImpTot"]));
+ if ((initTable == true)) {
+ if ((this.tableDispImpTot != null)) {
+ this.tableDispImpTot.InitVars();
+ }
+ }
+ this.tableDispImpSquadre = ((DispImpSquadreDataTable)(base.Tables["DispImpSquadre"]));
+ if ((initTable == true)) {
+ if ((this.tableDispImpSquadre != null)) {
+ this.tableDispImpSquadre.InitVars();
+ }
+ }
+ this.tablev_ImpegniCal = ((v_ImpegniCalDataTable)(base.Tables["v_ImpegniCal"]));
+ if ((initTable == true)) {
+ if ((this.tablev_ImpegniCal != null)) {
+ this.tablev_ImpegniCal.InitVars();
+ }
+ }
+ this.tableDisponibilita = ((DisponibilitaDataTable)(base.Tables["Disponibilita"]));
+ if ((initTable == true)) {
+ if ((this.tableDisponibilita != null)) {
+ this.tableDisponibilita.InitVars();
+ }
+ }
+ this.tableDettImpegno = ((DettImpegnoDataTable)(base.Tables["DettImpegno"]));
+ if ((initTable == true)) {
+ if ((this.tableDettImpegno != null)) {
+ this.tableDettImpegno.InitVars();
+ }
+ }
+ this.tablev_clientiZone = ((v_clientiZoneDataTable)(base.Tables["v_clientiZone"]));
+ if ((initTable == true)) {
+ if ((this.tablev_clientiZone != null)) {
+ this.tablev_clientiZone.InitVars();
+ }
+ }
+ this.tableDB2_DOCS = ((DB2_DOCSDataTable)(base.Tables["DB2_DOCS"]));
+ if ((initTable == true)) {
+ if ((this.tableDB2_DOCS != null)) {
+ this.tableDB2_DOCS.InitVars();
+ }
+ }
+ this.tableAssegnSquadre = ((AssegnSquadreDataTable)(base.Tables["AssegnSquadre"]));
+ if ((initTable == true)) {
+ if ((this.tableAssegnSquadre != null)) {
+ this.tableAssegnSquadre.InitVars();
+ }
+ }
+ this.tableDipendenti = ((DipendentiDataTable)(base.Tables["Dipendenti"]));
+ if ((initTable == true)) {
+ if ((this.tableDipendenti != null)) {
+ this.tableDipendenti.InitVars();
+ }
+ }
+ this.relationFK_Disponibilita_AnagSquadre = this.Relations["FK_Disponibilita_AnagSquadre"];
+ this.relationFK_AssegnSquadre_Disponibilita = this.Relations["FK_AssegnSquadre_Disponibilita"];
+ this.relationFK_AssegnSquadre_Dipendenti = this.Relations["FK_AssegnSquadre_Dipendenti"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.DataSetName = "DS_Applicazione";
+ this.Prefix = "";
+ this.Namespace = "http://tempuri.org/DS_Applicazione.xsd";
+ this.EnforceConstraints = true;
+ this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
+ this.tableAnagSquadre = new AnagSquadreDataTable();
+ base.Tables.Add(this.tableAnagSquadre);
+ this.tableAnagZone = new AnagZoneDataTable();
+ base.Tables.Add(this.tableAnagZone);
+ this.tableAnagTipoConsegne = new AnagTipoConsegneDataTable();
+ base.Tables.Add(this.tableAnagTipoConsegne);
+ this.tableAnagClienti = new AnagClientiDataTable();
+ base.Tables.Add(this.tableAnagClienti);
+ this.tableImpegni = new ImpegniDataTable();
+ base.Tables.Add(this.tableImpegni);
+ this.tableDispImpTot = new DispImpTotDataTable();
+ base.Tables.Add(this.tableDispImpTot);
+ this.tableDispImpSquadre = new DispImpSquadreDataTable();
+ base.Tables.Add(this.tableDispImpSquadre);
+ this.tablev_ImpegniCal = new v_ImpegniCalDataTable();
+ base.Tables.Add(this.tablev_ImpegniCal);
+ this.tableDisponibilita = new DisponibilitaDataTable();
+ base.Tables.Add(this.tableDisponibilita);
+ this.tableDettImpegno = new DettImpegnoDataTable();
+ base.Tables.Add(this.tableDettImpegno);
+ this.tablev_clientiZone = new v_clientiZoneDataTable();
+ base.Tables.Add(this.tablev_clientiZone);
+ this.tableDB2_DOCS = new DB2_DOCSDataTable();
+ base.Tables.Add(this.tableDB2_DOCS);
+ this.tableAssegnSquadre = new AssegnSquadreDataTable();
+ base.Tables.Add(this.tableAssegnSquadre);
+ this.tableDipendenti = new DipendentiDataTable();
+ base.Tables.Add(this.tableDipendenti);
+ this.relationFK_Disponibilita_AnagSquadre = new global::System.Data.DataRelation("FK_Disponibilita_AnagSquadre", new global::System.Data.DataColumn[] {
+ this.tableAnagSquadre.CodSquadraColumn}, new global::System.Data.DataColumn[] {
+ this.tableDisponibilita.CodSquadraColumn}, false);
+ this.Relations.Add(this.relationFK_Disponibilita_AnagSquadre);
+ this.relationFK_AssegnSquadre_Disponibilita = new global::System.Data.DataRelation("FK_AssegnSquadre_Disponibilita", new global::System.Data.DataColumn[] {
+ this.tableDisponibilita.DataColumn,
+ this.tableDisponibilita.CodSquadraColumn}, new global::System.Data.DataColumn[] {
+ this.tableAssegnSquadre.DataFromColumn,
+ this.tableAssegnSquadre.CodSquadraColumn}, false);
+ this.Relations.Add(this.relationFK_AssegnSquadre_Disponibilita);
+ this.relationFK_AssegnSquadre_Dipendenti = new global::System.Data.DataRelation("FK_AssegnSquadre_Dipendenti", new global::System.Data.DataColumn[] {
+ this.tableDipendenti.MatrColumn}, new global::System.Data.DataColumn[] {
+ this.tableAssegnSquadre.MatrColumn}, false);
+ this.Relations.Add(this.relationFK_AssegnSquadre_Dipendenti);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeAnagSquadre() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeAnagZone() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeAnagTipoConsegne() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeAnagClienti() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeImpegni() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeDispImpTot() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeDispImpSquadre() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializev_ImpegniCal() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeDisponibilita() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeDettImpegno() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializev_clientiZone() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeDB2_DOCS() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeAssegnSquadre() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeDipendenti() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
+ if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
+ this.InitVars();
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ DS_Applicazione ds = new DS_Applicazione();
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
+ any.Namespace = ds.Namespace;
+ sequence.Items.Add(any);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void AnagSquadreRowChangeEventHandler(object sender, AnagSquadreRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void AnagZoneRowChangeEventHandler(object sender, AnagZoneRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void AnagTipoConsegneRowChangeEventHandler(object sender, AnagTipoConsegneRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void AnagClientiRowChangeEventHandler(object sender, AnagClientiRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void ImpegniRowChangeEventHandler(object sender, ImpegniRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void DispImpTotRowChangeEventHandler(object sender, DispImpTotRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void DispImpSquadreRowChangeEventHandler(object sender, DispImpSquadreRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void v_ImpegniCalRowChangeEventHandler(object sender, v_ImpegniCalRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void DisponibilitaRowChangeEventHandler(object sender, DisponibilitaRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void DettImpegnoRowChangeEventHandler(object sender, DettImpegnoRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void v_clientiZoneRowChangeEventHandler(object sender, v_clientiZoneRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void DB2_DOCSRowChangeEventHandler(object sender, DB2_DOCSRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void AssegnSquadreRowChangeEventHandler(object sender, AssegnSquadreRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void DipendentiRowChangeEventHandler(object sender, DipendentiRowChangeEvent e);
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class AnagSquadreDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnCodSquadra;
+
+ private global::System.Data.DataColumn columnDescrSquadra;
+
+ private global::System.Data.DataColumn columnNumOp;
+
+ private global::System.Data.DataColumn columnElettrod;
+
+ private global::System.Data.DataColumn columnClima;
+
+ private global::System.Data.DataColumn columnInform;
+
+ private global::System.Data.DataColumn columnAttiva;
+
+ private global::System.Data.DataColumn columnCssColor;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagSquadreDataTable() {
+ this.TableName = "AnagSquadre";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal AnagSquadreDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected AnagSquadreDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodSquadraColumn {
+ get {
+ return this.columnCodSquadra;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DescrSquadraColumn {
+ get {
+ return this.columnDescrSquadra;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NumOpColumn {
+ get {
+ return this.columnNumOp;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ElettrodColumn {
+ get {
+ return this.columnElettrod;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ClimaColumn {
+ get {
+ return this.columnClima;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn InformColumn {
+ get {
+ return this.columnInform;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn AttivaColumn {
+ get {
+ return this.columnAttiva;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CssColorColumn {
+ get {
+ return this.columnCssColor;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagSquadreRow this[int index] {
+ get {
+ return ((AnagSquadreRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AnagSquadreRowChangeEventHandler AnagSquadreRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AnagSquadreRowChangeEventHandler AnagSquadreRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AnagSquadreRowChangeEventHandler AnagSquadreRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AnagSquadreRowChangeEventHandler AnagSquadreRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddAnagSquadreRow(AnagSquadreRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagSquadreRow AddAnagSquadreRow(string CodSquadra, string DescrSquadra, int NumOp, bool Elettrod, bool Clima, bool Inform, bool Attiva, string CssColor) {
+ AnagSquadreRow rowAnagSquadreRow = ((AnagSquadreRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ CodSquadra,
+ DescrSquadra,
+ NumOp,
+ Elettrod,
+ Clima,
+ Inform,
+ Attiva,
+ CssColor};
+ rowAnagSquadreRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowAnagSquadreRow);
+ return rowAnagSquadreRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagSquadreRow FindByCodSquadra(string CodSquadra) {
+ return ((AnagSquadreRow)(this.Rows.Find(new object[] {
+ CodSquadra})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ AnagSquadreDataTable cln = ((AnagSquadreDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new AnagSquadreDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnCodSquadra = base.Columns["CodSquadra"];
+ this.columnDescrSquadra = base.Columns["DescrSquadra"];
+ this.columnNumOp = base.Columns["NumOp"];
+ this.columnElettrod = base.Columns["Elettrod"];
+ this.columnClima = base.Columns["Clima"];
+ this.columnInform = base.Columns["Inform"];
+ this.columnAttiva = base.Columns["Attiva"];
+ this.columnCssColor = base.Columns["CssColor"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnCodSquadra = new global::System.Data.DataColumn("CodSquadra", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodSquadra);
+ this.columnDescrSquadra = new global::System.Data.DataColumn("DescrSquadra", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDescrSquadra);
+ this.columnNumOp = new global::System.Data.DataColumn("NumOp", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNumOp);
+ this.columnElettrod = new global::System.Data.DataColumn("Elettrod", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnElettrod);
+ this.columnClima = new global::System.Data.DataColumn("Clima", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnClima);
+ this.columnInform = new global::System.Data.DataColumn("Inform", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnInform);
+ this.columnAttiva = new global::System.Data.DataColumn("Attiva", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnAttiva);
+ this.columnCssColor = new global::System.Data.DataColumn("CssColor", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCssColor);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnCodSquadra}, true));
+ this.columnCodSquadra.AllowDBNull = false;
+ this.columnCodSquadra.Unique = true;
+ this.columnCodSquadra.MaxLength = 50;
+ this.columnDescrSquadra.AllowDBNull = false;
+ this.columnDescrSquadra.MaxLength = 50;
+ this.columnNumOp.AllowDBNull = false;
+ this.columnElettrod.AllowDBNull = false;
+ this.columnClima.AllowDBNull = false;
+ this.columnInform.AllowDBNull = false;
+ this.columnAttiva.AllowDBNull = false;
+ this.columnCssColor.AllowDBNull = false;
+ this.columnCssColor.MaxLength = 50;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagSquadreRow NewAnagSquadreRow() {
+ return ((AnagSquadreRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new AnagSquadreRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(AnagSquadreRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.AnagSquadreRowChanged != null)) {
+ this.AnagSquadreRowChanged(this, new AnagSquadreRowChangeEvent(((AnagSquadreRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.AnagSquadreRowChanging != null)) {
+ this.AnagSquadreRowChanging(this, new AnagSquadreRowChangeEvent(((AnagSquadreRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.AnagSquadreRowDeleted != null)) {
+ this.AnagSquadreRowDeleted(this, new AnagSquadreRowChangeEvent(((AnagSquadreRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.AnagSquadreRowDeleting != null)) {
+ this.AnagSquadreRowDeleting(this, new AnagSquadreRowChangeEvent(((AnagSquadreRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveAnagSquadreRow(AnagSquadreRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_Applicazione ds = new DS_Applicazione();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "AnagSquadreDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class AnagZoneDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnidxZona;
+
+ private global::System.Data.DataColumn columnCap;
+
+ private global::System.Data.DataColumn columnLocalita;
+
+ private global::System.Data.DataColumn columnProv;
+
+ private global::System.Data.DataColumn columnTempo;
+
+ private global::System.Data.DataColumn columnZona;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagZoneDataTable() {
+ this.TableName = "AnagZone";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal AnagZoneDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected AnagZoneDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn idxZonaColumn {
+ get {
+ return this.columnidxZona;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CapColumn {
+ get {
+ return this.columnCap;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn LocalitaColumn {
+ get {
+ return this.columnLocalita;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ProvColumn {
+ get {
+ return this.columnProv;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn TempoColumn {
+ get {
+ return this.columnTempo;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ZonaColumn {
+ get {
+ return this.columnZona;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagZoneRow this[int index] {
+ get {
+ return ((AnagZoneRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AnagZoneRowChangeEventHandler AnagZoneRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AnagZoneRowChangeEventHandler AnagZoneRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AnagZoneRowChangeEventHandler AnagZoneRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AnagZoneRowChangeEventHandler AnagZoneRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddAnagZoneRow(AnagZoneRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagZoneRow AddAnagZoneRow(string Cap, string Localita, string Prov, int Tempo, string Zona) {
+ AnagZoneRow rowAnagZoneRow = ((AnagZoneRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ null,
+ Cap,
+ Localita,
+ Prov,
+ Tempo,
+ Zona};
+ rowAnagZoneRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowAnagZoneRow);
+ return rowAnagZoneRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagZoneRow FindByidxZona(int idxZona) {
+ return ((AnagZoneRow)(this.Rows.Find(new object[] {
+ idxZona})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ AnagZoneDataTable cln = ((AnagZoneDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new AnagZoneDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnidxZona = base.Columns["idxZona"];
+ this.columnCap = base.Columns["Cap"];
+ this.columnLocalita = base.Columns["Localita"];
+ this.columnProv = base.Columns["Prov"];
+ this.columnTempo = base.Columns["Tempo"];
+ this.columnZona = base.Columns["Zona"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnidxZona = new global::System.Data.DataColumn("idxZona", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnidxZona);
+ this.columnCap = new global::System.Data.DataColumn("Cap", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCap);
+ this.columnLocalita = new global::System.Data.DataColumn("Localita", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnLocalita);
+ this.columnProv = new global::System.Data.DataColumn("Prov", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnProv);
+ this.columnTempo = new global::System.Data.DataColumn("Tempo", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnTempo);
+ this.columnZona = new global::System.Data.DataColumn("Zona", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnZona);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnidxZona}, true));
+ this.columnidxZona.AutoIncrement = true;
+ this.columnidxZona.AutoIncrementSeed = -1;
+ this.columnidxZona.AutoIncrementStep = -1;
+ this.columnidxZona.AllowDBNull = false;
+ this.columnidxZona.ReadOnly = true;
+ this.columnidxZona.Unique = true;
+ this.columnCap.AllowDBNull = false;
+ this.columnCap.MaxLength = 10;
+ this.columnLocalita.AllowDBNull = false;
+ this.columnLocalita.MaxLength = 50;
+ this.columnProv.AllowDBNull = false;
+ this.columnProv.MaxLength = 2;
+ this.columnTempo.AllowDBNull = false;
+ this.columnZona.AllowDBNull = false;
+ this.columnZona.MaxLength = 50;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagZoneRow NewAnagZoneRow() {
+ return ((AnagZoneRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new AnagZoneRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(AnagZoneRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.AnagZoneRowChanged != null)) {
+ this.AnagZoneRowChanged(this, new AnagZoneRowChangeEvent(((AnagZoneRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.AnagZoneRowChanging != null)) {
+ this.AnagZoneRowChanging(this, new AnagZoneRowChangeEvent(((AnagZoneRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.AnagZoneRowDeleted != null)) {
+ this.AnagZoneRowDeleted(this, new AnagZoneRowChangeEvent(((AnagZoneRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.AnagZoneRowDeleting != null)) {
+ this.AnagZoneRowDeleting(this, new AnagZoneRowChangeEvent(((AnagZoneRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveAnagZoneRow(AnagZoneRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_Applicazione ds = new DS_Applicazione();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "AnagZoneDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class AnagTipoConsegneDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnCodConsegna;
+
+ private global::System.Data.DataColumn columnDescrConsegna;
+
+ private global::System.Data.DataColumn columnMinutiStd;
+
+ private global::System.Data.DataColumn columnNumOp;
+
+ private global::System.Data.DataColumn columnElettrod;
+
+ private global::System.Data.DataColumn columnClima;
+
+ private global::System.Data.DataColumn columnInform;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagTipoConsegneDataTable() {
+ this.TableName = "AnagTipoConsegne";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal AnagTipoConsegneDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected AnagTipoConsegneDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodConsegnaColumn {
+ get {
+ return this.columnCodConsegna;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DescrConsegnaColumn {
+ get {
+ return this.columnDescrConsegna;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn MinutiStdColumn {
+ get {
+ return this.columnMinutiStd;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NumOpColumn {
+ get {
+ return this.columnNumOp;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ElettrodColumn {
+ get {
+ return this.columnElettrod;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ClimaColumn {
+ get {
+ return this.columnClima;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn InformColumn {
+ get {
+ return this.columnInform;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagTipoConsegneRow this[int index] {
+ get {
+ return ((AnagTipoConsegneRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AnagTipoConsegneRowChangeEventHandler AnagTipoConsegneRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AnagTipoConsegneRowChangeEventHandler AnagTipoConsegneRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AnagTipoConsegneRowChangeEventHandler AnagTipoConsegneRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AnagTipoConsegneRowChangeEventHandler AnagTipoConsegneRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddAnagTipoConsegneRow(AnagTipoConsegneRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagTipoConsegneRow AddAnagTipoConsegneRow(string CodConsegna, string DescrConsegna, int MinutiStd, int NumOp, bool Elettrod, bool Clima, bool Inform) {
+ AnagTipoConsegneRow rowAnagTipoConsegneRow = ((AnagTipoConsegneRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ CodConsegna,
+ DescrConsegna,
+ MinutiStd,
+ NumOp,
+ Elettrod,
+ Clima,
+ Inform};
+ rowAnagTipoConsegneRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowAnagTipoConsegneRow);
+ return rowAnagTipoConsegneRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagTipoConsegneRow FindByCodConsegna(string CodConsegna) {
+ return ((AnagTipoConsegneRow)(this.Rows.Find(new object[] {
+ CodConsegna})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ AnagTipoConsegneDataTable cln = ((AnagTipoConsegneDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new AnagTipoConsegneDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnCodConsegna = base.Columns["CodConsegna"];
+ this.columnDescrConsegna = base.Columns["DescrConsegna"];
+ this.columnMinutiStd = base.Columns["MinutiStd"];
+ this.columnNumOp = base.Columns["NumOp"];
+ this.columnElettrod = base.Columns["Elettrod"];
+ this.columnClima = base.Columns["Clima"];
+ this.columnInform = base.Columns["Inform"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnCodConsegna = new global::System.Data.DataColumn("CodConsegna", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodConsegna);
+ this.columnDescrConsegna = new global::System.Data.DataColumn("DescrConsegna", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDescrConsegna);
+ this.columnMinutiStd = new global::System.Data.DataColumn("MinutiStd", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnMinutiStd);
+ this.columnNumOp = new global::System.Data.DataColumn("NumOp", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNumOp);
+ this.columnElettrod = new global::System.Data.DataColumn("Elettrod", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnElettrod);
+ this.columnClima = new global::System.Data.DataColumn("Clima", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnClima);
+ this.columnInform = new global::System.Data.DataColumn("Inform", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnInform);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnCodConsegna}, true));
+ this.columnCodConsegna.AllowDBNull = false;
+ this.columnCodConsegna.Unique = true;
+ this.columnCodConsegna.MaxLength = 50;
+ this.columnDescrConsegna.AllowDBNull = false;
+ this.columnDescrConsegna.MaxLength = 250;
+ this.columnMinutiStd.AllowDBNull = false;
+ this.columnNumOp.AllowDBNull = false;
+ this.columnElettrod.AllowDBNull = false;
+ this.columnClima.AllowDBNull = false;
+ this.columnInform.AllowDBNull = false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagTipoConsegneRow NewAnagTipoConsegneRow() {
+ return ((AnagTipoConsegneRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new AnagTipoConsegneRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(AnagTipoConsegneRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.AnagTipoConsegneRowChanged != null)) {
+ this.AnagTipoConsegneRowChanged(this, new AnagTipoConsegneRowChangeEvent(((AnagTipoConsegneRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.AnagTipoConsegneRowChanging != null)) {
+ this.AnagTipoConsegneRowChanging(this, new AnagTipoConsegneRowChangeEvent(((AnagTipoConsegneRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.AnagTipoConsegneRowDeleted != null)) {
+ this.AnagTipoConsegneRowDeleted(this, new AnagTipoConsegneRowChangeEvent(((AnagTipoConsegneRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.AnagTipoConsegneRowDeleting != null)) {
+ this.AnagTipoConsegneRowDeleting(this, new AnagTipoConsegneRowChangeEvent(((AnagTipoConsegneRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveAnagTipoConsegneRow(AnagTipoConsegneRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_Applicazione ds = new DS_Applicazione();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "AnagTipoConsegneDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class AnagClientiDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnCodCliente;
+
+ private global::System.Data.DataColumn columnCodFis;
+
+ private global::System.Data.DataColumn columnTel;
+
+ private global::System.Data.DataColumn columnCell;
+
+ private global::System.Data.DataColumn columnEmail;
+
+ private global::System.Data.DataColumn columnNote;
+
+ private global::System.Data.DataColumn columnRagSoc;
+
+ private global::System.Data.DataColumn columnEnableSMS;
+
+ private global::System.Data.DataColumn columnIndir;
+
+ private global::System.Data.DataColumn columnCap;
+
+ private global::System.Data.DataColumn columnLocalita;
+
+ private global::System.Data.DataColumn columnProv;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagClientiDataTable() {
+ this.TableName = "AnagClienti";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal AnagClientiDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected AnagClientiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodClienteColumn {
+ get {
+ return this.columnCodCliente;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodFisColumn {
+ get {
+ return this.columnCodFis;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn TelColumn {
+ get {
+ return this.columnTel;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CellColumn {
+ get {
+ return this.columnCell;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn EmailColumn {
+ get {
+ return this.columnEmail;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NoteColumn {
+ get {
+ return this.columnNote;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn RagSocColumn {
+ get {
+ return this.columnRagSoc;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn EnableSMSColumn {
+ get {
+ return this.columnEnableSMS;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn IndirColumn {
+ get {
+ return this.columnIndir;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CapColumn {
+ get {
+ return this.columnCap;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn LocalitaColumn {
+ get {
+ return this.columnLocalita;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ProvColumn {
+ get {
+ return this.columnProv;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagClientiRow this[int index] {
+ get {
+ return ((AnagClientiRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AnagClientiRowChangeEventHandler AnagClientiRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AnagClientiRowChangeEventHandler AnagClientiRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AnagClientiRowChangeEventHandler AnagClientiRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AnagClientiRowChangeEventHandler AnagClientiRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddAnagClientiRow(AnagClientiRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagClientiRow AddAnagClientiRow(string CodCliente, string CodFis, string Tel, string Cell, string Email, string Note, string RagSoc, bool EnableSMS, string Indir, string Cap, string Localita, string Prov) {
+ AnagClientiRow rowAnagClientiRow = ((AnagClientiRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ CodCliente,
+ CodFis,
+ Tel,
+ Cell,
+ Email,
+ Note,
+ RagSoc,
+ EnableSMS,
+ Indir,
+ Cap,
+ Localita,
+ Prov};
+ rowAnagClientiRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowAnagClientiRow);
+ return rowAnagClientiRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagClientiRow FindByCodCliente(string CodCliente) {
+ return ((AnagClientiRow)(this.Rows.Find(new object[] {
+ CodCliente})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ AnagClientiDataTable cln = ((AnagClientiDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new AnagClientiDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnCodCliente = base.Columns["CodCliente"];
+ this.columnCodFis = base.Columns["CodFis"];
+ this.columnTel = base.Columns["Tel"];
+ this.columnCell = base.Columns["Cell"];
+ this.columnEmail = base.Columns["Email"];
+ this.columnNote = base.Columns["Note"];
+ this.columnRagSoc = base.Columns["RagSoc"];
+ this.columnEnableSMS = base.Columns["EnableSMS"];
+ this.columnIndir = base.Columns["Indir"];
+ this.columnCap = base.Columns["Cap"];
+ this.columnLocalita = base.Columns["Localita"];
+ this.columnProv = base.Columns["Prov"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodCliente);
+ this.columnCodFis = new global::System.Data.DataColumn("CodFis", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodFis);
+ this.columnTel = new global::System.Data.DataColumn("Tel", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnTel);
+ this.columnCell = new global::System.Data.DataColumn("Cell", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCell);
+ this.columnEmail = new global::System.Data.DataColumn("Email", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnEmail);
+ this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNote);
+ this.columnRagSoc = new global::System.Data.DataColumn("RagSoc", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnRagSoc);
+ this.columnEnableSMS = new global::System.Data.DataColumn("EnableSMS", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnEnableSMS);
+ this.columnIndir = new global::System.Data.DataColumn("Indir", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnIndir);
+ this.columnCap = new global::System.Data.DataColumn("Cap", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCap);
+ this.columnLocalita = new global::System.Data.DataColumn("Localita", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnLocalita);
+ this.columnProv = new global::System.Data.DataColumn("Prov", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnProv);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnCodCliente}, true));
+ this.columnCodCliente.AllowDBNull = false;
+ this.columnCodCliente.Unique = true;
+ this.columnCodCliente.MaxLength = 50;
+ this.columnCodFis.MaxLength = 50;
+ this.columnTel.MaxLength = 50;
+ this.columnCell.MaxLength = 50;
+ this.columnEmail.MaxLength = 250;
+ this.columnNote.MaxLength = 250;
+ this.columnRagSoc.AllowDBNull = false;
+ this.columnRagSoc.MaxLength = 100;
+ this.columnEnableSMS.AllowDBNull = false;
+ this.columnIndir.MaxLength = 50;
+ this.columnCap.MaxLength = 10;
+ this.columnLocalita.MaxLength = 50;
+ this.columnProv.MaxLength = 10;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagClientiRow NewAnagClientiRow() {
+ return ((AnagClientiRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new AnagClientiRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(AnagClientiRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.AnagClientiRowChanged != null)) {
+ this.AnagClientiRowChanged(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.AnagClientiRowChanging != null)) {
+ this.AnagClientiRowChanging(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.AnagClientiRowDeleted != null)) {
+ this.AnagClientiRowDeleted(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.AnagClientiRowDeleting != null)) {
+ this.AnagClientiRowDeleting(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveAnagClientiRow(AnagClientiRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_Applicazione ds = new DS_Applicazione();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "AnagClientiDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class ImpegniDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnIdxImpegno;
+
+ private global::System.Data.DataColumn columnDataOra;
+
+ private global::System.Data.DataColumn columnTipoOrario;
+
+ private global::System.Data.DataColumn columnCodCliente;
+
+ private global::System.Data.DataColumn columnRagSoc;
+
+ private global::System.Data.DataColumn columnCodFis;
+
+ private global::System.Data.DataColumn columnCodSquadra;
+
+ private global::System.Data.DataColumn columnDescrSquadra;
+
+ private global::System.Data.DataColumn columnElettrod;
+
+ private global::System.Data.DataColumn columnClima;
+
+ private global::System.Data.DataColumn columnInform;
+
+ private global::System.Data.DataColumn columnIndir;
+
+ private global::System.Data.DataColumn columnCap;
+
+ private global::System.Data.DataColumn columnLocalita;
+
+ private global::System.Data.DataColumn columnProv;
+
+ private global::System.Data.DataColumn columnidxZona;
+
+ private global::System.Data.DataColumn columnMinTotCons;
+
+ private global::System.Data.DataColumn columnMinViaggio;
+
+ private global::System.Data.DataColumn columnFinePrev;
+
+ private global::System.Data.DataColumn columnNoteGen;
+
+ private global::System.Data.DataColumn columnRifOC;
+
+ private global::System.Data.DataColumn columnUrlDoc;
+
+ private global::System.Data.DataColumn columnNumOp;
+
+ private global::System.Data.DataColumn columnRitUsato;
+
+ private global::System.Data.DataColumn columnAscensore;
+
+ private global::System.Data.DataColumn columnPianoCons;
+
+ private global::System.Data.DataColumn columnUserMod;
+
+ private global::System.Data.DataColumn columnDataMod;
+
+ private global::System.Data.DataColumn columnSTATO;
+
+ private global::System.Data.DataColumn columnInizioInt;
+
+ private global::System.Data.DataColumn columnFineInt;
+
+ private global::System.Data.DataColumn columnNoteInt;
+
+ private global::System.Data.DataColumn columnLatInizio;
+
+ private global::System.Data.DataColumn columnLonInizio;
+
+ private global::System.Data.DataColumn columnLatFine;
+
+ private global::System.Data.DataColumn columnLonFine;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ImpegniDataTable() {
+ this.TableName = "Impegni";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal ImpegniDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected ImpegniDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn IdxImpegnoColumn {
+ get {
+ return this.columnIdxImpegno;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DataOraColumn {
+ get {
+ return this.columnDataOra;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn TipoOrarioColumn {
+ get {
+ return this.columnTipoOrario;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodClienteColumn {
+ get {
+ return this.columnCodCliente;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn RagSocColumn {
+ get {
+ return this.columnRagSoc;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodFisColumn {
+ get {
+ return this.columnCodFis;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodSquadraColumn {
+ get {
+ return this.columnCodSquadra;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DescrSquadraColumn {
+ get {
+ return this.columnDescrSquadra;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ElettrodColumn {
+ get {
+ return this.columnElettrod;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ClimaColumn {
+ get {
+ return this.columnClima;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn InformColumn {
+ get {
+ return this.columnInform;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn IndirColumn {
+ get {
+ return this.columnIndir;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CapColumn {
+ get {
+ return this.columnCap;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn LocalitaColumn {
+ get {
+ return this.columnLocalita;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ProvColumn {
+ get {
+ return this.columnProv;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn idxZonaColumn {
+ get {
+ return this.columnidxZona;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn MinTotConsColumn {
+ get {
+ return this.columnMinTotCons;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn MinViaggioColumn {
+ get {
+ return this.columnMinViaggio;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn FinePrevColumn {
+ get {
+ return this.columnFinePrev;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NoteGenColumn {
+ get {
+ return this.columnNoteGen;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn RifOCColumn {
+ get {
+ return this.columnRifOC;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn UrlDocColumn {
+ get {
+ return this.columnUrlDoc;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NumOpColumn {
+ get {
+ return this.columnNumOp;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn RitUsatoColumn {
+ get {
+ return this.columnRitUsato;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn AscensoreColumn {
+ get {
+ return this.columnAscensore;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn PianoConsColumn {
+ get {
+ return this.columnPianoCons;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn UserModColumn {
+ get {
+ return this.columnUserMod;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DataModColumn {
+ get {
+ return this.columnDataMod;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn STATOColumn {
+ get {
+ return this.columnSTATO;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn InizioIntColumn {
+ get {
+ return this.columnInizioInt;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn FineIntColumn {
+ get {
+ return this.columnFineInt;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NoteIntColumn {
+ get {
+ return this.columnNoteInt;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn LatInizioColumn {
+ get {
+ return this.columnLatInizio;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn LonInizioColumn {
+ get {
+ return this.columnLonInizio;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn LatFineColumn {
+ get {
+ return this.columnLatFine;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn LonFineColumn {
+ get {
+ return this.columnLonFine;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ImpegniRow this[int index] {
+ get {
+ return ((ImpegniRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ImpegniRowChangeEventHandler ImpegniRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ImpegniRowChangeEventHandler ImpegniRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ImpegniRowChangeEventHandler ImpegniRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ImpegniRowChangeEventHandler ImpegniRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddImpegniRow(ImpegniRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ImpegniRow AddImpegniRow(
+ int IdxImpegno,
+ System.DateTime DataOra,
+ string TipoOrario,
+ string CodCliente,
+ string RagSoc,
+ string CodFis,
+ string CodSquadra,
+ string DescrSquadra,
+ bool Elettrod,
+ bool Clima,
+ bool Inform,
+ string Indir,
+ string Cap,
+ string Localita,
+ string Prov,
+ int idxZona,
+ int MinTotCons,
+ int MinViaggio,
+ System.DateTime FinePrev,
+ string NoteGen,
+ string RifOC,
+ string UrlDoc,
+ int NumOp,
+ bool RitUsato,
+ bool Ascensore,
+ int PianoCons,
+ string UserMod,
+ System.DateTime DataMod,
+ string STATO,
+ System.DateTime InizioInt,
+ System.DateTime FineInt,
+ string NoteInt,
+ double LatInizio,
+ double LonInizio,
+ double LatFine,
+ double LonFine) {
+ ImpegniRow rowImpegniRow = ((ImpegniRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ IdxImpegno,
+ DataOra,
+ TipoOrario,
+ CodCliente,
+ RagSoc,
+ CodFis,
+ CodSquadra,
+ DescrSquadra,
+ Elettrod,
+ Clima,
+ Inform,
+ Indir,
+ Cap,
+ Localita,
+ Prov,
+ idxZona,
+ MinTotCons,
+ MinViaggio,
+ FinePrev,
+ NoteGen,
+ RifOC,
+ UrlDoc,
+ NumOp,
+ RitUsato,
+ Ascensore,
+ PianoCons,
+ UserMod,
+ DataMod,
+ STATO,
+ InizioInt,
+ FineInt,
+ NoteInt,
+ LatInizio,
+ LonInizio,
+ LatFine,
+ LonFine};
+ rowImpegniRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowImpegniRow);
+ return rowImpegniRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ImpegniRow FindByIdxImpegno(int IdxImpegno) {
+ return ((ImpegniRow)(this.Rows.Find(new object[] {
+ IdxImpegno})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ ImpegniDataTable cln = ((ImpegniDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new ImpegniDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnIdxImpegno = base.Columns["IdxImpegno"];
+ this.columnDataOra = base.Columns["DataOra"];
+ this.columnTipoOrario = base.Columns["TipoOrario"];
+ this.columnCodCliente = base.Columns["CodCliente"];
+ this.columnRagSoc = base.Columns["RagSoc"];
+ this.columnCodFis = base.Columns["CodFis"];
+ this.columnCodSquadra = base.Columns["CodSquadra"];
+ this.columnDescrSquadra = base.Columns["DescrSquadra"];
+ this.columnElettrod = base.Columns["Elettrod"];
+ this.columnClima = base.Columns["Clima"];
+ this.columnInform = base.Columns["Inform"];
+ this.columnIndir = base.Columns["Indir"];
+ this.columnCap = base.Columns["Cap"];
+ this.columnLocalita = base.Columns["Localita"];
+ this.columnProv = base.Columns["Prov"];
+ this.columnidxZona = base.Columns["idxZona"];
+ this.columnMinTotCons = base.Columns["MinTotCons"];
+ this.columnMinViaggio = base.Columns["MinViaggio"];
+ this.columnFinePrev = base.Columns["FinePrev"];
+ this.columnNoteGen = base.Columns["NoteGen"];
+ this.columnRifOC = base.Columns["RifOC"];
+ this.columnUrlDoc = base.Columns["UrlDoc"];
+ this.columnNumOp = base.Columns["NumOp"];
+ this.columnRitUsato = base.Columns["RitUsato"];
+ this.columnAscensore = base.Columns["Ascensore"];
+ this.columnPianoCons = base.Columns["PianoCons"];
+ this.columnUserMod = base.Columns["UserMod"];
+ this.columnDataMod = base.Columns["DataMod"];
+ this.columnSTATO = base.Columns["STATO"];
+ this.columnInizioInt = base.Columns["InizioInt"];
+ this.columnFineInt = base.Columns["FineInt"];
+ this.columnNoteInt = base.Columns["NoteInt"];
+ this.columnLatInizio = base.Columns["LatInizio"];
+ this.columnLonInizio = base.Columns["LonInizio"];
+ this.columnLatFine = base.Columns["LatFine"];
+ this.columnLonFine = base.Columns["LonFine"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnIdxImpegno = new global::System.Data.DataColumn("IdxImpegno", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnIdxImpegno);
+ this.columnDataOra = new global::System.Data.DataColumn("DataOra", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDataOra);
+ this.columnTipoOrario = new global::System.Data.DataColumn("TipoOrario", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnTipoOrario);
+ this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodCliente);
+ this.columnRagSoc = new global::System.Data.DataColumn("RagSoc", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnRagSoc);
+ this.columnCodFis = new global::System.Data.DataColumn("CodFis", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodFis);
+ this.columnCodSquadra = new global::System.Data.DataColumn("CodSquadra", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodSquadra);
+ this.columnDescrSquadra = new global::System.Data.DataColumn("DescrSquadra", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDescrSquadra);
+ this.columnElettrod = new global::System.Data.DataColumn("Elettrod", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnElettrod);
+ this.columnClima = new global::System.Data.DataColumn("Clima", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnClima);
+ this.columnInform = new global::System.Data.DataColumn("Inform", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnInform);
+ this.columnIndir = new global::System.Data.DataColumn("Indir", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnIndir);
+ this.columnCap = new global::System.Data.DataColumn("Cap", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCap);
+ this.columnLocalita = new global::System.Data.DataColumn("Localita", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnLocalita);
+ this.columnProv = new global::System.Data.DataColumn("Prov", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnProv);
+ this.columnidxZona = new global::System.Data.DataColumn("idxZona", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnidxZona);
+ this.columnMinTotCons = new global::System.Data.DataColumn("MinTotCons", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnMinTotCons);
+ this.columnMinViaggio = new global::System.Data.DataColumn("MinViaggio", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnMinViaggio);
+ this.columnFinePrev = new global::System.Data.DataColumn("FinePrev", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFinePrev);
+ this.columnNoteGen = new global::System.Data.DataColumn("NoteGen", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNoteGen);
+ this.columnRifOC = new global::System.Data.DataColumn("RifOC", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnRifOC);
+ this.columnUrlDoc = new global::System.Data.DataColumn("UrlDoc", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnUrlDoc);
+ this.columnNumOp = new global::System.Data.DataColumn("NumOp", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNumOp);
+ this.columnRitUsato = new global::System.Data.DataColumn("RitUsato", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnRitUsato);
+ this.columnAscensore = new global::System.Data.DataColumn("Ascensore", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnAscensore);
+ this.columnPianoCons = new global::System.Data.DataColumn("PianoCons", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPianoCons);
+ this.columnUserMod = new global::System.Data.DataColumn("UserMod", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnUserMod);
+ this.columnDataMod = new global::System.Data.DataColumn("DataMod", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDataMod);
+ this.columnSTATO = new global::System.Data.DataColumn("STATO", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnSTATO);
+ this.columnInizioInt = new global::System.Data.DataColumn("InizioInt", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnInizioInt);
+ this.columnFineInt = new global::System.Data.DataColumn("FineInt", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFineInt);
+ this.columnNoteInt = new global::System.Data.DataColumn("NoteInt", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNoteInt);
+ this.columnLatInizio = new global::System.Data.DataColumn("LatInizio", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnLatInizio);
+ this.columnLonInizio = new global::System.Data.DataColumn("LonInizio", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnLonInizio);
+ this.columnLatFine = new global::System.Data.DataColumn("LatFine", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnLatFine);
+ this.columnLonFine = new global::System.Data.DataColumn("LonFine", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnLonFine);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnIdxImpegno}, true));
+ this.columnIdxImpegno.AllowDBNull = false;
+ this.columnIdxImpegno.Unique = true;
+ this.columnDataOra.AllowDBNull = false;
+ this.columnTipoOrario.AllowDBNull = false;
+ this.columnTipoOrario.MaxLength = 10;
+ this.columnCodCliente.ReadOnly = true;
+ this.columnCodCliente.MaxLength = 50;
+ this.columnRagSoc.ReadOnly = true;
+ this.columnRagSoc.MaxLength = 100;
+ this.columnCodFis.ReadOnly = true;
+ this.columnCodFis.MaxLength = 50;
+ this.columnCodSquadra.AllowDBNull = false;
+ this.columnCodSquadra.MaxLength = 50;
+ this.columnDescrSquadra.AllowDBNull = false;
+ this.columnDescrSquadra.MaxLength = 50;
+ this.columnElettrod.AllowDBNull = false;
+ this.columnClima.AllowDBNull = false;
+ this.columnInform.AllowDBNull = false;
+ this.columnIndir.AllowDBNull = false;
+ this.columnIndir.MaxLength = 50;
+ this.columnCap.AllowDBNull = false;
+ this.columnCap.MaxLength = 10;
+ this.columnLocalita.AllowDBNull = false;
+ this.columnLocalita.MaxLength = 50;
+ this.columnProv.AllowDBNull = false;
+ this.columnProv.MaxLength = 2;
+ this.columnidxZona.AllowDBNull = false;
+ this.columnMinTotCons.AllowDBNull = false;
+ this.columnMinViaggio.AllowDBNull = false;
+ this.columnFinePrev.ReadOnly = true;
+ this.columnNoteGen.AllowDBNull = false;
+ this.columnNoteGen.MaxLength = 250;
+ this.columnRifOC.AllowDBNull = false;
+ this.columnRifOC.MaxLength = 50;
+ this.columnUrlDoc.AllowDBNull = false;
+ this.columnUrlDoc.MaxLength = 2147483647;
+ this.columnNumOp.AllowDBNull = false;
+ this.columnRitUsato.AllowDBNull = false;
+ this.columnAscensore.AllowDBNull = false;
+ this.columnPianoCons.AllowDBNull = false;
+ this.columnUserMod.AllowDBNull = false;
+ this.columnUserMod.MaxLength = 50;
+ this.columnDataMod.AllowDBNull = false;
+ this.columnSTATO.ReadOnly = true;
+ this.columnSTATO.MaxLength = 8;
+ this.columnNoteInt.MaxLength = 2147483647;
+ this.columnLatFine.Caption = "LatFin";
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ImpegniRow NewImpegniRow() {
+ return ((ImpegniRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new ImpegniRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(ImpegniRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.ImpegniRowChanged != null)) {
+ this.ImpegniRowChanged(this, new ImpegniRowChangeEvent(((ImpegniRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.ImpegniRowChanging != null)) {
+ this.ImpegniRowChanging(this, new ImpegniRowChangeEvent(((ImpegniRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.ImpegniRowDeleted != null)) {
+ this.ImpegniRowDeleted(this, new ImpegniRowChangeEvent(((ImpegniRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.ImpegniRowDeleting != null)) {
+ this.ImpegniRowDeleting(this, new ImpegniRowChangeEvent(((ImpegniRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveImpegniRow(ImpegniRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_Applicazione ds = new DS_Applicazione();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "ImpegniDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class DispImpTotDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnData;
+
+ private global::System.Data.DataColumn columnNumOp;
+
+ private global::System.Data.DataColumn columnScoreDisp;
+
+ private global::System.Data.DataColumn columnScoreZona;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DispImpTotDataTable() {
+ this.TableName = "DispImpTot";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal DispImpTotDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected DispImpTotDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DataColumn {
+ get {
+ return this.columnData;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NumOpColumn {
+ get {
+ return this.columnNumOp;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ScoreDispColumn {
+ get {
+ return this.columnScoreDisp;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ScoreZonaColumn {
+ get {
+ return this.columnScoreZona;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DispImpTotRow this[int index] {
+ get {
+ return ((DispImpTotRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DispImpTotRowChangeEventHandler DispImpTotRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DispImpTotRowChangeEventHandler DispImpTotRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DispImpTotRowChangeEventHandler DispImpTotRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DispImpTotRowChangeEventHandler DispImpTotRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddDispImpTotRow(DispImpTotRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DispImpTotRow AddDispImpTotRow(System.DateTime Data, int NumOp, double ScoreDisp, decimal ScoreZona) {
+ DispImpTotRow rowDispImpTotRow = ((DispImpTotRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ Data,
+ NumOp,
+ ScoreDisp,
+ ScoreZona};
+ rowDispImpTotRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowDispImpTotRow);
+ return rowDispImpTotRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ DispImpTotDataTable cln = ((DispImpTotDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new DispImpTotDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnData = base.Columns["Data"];
+ this.columnNumOp = base.Columns["NumOp"];
+ this.columnScoreDisp = base.Columns["ScoreDisp"];
+ this.columnScoreZona = base.Columns["ScoreZona"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnData = new global::System.Data.DataColumn("Data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnData);
+ this.columnNumOp = new global::System.Data.DataColumn("NumOp", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNumOp);
+ this.columnScoreDisp = new global::System.Data.DataColumn("ScoreDisp", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnScoreDisp);
+ this.columnScoreZona = new global::System.Data.DataColumn("ScoreZona", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnScoreZona);
+ this.columnData.AllowDBNull = false;
+ this.columnNumOp.AllowDBNull = false;
+ this.columnScoreDisp.ReadOnly = true;
+ this.columnScoreZona.ReadOnly = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DispImpTotRow NewDispImpTotRow() {
+ return ((DispImpTotRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new DispImpTotRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(DispImpTotRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.DispImpTotRowChanged != null)) {
+ this.DispImpTotRowChanged(this, new DispImpTotRowChangeEvent(((DispImpTotRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.DispImpTotRowChanging != null)) {
+ this.DispImpTotRowChanging(this, new DispImpTotRowChangeEvent(((DispImpTotRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.DispImpTotRowDeleted != null)) {
+ this.DispImpTotRowDeleted(this, new DispImpTotRowChangeEvent(((DispImpTotRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.DispImpTotRowDeleting != null)) {
+ this.DispImpTotRowDeleting(this, new DispImpTotRowChangeEvent(((DispImpTotRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveDispImpTotRow(DispImpTotRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_Applicazione ds = new DS_Applicazione();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "DispImpTotDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class DispImpSquadreDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnData;
+
+ private global::System.Data.DataColumn columnCodSquadra;
+
+ private global::System.Data.DataColumn columnOreDisp;
+
+ private global::System.Data.DataColumn columnOreImp;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DispImpSquadreDataTable() {
+ this.TableName = "DispImpSquadre";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal DispImpSquadreDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected DispImpSquadreDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DataColumn {
+ get {
+ return this.columnData;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodSquadraColumn {
+ get {
+ return this.columnCodSquadra;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn OreDispColumn {
+ get {
+ return this.columnOreDisp;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn OreImpColumn {
+ get {
+ return this.columnOreImp;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DispImpSquadreRow this[int index] {
+ get {
+ return ((DispImpSquadreRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DispImpSquadreRowChangeEventHandler DispImpSquadreRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DispImpSquadreRowChangeEventHandler DispImpSquadreRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DispImpSquadreRowChangeEventHandler DispImpSquadreRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DispImpSquadreRowChangeEventHandler DispImpSquadreRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddDispImpSquadreRow(DispImpSquadreRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DispImpSquadreRow AddDispImpSquadreRow(System.DateTime Data, string CodSquadra, int OreDisp, int OreImp) {
+ DispImpSquadreRow rowDispImpSquadreRow = ((DispImpSquadreRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ Data,
+ CodSquadra,
+ OreDisp,
+ OreImp};
+ rowDispImpSquadreRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowDispImpSquadreRow);
+ return rowDispImpSquadreRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DispImpSquadreRow FindByDataCodSquadra(System.DateTime Data, string CodSquadra) {
+ return ((DispImpSquadreRow)(this.Rows.Find(new object[] {
+ Data,
+ CodSquadra})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ DispImpSquadreDataTable cln = ((DispImpSquadreDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new DispImpSquadreDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnData = base.Columns["Data"];
+ this.columnCodSquadra = base.Columns["CodSquadra"];
+ this.columnOreDisp = base.Columns["OreDisp"];
+ this.columnOreImp = base.Columns["OreImp"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnData = new global::System.Data.DataColumn("Data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnData);
+ this.columnCodSquadra = new global::System.Data.DataColumn("CodSquadra", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodSquadra);
+ this.columnOreDisp = new global::System.Data.DataColumn("OreDisp", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnOreDisp);
+ this.columnOreImp = new global::System.Data.DataColumn("OreImp", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnOreImp);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnData,
+ this.columnCodSquadra}, true));
+ this.columnData.AllowDBNull = false;
+ this.columnCodSquadra.AllowDBNull = false;
+ this.columnCodSquadra.MaxLength = 50;
+ this.columnOreDisp.AllowDBNull = false;
+ this.columnOreImp.ReadOnly = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DispImpSquadreRow NewDispImpSquadreRow() {
+ return ((DispImpSquadreRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new DispImpSquadreRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(DispImpSquadreRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.DispImpSquadreRowChanged != null)) {
+ this.DispImpSquadreRowChanged(this, new DispImpSquadreRowChangeEvent(((DispImpSquadreRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.DispImpSquadreRowChanging != null)) {
+ this.DispImpSquadreRowChanging(this, new DispImpSquadreRowChangeEvent(((DispImpSquadreRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.DispImpSquadreRowDeleted != null)) {
+ this.DispImpSquadreRowDeleted(this, new DispImpSquadreRowChangeEvent(((DispImpSquadreRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.DispImpSquadreRowDeleting != null)) {
+ this.DispImpSquadreRowDeleting(this, new DispImpSquadreRowChangeEvent(((DispImpSquadreRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveDispImpSquadreRow(DispImpSquadreRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_Applicazione ds = new DS_Applicazione();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "DispImpSquadreDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class v_ImpegniCalDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnIdxImpegno;
+
+ private global::System.Data.DataColumn columnNomeImpegno;
+
+ private global::System.Data.DataColumn columnInizio;
+
+ private global::System.Data.DataColumn columnFine;
+
+ private global::System.Data.DataColumn columnCodSquadra;
+
+ private global::System.Data.DataColumn columnCssColor;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_ImpegniCalDataTable() {
+ this.TableName = "v_ImpegniCal";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal v_ImpegniCalDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected v_ImpegniCalDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn IdxImpegnoColumn {
+ get {
+ return this.columnIdxImpegno;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NomeImpegnoColumn {
+ get {
+ return this.columnNomeImpegno;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn InizioColumn {
+ get {
+ return this.columnInizio;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn FineColumn {
+ get {
+ return this.columnFine;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodSquadraColumn {
+ get {
+ return this.columnCodSquadra;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CssColorColumn {
+ get {
+ return this.columnCssColor;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_ImpegniCalRow this[int index] {
+ get {
+ return ((v_ImpegniCalRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event v_ImpegniCalRowChangeEventHandler v_ImpegniCalRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event v_ImpegniCalRowChangeEventHandler v_ImpegniCalRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event v_ImpegniCalRowChangeEventHandler v_ImpegniCalRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event v_ImpegniCalRowChangeEventHandler v_ImpegniCalRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void Addv_ImpegniCalRow(v_ImpegniCalRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_ImpegniCalRow Addv_ImpegniCalRow(string NomeImpegno, System.DateTime Inizio, System.DateTime Fine, string CodSquadra, string CssColor) {
+ v_ImpegniCalRow rowv_ImpegniCalRow = ((v_ImpegniCalRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ null,
+ NomeImpegno,
+ Inizio,
+ Fine,
+ CodSquadra,
+ CssColor};
+ rowv_ImpegniCalRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowv_ImpegniCalRow);
+ return rowv_ImpegniCalRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_ImpegniCalRow FindByIdxImpegno(int IdxImpegno) {
+ return ((v_ImpegniCalRow)(this.Rows.Find(new object[] {
+ IdxImpegno})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ v_ImpegniCalDataTable cln = ((v_ImpegniCalDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new v_ImpegniCalDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnIdxImpegno = base.Columns["IdxImpegno"];
+ this.columnNomeImpegno = base.Columns["NomeImpegno"];
+ this.columnInizio = base.Columns["Inizio"];
+ this.columnFine = base.Columns["Fine"];
+ this.columnCodSquadra = base.Columns["CodSquadra"];
+ this.columnCssColor = base.Columns["CssColor"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnIdxImpegno = new global::System.Data.DataColumn("IdxImpegno", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnIdxImpegno);
+ this.columnNomeImpegno = new global::System.Data.DataColumn("NomeImpegno", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNomeImpegno);
+ this.columnInizio = new global::System.Data.DataColumn("Inizio", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnInizio);
+ this.columnFine = new global::System.Data.DataColumn("Fine", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFine);
+ this.columnCodSquadra = new global::System.Data.DataColumn("CodSquadra", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodSquadra);
+ this.columnCssColor = new global::System.Data.DataColumn("CssColor", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCssColor);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnIdxImpegno}, true));
+ this.columnIdxImpegno.AutoIncrement = true;
+ this.columnIdxImpegno.AutoIncrementSeed = -1;
+ this.columnIdxImpegno.AutoIncrementStep = -1;
+ this.columnIdxImpegno.AllowDBNull = false;
+ this.columnIdxImpegno.ReadOnly = true;
+ this.columnIdxImpegno.Unique = true;
+ this.columnNomeImpegno.ReadOnly = true;
+ this.columnNomeImpegno.MaxLength = 103;
+ this.columnInizio.AllowDBNull = false;
+ this.columnFine.ReadOnly = true;
+ this.columnCodSquadra.AllowDBNull = false;
+ this.columnCodSquadra.MaxLength = 50;
+ this.columnCssColor.AllowDBNull = false;
+ this.columnCssColor.MaxLength = 50;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_ImpegniCalRow Newv_ImpegniCalRow() {
+ return ((v_ImpegniCalRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new v_ImpegniCalRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(v_ImpegniCalRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.v_ImpegniCalRowChanged != null)) {
+ this.v_ImpegniCalRowChanged(this, new v_ImpegniCalRowChangeEvent(((v_ImpegniCalRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.v_ImpegniCalRowChanging != null)) {
+ this.v_ImpegniCalRowChanging(this, new v_ImpegniCalRowChangeEvent(((v_ImpegniCalRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.v_ImpegniCalRowDeleted != null)) {
+ this.v_ImpegniCalRowDeleted(this, new v_ImpegniCalRowChangeEvent(((v_ImpegniCalRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.v_ImpegniCalRowDeleting != null)) {
+ this.v_ImpegniCalRowDeleting(this, new v_ImpegniCalRowChangeEvent(((v_ImpegniCalRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void Removev_ImpegniCalRow(v_ImpegniCalRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_Applicazione ds = new DS_Applicazione();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "v_ImpegniCalDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class DisponibilitaDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnData;
+
+ private global::System.Data.DataColumn columnCodSquadra;
+
+ private global::System.Data.DataColumn columnOreDisp;
+
+ private global::System.Data.DataColumn columnNumOp;
+
+ private global::System.Data.DataColumn columnMinDisp;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DisponibilitaDataTable() {
+ this.TableName = "Disponibilita";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal DisponibilitaDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected DisponibilitaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DataColumn {
+ get {
+ return this.columnData;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodSquadraColumn {
+ get {
+ return this.columnCodSquadra;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn OreDispColumn {
+ get {
+ return this.columnOreDisp;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NumOpColumn {
+ get {
+ return this.columnNumOp;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn MinDispColumn {
+ get {
+ return this.columnMinDisp;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DisponibilitaRow this[int index] {
+ get {
+ return ((DisponibilitaRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DisponibilitaRowChangeEventHandler DisponibilitaRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DisponibilitaRowChangeEventHandler DisponibilitaRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DisponibilitaRowChangeEventHandler DisponibilitaRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DisponibilitaRowChangeEventHandler DisponibilitaRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddDisponibilitaRow(DisponibilitaRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DisponibilitaRow AddDisponibilitaRow(System.DateTime Data, AnagSquadreRow parentAnagSquadreRowByFK_Disponibilita_AnagSquadre, int OreDisp, int NumOp, int MinDisp) {
+ DisponibilitaRow rowDisponibilitaRow = ((DisponibilitaRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ Data,
+ null,
+ OreDisp,
+ NumOp,
+ MinDisp};
+ if ((parentAnagSquadreRowByFK_Disponibilita_AnagSquadre != null)) {
+ columnValuesArray[1] = parentAnagSquadreRowByFK_Disponibilita_AnagSquadre[0];
+ }
+ rowDisponibilitaRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowDisponibilitaRow);
+ return rowDisponibilitaRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DisponibilitaRow FindByDataCodSquadra(System.DateTime Data, string CodSquadra) {
+ return ((DisponibilitaRow)(this.Rows.Find(new object[] {
+ Data,
+ CodSquadra})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ DisponibilitaDataTable cln = ((DisponibilitaDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new DisponibilitaDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnData = base.Columns["Data"];
+ this.columnCodSquadra = base.Columns["CodSquadra"];
+ this.columnOreDisp = base.Columns["OreDisp"];
+ this.columnNumOp = base.Columns["NumOp"];
+ this.columnMinDisp = base.Columns["MinDisp"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnData = new global::System.Data.DataColumn("Data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnData);
+ this.columnCodSquadra = new global::System.Data.DataColumn("CodSquadra", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodSquadra);
+ this.columnOreDisp = new global::System.Data.DataColumn("OreDisp", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnOreDisp);
+ this.columnNumOp = new global::System.Data.DataColumn("NumOp", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNumOp);
+ this.columnMinDisp = new global::System.Data.DataColumn("MinDisp", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnMinDisp);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnData,
+ this.columnCodSquadra}, true));
+ this.columnData.AllowDBNull = false;
+ this.columnCodSquadra.AllowDBNull = false;
+ this.columnCodSquadra.MaxLength = 50;
+ this.columnOreDisp.AllowDBNull = false;
+ this.columnNumOp.AllowDBNull = false;
+ this.columnMinDisp.ReadOnly = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DisponibilitaRow NewDisponibilitaRow() {
+ return ((DisponibilitaRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new DisponibilitaRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(DisponibilitaRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.DisponibilitaRowChanged != null)) {
+ this.DisponibilitaRowChanged(this, new DisponibilitaRowChangeEvent(((DisponibilitaRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.DisponibilitaRowChanging != null)) {
+ this.DisponibilitaRowChanging(this, new DisponibilitaRowChangeEvent(((DisponibilitaRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.DisponibilitaRowDeleted != null)) {
+ this.DisponibilitaRowDeleted(this, new DisponibilitaRowChangeEvent(((DisponibilitaRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.DisponibilitaRowDeleting != null)) {
+ this.DisponibilitaRowDeleting(this, new DisponibilitaRowChangeEvent(((DisponibilitaRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveDisponibilitaRow(DisponibilitaRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_Applicazione ds = new DS_Applicazione();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "DisponibilitaDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class DettImpegnoDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnIdxImpegno;
+
+ private global::System.Data.DataColumn columnNumCons;
+
+ private global::System.Data.DataColumn columnCodConsegna;
+
+ private global::System.Data.DataColumn columnDescrConsegna;
+
+ private global::System.Data.DataColumn columnMinutiStd;
+
+ private global::System.Data.DataColumn columnNumOp;
+
+ private global::System.Data.DataColumn columnElettrod;
+
+ private global::System.Data.DataColumn columnClima;
+
+ private global::System.Data.DataColumn columnInform;
+
+ private global::System.Data.DataColumn columnMinuti;
+
+ private global::System.Data.DataColumn columnNote;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DettImpegnoDataTable() {
+ this.TableName = "DettImpegno";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal DettImpegnoDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected DettImpegnoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn IdxImpegnoColumn {
+ get {
+ return this.columnIdxImpegno;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NumConsColumn {
+ get {
+ return this.columnNumCons;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodConsegnaColumn {
+ get {
+ return this.columnCodConsegna;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DescrConsegnaColumn {
+ get {
+ return this.columnDescrConsegna;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn MinutiStdColumn {
+ get {
+ return this.columnMinutiStd;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NumOpColumn {
+ get {
+ return this.columnNumOp;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ElettrodColumn {
+ get {
+ return this.columnElettrod;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ClimaColumn {
+ get {
+ return this.columnClima;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn InformColumn {
+ get {
+ return this.columnInform;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn MinutiColumn {
+ get {
+ return this.columnMinuti;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NoteColumn {
+ get {
+ return this.columnNote;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DettImpegnoRow this[int index] {
+ get {
+ return ((DettImpegnoRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DettImpegnoRowChangeEventHandler DettImpegnoRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DettImpegnoRowChangeEventHandler DettImpegnoRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DettImpegnoRowChangeEventHandler DettImpegnoRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DettImpegnoRowChangeEventHandler DettImpegnoRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddDettImpegnoRow(DettImpegnoRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DettImpegnoRow AddDettImpegnoRow(int IdxImpegno, int NumCons, string CodConsegna, string DescrConsegna, int MinutiStd, int NumOp, bool Elettrod, bool Clima, bool Inform, int Minuti, string Note) {
+ DettImpegnoRow rowDettImpegnoRow = ((DettImpegnoRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ IdxImpegno,
+ NumCons,
+ CodConsegna,
+ DescrConsegna,
+ MinutiStd,
+ NumOp,
+ Elettrod,
+ Clima,
+ Inform,
+ Minuti,
+ Note};
+ rowDettImpegnoRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowDettImpegnoRow);
+ return rowDettImpegnoRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DettImpegnoRow FindByIdxImpegnoNumCons(int IdxImpegno, int NumCons) {
+ return ((DettImpegnoRow)(this.Rows.Find(new object[] {
+ IdxImpegno,
+ NumCons})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ DettImpegnoDataTable cln = ((DettImpegnoDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new DettImpegnoDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnIdxImpegno = base.Columns["IdxImpegno"];
+ this.columnNumCons = base.Columns["NumCons"];
+ this.columnCodConsegna = base.Columns["CodConsegna"];
+ this.columnDescrConsegna = base.Columns["DescrConsegna"];
+ this.columnMinutiStd = base.Columns["MinutiStd"];
+ this.columnNumOp = base.Columns["NumOp"];
+ this.columnElettrod = base.Columns["Elettrod"];
+ this.columnClima = base.Columns["Clima"];
+ this.columnInform = base.Columns["Inform"];
+ this.columnMinuti = base.Columns["Minuti"];
+ this.columnNote = base.Columns["Note"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnIdxImpegno = new global::System.Data.DataColumn("IdxImpegno", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnIdxImpegno);
+ this.columnNumCons = new global::System.Data.DataColumn("NumCons", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNumCons);
+ this.columnCodConsegna = new global::System.Data.DataColumn("CodConsegna", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodConsegna);
+ this.columnDescrConsegna = new global::System.Data.DataColumn("DescrConsegna", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDescrConsegna);
+ this.columnMinutiStd = new global::System.Data.DataColumn("MinutiStd", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnMinutiStd);
+ this.columnNumOp = new global::System.Data.DataColumn("NumOp", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNumOp);
+ this.columnElettrod = new global::System.Data.DataColumn("Elettrod", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnElettrod);
+ this.columnClima = new global::System.Data.DataColumn("Clima", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnClima);
+ this.columnInform = new global::System.Data.DataColumn("Inform", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnInform);
+ this.columnMinuti = new global::System.Data.DataColumn("Minuti", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnMinuti);
+ this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNote);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnIdxImpegno,
+ this.columnNumCons}, true));
+ this.columnIdxImpegno.AllowDBNull = false;
+ this.columnNumCons.AllowDBNull = false;
+ this.columnCodConsegna.AllowDBNull = false;
+ this.columnCodConsegna.MaxLength = 50;
+ this.columnDescrConsegna.AllowDBNull = false;
+ this.columnDescrConsegna.MaxLength = 250;
+ this.columnMinutiStd.AllowDBNull = false;
+ this.columnNumOp.AllowDBNull = false;
+ this.columnElettrod.AllowDBNull = false;
+ this.columnClima.AllowDBNull = false;
+ this.columnInform.AllowDBNull = false;
+ this.columnNote.MaxLength = 250;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DettImpegnoRow NewDettImpegnoRow() {
+ return ((DettImpegnoRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new DettImpegnoRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(DettImpegnoRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.DettImpegnoRowChanged != null)) {
+ this.DettImpegnoRowChanged(this, new DettImpegnoRowChangeEvent(((DettImpegnoRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.DettImpegnoRowChanging != null)) {
+ this.DettImpegnoRowChanging(this, new DettImpegnoRowChangeEvent(((DettImpegnoRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.DettImpegnoRowDeleted != null)) {
+ this.DettImpegnoRowDeleted(this, new DettImpegnoRowChangeEvent(((DettImpegnoRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.DettImpegnoRowDeleting != null)) {
+ this.DettImpegnoRowDeleting(this, new DettImpegnoRowChangeEvent(((DettImpegnoRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveDettImpegnoRow(DettImpegnoRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_Applicazione ds = new DS_Applicazione();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "DettImpegnoDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class v_clientiZoneDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnCodCliente;
+
+ private global::System.Data.DataColumn columnRagSoc;
+
+ private global::System.Data.DataColumn columnIndir;
+
+ private global::System.Data.DataColumn columnCap;
+
+ private global::System.Data.DataColumn columnLocalita;
+
+ private global::System.Data.DataColumn columnProv;
+
+ private global::System.Data.DataColumn columnZona;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_clientiZoneDataTable() {
+ this.TableName = "v_clientiZone";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal v_clientiZoneDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected v_clientiZoneDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodClienteColumn {
+ get {
+ return this.columnCodCliente;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn RagSocColumn {
+ get {
+ return this.columnRagSoc;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn IndirColumn {
+ get {
+ return this.columnIndir;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CapColumn {
+ get {
+ return this.columnCap;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn LocalitaColumn {
+ get {
+ return this.columnLocalita;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ProvColumn {
+ get {
+ return this.columnProv;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ZonaColumn {
+ get {
+ return this.columnZona;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_clientiZoneRow this[int index] {
+ get {
+ return ((v_clientiZoneRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event v_clientiZoneRowChangeEventHandler v_clientiZoneRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event v_clientiZoneRowChangeEventHandler v_clientiZoneRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event v_clientiZoneRowChangeEventHandler v_clientiZoneRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event v_clientiZoneRowChangeEventHandler v_clientiZoneRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void Addv_clientiZoneRow(v_clientiZoneRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_clientiZoneRow Addv_clientiZoneRow(string CodCliente, string RagSoc, string Indir, string Cap, string Localita, string Prov, string Zona) {
+ v_clientiZoneRow rowv_clientiZoneRow = ((v_clientiZoneRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ CodCliente,
+ RagSoc,
+ Indir,
+ Cap,
+ Localita,
+ Prov,
+ Zona};
+ rowv_clientiZoneRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowv_clientiZoneRow);
+ return rowv_clientiZoneRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_clientiZoneRow FindByCodCliente(string CodCliente) {
+ return ((v_clientiZoneRow)(this.Rows.Find(new object[] {
+ CodCliente})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ v_clientiZoneDataTable cln = ((v_clientiZoneDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new v_clientiZoneDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnCodCliente = base.Columns["CodCliente"];
+ this.columnRagSoc = base.Columns["RagSoc"];
+ this.columnIndir = base.Columns["Indir"];
+ this.columnCap = base.Columns["Cap"];
+ this.columnLocalita = base.Columns["Localita"];
+ this.columnProv = base.Columns["Prov"];
+ this.columnZona = base.Columns["Zona"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodCliente);
+ this.columnRagSoc = new global::System.Data.DataColumn("RagSoc", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnRagSoc);
+ this.columnIndir = new global::System.Data.DataColumn("Indir", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnIndir);
+ this.columnCap = new global::System.Data.DataColumn("Cap", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCap);
+ this.columnLocalita = new global::System.Data.DataColumn("Localita", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnLocalita);
+ this.columnProv = new global::System.Data.DataColumn("Prov", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnProv);
+ this.columnZona = new global::System.Data.DataColumn("Zona", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnZona);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnCodCliente}, true));
+ this.columnCodCliente.AllowDBNull = false;
+ this.columnCodCliente.Unique = true;
+ this.columnCodCliente.MaxLength = 50;
+ this.columnRagSoc.AllowDBNull = false;
+ this.columnRagSoc.MaxLength = 100;
+ this.columnIndir.MaxLength = 50;
+ this.columnCap.MaxLength = 10;
+ this.columnLocalita.MaxLength = 50;
+ this.columnProv.MaxLength = 10;
+ this.columnZona.ReadOnly = true;
+ this.columnZona.MaxLength = 3;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_clientiZoneRow Newv_clientiZoneRow() {
+ return ((v_clientiZoneRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new v_clientiZoneRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(v_clientiZoneRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.v_clientiZoneRowChanged != null)) {
+ this.v_clientiZoneRowChanged(this, new v_clientiZoneRowChangeEvent(((v_clientiZoneRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.v_clientiZoneRowChanging != null)) {
+ this.v_clientiZoneRowChanging(this, new v_clientiZoneRowChangeEvent(((v_clientiZoneRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.v_clientiZoneRowDeleted != null)) {
+ this.v_clientiZoneRowDeleted(this, new v_clientiZoneRowChangeEvent(((v_clientiZoneRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.v_clientiZoneRowDeleting != null)) {
+ this.v_clientiZoneRowDeleting(this, new v_clientiZoneRowChangeEvent(((v_clientiZoneRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void Removev_clientiZoneRow(v_clientiZoneRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_Applicazione ds = new DS_Applicazione();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "v_clientiZoneDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class DB2_DOCSDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnTIPOPROTOC;
+
+ private global::System.Data.DataColumn columnNUMERO;
+
+ private global::System.Data.DataColumn columnESERPROTOC;
+
+ private global::System.Data.DataColumn columnNUMEPROTOC;
+
+ private global::System.Data.DataColumn columnDATAPROTOC;
+
+ private global::System.Data.DataColumn columnESERRIFERI;
+
+ private global::System.Data.DataColumn columnNUMERIFERI;
+
+ private global::System.Data.DataColumn columnTIPORIFERI;
+
+ private global::System.Data.DataColumn columnDATARIFERI;
+
+ private global::System.Data.DataColumn columnNUMEDOCRIF;
+
+ private global::System.Data.DataColumn columnDATADOCRIF;
+
+ private global::System.Data.DataColumn columnESERCOLLEG;
+
+ private global::System.Data.DataColumn columnCLI_FOR;
+
+ private global::System.Data.DataColumn columnDESTINATAR;
+
+ private global::System.Data.DataColumn columnRGSOC_DEST;
+
+ private global::System.Data.DataColumn columnINDIR_DEST;
+
+ private global::System.Data.DataColumn columnLOCAL_DEST;
+
+ private global::System.Data.DataColumn columnCAP_DEST;
+
+ private global::System.Data.DataColumn columnULT_AGG;
+
+ private global::System.Data.DataColumn columnANNOTAZION;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DB2_DOCSDataTable() {
+ this.TableName = "DB2_DOCS";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal DB2_DOCSDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected DB2_DOCSDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn TIPOPROTOCColumn {
+ get {
+ return this.columnTIPOPROTOC;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NUMEROColumn {
+ get {
+ return this.columnNUMERO;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ESERPROTOCColumn {
+ get {
+ return this.columnESERPROTOC;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NUMEPROTOCColumn {
+ get {
+ return this.columnNUMEPROTOC;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DATAPROTOCColumn {
+ get {
+ return this.columnDATAPROTOC;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ESERRIFERIColumn {
+ get {
+ return this.columnESERRIFERI;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NUMERIFERIColumn {
+ get {
+ return this.columnNUMERIFERI;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn TIPORIFERIColumn {
+ get {
+ return this.columnTIPORIFERI;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DATARIFERIColumn {
+ get {
+ return this.columnDATARIFERI;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NUMEDOCRIFColumn {
+ get {
+ return this.columnNUMEDOCRIF;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DATADOCRIFColumn {
+ get {
+ return this.columnDATADOCRIF;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ESERCOLLEGColumn {
+ get {
+ return this.columnESERCOLLEG;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CLI_FORColumn {
+ get {
+ return this.columnCLI_FOR;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DESTINATARColumn {
+ get {
+ return this.columnDESTINATAR;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn RGSOC_DESTColumn {
+ get {
+ return this.columnRGSOC_DEST;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn INDIR_DESTColumn {
+ get {
+ return this.columnINDIR_DEST;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn LOCAL_DESTColumn {
+ get {
+ return this.columnLOCAL_DEST;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CAP_DESTColumn {
+ get {
+ return this.columnCAP_DEST;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ULT_AGGColumn {
+ get {
+ return this.columnULT_AGG;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ANNOTAZIONColumn {
+ get {
+ return this.columnANNOTAZION;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DB2_DOCSRow this[int index] {
+ get {
+ return ((DB2_DOCSRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DB2_DOCSRowChangeEventHandler DB2_DOCSRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DB2_DOCSRowChangeEventHandler DB2_DOCSRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DB2_DOCSRowChangeEventHandler DB2_DOCSRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DB2_DOCSRowChangeEventHandler DB2_DOCSRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddDB2_DOCSRow(DB2_DOCSRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DB2_DOCSRow AddDB2_DOCSRow(
+ string TIPOPROTOC,
+ string NUMERO,
+ string ESERPROTOC,
+ string NUMEPROTOC,
+ string DATAPROTOC,
+ string ESERRIFERI,
+ string NUMERIFERI,
+ string TIPORIFERI,
+ string DATARIFERI,
+ string NUMEDOCRIF,
+ string DATADOCRIF,
+ string ESERCOLLEG,
+ string CLI_FOR,
+ string DESTINATAR,
+ string RGSOC_DEST,
+ string INDIR_DEST,
+ string LOCAL_DEST,
+ string CAP_DEST,
+ string ULT_AGG,
+ string ANNOTAZION) {
+ DB2_DOCSRow rowDB2_DOCSRow = ((DB2_DOCSRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ TIPOPROTOC,
+ NUMERO,
+ ESERPROTOC,
+ NUMEPROTOC,
+ DATAPROTOC,
+ ESERRIFERI,
+ NUMERIFERI,
+ TIPORIFERI,
+ DATARIFERI,
+ NUMEDOCRIF,
+ DATADOCRIF,
+ ESERCOLLEG,
+ CLI_FOR,
+ DESTINATAR,
+ RGSOC_DEST,
+ INDIR_DEST,
+ LOCAL_DEST,
+ CAP_DEST,
+ ULT_AGG,
+ ANNOTAZION};
+ rowDB2_DOCSRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowDB2_DOCSRow);
+ return rowDB2_DOCSRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DB2_DOCSRow FindByNUMERO(string NUMERO) {
+ return ((DB2_DOCSRow)(this.Rows.Find(new object[] {
+ NUMERO})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ DB2_DOCSDataTable cln = ((DB2_DOCSDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new DB2_DOCSDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnTIPOPROTOC = base.Columns["TIPOPROTOC"];
+ this.columnNUMERO = base.Columns["NUMERO"];
+ this.columnESERPROTOC = base.Columns["ESERPROTOC"];
+ this.columnNUMEPROTOC = base.Columns["NUMEPROTOC"];
+ this.columnDATAPROTOC = base.Columns["DATAPROTOC"];
+ this.columnESERRIFERI = base.Columns["ESERRIFERI"];
+ this.columnNUMERIFERI = base.Columns["NUMERIFERI"];
+ this.columnTIPORIFERI = base.Columns["TIPORIFERI"];
+ this.columnDATARIFERI = base.Columns["DATARIFERI"];
+ this.columnNUMEDOCRIF = base.Columns["NUMEDOCRIF"];
+ this.columnDATADOCRIF = base.Columns["DATADOCRIF"];
+ this.columnESERCOLLEG = base.Columns["ESERCOLLEG"];
+ this.columnCLI_FOR = base.Columns["CLI_FOR"];
+ this.columnDESTINATAR = base.Columns["DESTINATAR"];
+ this.columnRGSOC_DEST = base.Columns["RGSOC_DEST"];
+ this.columnINDIR_DEST = base.Columns["INDIR_DEST"];
+ this.columnLOCAL_DEST = base.Columns["LOCAL_DEST"];
+ this.columnCAP_DEST = base.Columns["CAP_DEST"];
+ this.columnULT_AGG = base.Columns["ULT_AGG"];
+ this.columnANNOTAZION = base.Columns["ANNOTAZION"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnTIPOPROTOC = new global::System.Data.DataColumn("TIPOPROTOC", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnTIPOPROTOC);
+ this.columnNUMERO = new global::System.Data.DataColumn("NUMERO", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNUMERO);
+ this.columnESERPROTOC = new global::System.Data.DataColumn("ESERPROTOC", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnESERPROTOC);
+ this.columnNUMEPROTOC = new global::System.Data.DataColumn("NUMEPROTOC", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNUMEPROTOC);
+ this.columnDATAPROTOC = new global::System.Data.DataColumn("DATAPROTOC", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDATAPROTOC);
+ this.columnESERRIFERI = new global::System.Data.DataColumn("ESERRIFERI", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnESERRIFERI);
+ this.columnNUMERIFERI = new global::System.Data.DataColumn("NUMERIFERI", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNUMERIFERI);
+ this.columnTIPORIFERI = new global::System.Data.DataColumn("TIPORIFERI", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnTIPORIFERI);
+ this.columnDATARIFERI = new global::System.Data.DataColumn("DATARIFERI", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDATARIFERI);
+ this.columnNUMEDOCRIF = new global::System.Data.DataColumn("NUMEDOCRIF", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNUMEDOCRIF);
+ this.columnDATADOCRIF = new global::System.Data.DataColumn("DATADOCRIF", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDATADOCRIF);
+ this.columnESERCOLLEG = new global::System.Data.DataColumn("ESERCOLLEG", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnESERCOLLEG);
+ this.columnCLI_FOR = new global::System.Data.DataColumn("CLI_FOR", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCLI_FOR);
+ this.columnDESTINATAR = new global::System.Data.DataColumn("DESTINATAR", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDESTINATAR);
+ this.columnRGSOC_DEST = new global::System.Data.DataColumn("RGSOC_DEST", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnRGSOC_DEST);
+ this.columnINDIR_DEST = new global::System.Data.DataColumn("INDIR_DEST", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnINDIR_DEST);
+ this.columnLOCAL_DEST = new global::System.Data.DataColumn("LOCAL_DEST", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnLOCAL_DEST);
+ this.columnCAP_DEST = new global::System.Data.DataColumn("CAP_DEST", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCAP_DEST);
+ this.columnULT_AGG = new global::System.Data.DataColumn("ULT_AGG", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnULT_AGG);
+ this.columnANNOTAZION = new global::System.Data.DataColumn("ANNOTAZION", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnANNOTAZION);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnNUMERO}, true));
+ this.columnTIPOPROTOC.MaxLength = 2;
+ this.columnNUMERO.AllowDBNull = false;
+ this.columnNUMERO.Unique = true;
+ this.columnNUMERO.MaxLength = 7;
+ this.columnESERPROTOC.MaxLength = 4;
+ this.columnNUMEPROTOC.MaxLength = 7;
+ this.columnDATAPROTOC.MaxLength = 8;
+ this.columnESERRIFERI.MaxLength = 4;
+ this.columnNUMERIFERI.MaxLength = 7;
+ this.columnTIPORIFERI.MaxLength = 2;
+ this.columnDATARIFERI.MaxLength = 8;
+ this.columnNUMEDOCRIF.MaxLength = 10;
+ this.columnDATADOCRIF.MaxLength = 8;
+ this.columnESERCOLLEG.MaxLength = 4;
+ this.columnCLI_FOR.MaxLength = 10;
+ this.columnDESTINATAR.MaxLength = 10;
+ this.columnRGSOC_DEST.MaxLength = 50;
+ this.columnINDIR_DEST.MaxLength = 35;
+ this.columnLOCAL_DEST.MaxLength = 35;
+ this.columnCAP_DEST.MaxLength = 5;
+ this.columnULT_AGG.MaxLength = 8;
+ this.columnANNOTAZION.AllowDBNull = false;
+ this.columnANNOTAZION.MaxLength = 100;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DB2_DOCSRow NewDB2_DOCSRow() {
+ return ((DB2_DOCSRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new DB2_DOCSRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(DB2_DOCSRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.DB2_DOCSRowChanged != null)) {
+ this.DB2_DOCSRowChanged(this, new DB2_DOCSRowChangeEvent(((DB2_DOCSRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.DB2_DOCSRowChanging != null)) {
+ this.DB2_DOCSRowChanging(this, new DB2_DOCSRowChangeEvent(((DB2_DOCSRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.DB2_DOCSRowDeleted != null)) {
+ this.DB2_DOCSRowDeleted(this, new DB2_DOCSRowChangeEvent(((DB2_DOCSRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.DB2_DOCSRowDeleting != null)) {
+ this.DB2_DOCSRowDeleting(this, new DB2_DOCSRowChangeEvent(((DB2_DOCSRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveDB2_DOCSRow(DB2_DOCSRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_Applicazione ds = new DS_Applicazione();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "DB2_DOCSDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class AssegnSquadreDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnDataFrom;
+
+ private global::System.Data.DataColumn columnCodSquadra;
+
+ private global::System.Data.DataColumn columnMatr;
+
+ private global::System.Data.DataColumn columnDataTo;
+
+ private global::System.Data.DataColumn columnCognomeNome;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AssegnSquadreDataTable() {
+ this.TableName = "AssegnSquadre";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal AssegnSquadreDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected AssegnSquadreDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DataFromColumn {
+ get {
+ return this.columnDataFrom;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodSquadraColumn {
+ get {
+ return this.columnCodSquadra;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn MatrColumn {
+ get {
+ return this.columnMatr;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DataToColumn {
+ get {
+ return this.columnDataTo;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CognomeNomeColumn {
+ get {
+ return this.columnCognomeNome;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AssegnSquadreRow this[int index] {
+ get {
+ return ((AssegnSquadreRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AssegnSquadreRowChangeEventHandler AssegnSquadreRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AssegnSquadreRowChangeEventHandler AssegnSquadreRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AssegnSquadreRowChangeEventHandler AssegnSquadreRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AssegnSquadreRowChangeEventHandler AssegnSquadreRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddAssegnSquadreRow(AssegnSquadreRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AssegnSquadreRow AddAssegnSquadreRow(System.DateTime DataFrom, string CodSquadra, DipendentiRow parentDipendentiRowByFK_AssegnSquadre_Dipendenti, System.DateTime DataTo, string CognomeNome) {
+ AssegnSquadreRow rowAssegnSquadreRow = ((AssegnSquadreRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ DataFrom,
+ CodSquadra,
+ null,
+ DataTo,
+ CognomeNome};
+ if ((parentDipendentiRowByFK_AssegnSquadre_Dipendenti != null)) {
+ columnValuesArray[2] = parentDipendentiRowByFK_AssegnSquadre_Dipendenti[0];
+ }
+ rowAssegnSquadreRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowAssegnSquadreRow);
+ return rowAssegnSquadreRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AssegnSquadreRow FindByDataFromCodSquadraMatr(System.DateTime DataFrom, string CodSquadra, string Matr) {
+ return ((AssegnSquadreRow)(this.Rows.Find(new object[] {
+ DataFrom,
+ CodSquadra,
+ Matr})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ AssegnSquadreDataTable cln = ((AssegnSquadreDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new AssegnSquadreDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnDataFrom = base.Columns["DataFrom"];
+ this.columnCodSquadra = base.Columns["CodSquadra"];
+ this.columnMatr = base.Columns["Matr"];
+ this.columnDataTo = base.Columns["DataTo"];
+ this.columnCognomeNome = base.Columns["CognomeNome"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnDataFrom = new global::System.Data.DataColumn("DataFrom", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDataFrom);
+ this.columnCodSquadra = new global::System.Data.DataColumn("CodSquadra", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodSquadra);
+ this.columnMatr = new global::System.Data.DataColumn("Matr", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnMatr);
+ this.columnDataTo = new global::System.Data.DataColumn("DataTo", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDataTo);
+ this.columnCognomeNome = new global::System.Data.DataColumn("CognomeNome", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCognomeNome);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnDataFrom,
+ this.columnCodSquadra,
+ this.columnMatr}, true));
+ this.columnDataFrom.AllowDBNull = false;
+ this.columnCodSquadra.AllowDBNull = false;
+ this.columnCodSquadra.MaxLength = 50;
+ this.columnMatr.AllowDBNull = false;
+ this.columnMatr.MaxLength = 50;
+ this.columnCognomeNome.ReadOnly = true;
+ this.columnCognomeNome.MaxLength = 101;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AssegnSquadreRow NewAssegnSquadreRow() {
+ return ((AssegnSquadreRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new AssegnSquadreRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(AssegnSquadreRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.AssegnSquadreRowChanged != null)) {
+ this.AssegnSquadreRowChanged(this, new AssegnSquadreRowChangeEvent(((AssegnSquadreRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.AssegnSquadreRowChanging != null)) {
+ this.AssegnSquadreRowChanging(this, new AssegnSquadreRowChangeEvent(((AssegnSquadreRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.AssegnSquadreRowDeleted != null)) {
+ this.AssegnSquadreRowDeleted(this, new AssegnSquadreRowChangeEvent(((AssegnSquadreRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.AssegnSquadreRowDeleting != null)) {
+ this.AssegnSquadreRowDeleting(this, new AssegnSquadreRowChangeEvent(((AssegnSquadreRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveAssegnSquadreRow(AssegnSquadreRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_Applicazione ds = new DS_Applicazione();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "AssegnSquadreDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class DipendentiDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnMatr;
+
+ private global::System.Data.DataColumn columnCognome;
+
+ private global::System.Data.DataColumn columnNome;
+
+ private global::System.Data.DataColumn columnCognomeNome;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DipendentiDataTable() {
+ this.TableName = "Dipendenti";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal DipendentiDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected DipendentiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn MatrColumn {
+ get {
+ return this.columnMatr;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CognomeColumn {
+ get {
+ return this.columnCognome;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn NomeColumn {
+ get {
+ return this.columnNome;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CognomeNomeColumn {
+ get {
+ return this.columnCognomeNome;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DipendentiRow this[int index] {
+ get {
+ return ((DipendentiRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DipendentiRowChangeEventHandler DipendentiRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DipendentiRowChangeEventHandler DipendentiRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DipendentiRowChangeEventHandler DipendentiRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event DipendentiRowChangeEventHandler DipendentiRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddDipendentiRow(DipendentiRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DipendentiRow AddDipendentiRow(string Matr, string Cognome, string Nome, string CognomeNome) {
+ DipendentiRow rowDipendentiRow = ((DipendentiRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ Matr,
+ Cognome,
+ Nome,
+ CognomeNome};
+ rowDipendentiRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowDipendentiRow);
+ return rowDipendentiRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DipendentiRow FindByMatr(string Matr) {
+ return ((DipendentiRow)(this.Rows.Find(new object[] {
+ Matr})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ DipendentiDataTable cln = ((DipendentiDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new DipendentiDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnMatr = base.Columns["Matr"];
+ this.columnCognome = base.Columns["Cognome"];
+ this.columnNome = base.Columns["Nome"];
+ this.columnCognomeNome = base.Columns["CognomeNome"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnMatr = new global::System.Data.DataColumn("Matr", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnMatr);
+ this.columnCognome = new global::System.Data.DataColumn("Cognome", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCognome);
+ this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNome);
+ this.columnCognomeNome = new global::System.Data.DataColumn("CognomeNome", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCognomeNome);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnMatr}, true));
+ this.columnMatr.AllowDBNull = false;
+ this.columnMatr.Unique = true;
+ this.columnMatr.MaxLength = 50;
+ this.columnCognome.AllowDBNull = false;
+ this.columnCognome.MaxLength = 50;
+ this.columnNome.AllowDBNull = false;
+ this.columnNome.MaxLength = 50;
+ this.columnCognomeNome.ReadOnly = true;
+ this.columnCognomeNome.MaxLength = 101;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DipendentiRow NewDipendentiRow() {
+ return ((DipendentiRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new DipendentiRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(DipendentiRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.DipendentiRowChanged != null)) {
+ this.DipendentiRowChanged(this, new DipendentiRowChangeEvent(((DipendentiRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.DipendentiRowChanging != null)) {
+ this.DipendentiRowChanging(this, new DipendentiRowChangeEvent(((DipendentiRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.DipendentiRowDeleted != null)) {
+ this.DipendentiRowDeleted(this, new DipendentiRowChangeEvent(((DipendentiRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.DipendentiRowDeleting != null)) {
+ this.DipendentiRowDeleting(this, new DipendentiRowChangeEvent(((DipendentiRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveDipendentiRow(DipendentiRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_Applicazione ds = new DS_Applicazione();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "DipendentiDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class AnagSquadreRow : global::System.Data.DataRow {
+
+ private AnagSquadreDataTable tableAnagSquadre;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal AnagSquadreRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableAnagSquadre = ((AnagSquadreDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodSquadra {
+ get {
+ return ((string)(this[this.tableAnagSquadre.CodSquadraColumn]));
+ }
+ set {
+ this[this.tableAnagSquadre.CodSquadraColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string DescrSquadra {
+ get {
+ return ((string)(this[this.tableAnagSquadre.DescrSquadraColumn]));
+ }
+ set {
+ this[this.tableAnagSquadre.DescrSquadraColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int NumOp {
+ get {
+ return ((int)(this[this.tableAnagSquadre.NumOpColumn]));
+ }
+ set {
+ this[this.tableAnagSquadre.NumOpColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool Elettrod {
+ get {
+ return ((bool)(this[this.tableAnagSquadre.ElettrodColumn]));
+ }
+ set {
+ this[this.tableAnagSquadre.ElettrodColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool Clima {
+ get {
+ return ((bool)(this[this.tableAnagSquadre.ClimaColumn]));
+ }
+ set {
+ this[this.tableAnagSquadre.ClimaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool Inform {
+ get {
+ return ((bool)(this[this.tableAnagSquadre.InformColumn]));
+ }
+ set {
+ this[this.tableAnagSquadre.InformColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool Attiva {
+ get {
+ return ((bool)(this[this.tableAnagSquadre.AttivaColumn]));
+ }
+ set {
+ this[this.tableAnagSquadre.AttivaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CssColor {
+ get {
+ return ((string)(this[this.tableAnagSquadre.CssColorColumn]));
+ }
+ set {
+ this[this.tableAnagSquadre.CssColorColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DisponibilitaRow[] GetDisponibilitaRows() {
+ if ((this.Table.ChildRelations["FK_Disponibilita_AnagSquadre"] == null)) {
+ return new DisponibilitaRow[0];
+ }
+ else {
+ return ((DisponibilitaRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Disponibilita_AnagSquadre"])));
+ }
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class AnagZoneRow : global::System.Data.DataRow {
+
+ private AnagZoneDataTable tableAnagZone;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal AnagZoneRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableAnagZone = ((AnagZoneDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int idxZona {
+ get {
+ return ((int)(this[this.tableAnagZone.idxZonaColumn]));
+ }
+ set {
+ this[this.tableAnagZone.idxZonaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Cap {
+ get {
+ return ((string)(this[this.tableAnagZone.CapColumn]));
+ }
+ set {
+ this[this.tableAnagZone.CapColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Localita {
+ get {
+ return ((string)(this[this.tableAnagZone.LocalitaColumn]));
+ }
+ set {
+ this[this.tableAnagZone.LocalitaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Prov {
+ get {
+ return ((string)(this[this.tableAnagZone.ProvColumn]));
+ }
+ set {
+ this[this.tableAnagZone.ProvColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int Tempo {
+ get {
+ return ((int)(this[this.tableAnagZone.TempoColumn]));
+ }
+ set {
+ this[this.tableAnagZone.TempoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Zona {
+ get {
+ return ((string)(this[this.tableAnagZone.ZonaColumn]));
+ }
+ set {
+ this[this.tableAnagZone.ZonaColumn] = value;
+ }
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class AnagTipoConsegneRow : global::System.Data.DataRow {
+
+ private AnagTipoConsegneDataTable tableAnagTipoConsegne;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal AnagTipoConsegneRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableAnagTipoConsegne = ((AnagTipoConsegneDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodConsegna {
+ get {
+ return ((string)(this[this.tableAnagTipoConsegne.CodConsegnaColumn]));
+ }
+ set {
+ this[this.tableAnagTipoConsegne.CodConsegnaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string DescrConsegna {
+ get {
+ return ((string)(this[this.tableAnagTipoConsegne.DescrConsegnaColumn]));
+ }
+ set {
+ this[this.tableAnagTipoConsegne.DescrConsegnaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int MinutiStd {
+ get {
+ return ((int)(this[this.tableAnagTipoConsegne.MinutiStdColumn]));
+ }
+ set {
+ this[this.tableAnagTipoConsegne.MinutiStdColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int NumOp {
+ get {
+ return ((int)(this[this.tableAnagTipoConsegne.NumOpColumn]));
+ }
+ set {
+ this[this.tableAnagTipoConsegne.NumOpColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool Elettrod {
+ get {
+ return ((bool)(this[this.tableAnagTipoConsegne.ElettrodColumn]));
+ }
+ set {
+ this[this.tableAnagTipoConsegne.ElettrodColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool Clima {
+ get {
+ return ((bool)(this[this.tableAnagTipoConsegne.ClimaColumn]));
+ }
+ set {
+ this[this.tableAnagTipoConsegne.ClimaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool Inform {
+ get {
+ return ((bool)(this[this.tableAnagTipoConsegne.InformColumn]));
+ }
+ set {
+ this[this.tableAnagTipoConsegne.InformColumn] = value;
+ }
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class AnagClientiRow : global::System.Data.DataRow {
+
+ private AnagClientiDataTable tableAnagClienti;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal AnagClientiRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableAnagClienti = ((AnagClientiDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodCliente {
+ get {
+ return ((string)(this[this.tableAnagClienti.CodClienteColumn]));
+ }
+ set {
+ this[this.tableAnagClienti.CodClienteColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodFis {
+ get {
+ try {
+ return ((string)(this[this.tableAnagClienti.CodFisColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CodFis\' in table \'AnagClienti\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableAnagClienti.CodFisColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Tel {
+ get {
+ try {
+ return ((string)(this[this.tableAnagClienti.TelColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Tel\' in table \'AnagClienti\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableAnagClienti.TelColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Cell {
+ get {
+ try {
+ return ((string)(this[this.tableAnagClienti.CellColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Cell\' in table \'AnagClienti\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableAnagClienti.CellColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Email {
+ get {
+ try {
+ return ((string)(this[this.tableAnagClienti.EmailColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Email\' in table \'AnagClienti\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableAnagClienti.EmailColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Note {
+ get {
+ try {
+ return ((string)(this[this.tableAnagClienti.NoteColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'AnagClienti\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableAnagClienti.NoteColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string RagSoc {
+ get {
+ return ((string)(this[this.tableAnagClienti.RagSocColumn]));
+ }
+ set {
+ this[this.tableAnagClienti.RagSocColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool EnableSMS {
+ get {
+ return ((bool)(this[this.tableAnagClienti.EnableSMSColumn]));
+ }
+ set {
+ this[this.tableAnagClienti.EnableSMSColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Indir {
+ get {
+ try {
+ return ((string)(this[this.tableAnagClienti.IndirColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Indir\' in table \'AnagClienti\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableAnagClienti.IndirColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Cap {
+ get {
+ try {
+ return ((string)(this[this.tableAnagClienti.CapColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Cap\' in table \'AnagClienti\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableAnagClienti.CapColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Localita {
+ get {
+ try {
+ return ((string)(this[this.tableAnagClienti.LocalitaColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Localita\' in table \'AnagClienti\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableAnagClienti.LocalitaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Prov {
+ get {
+ try {
+ return ((string)(this[this.tableAnagClienti.ProvColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Prov\' in table \'AnagClienti\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableAnagClienti.ProvColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCodFisNull() {
+ return this.IsNull(this.tableAnagClienti.CodFisColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCodFisNull() {
+ this[this.tableAnagClienti.CodFisColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsTelNull() {
+ return this.IsNull(this.tableAnagClienti.TelColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetTelNull() {
+ this[this.tableAnagClienti.TelColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCellNull() {
+ return this.IsNull(this.tableAnagClienti.CellColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCellNull() {
+ this[this.tableAnagClienti.CellColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsEmailNull() {
+ return this.IsNull(this.tableAnagClienti.EmailColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetEmailNull() {
+ this[this.tableAnagClienti.EmailColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsNoteNull() {
+ return this.IsNull(this.tableAnagClienti.NoteColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetNoteNull() {
+ this[this.tableAnagClienti.NoteColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsIndirNull() {
+ return this.IsNull(this.tableAnagClienti.IndirColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetIndirNull() {
+ this[this.tableAnagClienti.IndirColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCapNull() {
+ return this.IsNull(this.tableAnagClienti.CapColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCapNull() {
+ this[this.tableAnagClienti.CapColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsLocalitaNull() {
+ return this.IsNull(this.tableAnagClienti.LocalitaColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetLocalitaNull() {
+ this[this.tableAnagClienti.LocalitaColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsProvNull() {
+ return this.IsNull(this.tableAnagClienti.ProvColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetProvNull() {
+ this[this.tableAnagClienti.ProvColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class ImpegniRow : global::System.Data.DataRow {
+
+ private ImpegniDataTable tableImpegni;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal ImpegniRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableImpegni = ((ImpegniDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int IdxImpegno {
+ get {
+ return ((int)(this[this.tableImpegni.IdxImpegnoColumn]));
+ }
+ set {
+ this[this.tableImpegni.IdxImpegnoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime DataOra {
+ get {
+ return ((global::System.DateTime)(this[this.tableImpegni.DataOraColumn]));
+ }
+ set {
+ this[this.tableImpegni.DataOraColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string TipoOrario {
+ get {
+ return ((string)(this[this.tableImpegni.TipoOrarioColumn]));
+ }
+ set {
+ this[this.tableImpegni.TipoOrarioColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodCliente {
+ get {
+ try {
+ return ((string)(this[this.tableImpegni.CodClienteColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CodCliente\' in table \'Impegni\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableImpegni.CodClienteColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string RagSoc {
+ get {
+ try {
+ return ((string)(this[this.tableImpegni.RagSocColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'RagSoc\' in table \'Impegni\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableImpegni.RagSocColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodFis {
+ get {
+ try {
+ return ((string)(this[this.tableImpegni.CodFisColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CodFis\' in table \'Impegni\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableImpegni.CodFisColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodSquadra {
+ get {
+ return ((string)(this[this.tableImpegni.CodSquadraColumn]));
+ }
+ set {
+ this[this.tableImpegni.CodSquadraColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string DescrSquadra {
+ get {
+ return ((string)(this[this.tableImpegni.DescrSquadraColumn]));
+ }
+ set {
+ this[this.tableImpegni.DescrSquadraColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool Elettrod {
+ get {
+ return ((bool)(this[this.tableImpegni.ElettrodColumn]));
+ }
+ set {
+ this[this.tableImpegni.ElettrodColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool Clima {
+ get {
+ return ((bool)(this[this.tableImpegni.ClimaColumn]));
+ }
+ set {
+ this[this.tableImpegni.ClimaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool Inform {
+ get {
+ return ((bool)(this[this.tableImpegni.InformColumn]));
+ }
+ set {
+ this[this.tableImpegni.InformColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Indir {
+ get {
+ return ((string)(this[this.tableImpegni.IndirColumn]));
+ }
+ set {
+ this[this.tableImpegni.IndirColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Cap {
+ get {
+ return ((string)(this[this.tableImpegni.CapColumn]));
+ }
+ set {
+ this[this.tableImpegni.CapColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Localita {
+ get {
+ return ((string)(this[this.tableImpegni.LocalitaColumn]));
+ }
+ set {
+ this[this.tableImpegni.LocalitaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Prov {
+ get {
+ return ((string)(this[this.tableImpegni.ProvColumn]));
+ }
+ set {
+ this[this.tableImpegni.ProvColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int idxZona {
+ get {
+ return ((int)(this[this.tableImpegni.idxZonaColumn]));
+ }
+ set {
+ this[this.tableImpegni.idxZonaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int MinTotCons {
+ get {
+ return ((int)(this[this.tableImpegni.MinTotConsColumn]));
+ }
+ set {
+ this[this.tableImpegni.MinTotConsColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int MinViaggio {
+ get {
+ return ((int)(this[this.tableImpegni.MinViaggioColumn]));
+ }
+ set {
+ this[this.tableImpegni.MinViaggioColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime FinePrev {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tableImpegni.FinePrevColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'FinePrev\' in table \'Impegni\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableImpegni.FinePrevColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string NoteGen {
+ get {
+ return ((string)(this[this.tableImpegni.NoteGenColumn]));
+ }
+ set {
+ this[this.tableImpegni.NoteGenColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string RifOC {
+ get {
+ return ((string)(this[this.tableImpegni.RifOCColumn]));
+ }
+ set {
+ this[this.tableImpegni.RifOCColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string UrlDoc {
+ get {
+ return ((string)(this[this.tableImpegni.UrlDocColumn]));
+ }
+ set {
+ this[this.tableImpegni.UrlDocColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int NumOp {
+ get {
+ return ((int)(this[this.tableImpegni.NumOpColumn]));
+ }
+ set {
+ this[this.tableImpegni.NumOpColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool RitUsato {
+ get {
+ return ((bool)(this[this.tableImpegni.RitUsatoColumn]));
+ }
+ set {
+ this[this.tableImpegni.RitUsatoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool Ascensore {
+ get {
+ return ((bool)(this[this.tableImpegni.AscensoreColumn]));
+ }
+ set {
+ this[this.tableImpegni.AscensoreColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int PianoCons {
+ get {
+ return ((int)(this[this.tableImpegni.PianoConsColumn]));
+ }
+ set {
+ this[this.tableImpegni.PianoConsColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string UserMod {
+ get {
+ return ((string)(this[this.tableImpegni.UserModColumn]));
+ }
+ set {
+ this[this.tableImpegni.UserModColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime DataMod {
+ get {
+ return ((global::System.DateTime)(this[this.tableImpegni.DataModColumn]));
+ }
+ set {
+ this[this.tableImpegni.DataModColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string STATO {
+ get {
+ try {
+ return ((string)(this[this.tableImpegni.STATOColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'STATO\' in table \'Impegni\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableImpegni.STATOColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime InizioInt {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tableImpegni.InizioIntColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'InizioInt\' in table \'Impegni\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableImpegni.InizioIntColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime FineInt {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tableImpegni.FineIntColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'FineInt\' in table \'Impegni\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableImpegni.FineIntColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string NoteInt {
+ get {
+ try {
+ return ((string)(this[this.tableImpegni.NoteIntColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'NoteInt\' in table \'Impegni\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableImpegni.NoteIntColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public double LatInizio {
+ get {
+ try {
+ return ((double)(this[this.tableImpegni.LatInizioColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'LatInizio\' in table \'Impegni\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableImpegni.LatInizioColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public double LonInizio {
+ get {
+ try {
+ return ((double)(this[this.tableImpegni.LonInizioColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'LonInizio\' in table \'Impegni\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableImpegni.LonInizioColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public double LatFine {
+ get {
+ try {
+ return ((double)(this[this.tableImpegni.LatFineColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'LatFine\' in table \'Impegni\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableImpegni.LatFineColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public double LonFine {
+ get {
+ try {
+ return ((double)(this[this.tableImpegni.LonFineColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'LonFine\' in table \'Impegni\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableImpegni.LonFineColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCodClienteNull() {
+ return this.IsNull(this.tableImpegni.CodClienteColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCodClienteNull() {
+ this[this.tableImpegni.CodClienteColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsRagSocNull() {
+ return this.IsNull(this.tableImpegni.RagSocColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetRagSocNull() {
+ this[this.tableImpegni.RagSocColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCodFisNull() {
+ return this.IsNull(this.tableImpegni.CodFisColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCodFisNull() {
+ this[this.tableImpegni.CodFisColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsFinePrevNull() {
+ return this.IsNull(this.tableImpegni.FinePrevColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetFinePrevNull() {
+ this[this.tableImpegni.FinePrevColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsSTATONull() {
+ return this.IsNull(this.tableImpegni.STATOColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetSTATONull() {
+ this[this.tableImpegni.STATOColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsInizioIntNull() {
+ return this.IsNull(this.tableImpegni.InizioIntColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetInizioIntNull() {
+ this[this.tableImpegni.InizioIntColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsFineIntNull() {
+ return this.IsNull(this.tableImpegni.FineIntColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetFineIntNull() {
+ this[this.tableImpegni.FineIntColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsNoteIntNull() {
+ return this.IsNull(this.tableImpegni.NoteIntColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetNoteIntNull() {
+ this[this.tableImpegni.NoteIntColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsLatInizioNull() {
+ return this.IsNull(this.tableImpegni.LatInizioColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetLatInizioNull() {
+ this[this.tableImpegni.LatInizioColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsLonInizioNull() {
+ return this.IsNull(this.tableImpegni.LonInizioColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetLonInizioNull() {
+ this[this.tableImpegni.LonInizioColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsLatFineNull() {
+ return this.IsNull(this.tableImpegni.LatFineColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetLatFineNull() {
+ this[this.tableImpegni.LatFineColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsLonFineNull() {
+ return this.IsNull(this.tableImpegni.LonFineColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetLonFineNull() {
+ this[this.tableImpegni.LonFineColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class DispImpTotRow : global::System.Data.DataRow {
+
+ private DispImpTotDataTable tableDispImpTot;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal DispImpTotRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableDispImpTot = ((DispImpTotDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime Data {
+ get {
+ return ((global::System.DateTime)(this[this.tableDispImpTot.DataColumn]));
+ }
+ set {
+ this[this.tableDispImpTot.DataColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int NumOp {
+ get {
+ return ((int)(this[this.tableDispImpTot.NumOpColumn]));
+ }
+ set {
+ this[this.tableDispImpTot.NumOpColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public double ScoreDisp {
+ get {
+ try {
+ return ((double)(this[this.tableDispImpTot.ScoreDispColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'ScoreDisp\' in table \'DispImpTot\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDispImpTot.ScoreDispColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public decimal ScoreZona {
+ get {
+ try {
+ return ((decimal)(this[this.tableDispImpTot.ScoreZonaColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'ScoreZona\' in table \'DispImpTot\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDispImpTot.ScoreZonaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsScoreDispNull() {
+ return this.IsNull(this.tableDispImpTot.ScoreDispColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetScoreDispNull() {
+ this[this.tableDispImpTot.ScoreDispColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsScoreZonaNull() {
+ return this.IsNull(this.tableDispImpTot.ScoreZonaColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetScoreZonaNull() {
+ this[this.tableDispImpTot.ScoreZonaColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class DispImpSquadreRow : global::System.Data.DataRow {
+
+ private DispImpSquadreDataTable tableDispImpSquadre;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal DispImpSquadreRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableDispImpSquadre = ((DispImpSquadreDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime Data {
+ get {
+ return ((global::System.DateTime)(this[this.tableDispImpSquadre.DataColumn]));
+ }
+ set {
+ this[this.tableDispImpSquadre.DataColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodSquadra {
+ get {
+ return ((string)(this[this.tableDispImpSquadre.CodSquadraColumn]));
+ }
+ set {
+ this[this.tableDispImpSquadre.CodSquadraColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int OreDisp {
+ get {
+ return ((int)(this[this.tableDispImpSquadre.OreDispColumn]));
+ }
+ set {
+ this[this.tableDispImpSquadre.OreDispColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int OreImp {
+ get {
+ try {
+ return ((int)(this[this.tableDispImpSquadre.OreImpColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'OreImp\' in table \'DispImpSquadre\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDispImpSquadre.OreImpColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsOreImpNull() {
+ return this.IsNull(this.tableDispImpSquadre.OreImpColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetOreImpNull() {
+ this[this.tableDispImpSquadre.OreImpColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class v_ImpegniCalRow : global::System.Data.DataRow {
+
+ private v_ImpegniCalDataTable tablev_ImpegniCal;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal v_ImpegniCalRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tablev_ImpegniCal = ((v_ImpegniCalDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int IdxImpegno {
+ get {
+ return ((int)(this[this.tablev_ImpegniCal.IdxImpegnoColumn]));
+ }
+ set {
+ this[this.tablev_ImpegniCal.IdxImpegnoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string NomeImpegno {
+ get {
+ try {
+ return ((string)(this[this.tablev_ImpegniCal.NomeImpegnoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'NomeImpegno\' in table \'v_ImpegniCal\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablev_ImpegniCal.NomeImpegnoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime Inizio {
+ get {
+ return ((global::System.DateTime)(this[this.tablev_ImpegniCal.InizioColumn]));
+ }
+ set {
+ this[this.tablev_ImpegniCal.InizioColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime Fine {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tablev_ImpegniCal.FineColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Fine\' in table \'v_ImpegniCal\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablev_ImpegniCal.FineColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodSquadra {
+ get {
+ return ((string)(this[this.tablev_ImpegniCal.CodSquadraColumn]));
+ }
+ set {
+ this[this.tablev_ImpegniCal.CodSquadraColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CssColor {
+ get {
+ return ((string)(this[this.tablev_ImpegniCal.CssColorColumn]));
+ }
+ set {
+ this[this.tablev_ImpegniCal.CssColorColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsNomeImpegnoNull() {
+ return this.IsNull(this.tablev_ImpegniCal.NomeImpegnoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetNomeImpegnoNull() {
+ this[this.tablev_ImpegniCal.NomeImpegnoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsFineNull() {
+ return this.IsNull(this.tablev_ImpegniCal.FineColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetFineNull() {
+ this[this.tablev_ImpegniCal.FineColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class DisponibilitaRow : global::System.Data.DataRow {
+
+ private DisponibilitaDataTable tableDisponibilita;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal DisponibilitaRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableDisponibilita = ((DisponibilitaDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime Data {
+ get {
+ return ((global::System.DateTime)(this[this.tableDisponibilita.DataColumn]));
+ }
+ set {
+ this[this.tableDisponibilita.DataColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodSquadra {
+ get {
+ return ((string)(this[this.tableDisponibilita.CodSquadraColumn]));
+ }
+ set {
+ this[this.tableDisponibilita.CodSquadraColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int OreDisp {
+ get {
+ return ((int)(this[this.tableDisponibilita.OreDispColumn]));
+ }
+ set {
+ this[this.tableDisponibilita.OreDispColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int NumOp {
+ get {
+ return ((int)(this[this.tableDisponibilita.NumOpColumn]));
+ }
+ set {
+ this[this.tableDisponibilita.NumOpColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int MinDisp {
+ get {
+ try {
+ return ((int)(this[this.tableDisponibilita.MinDispColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'MinDisp\' in table \'Disponibilita\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDisponibilita.MinDispColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagSquadreRow AnagSquadreRow {
+ get {
+ return ((AnagSquadreRow)(this.GetParentRow(this.Table.ParentRelations["FK_Disponibilita_AnagSquadre"])));
+ }
+ set {
+ this.SetParentRow(value, this.Table.ParentRelations["FK_Disponibilita_AnagSquadre"]);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsMinDispNull() {
+ return this.IsNull(this.tableDisponibilita.MinDispColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetMinDispNull() {
+ this[this.tableDisponibilita.MinDispColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AssegnSquadreRow[] GetAssegnSquadreRows() {
+ if ((this.Table.ChildRelations["FK_AssegnSquadre_Disponibilita"] == null)) {
+ return new AssegnSquadreRow[0];
+ }
+ else {
+ return ((AssegnSquadreRow[])(base.GetChildRows(this.Table.ChildRelations["FK_AssegnSquadre_Disponibilita"])));
+ }
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class DettImpegnoRow : global::System.Data.DataRow {
+
+ private DettImpegnoDataTable tableDettImpegno;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal DettImpegnoRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableDettImpegno = ((DettImpegnoDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int IdxImpegno {
+ get {
+ return ((int)(this[this.tableDettImpegno.IdxImpegnoColumn]));
+ }
+ set {
+ this[this.tableDettImpegno.IdxImpegnoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int NumCons {
+ get {
+ return ((int)(this[this.tableDettImpegno.NumConsColumn]));
+ }
+ set {
+ this[this.tableDettImpegno.NumConsColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodConsegna {
+ get {
+ return ((string)(this[this.tableDettImpegno.CodConsegnaColumn]));
+ }
+ set {
+ this[this.tableDettImpegno.CodConsegnaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string DescrConsegna {
+ get {
+ return ((string)(this[this.tableDettImpegno.DescrConsegnaColumn]));
+ }
+ set {
+ this[this.tableDettImpegno.DescrConsegnaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int MinutiStd {
+ get {
+ return ((int)(this[this.tableDettImpegno.MinutiStdColumn]));
+ }
+ set {
+ this[this.tableDettImpegno.MinutiStdColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int NumOp {
+ get {
+ return ((int)(this[this.tableDettImpegno.NumOpColumn]));
+ }
+ set {
+ this[this.tableDettImpegno.NumOpColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool Elettrod {
+ get {
+ return ((bool)(this[this.tableDettImpegno.ElettrodColumn]));
+ }
+ set {
+ this[this.tableDettImpegno.ElettrodColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool Clima {
+ get {
+ return ((bool)(this[this.tableDettImpegno.ClimaColumn]));
+ }
+ set {
+ this[this.tableDettImpegno.ClimaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool Inform {
+ get {
+ return ((bool)(this[this.tableDettImpegno.InformColumn]));
+ }
+ set {
+ this[this.tableDettImpegno.InformColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int Minuti {
+ get {
+ try {
+ return ((int)(this[this.tableDettImpegno.MinutiColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Minuti\' in table \'DettImpegno\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDettImpegno.MinutiColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Note {
+ get {
+ try {
+ return ((string)(this[this.tableDettImpegno.NoteColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'DettImpegno\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDettImpegno.NoteColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsMinutiNull() {
+ return this.IsNull(this.tableDettImpegno.MinutiColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetMinutiNull() {
+ this[this.tableDettImpegno.MinutiColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsNoteNull() {
+ return this.IsNull(this.tableDettImpegno.NoteColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetNoteNull() {
+ this[this.tableDettImpegno.NoteColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class v_clientiZoneRow : global::System.Data.DataRow {
+
+ private v_clientiZoneDataTable tablev_clientiZone;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal v_clientiZoneRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tablev_clientiZone = ((v_clientiZoneDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodCliente {
+ get {
+ return ((string)(this[this.tablev_clientiZone.CodClienteColumn]));
+ }
+ set {
+ this[this.tablev_clientiZone.CodClienteColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string RagSoc {
+ get {
+ return ((string)(this[this.tablev_clientiZone.RagSocColumn]));
+ }
+ set {
+ this[this.tablev_clientiZone.RagSocColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Indir {
+ get {
+ try {
+ return ((string)(this[this.tablev_clientiZone.IndirColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Indir\' in table \'v_clientiZone\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablev_clientiZone.IndirColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Cap {
+ get {
+ try {
+ return ((string)(this[this.tablev_clientiZone.CapColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Cap\' in table \'v_clientiZone\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablev_clientiZone.CapColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Localita {
+ get {
+ try {
+ return ((string)(this[this.tablev_clientiZone.LocalitaColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Localita\' in table \'v_clientiZone\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablev_clientiZone.LocalitaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Prov {
+ get {
+ try {
+ return ((string)(this[this.tablev_clientiZone.ProvColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Prov\' in table \'v_clientiZone\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablev_clientiZone.ProvColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Zona {
+ get {
+ try {
+ return ((string)(this[this.tablev_clientiZone.ZonaColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Zona\' in table \'v_clientiZone\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tablev_clientiZone.ZonaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsIndirNull() {
+ return this.IsNull(this.tablev_clientiZone.IndirColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetIndirNull() {
+ this[this.tablev_clientiZone.IndirColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCapNull() {
+ return this.IsNull(this.tablev_clientiZone.CapColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCapNull() {
+ this[this.tablev_clientiZone.CapColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsLocalitaNull() {
+ return this.IsNull(this.tablev_clientiZone.LocalitaColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetLocalitaNull() {
+ this[this.tablev_clientiZone.LocalitaColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsProvNull() {
+ return this.IsNull(this.tablev_clientiZone.ProvColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetProvNull() {
+ this[this.tablev_clientiZone.ProvColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsZonaNull() {
+ return this.IsNull(this.tablev_clientiZone.ZonaColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetZonaNull() {
+ this[this.tablev_clientiZone.ZonaColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class DB2_DOCSRow : global::System.Data.DataRow {
+
+ private DB2_DOCSDataTable tableDB2_DOCS;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal DB2_DOCSRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableDB2_DOCS = ((DB2_DOCSDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string TIPOPROTOC {
+ get {
+ try {
+ return ((string)(this[this.tableDB2_DOCS.TIPOPROTOCColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'TIPOPROTOC\' in table \'DB2_DOCS\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDB2_DOCS.TIPOPROTOCColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string NUMERO {
+ get {
+ return ((string)(this[this.tableDB2_DOCS.NUMEROColumn]));
+ }
+ set {
+ this[this.tableDB2_DOCS.NUMEROColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string ESERPROTOC {
+ get {
+ try {
+ return ((string)(this[this.tableDB2_DOCS.ESERPROTOCColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'ESERPROTOC\' in table \'DB2_DOCS\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDB2_DOCS.ESERPROTOCColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string NUMEPROTOC {
+ get {
+ try {
+ return ((string)(this[this.tableDB2_DOCS.NUMEPROTOCColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'NUMEPROTOC\' in table \'DB2_DOCS\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDB2_DOCS.NUMEPROTOCColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string DATAPROTOC {
+ get {
+ try {
+ return ((string)(this[this.tableDB2_DOCS.DATAPROTOCColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'DATAPROTOC\' in table \'DB2_DOCS\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDB2_DOCS.DATAPROTOCColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string ESERRIFERI {
+ get {
+ try {
+ return ((string)(this[this.tableDB2_DOCS.ESERRIFERIColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'ESERRIFERI\' in table \'DB2_DOCS\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDB2_DOCS.ESERRIFERIColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string NUMERIFERI {
+ get {
+ try {
+ return ((string)(this[this.tableDB2_DOCS.NUMERIFERIColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'NUMERIFERI\' in table \'DB2_DOCS\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDB2_DOCS.NUMERIFERIColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string TIPORIFERI {
+ get {
+ try {
+ return ((string)(this[this.tableDB2_DOCS.TIPORIFERIColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'TIPORIFERI\' in table \'DB2_DOCS\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDB2_DOCS.TIPORIFERIColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string DATARIFERI {
+ get {
+ try {
+ return ((string)(this[this.tableDB2_DOCS.DATARIFERIColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'DATARIFERI\' in table \'DB2_DOCS\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDB2_DOCS.DATARIFERIColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string NUMEDOCRIF {
+ get {
+ try {
+ return ((string)(this[this.tableDB2_DOCS.NUMEDOCRIFColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'NUMEDOCRIF\' in table \'DB2_DOCS\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDB2_DOCS.NUMEDOCRIFColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string DATADOCRIF {
+ get {
+ try {
+ return ((string)(this[this.tableDB2_DOCS.DATADOCRIFColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'DATADOCRIF\' in table \'DB2_DOCS\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDB2_DOCS.DATADOCRIFColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string ESERCOLLEG {
+ get {
+ try {
+ return ((string)(this[this.tableDB2_DOCS.ESERCOLLEGColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'ESERCOLLEG\' in table \'DB2_DOCS\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDB2_DOCS.ESERCOLLEGColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CLI_FOR {
+ get {
+ try {
+ return ((string)(this[this.tableDB2_DOCS.CLI_FORColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CLI_FOR\' in table \'DB2_DOCS\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDB2_DOCS.CLI_FORColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string DESTINATAR {
+ get {
+ try {
+ return ((string)(this[this.tableDB2_DOCS.DESTINATARColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'DESTINATAR\' in table \'DB2_DOCS\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDB2_DOCS.DESTINATARColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string RGSOC_DEST {
+ get {
+ try {
+ return ((string)(this[this.tableDB2_DOCS.RGSOC_DESTColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'RGSOC_DEST\' in table \'DB2_DOCS\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDB2_DOCS.RGSOC_DESTColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string INDIR_DEST {
+ get {
+ try {
+ return ((string)(this[this.tableDB2_DOCS.INDIR_DESTColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'INDIR_DEST\' in table \'DB2_DOCS\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDB2_DOCS.INDIR_DESTColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string LOCAL_DEST {
+ get {
+ try {
+ return ((string)(this[this.tableDB2_DOCS.LOCAL_DESTColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'LOCAL_DEST\' in table \'DB2_DOCS\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDB2_DOCS.LOCAL_DESTColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CAP_DEST {
+ get {
+ try {
+ return ((string)(this[this.tableDB2_DOCS.CAP_DESTColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CAP_DEST\' in table \'DB2_DOCS\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDB2_DOCS.CAP_DESTColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string ULT_AGG {
+ get {
+ try {
+ return ((string)(this[this.tableDB2_DOCS.ULT_AGGColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'ULT_AGG\' in table \'DB2_DOCS\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDB2_DOCS.ULT_AGGColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string ANNOTAZION {
+ get {
+ return ((string)(this[this.tableDB2_DOCS.ANNOTAZIONColumn]));
+ }
+ set {
+ this[this.tableDB2_DOCS.ANNOTAZIONColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsTIPOPROTOCNull() {
+ return this.IsNull(this.tableDB2_DOCS.TIPOPROTOCColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetTIPOPROTOCNull() {
+ this[this.tableDB2_DOCS.TIPOPROTOCColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsESERPROTOCNull() {
+ return this.IsNull(this.tableDB2_DOCS.ESERPROTOCColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetESERPROTOCNull() {
+ this[this.tableDB2_DOCS.ESERPROTOCColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsNUMEPROTOCNull() {
+ return this.IsNull(this.tableDB2_DOCS.NUMEPROTOCColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetNUMEPROTOCNull() {
+ this[this.tableDB2_DOCS.NUMEPROTOCColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsDATAPROTOCNull() {
+ return this.IsNull(this.tableDB2_DOCS.DATAPROTOCColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetDATAPROTOCNull() {
+ this[this.tableDB2_DOCS.DATAPROTOCColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsESERRIFERINull() {
+ return this.IsNull(this.tableDB2_DOCS.ESERRIFERIColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetESERRIFERINull() {
+ this[this.tableDB2_DOCS.ESERRIFERIColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsNUMERIFERINull() {
+ return this.IsNull(this.tableDB2_DOCS.NUMERIFERIColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetNUMERIFERINull() {
+ this[this.tableDB2_DOCS.NUMERIFERIColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsTIPORIFERINull() {
+ return this.IsNull(this.tableDB2_DOCS.TIPORIFERIColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetTIPORIFERINull() {
+ this[this.tableDB2_DOCS.TIPORIFERIColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsDATARIFERINull() {
+ return this.IsNull(this.tableDB2_DOCS.DATARIFERIColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetDATARIFERINull() {
+ this[this.tableDB2_DOCS.DATARIFERIColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsNUMEDOCRIFNull() {
+ return this.IsNull(this.tableDB2_DOCS.NUMEDOCRIFColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetNUMEDOCRIFNull() {
+ this[this.tableDB2_DOCS.NUMEDOCRIFColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsDATADOCRIFNull() {
+ return this.IsNull(this.tableDB2_DOCS.DATADOCRIFColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetDATADOCRIFNull() {
+ this[this.tableDB2_DOCS.DATADOCRIFColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsESERCOLLEGNull() {
+ return this.IsNull(this.tableDB2_DOCS.ESERCOLLEGColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetESERCOLLEGNull() {
+ this[this.tableDB2_DOCS.ESERCOLLEGColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCLI_FORNull() {
+ return this.IsNull(this.tableDB2_DOCS.CLI_FORColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCLI_FORNull() {
+ this[this.tableDB2_DOCS.CLI_FORColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsDESTINATARNull() {
+ return this.IsNull(this.tableDB2_DOCS.DESTINATARColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetDESTINATARNull() {
+ this[this.tableDB2_DOCS.DESTINATARColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsRGSOC_DESTNull() {
+ return this.IsNull(this.tableDB2_DOCS.RGSOC_DESTColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetRGSOC_DESTNull() {
+ this[this.tableDB2_DOCS.RGSOC_DESTColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsINDIR_DESTNull() {
+ return this.IsNull(this.tableDB2_DOCS.INDIR_DESTColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetINDIR_DESTNull() {
+ this[this.tableDB2_DOCS.INDIR_DESTColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsLOCAL_DESTNull() {
+ return this.IsNull(this.tableDB2_DOCS.LOCAL_DESTColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetLOCAL_DESTNull() {
+ this[this.tableDB2_DOCS.LOCAL_DESTColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCAP_DESTNull() {
+ return this.IsNull(this.tableDB2_DOCS.CAP_DESTColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCAP_DESTNull() {
+ this[this.tableDB2_DOCS.CAP_DESTColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsULT_AGGNull() {
+ return this.IsNull(this.tableDB2_DOCS.ULT_AGGColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetULT_AGGNull() {
+ this[this.tableDB2_DOCS.ULT_AGGColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class AssegnSquadreRow : global::System.Data.DataRow {
+
+ private AssegnSquadreDataTable tableAssegnSquadre;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal AssegnSquadreRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableAssegnSquadre = ((AssegnSquadreDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime DataFrom {
+ get {
+ return ((global::System.DateTime)(this[this.tableAssegnSquadre.DataFromColumn]));
+ }
+ set {
+ this[this.tableAssegnSquadre.DataFromColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodSquadra {
+ get {
+ return ((string)(this[this.tableAssegnSquadre.CodSquadraColumn]));
+ }
+ set {
+ this[this.tableAssegnSquadre.CodSquadraColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Matr {
+ get {
+ return ((string)(this[this.tableAssegnSquadre.MatrColumn]));
+ }
+ set {
+ this[this.tableAssegnSquadre.MatrColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime DataTo {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tableAssegnSquadre.DataToColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'DataTo\' in table \'AssegnSquadre\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableAssegnSquadre.DataToColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CognomeNome {
+ get {
+ try {
+ return ((string)(this[this.tableAssegnSquadre.CognomeNomeColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CognomeNome\' in table \'AssegnSquadre\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableAssegnSquadre.CognomeNomeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DisponibilitaRow DisponibilitaRowParent {
+ get {
+ return ((DisponibilitaRow)(this.GetParentRow(this.Table.ParentRelations["FK_AssegnSquadre_Disponibilita"])));
+ }
+ set {
+ this.SetParentRow(value, this.Table.ParentRelations["FK_AssegnSquadre_Disponibilita"]);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DipendentiRow DipendentiRow {
+ get {
+ return ((DipendentiRow)(this.GetParentRow(this.Table.ParentRelations["FK_AssegnSquadre_Dipendenti"])));
+ }
+ set {
+ this.SetParentRow(value, this.Table.ParentRelations["FK_AssegnSquadre_Dipendenti"]);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsDataToNull() {
+ return this.IsNull(this.tableAssegnSquadre.DataToColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetDataToNull() {
+ this[this.tableAssegnSquadre.DataToColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCognomeNomeNull() {
+ return this.IsNull(this.tableAssegnSquadre.CognomeNomeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCognomeNomeNull() {
+ this[this.tableAssegnSquadre.CognomeNomeColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class DipendentiRow : global::System.Data.DataRow {
+
+ private DipendentiDataTable tableDipendenti;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal DipendentiRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableDipendenti = ((DipendentiDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Matr {
+ get {
+ return ((string)(this[this.tableDipendenti.MatrColumn]));
+ }
+ set {
+ this[this.tableDipendenti.MatrColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Cognome {
+ get {
+ return ((string)(this[this.tableDipendenti.CognomeColumn]));
+ }
+ set {
+ this[this.tableDipendenti.CognomeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Nome {
+ get {
+ return ((string)(this[this.tableDipendenti.NomeColumn]));
+ }
+ set {
+ this[this.tableDipendenti.NomeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CognomeNome {
+ get {
+ try {
+ return ((string)(this[this.tableDipendenti.CognomeNomeColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CognomeNome\' in table \'Dipendenti\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableDipendenti.CognomeNomeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCognomeNomeNull() {
+ return this.IsNull(this.tableDipendenti.CognomeNomeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCognomeNomeNull() {
+ this[this.tableDipendenti.CognomeNomeColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AssegnSquadreRow[] GetAssegnSquadreRows() {
+ if ((this.Table.ChildRelations["FK_AssegnSquadre_Dipendenti"] == null)) {
+ return new AssegnSquadreRow[0];
+ }
+ else {
+ return ((AssegnSquadreRow[])(base.GetChildRows(this.Table.ChildRelations["FK_AssegnSquadre_Dipendenti"])));
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class AnagSquadreRowChangeEvent : global::System.EventArgs {
+
+ private AnagSquadreRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagSquadreRowChangeEvent(AnagSquadreRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagSquadreRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class AnagZoneRowChangeEvent : global::System.EventArgs {
+
+ private AnagZoneRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagZoneRowChangeEvent(AnagZoneRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagZoneRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class AnagTipoConsegneRowChangeEvent : global::System.EventArgs {
+
+ private AnagTipoConsegneRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagTipoConsegneRowChangeEvent(AnagTipoConsegneRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagTipoConsegneRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class AnagClientiRowChangeEvent : global::System.EventArgs {
+
+ private AnagClientiRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagClientiRowChangeEvent(AnagClientiRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagClientiRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class ImpegniRowChangeEvent : global::System.EventArgs {
+
+ private ImpegniRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ImpegniRowChangeEvent(ImpegniRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ImpegniRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class DispImpTotRowChangeEvent : global::System.EventArgs {
+
+ private DispImpTotRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DispImpTotRowChangeEvent(DispImpTotRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DispImpTotRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class DispImpSquadreRowChangeEvent : global::System.EventArgs {
+
+ private DispImpSquadreRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DispImpSquadreRowChangeEvent(DispImpSquadreRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DispImpSquadreRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class v_ImpegniCalRowChangeEvent : global::System.EventArgs {
+
+ private v_ImpegniCalRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_ImpegniCalRowChangeEvent(v_ImpegniCalRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_ImpegniCalRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class DisponibilitaRowChangeEvent : global::System.EventArgs {
+
+ private DisponibilitaRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DisponibilitaRowChangeEvent(DisponibilitaRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DisponibilitaRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class DettImpegnoRowChangeEvent : global::System.EventArgs {
+
+ private DettImpegnoRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DettImpegnoRowChangeEvent(DettImpegnoRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DettImpegnoRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class v_clientiZoneRowChangeEvent : global::System.EventArgs {
+
+ private v_clientiZoneRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_clientiZoneRowChangeEvent(v_clientiZoneRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_clientiZoneRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class DB2_DOCSRowChangeEvent : global::System.EventArgs {
+
+ private DB2_DOCSRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DB2_DOCSRowChangeEvent(DB2_DOCSRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DB2_DOCSRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class AssegnSquadreRowChangeEvent : global::System.EventArgs {
+
+ private AssegnSquadreRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AssegnSquadreRowChangeEvent(AssegnSquadreRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AssegnSquadreRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class DipendentiRowChangeEvent : global::System.EventArgs {
+
+ private DipendentiRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DipendentiRowChangeEvent(DipendentiRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DipendentiRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+ }
+}
+namespace WebSCR_data.DS_ApplicazioneTableAdapters {
+
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class AnagSquadreTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagSquadreTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "AnagSquadre";
+ tableMapping.ColumnMappings.Add("CodSquadra", "CodSquadra");
+ tableMapping.ColumnMappings.Add("DescrSquadra", "DescrSquadra");
+ tableMapping.ColumnMappings.Add("NumOp", "NumOp");
+ tableMapping.ColumnMappings.Add("Elettrod", "Elettrod");
+ tableMapping.ColumnMappings.Add("Clima", "Clima");
+ tableMapping.ColumnMappings.Add("Inform", "Inform");
+ tableMapping.ColumnMappings.Add("Attiva", "Attiva");
+ tableMapping.ColumnMappings.Add("CssColor", "CssColor");
+ this._adapter.TableMappings.Add(tableMapping);
+ this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.DeleteCommand.Connection = this.Connection;
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagSquadre] WHERE (([CodSquadra] = @Original_CodSquadra) AND ([DescrSquadra] = @Original_DescrSquadra) AND ([NumOp] = @Original_NumOp) AND ([Elettrod] = @Original_Elettrod) AND ([Clima] = @Original_Clima) AND ([Inform] = @Original_Inform) AND ([Attiva] = @Original_Attiva) AND ([CssColor] = @Original_CssColor))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSquadra", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSquadra", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrSquadra", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrSquadra", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumOp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Elettrod", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Elettrod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Clima", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Clima", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Inform", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Inform", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Attiva", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attiva", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CssColor", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CssColor", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.InsertCommand.Connection = this.Connection;
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[AnagSquadre] ([CodSquadra], [DescrSquadra], [NumOp], [Elettrod], [Clima], [Inform], [Attiva], [CssColor]) VALUES (@CodSquadra, @DescrSquadra, @NumOp, @Elettrod, @Clima, @Inform, @Attiva, @CssColor);
+SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform, Attiva, CssColor FROM AnagSquadre WHERE (CodSquadra = @CodSquadra)";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSquadra", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrSquadra", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrSquadra", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumOp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Elettrod", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Elettrod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Clima", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Clima", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inform", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Inform", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attiva", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attiva", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CssColor", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CssColor", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.UpdateCommand.Connection = this.Connection;
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagSquadre] SET [CodSquadra] = @CodSquadra, [DescrSquadra] = @DescrSquadra, [NumOp] = @NumOp, [Elettrod] = @Elettrod, [Clima] = @Clima, [Inform] = @Inform, [Attiva] = @Attiva, [CssColor] = @CssColor WHERE (([CodSquadra] = @Original_CodSquadra) AND ([DescrSquadra] = @Original_DescrSquadra) AND ([NumOp] = @Original_NumOp) AND ([Elettrod] = @Original_Elettrod) AND ([Clima] = @Original_Clima) AND ([Inform] = @Original_Inform) AND ([Attiva] = @Original_Attiva) AND ([CssColor] = @Original_CssColor));
+SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform, Attiva, CssColor FROM AnagSquadre WHERE (CodSquadra = @CodSquadra)";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSquadra", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrSquadra", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrSquadra", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumOp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Elettrod", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Elettrod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Clima", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Clima", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inform", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Inform", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attiva", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attiva", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CssColor", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CssColor", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSquadra", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSquadra", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrSquadra", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrSquadra", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumOp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Elettrod", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Elettrod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Clima", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Clima", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Inform", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Inform", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Attiva", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attiva", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CssColor", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CssColor", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT *\r\nFROM dbo.AnagSquadre";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_AS_DeleteQuery";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[2].Connection = this.Connection;
+ this._commandCollection[2].CommandText = "dbo.stp_AS_getAttive";
+ this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[3].Connection = this.Connection;
+ this._commandCollection[3].CommandText = "dbo.stp_AS_getByKey";
+ this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[4].Connection = this.Connection;
+ this._commandCollection[4].CommandText = "dbo.stp_AS_InsertQuery";
+ this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Elettrod", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Clima", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inform", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[5].Connection = this.Connection;
+ this._commandCollection[5].CommandText = "dbo.stp_AS_UpdateQuery";
+ this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Elettrod", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Clima", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inform", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attiva", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_Applicazione.AnagSquadreDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_Applicazione.AnagSquadreDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Applicazione.AnagSquadreDataTable dataTable = new DS_Applicazione.AnagSquadreDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.AnagSquadreDataTable getAttive() {
+ this.Adapter.SelectCommand = this.CommandCollection[2];
+ DS_Applicazione.AnagSquadreDataTable dataTable = new DS_Applicazione.AnagSquadreDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.AnagSquadreDataTable getByKey(string CodSquadra) {
+ this.Adapter.SelectCommand = this.CommandCollection[3];
+ if ((CodSquadra == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodSquadra));
+ }
+ DS_Applicazione.AnagSquadreDataTable dataTable = new DS_Applicazione.AnagSquadreDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Applicazione.AnagSquadreDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Applicazione dataSet) {
+ return this.Adapter.Update(dataSet, "AnagSquadre");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow dataRow) {
+ return this.Adapter.Update(new global::System.Data.DataRow[] {
+ dataRow});
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow[] dataRows) {
+ return this.Adapter.Update(dataRows);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(string Original_CodSquadra, string Original_DescrSquadra, int Original_NumOp, bool Original_Elettrod, bool Original_Clima, bool Original_Inform, bool Original_Attiva, string Original_CssColor) {
+ if ((Original_CodSquadra == null)) {
+ throw new global::System.ArgumentNullException("Original_CodSquadra");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodSquadra));
+ }
+ if ((Original_DescrSquadra == null)) {
+ throw new global::System.ArgumentNullException("Original_DescrSquadra");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_DescrSquadra));
+ }
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_NumOp));
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((bool)(Original_Elettrod));
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((bool)(Original_Clima));
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((bool)(Original_Inform));
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((bool)(Original_Attiva));
+ if ((Original_CssColor == null)) {
+ throw new global::System.ArgumentNullException("Original_CssColor");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_CssColor));
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.DeleteCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.DeleteCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(string CodSquadra, string DescrSquadra, int NumOp, bool Elettrod, bool Clima, bool Inform, bool Attiva, string CssColor) {
+ if ((CodSquadra == null)) {
+ throw new global::System.ArgumentNullException("CodSquadra");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodSquadra));
+ }
+ if ((DescrSquadra == null)) {
+ throw new global::System.ArgumentNullException("DescrSquadra");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrSquadra));
+ }
+ this.Adapter.InsertCommand.Parameters[2].Value = ((int)(NumOp));
+ this.Adapter.InsertCommand.Parameters[3].Value = ((bool)(Elettrod));
+ this.Adapter.InsertCommand.Parameters[4].Value = ((bool)(Clima));
+ this.Adapter.InsertCommand.Parameters[5].Value = ((bool)(Inform));
+ this.Adapter.InsertCommand.Parameters[6].Value = ((bool)(Attiva));
+ if ((CssColor == null)) {
+ throw new global::System.ArgumentNullException("CssColor");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[7].Value = ((string)(CssColor));
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.InsertCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.InsertCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(
+ string CodSquadra,
+ string DescrSquadra,
+ int NumOp,
+ bool Elettrod,
+ bool Clima,
+ bool Inform,
+ bool Attiva,
+ string CssColor,
+ string Original_CodSquadra,
+ string Original_DescrSquadra,
+ int Original_NumOp,
+ bool Original_Elettrod,
+ bool Original_Clima,
+ bool Original_Inform,
+ bool Original_Attiva,
+ string Original_CssColor) {
+ if ((CodSquadra == null)) {
+ throw new global::System.ArgumentNullException("CodSquadra");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodSquadra));
+ }
+ if ((DescrSquadra == null)) {
+ throw new global::System.ArgumentNullException("DescrSquadra");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrSquadra));
+ }
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(NumOp));
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((bool)(Elettrod));
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((bool)(Clima));
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((bool)(Inform));
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((bool)(Attiva));
+ if ((CssColor == null)) {
+ throw new global::System.ArgumentNullException("CssColor");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(CssColor));
+ }
+ if ((Original_CodSquadra == null)) {
+ throw new global::System.ArgumentNullException("Original_CodSquadra");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_CodSquadra));
+ }
+ if ((Original_DescrSquadra == null)) {
+ throw new global::System.ArgumentNullException("Original_DescrSquadra");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_DescrSquadra));
+ }
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Original_NumOp));
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((bool)(Original_Elettrod));
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((bool)(Original_Clima));
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((bool)(Original_Inform));
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((bool)(Original_Attiva));
+ if ((Original_CssColor == null)) {
+ throw new global::System.ArgumentNullException("Original_CssColor");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_CssColor));
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.UpdateCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.UpdateCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(string DescrSquadra, int NumOp, bool Elettrod, bool Clima, bool Inform, bool Attiva, string CssColor, string Original_CodSquadra, string Original_DescrSquadra, int Original_NumOp, bool Original_Elettrod, bool Original_Clima, bool Original_Inform, bool Original_Attiva, string Original_CssColor) {
+ return this.Update(Original_CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform, Attiva, CssColor, Original_CodSquadra, Original_DescrSquadra, Original_NumOp, Original_Elettrod, Original_Clima, Original_Inform, Original_Attiva, Original_CssColor);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)]
+ public virtual int DeleteQuery(string Original_CodSquadra) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
+ if ((Original_CodSquadra == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(Original_CodSquadra));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, false)]
+ public virtual int InsertQuery(string CodSquadra, string DescrSquadra, global::System.Nullable NumOp, global::System.Nullable Elettrod, global::System.Nullable Clima, global::System.Nullable Inform) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
+ if ((CodSquadra == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(CodSquadra));
+ }
+ if ((DescrSquadra == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(DescrSquadra));
+ }
+ if ((NumOp.HasValue == true)) {
+ command.Parameters[3].Value = ((int)(NumOp.Value));
+ }
+ else {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ if ((Elettrod.HasValue == true)) {
+ command.Parameters[4].Value = ((bool)(Elettrod.Value));
+ }
+ else {
+ command.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ if ((Clima.HasValue == true)) {
+ command.Parameters[5].Value = ((bool)(Clima.Value));
+ }
+ else {
+ command.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ if ((Inform.HasValue == true)) {
+ command.Parameters[6].Value = ((bool)(Inform.Value));
+ }
+ else {
+ command.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)]
+ public virtual int UpdateQuery(string CodSquadra, string DescrSquadra, global::System.Nullable NumOp, global::System.Nullable Elettrod, global::System.Nullable Clima, global::System.Nullable Inform, global::System.Nullable Attiva, string Original_CodSquadra) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
+ if ((CodSquadra == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(CodSquadra));
+ }
+ if ((DescrSquadra == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(DescrSquadra));
+ }
+ if ((NumOp.HasValue == true)) {
+ command.Parameters[3].Value = ((int)(NumOp.Value));
+ }
+ else {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ if ((Elettrod.HasValue == true)) {
+ command.Parameters[4].Value = ((bool)(Elettrod.Value));
+ }
+ else {
+ command.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ if ((Clima.HasValue == true)) {
+ command.Parameters[5].Value = ((bool)(Clima.Value));
+ }
+ else {
+ command.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ if ((Inform.HasValue == true)) {
+ command.Parameters[6].Value = ((bool)(Inform.Value));
+ }
+ else {
+ command.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ if ((Attiva.HasValue == true)) {
+ command.Parameters[7].Value = ((bool)(Attiva.Value));
+ }
+ else {
+ command.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ if ((Original_CodSquadra == null)) {
+ command.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[8].Value = ((string)(Original_CodSquadra));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+ }
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class AnagZoneTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagZoneTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "AnagZone";
+ tableMapping.ColumnMappings.Add("idxZona", "idxZona");
+ tableMapping.ColumnMappings.Add("Cap", "Cap");
+ tableMapping.ColumnMappings.Add("Localita", "Localita");
+ tableMapping.ColumnMappings.Add("Prov", "Prov");
+ tableMapping.ColumnMappings.Add("Tempo", "Tempo");
+ tableMapping.ColumnMappings.Add("Zona", "Zona");
+ this._adapter.TableMappings.Add(tableMapping);
+ this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.DeleteCommand.Connection = this.Connection;
+ this._adapter.DeleteCommand.CommandText = "DELETE FROM [AnagZone] WHERE (([idxZona] = @Original_idxZona) AND ([Cap] = @Origi" +
+ "nal_Cap) AND ([Localita] = @Original_Localita) AND ([Prov] = @Original_Prov) AND" +
+ " ([Tempo] = @Original_Tempo) AND ([Zona] = @Original_Zona))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxZona", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxZona", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Prov", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tempo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tempo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Zona", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zona", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.InsertCommand.Connection = this.Connection;
+ this._adapter.InsertCommand.CommandText = "INSERT INTO [AnagZone] ([Cap], [Localita], [Prov], [Tempo], [Zona]) VALUES (@Cap," +
+ " @Localita, @Prov, @Tempo, @Zona);\r\nSELECT idxZona, Cap, Localita, Prov, Tempo, " +
+ "Zona FROM AnagZone WHERE (idxZona = SCOPE_IDENTITY()) ORDER BY Zona";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prov", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tempo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tempo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zona", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zona", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.UpdateCommand.Connection = this.Connection;
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [AnagZone] SET [Cap] = @Cap, [Localita] = @Localita, [Prov] = @Prov, [Tempo] = @Tempo, [Zona] = @Zona WHERE (([idxZona] = @Original_idxZona) AND ([Cap] = @Original_Cap) AND ([Localita] = @Original_Localita) AND ([Prov] = @Original_Prov) AND ([Tempo] = @Original_Tempo) AND ([Zona] = @Original_Zona));
+SELECT idxZona, Cap, Localita, Prov, Tempo, Zona FROM AnagZone WHERE (idxZona = @idxZona) ORDER BY Zona";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prov", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tempo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tempo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zona", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zona", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxZona", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxZona", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Prov", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tempo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tempo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Zona", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Zona", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxZona", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxZona", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT * FROM AnagZone ORDER BY Zona";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_AZ_DeleteQuery";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxZona", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[2].Connection = this.Connection;
+ this._commandCollection[2].CommandText = "dbo.stp_AZ_InsertQuery";
+ this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cap", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Localita", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prov", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tempo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zona", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[3].Connection = this.Connection;
+ this._commandCollection[3].CommandText = "dbo.stp_AZ_UpdateQuery";
+ this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cap", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Localita", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prov", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tempo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zona", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxZona", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_Applicazione.AnagZoneDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_Applicazione.AnagZoneDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Applicazione.AnagZoneDataTable dataTable = new DS_Applicazione.AnagZoneDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Applicazione.AnagZoneDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Applicazione dataSet) {
+ return this.Adapter.Update(dataSet, "AnagZone");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow dataRow) {
+ return this.Adapter.Update(new global::System.Data.DataRow[] {
+ dataRow});
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow[] dataRows) {
+ return this.Adapter.Update(dataRows);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(int Original_idxZona, string Original_Cap, string Original_Localita, string Original_Prov, int Original_Tempo, string Original_Zona) {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxZona));
+ if ((Original_Cap == null)) {
+ throw new global::System.ArgumentNullException("Original_Cap");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_Cap));
+ }
+ if ((Original_Localita == null)) {
+ throw new global::System.ArgumentNullException("Original_Localita");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Localita));
+ }
+ if ((Original_Prov == null)) {
+ throw new global::System.ArgumentNullException("Original_Prov");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_Prov));
+ }
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((int)(Original_Tempo));
+ if ((Original_Zona == null)) {
+ throw new global::System.ArgumentNullException("Original_Zona");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_Zona));
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.DeleteCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.DeleteCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(string Cap, string Localita, string Prov, int Tempo, string Zona) {
+ if ((Cap == null)) {
+ throw new global::System.ArgumentNullException("Cap");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Cap));
+ }
+ if ((Localita == null)) {
+ throw new global::System.ArgumentNullException("Localita");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Localita));
+ }
+ if ((Prov == null)) {
+ throw new global::System.ArgumentNullException("Prov");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Prov));
+ }
+ this.Adapter.InsertCommand.Parameters[3].Value = ((int)(Tempo));
+ if ((Zona == null)) {
+ throw new global::System.ArgumentNullException("Zona");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Zona));
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.InsertCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.InsertCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(string Cap, string Localita, string Prov, int Tempo, string Zona, int Original_idxZona, string Original_Cap, string Original_Localita, string Original_Prov, int Original_Tempo, string Original_Zona, int idxZona) {
+ if ((Cap == null)) {
+ throw new global::System.ArgumentNullException("Cap");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Cap));
+ }
+ if ((Localita == null)) {
+ throw new global::System.ArgumentNullException("Localita");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Localita));
+ }
+ if ((Prov == null)) {
+ throw new global::System.ArgumentNullException("Prov");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Prov));
+ }
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Tempo));
+ if ((Zona == null)) {
+ throw new global::System.ArgumentNullException("Zona");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Zona));
+ }
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(Original_idxZona));
+ if ((Original_Cap == null)) {
+ throw new global::System.ArgumentNullException("Original_Cap");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_Cap));
+ }
+ if ((Original_Localita == null)) {
+ throw new global::System.ArgumentNullException("Original_Localita");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_Localita));
+ }
+ if ((Original_Prov == null)) {
+ throw new global::System.ArgumentNullException("Original_Prov");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_Prov));
+ }
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_Tempo));
+ if ((Original_Zona == null)) {
+ throw new global::System.ArgumentNullException("Original_Zona");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_Zona));
+ }
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(idxZona));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.UpdateCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.UpdateCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(string Cap, string Localita, string Prov, int Tempo, string Zona, int Original_idxZona, string Original_Cap, string Original_Localita, string Original_Prov, int Original_Tempo, string Original_Zona) {
+ return this.Update(Cap, Localita, Prov, Tempo, Zona, Original_idxZona, Original_Cap, Original_Localita, Original_Prov, Original_Tempo, Original_Zona, Original_idxZona);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)]
+ public virtual int DeleteQuery(global::System.Nullable Original_idxZona) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
+ if ((Original_idxZona.HasValue == true)) {
+ command.Parameters[1].Value = ((int)(Original_idxZona.Value));
+ }
+ else {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, false)]
+ public virtual int InsertQuery(string Cap, string Localita, string Prov, global::System.Nullable Tempo, string Zona) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
+ if ((Cap == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(Cap));
+ }
+ if ((Localita == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(Localita));
+ }
+ if ((Prov == null)) {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[3].Value = ((string)(Prov));
+ }
+ if ((Tempo.HasValue == true)) {
+ command.Parameters[4].Value = ((int)(Tempo.Value));
+ }
+ else {
+ command.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ if ((Zona == null)) {
+ command.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[5].Value = ((string)(Zona));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)]
+ public virtual int UpdateQuery(string Cap, string Localita, string Prov, global::System.Nullable Tempo, string Zona, global::System.Nullable Original_idxZona) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
+ if ((Cap == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(Cap));
+ }
+ if ((Localita == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(Localita));
+ }
+ if ((Prov == null)) {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[3].Value = ((string)(Prov));
+ }
+ if ((Tempo.HasValue == true)) {
+ command.Parameters[4].Value = ((int)(Tempo.Value));
+ }
+ else {
+ command.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ if ((Zona == null)) {
+ command.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[5].Value = ((string)(Zona));
+ }
+ if ((Original_idxZona.HasValue == true)) {
+ command.Parameters[6].Value = ((int)(Original_idxZona.Value));
+ }
+ else {
+ command.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+ }
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class AnagTipoConsegneTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagTipoConsegneTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "AnagTipoConsegne";
+ tableMapping.ColumnMappings.Add("CodConsegna", "CodConsegna");
+ tableMapping.ColumnMappings.Add("DescrConsegna", "DescrConsegna");
+ tableMapping.ColumnMappings.Add("MinutiStd", "MinutiStd");
+ tableMapping.ColumnMappings.Add("NumOp", "NumOp");
+ tableMapping.ColumnMappings.Add("Elettrod", "Elettrod");
+ tableMapping.ColumnMappings.Add("Clima", "Clima");
+ tableMapping.ColumnMappings.Add("Inform", "Inform");
+ this._adapter.TableMappings.Add(tableMapping);
+ this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.DeleteCommand.Connection = this.Connection;
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagTipoConsegne] WHERE (([CodConsegna] = @Original_CodConsegna) AND ([DescrConsegna] = @Original_DescrConsegna) AND ([MinutiStd] = @Original_MinutiStd) AND ([NumOp] = @Original_NumOp) AND ([Elettrod] = @Original_Elettrod) AND ([Clima] = @Original_Clima) AND ([Inform] = @Original_Inform))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodConsegna", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodConsegna", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrConsegna", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrConsegna", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MinutiStd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MinutiStd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumOp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Elettrod", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Elettrod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Clima", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Clima", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Inform", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Inform", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.InsertCommand.Connection = this.Connection;
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[AnagTipoConsegne] ([CodConsegna], [DescrConsegna], [MinutiStd], [NumOp], [Elettrod], [Clima], [Inform]) VALUES (@CodConsegna, @DescrConsegna, @MinutiStd, @NumOp, @Elettrod, @Clima, @Inform);
+SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FROM AnagTipoConsegne WHERE (CodConsegna = @CodConsegna)";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodConsegna", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodConsegna", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrConsegna", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrConsegna", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MinutiStd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MinutiStd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumOp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Elettrod", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Elettrod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Clima", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Clima", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inform", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Inform", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.UpdateCommand.Connection = this.Connection;
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagTipoConsegne] SET [CodConsegna] = @CodConsegna, [DescrConsegna] = @DescrConsegna, [MinutiStd] = @MinutiStd, [NumOp] = @NumOp, [Elettrod] = @Elettrod, [Clima] = @Clima, [Inform] = @Inform WHERE (([CodConsegna] = @Original_CodConsegna) AND ([DescrConsegna] = @Original_DescrConsegna) AND ([MinutiStd] = @Original_MinutiStd) AND ([NumOp] = @Original_NumOp) AND ([Elettrod] = @Original_Elettrod) AND ([Clima] = @Original_Clima) AND ([Inform] = @Original_Inform));
+SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FROM AnagTipoConsegne WHERE (CodConsegna = @CodConsegna)";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodConsegna", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodConsegna", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrConsegna", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrConsegna", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MinutiStd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MinutiStd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumOp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Elettrod", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Elettrod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Clima", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Clima", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inform", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Inform", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodConsegna", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodConsegna", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrConsegna", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrConsegna", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MinutiStd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MinutiStd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumOp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Elettrod", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Elettrod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Clima", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Clima", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Inform", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Inform", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FROM" +
+ " dbo.AnagTipoConsegne";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_ATC_DeleteQuery";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodConsegna", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[2].Connection = this.Connection;
+ this._commandCollection[2].CommandText = "dbo.stp_ATC_InsertQuery";
+ this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodConsegna", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrConsegna", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MinutiStd", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Elettrod", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Clima", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inform", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[3].Connection = this.Connection;
+ this._commandCollection[3].CommandText = "dbo.stp_ATC_UpdateQuery";
+ this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodConsegna", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrConsegna", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MinutiStd", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Elettrod", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Clima", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Inform", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodConsegna", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_Applicazione.AnagTipoConsegneDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_Applicazione.AnagTipoConsegneDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Applicazione.AnagTipoConsegneDataTable dataTable = new DS_Applicazione.AnagTipoConsegneDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Applicazione.AnagTipoConsegneDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Applicazione dataSet) {
+ return this.Adapter.Update(dataSet, "AnagTipoConsegne");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow dataRow) {
+ return this.Adapter.Update(new global::System.Data.DataRow[] {
+ dataRow});
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow[] dataRows) {
+ return this.Adapter.Update(dataRows);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(string Original_CodConsegna, string Original_DescrConsegna, int Original_MinutiStd, int Original_NumOp, bool Original_Elettrod, bool Original_Clima, bool Original_Inform) {
+ if ((Original_CodConsegna == null)) {
+ throw new global::System.ArgumentNullException("Original_CodConsegna");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodConsegna));
+ }
+ if ((Original_DescrConsegna == null)) {
+ throw new global::System.ArgumentNullException("Original_DescrConsegna");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_DescrConsegna));
+ }
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_MinutiStd));
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_NumOp));
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((bool)(Original_Elettrod));
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((bool)(Original_Clima));
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((bool)(Original_Inform));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.DeleteCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.DeleteCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(string CodConsegna, string DescrConsegna, int MinutiStd, int NumOp, bool Elettrod, bool Clima, bool Inform) {
+ if ((CodConsegna == null)) {
+ throw new global::System.ArgumentNullException("CodConsegna");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodConsegna));
+ }
+ if ((DescrConsegna == null)) {
+ throw new global::System.ArgumentNullException("DescrConsegna");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DescrConsegna));
+ }
+ this.Adapter.InsertCommand.Parameters[2].Value = ((int)(MinutiStd));
+ this.Adapter.InsertCommand.Parameters[3].Value = ((int)(NumOp));
+ this.Adapter.InsertCommand.Parameters[4].Value = ((bool)(Elettrod));
+ this.Adapter.InsertCommand.Parameters[5].Value = ((bool)(Clima));
+ this.Adapter.InsertCommand.Parameters[6].Value = ((bool)(Inform));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.InsertCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.InsertCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(string CodConsegna, string DescrConsegna, int MinutiStd, int NumOp, bool Elettrod, bool Clima, bool Inform, string Original_CodConsegna, string Original_DescrConsegna, int Original_MinutiStd, int Original_NumOp, bool Original_Elettrod, bool Original_Clima, bool Original_Inform) {
+ if ((CodConsegna == null)) {
+ throw new global::System.ArgumentNullException("CodConsegna");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodConsegna));
+ }
+ if ((DescrConsegna == null)) {
+ throw new global::System.ArgumentNullException("DescrConsegna");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DescrConsegna));
+ }
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(MinutiStd));
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(NumOp));
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((bool)(Elettrod));
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((bool)(Clima));
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((bool)(Inform));
+ if ((Original_CodConsegna == null)) {
+ throw new global::System.ArgumentNullException("Original_CodConsegna");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_CodConsegna));
+ }
+ if ((Original_DescrConsegna == null)) {
+ throw new global::System.ArgumentNullException("Original_DescrConsegna");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_DescrConsegna));
+ }
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_MinutiStd));
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Original_NumOp));
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((bool)(Original_Elettrod));
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((bool)(Original_Clima));
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((bool)(Original_Inform));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.UpdateCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.UpdateCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(string DescrConsegna, int MinutiStd, int NumOp, bool Elettrod, bool Clima, bool Inform, string Original_CodConsegna, string Original_DescrConsegna, int Original_MinutiStd, int Original_NumOp, bool Original_Elettrod, bool Original_Clima, bool Original_Inform) {
+ return this.Update(Original_CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform, Original_CodConsegna, Original_DescrConsegna, Original_MinutiStd, Original_NumOp, Original_Elettrod, Original_Clima, Original_Inform);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)]
+ public virtual int DeleteQuery(string Original_CodConsegna) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
+ if ((Original_CodConsegna == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(Original_CodConsegna));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, false)]
+ public virtual int InsertQuery(string CodConsegna, string DescrConsegna, global::System.Nullable MinutiStd, global::System.Nullable NumOp, global::System.Nullable Elettrod, global::System.Nullable Clima, global::System.Nullable Inform) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
+ if ((CodConsegna == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(CodConsegna));
+ }
+ if ((DescrConsegna == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(DescrConsegna));
+ }
+ if ((MinutiStd.HasValue == true)) {
+ command.Parameters[3].Value = ((int)(MinutiStd.Value));
+ }
+ else {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ if ((NumOp.HasValue == true)) {
+ command.Parameters[4].Value = ((int)(NumOp.Value));
+ }
+ else {
+ command.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ if ((Elettrod.HasValue == true)) {
+ command.Parameters[5].Value = ((bool)(Elettrod.Value));
+ }
+ else {
+ command.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ if ((Clima.HasValue == true)) {
+ command.Parameters[6].Value = ((bool)(Clima.Value));
+ }
+ else {
+ command.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ if ((Inform.HasValue == true)) {
+ command.Parameters[7].Value = ((bool)(Inform.Value));
+ }
+ else {
+ command.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)]
+ public virtual int UpdateQuery(string CodConsegna, string DescrConsegna, global::System.Nullable MinutiStd, global::System.Nullable NumOp, global::System.Nullable Elettrod, global::System.Nullable Clima, global::System.Nullable Inform, string Original_CodConsegna) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
+ if ((CodConsegna == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(CodConsegna));
+ }
+ if ((DescrConsegna == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(DescrConsegna));
+ }
+ if ((MinutiStd.HasValue == true)) {
+ command.Parameters[3].Value = ((int)(MinutiStd.Value));
+ }
+ else {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ if ((NumOp.HasValue == true)) {
+ command.Parameters[4].Value = ((int)(NumOp.Value));
+ }
+ else {
+ command.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ if ((Elettrod.HasValue == true)) {
+ command.Parameters[5].Value = ((bool)(Elettrod.Value));
+ }
+ else {
+ command.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ if ((Clima.HasValue == true)) {
+ command.Parameters[6].Value = ((bool)(Clima.Value));
+ }
+ else {
+ command.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ if ((Inform.HasValue == true)) {
+ command.Parameters[7].Value = ((bool)(Inform.Value));
+ }
+ else {
+ command.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ if ((Original_CodConsegna == null)) {
+ command.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[8].Value = ((string)(Original_CodConsegna));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+ }
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class AnagClientiTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagClientiTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "AnagClienti";
+ tableMapping.ColumnMappings.Add("CodCliente", "CodCliente");
+ tableMapping.ColumnMappings.Add("CodFis", "CodFis");
+ tableMapping.ColumnMappings.Add("Tel", "Tel");
+ tableMapping.ColumnMappings.Add("Cell", "Cell");
+ tableMapping.ColumnMappings.Add("Email", "Email");
+ tableMapping.ColumnMappings.Add("Note", "Note");
+ tableMapping.ColumnMappings.Add("RagSoc", "RagSoc");
+ tableMapping.ColumnMappings.Add("EnableSMS", "EnableSMS");
+ tableMapping.ColumnMappings.Add("Indir", "Indir");
+ tableMapping.ColumnMappings.Add("Cap", "Cap");
+ tableMapping.ColumnMappings.Add("Localita", "Localita");
+ tableMapping.ColumnMappings.Add("Prov", "Prov");
+ this._adapter.TableMappings.Add(tableMapping);
+ this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.DeleteCommand.Connection = this.Connection;
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagClienti] WHERE (([CodCliente] = @Original_CodCliente) AND ([RagSoc] = @Original_RagSoc) AND ((@IsNull_CodFis = 1 AND [CodFis] IS NULL) OR ([CodFis] = @Original_CodFis)) AND ((@IsNull_Tel = 1 AND [Tel] IS NULL) OR ([Tel] = @Original_Tel)) AND ((@IsNull_Cell = 1 AND [Cell] IS NULL) OR ([Cell] = @Original_Cell)) AND ([EnableSMS] = @Original_EnableSMS) AND ((@IsNull_Email = 1 AND [Email] IS NULL) OR ([Email] = @Original_Email)) AND ((@IsNull_Indir = 1 AND [Indir] IS NULL) OR ([Indir] = @Original_Indir)) AND ((@IsNull_Cap = 1 AND [Cap] IS NULL) OR ([Cap] = @Original_Cap)) AND ((@IsNull_Localita = 1 AND [Localita] IS NULL) OR ([Localita] = @Original_Localita)) AND ((@IsNull_Prov = 1 AND [Prov] IS NULL) OR ([Prov] = @Original_Prov)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note)))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagSoc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSoc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodFis", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFis", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFis", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFis", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Tel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tel", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tel", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tel", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Cell", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cell", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cell", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cell", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EnableSMS", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnableSMS", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Email", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Email", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Email", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Indir", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Indir", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Cap", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Localita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Prov", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Prov", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Note", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.InsertCommand.Connection = this.Connection;
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[AnagClienti] ([CodCliente], [RagSoc], [CodFis], [Tel], [Cell], [EnableSMS], [Email], [Indir], [Cap], [Localita], [Prov], [Note]) VALUES (@CodCliente, @RagSoc, @CodFis, @Tel, @Cell, @EnableSMS, @Email, @Indir, @Cap, @Localita, @Prov, @Note);
+SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Localita, Prov, Note FROM AnagClienti WHERE (CodCliente = @CodCliente)";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSoc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSoc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFis", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tel", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cell", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cell", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnableSMS", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnableSMS", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Email", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Indir", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prov", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.UpdateCommand.Connection = this.Connection;
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagClienti] SET [CodCliente] = @CodCliente, [RagSoc] = @RagSoc, [CodFis] = @CodFis, [Tel] = @Tel, [Cell] = @Cell, [EnableSMS] = @EnableSMS, [Email] = @Email, [Indir] = @Indir, [Cap] = @Cap, [Localita] = @Localita, [Prov] = @Prov, [Note] = @Note WHERE (([CodCliente] = @Original_CodCliente) AND ([RagSoc] = @Original_RagSoc) AND ((@IsNull_CodFis = 1 AND [CodFis] IS NULL) OR ([CodFis] = @Original_CodFis)) AND ((@IsNull_Tel = 1 AND [Tel] IS NULL) OR ([Tel] = @Original_Tel)) AND ((@IsNull_Cell = 1 AND [Cell] IS NULL) OR ([Cell] = @Original_Cell)) AND ([EnableSMS] = @Original_EnableSMS) AND ((@IsNull_Email = 1 AND [Email] IS NULL) OR ([Email] = @Original_Email)) AND ((@IsNull_Indir = 1 AND [Indir] IS NULL) OR ([Indir] = @Original_Indir)) AND ((@IsNull_Cap = 1 AND [Cap] IS NULL) OR ([Cap] = @Original_Cap)) AND ((@IsNull_Localita = 1 AND [Localita] IS NULL) OR ([Localita] = @Original_Localita)) AND ((@IsNull_Prov = 1 AND [Prov] IS NULL) OR ([Prov] = @Original_Prov)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note)));
+SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Localita, Prov, Note FROM AnagClienti WHERE (CodCliente = @CodCliente)";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSoc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSoc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFis", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFis", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tel", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cell", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cell", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnableSMS", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnableSMS", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Email", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Indir", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prov", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagSoc", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSoc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodFis", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFis", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFis", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFis", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Tel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tel", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Tel", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Tel", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Cell", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cell", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cell", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cell", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EnableSMS", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnableSMS", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Email", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Email", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Email", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Indir", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Indir", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Indir", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Cap", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cap", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cap", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Localita", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Localita", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Localita", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Prov", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Prov", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Prov", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Note", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT * FROM dbo.AnagClienti";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_AC_GetByCod";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[2].Connection = this.Connection;
+ this._commandCollection[2].CommandText = "dbo.stp_AC_GetLast";
+ this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[3].Connection = this.Connection;
+ this._commandCollection[3].CommandText = "dbo.stp_AC_upsert";
+ this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSoc", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFis", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tel", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cell", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnableSMS", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Email", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Indir", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cap", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Localita", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Prov", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_Applicazione.AnagClientiDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_Applicazione.AnagClientiDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Applicazione.AnagClientiDataTable dataTable = new DS_Applicazione.AnagClientiDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.AnagClientiDataTable getByKey(string CodCliente) {
+ this.Adapter.SelectCommand = this.CommandCollection[1];
+ if ((CodCliente == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCliente));
+ }
+ DS_Applicazione.AnagClientiDataTable dataTable = new DS_Applicazione.AnagClientiDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.AnagClientiDataTable getLast() {
+ this.Adapter.SelectCommand = this.CommandCollection[2];
+ DS_Applicazione.AnagClientiDataTable dataTable = new DS_Applicazione.AnagClientiDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Applicazione.AnagClientiDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Applicazione dataSet) {
+ return this.Adapter.Update(dataSet, "AnagClienti");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow dataRow) {
+ return this.Adapter.Update(new global::System.Data.DataRow[] {
+ dataRow});
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow[] dataRows) {
+ return this.Adapter.Update(dataRows);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(string Original_CodCliente, string Original_RagSoc, string Original_CodFis, string Original_Tel, string Original_Cell, bool Original_EnableSMS, string Original_Email, string Original_Indir, string Original_Cap, string Original_Localita, string Original_Prov, string Original_Note) {
+ if ((Original_CodCliente == null)) {
+ throw new global::System.ArgumentNullException("Original_CodCliente");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodCliente));
+ }
+ if ((Original_RagSoc == null)) {
+ throw new global::System.ArgumentNullException("Original_RagSoc");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_RagSoc));
+ }
+ if ((Original_CodFis == null)) {
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_CodFis));
+ }
+ if ((Original_Tel == null)) {
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_Tel));
+ }
+ if ((Original_Cell == null)) {
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_Cell));
+ }
+ this.Adapter.DeleteCommand.Parameters[8].Value = ((bool)(Original_EnableSMS));
+ if ((Original_Email == null)) {
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_Email));
+ }
+ if ((Original_Indir == null)) {
+ this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_Indir));
+ }
+ if ((Original_Cap == null)) {
+ this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_Cap));
+ }
+ if ((Original_Localita == null)) {
+ this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_Localita));
+ }
+ if ((Original_Prov == null)) {
+ this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_Prov));
+ }
+ if ((Original_Note == null)) {
+ this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_Note));
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.DeleteCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.DeleteCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(string CodCliente, string RagSoc, string CodFis, string Tel, string Cell, bool EnableSMS, string Email, string Indir, string Cap, string Localita, string Prov, string Note) {
+ if ((CodCliente == null)) {
+ throw new global::System.ArgumentNullException("CodCliente");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodCliente));
+ }
+ if ((RagSoc == null)) {
+ throw new global::System.ArgumentNullException("RagSoc");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(RagSoc));
+ }
+ if ((CodFis == null)) {
+ this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodFis));
+ }
+ if ((Tel == null)) {
+ this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Tel));
+ }
+ if ((Cell == null)) {
+ this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Cell));
+ }
+ this.Adapter.InsertCommand.Parameters[5].Value = ((bool)(EnableSMS));
+ if ((Email == null)) {
+ this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[6].Value = ((string)(Email));
+ }
+ if ((Indir == null)) {
+ this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[7].Value = ((string)(Indir));
+ }
+ if ((Cap == null)) {
+ this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[8].Value = ((string)(Cap));
+ }
+ if ((Localita == null)) {
+ this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[9].Value = ((string)(Localita));
+ }
+ if ((Prov == null)) {
+ this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[10].Value = ((string)(Prov));
+ }
+ if ((Note == null)) {
+ this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[11].Value = ((string)(Note));
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.InsertCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.InsertCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(
+ string CodCliente,
+ string RagSoc,
+ string CodFis,
+ string Tel,
+ string Cell,
+ bool EnableSMS,
+ string Email,
+ string Indir,
+ string Cap,
+ string Localita,
+ string Prov,
+ string Note,
+ string Original_CodCliente,
+ string Original_RagSoc,
+ string Original_CodFis,
+ string Original_Tel,
+ string Original_Cell,
+ bool Original_EnableSMS,
+ string Original_Email,
+ string Original_Indir,
+ string Original_Cap,
+ string Original_Localita,
+ string Original_Prov,
+ string Original_Note) {
+ if ((CodCliente == null)) {
+ throw new global::System.ArgumentNullException("CodCliente");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodCliente));
+ }
+ if ((RagSoc == null)) {
+ throw new global::System.ArgumentNullException("RagSoc");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(RagSoc));
+ }
+ if ((CodFis == null)) {
+ this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodFis));
+ }
+ if ((Tel == null)) {
+ this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Tel));
+ }
+ if ((Cell == null)) {
+ this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Cell));
+ }
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((bool)(EnableSMS));
+ if ((Email == null)) {
+ this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Email));
+ }
+ if ((Indir == null)) {
+ this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Indir));
+ }
+ if ((Cap == null)) {
+ this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Cap));
+ }
+ if ((Localita == null)) {
+ this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Localita));
+ }
+ if ((Prov == null)) {
+ this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Prov));
+ }
+ if ((Note == null)) {
+ this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Note));
+ }
+ if ((Original_CodCliente == null)) {
+ throw new global::System.ArgumentNullException("Original_CodCliente");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_CodCliente));
+ }
+ if ((Original_RagSoc == null)) {
+ throw new global::System.ArgumentNullException("Original_RagSoc");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_RagSoc));
+ }
+ if ((Original_CodFis == null)) {
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_CodFis));
+ }
+ if ((Original_Tel == null)) {
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_Tel));
+ }
+ if ((Original_Cell == null)) {
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_Cell));
+ }
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((bool)(Original_EnableSMS));
+ if ((Original_Email == null)) {
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_Email));
+ }
+ if ((Original_Indir == null)) {
+ this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_Indir));
+ }
+ if ((Original_Cap == null)) {
+ this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_Cap));
+ }
+ if ((Original_Localita == null)) {
+ this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_Localita));
+ }
+ if ((Original_Prov == null)) {
+ this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_Prov));
+ }
+ if ((Original_Note == null)) {
+ this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_Note));
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.UpdateCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.UpdateCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(
+ string RagSoc,
+ string CodFis,
+ string Tel,
+ string Cell,
+ bool EnableSMS,
+ string Email,
+ string Indir,
+ string Cap,
+ string Localita,
+ string Prov,
+ string Note,
+ string Original_CodCliente,
+ string Original_RagSoc,
+ string Original_CodFis,
+ string Original_Tel,
+ string Original_Cell,
+ bool Original_EnableSMS,
+ string Original_Email,
+ string Original_Indir,
+ string Original_Cap,
+ string Original_Localita,
+ string Original_Prov,
+ string Original_Note) {
+ return this.Update(Original_CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Localita, Prov, Note, Original_CodCliente, Original_RagSoc, Original_CodFis, Original_Tel, Original_Cell, Original_EnableSMS, Original_Email, Original_Indir, Original_Cap, Original_Localita, Original_Prov, Original_Note);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int upsert(string CodCliente, string RagSoc, string CodFis, string Tel, string Cell, global::System.Nullable EnableSMS, string Email, string Indir, string Cap, string Localita, string Prov, string Note) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
+ if ((CodCliente == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(CodCliente));
+ }
+ if ((RagSoc == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(RagSoc));
+ }
+ if ((CodFis == null)) {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[3].Value = ((string)(CodFis));
+ }
+ if ((Tel == null)) {
+ command.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[4].Value = ((string)(Tel));
+ }
+ if ((Cell == null)) {
+ command.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[5].Value = ((string)(Cell));
+ }
+ if ((EnableSMS.HasValue == true)) {
+ command.Parameters[6].Value = ((bool)(EnableSMS.Value));
+ }
+ else {
+ command.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ if ((Email == null)) {
+ command.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[7].Value = ((string)(Email));
+ }
+ if ((Indir == null)) {
+ command.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[8].Value = ((string)(Indir));
+ }
+ if ((Cap == null)) {
+ command.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[9].Value = ((string)(Cap));
+ }
+ if ((Localita == null)) {
+ command.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[10].Value = ((string)(Localita));
+ }
+ if ((Prov == null)) {
+ command.Parameters[11].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[11].Value = ((string)(Prov));
+ }
+ if ((Note == null)) {
+ command.Parameters[12].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[12].Value = ((string)(Note));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+ }
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class ImpegniTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ImpegniTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "Impegni";
+ tableMapping.ColumnMappings.Add("IdxImpegno", "IdxImpegno");
+ tableMapping.ColumnMappings.Add("DataOra", "DataOra");
+ tableMapping.ColumnMappings.Add("TipoOrario", "TipoOrario");
+ tableMapping.ColumnMappings.Add("CodCliente", "CodCliente");
+ tableMapping.ColumnMappings.Add("RagSoc", "RagSoc");
+ tableMapping.ColumnMappings.Add("CodFis", "CodFis");
+ tableMapping.ColumnMappings.Add("CodSquadra", "CodSquadra");
+ tableMapping.ColumnMappings.Add("DescrSquadra", "DescrSquadra");
+ tableMapping.ColumnMappings.Add("Elettrod", "Elettrod");
+ tableMapping.ColumnMappings.Add("Clima", "Clima");
+ tableMapping.ColumnMappings.Add("Inform", "Inform");
+ tableMapping.ColumnMappings.Add("Indir", "Indir");
+ tableMapping.ColumnMappings.Add("Cap", "Cap");
+ tableMapping.ColumnMappings.Add("Localita", "Localita");
+ tableMapping.ColumnMappings.Add("Prov", "Prov");
+ tableMapping.ColumnMappings.Add("idxZona", "idxZona");
+ tableMapping.ColumnMappings.Add("MinTotCons", "MinTotCons");
+ tableMapping.ColumnMappings.Add("MinViaggio", "MinViaggio");
+ tableMapping.ColumnMappings.Add("FinePrev", "FinePrev");
+ tableMapping.ColumnMappings.Add("NoteGen", "NoteGen");
+ tableMapping.ColumnMappings.Add("RifOC", "RifOC");
+ tableMapping.ColumnMappings.Add("UrlDoc", "UrlDoc");
+ tableMapping.ColumnMappings.Add("NumOp", "NumOp");
+ tableMapping.ColumnMappings.Add("RitUsato", "RitUsato");
+ tableMapping.ColumnMappings.Add("Ascensore", "Ascensore");
+ tableMapping.ColumnMappings.Add("PianoCons", "PianoCons");
+ tableMapping.ColumnMappings.Add("UserMod", "UserMod");
+ tableMapping.ColumnMappings.Add("DataMod", "DataMod");
+ tableMapping.ColumnMappings.Add("STATO", "STATO");
+ tableMapping.ColumnMappings.Add("InizioInt", "InizioInt");
+ tableMapping.ColumnMappings.Add("FineInt", "FineInt");
+ tableMapping.ColumnMappings.Add("NoteInt", "NoteInt");
+ tableMapping.ColumnMappings.Add("LatInizio", "LatInizio");
+ tableMapping.ColumnMappings.Add("LonInizio", "LonInizio");
+ tableMapping.ColumnMappings.Add("LatFin", "LatFine");
+ tableMapping.ColumnMappings.Add("LonFine", "LonFine");
+ tableMapping.ColumnMappings.Add("LatFine", "LatFine");
+ this._adapter.TableMappings.Add(tableMapping);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[10];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_elencoImpegni";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_Imp_getByCodCli";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[2].Connection = this.Connection;
+ this._commandCollection[2].CommandText = "dbo.stp_Imp_getByKey";
+ this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[3].Connection = this.Connection;
+ this._commandCollection[3].CommandText = "dbo.stp_Imp_getBySearch";
+ this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Stato", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataRif", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumGg", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RecAgeDd", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[4].Connection = this.Connection;
+ this._commandCollection[4].CommandText = "dbo.stp_Imp_insertQuery";
+ this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoOrario", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RifOC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[5].Connection = this.Connection;
+ this._commandCollection[5].CommandText = "dbo.stp_Imp_recFineInt";
+ this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FineInt", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LatFine", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LonFine", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[6].Connection = this.Connection;
+ this._commandCollection[6].CommandText = "dbo.stp_Imp_recStartInt";
+ this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InizioInt", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LatInizio", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LonInizio", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[7].Connection = this.Connection;
+ this._commandCollection[7].CommandText = "dbo.stp_Imp_updateQuery";
+ this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoOrario", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RifOC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NoteGen", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UrlDoc", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RitUsato", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Ascensore", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PianoCons", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[8].Connection = this.Connection;
+ this._commandCollection[8].CommandText = "dbo.stp_Imp_updNoteInt";
+ this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NoteInt", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[9].Connection = this.Connection;
+ this._commandCollection[9].CommandText = "dbo.stp_Imp_updStart";
+ this._commandCollection[9].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraNew", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_Applicazione.ImpegniDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_Applicazione.ImpegniDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Applicazione.ImpegniDataTable dataTable = new DS_Applicazione.ImpegniDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.ImpegniDataTable getByCli(string CodCliente) {
+ this.Adapter.SelectCommand = this.CommandCollection[1];
+ if ((CodCliente == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCliente));
+ }
+ DS_Applicazione.ImpegniDataTable dataTable = new DS_Applicazione.ImpegniDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.ImpegniDataTable getByKey(global::System.Nullable IdxImpegno) {
+ this.Adapter.SelectCommand = this.CommandCollection[2];
+ if ((IdxImpegno.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxImpegno.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ DS_Applicazione.ImpegniDataTable dataTable = new DS_Applicazione.ImpegniDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.ImpegniDataTable getBySearch(string Stato, global::System.Nullable DataRif, global::System.Nullable NumGg, string CodSquadra, global::System.Nullable RecAgeDd) {
+ this.Adapter.SelectCommand = this.CommandCollection[3];
+ if ((Stato == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Stato));
+ }
+ if ((DataRif.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(DataRif.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ if ((NumGg.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[3].Value = ((int)(NumGg.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ if ((CodSquadra == null)) {
+ this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[4].Value = ((string)(CodSquadra));
+ }
+ if ((RecAgeDd.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[5].Value = ((int)(RecAgeDd.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ DS_Applicazione.ImpegniDataTable dataTable = new DS_Applicazione.ImpegniDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int insertQuery(global::System.Nullable DataOra, string TipoOrario, string CodSquadra, string RifOC, global::System.Nullable anno) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
+ if ((DataOra.HasValue == true)) {
+ command.Parameters[1].Value = ((System.DateTime)(DataOra.Value));
+ }
+ else {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((TipoOrario == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(TipoOrario));
+ }
+ if ((CodSquadra == null)) {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[3].Value = ((string)(CodSquadra));
+ }
+ if ((RifOC == null)) {
+ command.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[4].Value = ((string)(RifOC));
+ }
+ if ((anno.HasValue == true)) {
+ command.Parameters[5].Value = ((int)(anno.Value));
+ }
+ else {
+ command.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int recFineInt(global::System.Nullable IdxImpegno, global::System.Nullable FineInt, global::System.Nullable LatFine, global::System.Nullable LonFine) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
+ if ((IdxImpegno.HasValue == true)) {
+ command.Parameters[1].Value = ((int)(IdxImpegno.Value));
+ }
+ else {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((FineInt.HasValue == true)) {
+ command.Parameters[2].Value = ((System.DateTime)(FineInt.Value));
+ }
+ else {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ if ((LatFine.HasValue == true)) {
+ command.Parameters[3].Value = ((double)(LatFine.Value));
+ }
+ else {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ if ((LonFine.HasValue == true)) {
+ command.Parameters[4].Value = ((double)(LonFine.Value));
+ }
+ else {
+ command.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int recStartInt(global::System.Nullable IdxImpegno, global::System.Nullable InizioInt, global::System.Nullable LatInizio, global::System.Nullable LonInizio) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
+ if ((IdxImpegno.HasValue == true)) {
+ command.Parameters[1].Value = ((int)(IdxImpegno.Value));
+ }
+ else {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((InizioInt.HasValue == true)) {
+ command.Parameters[2].Value = ((System.DateTime)(InizioInt.Value));
+ }
+ else {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ if ((LatInizio.HasValue == true)) {
+ command.Parameters[3].Value = ((double)(LatInizio.Value));
+ }
+ else {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ if ((LonInizio.HasValue == true)) {
+ command.Parameters[4].Value = ((double)(LonInizio.Value));
+ }
+ else {
+ command.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int updateQuery(global::System.Nullable Original_IdxImpegno, string TipoOrario, string CodSquadra, string RifOC, string NoteGen, string UrlDoc, global::System.Nullable NumOp, global::System.Nullable RitUsato, global::System.Nullable Ascensore, global::System.Nullable PianoCons, string UserMod) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
+ if ((Original_IdxImpegno.HasValue == true)) {
+ command.Parameters[1].Value = ((int)(Original_IdxImpegno.Value));
+ }
+ else {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((TipoOrario == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(TipoOrario));
+ }
+ if ((CodSquadra == null)) {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[3].Value = ((string)(CodSquadra));
+ }
+ if ((RifOC == null)) {
+ command.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[4].Value = ((string)(RifOC));
+ }
+ if ((NoteGen == null)) {
+ command.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[5].Value = ((string)(NoteGen));
+ }
+ if ((UrlDoc == null)) {
+ command.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[6].Value = ((string)(UrlDoc));
+ }
+ if ((NumOp.HasValue == true)) {
+ command.Parameters[7].Value = ((int)(NumOp.Value));
+ }
+ else {
+ command.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ if ((RitUsato.HasValue == true)) {
+ command.Parameters[8].Value = ((int)(RitUsato.Value));
+ }
+ else {
+ command.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ if ((Ascensore.HasValue == true)) {
+ command.Parameters[9].Value = ((int)(Ascensore.Value));
+ }
+ else {
+ command.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ if ((PianoCons.HasValue == true)) {
+ command.Parameters[10].Value = ((int)(PianoCons.Value));
+ }
+ else {
+ command.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ if ((UserMod == null)) {
+ command.Parameters[11].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[11].Value = ((string)(UserMod));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int updNoteInt(global::System.Nullable IdxImpegno, string NoteInt) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
+ if ((IdxImpegno.HasValue == true)) {
+ command.Parameters[1].Value = ((int)(IdxImpegno.Value));
+ }
+ else {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((NoteInt == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(NoteInt));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int updStart(global::System.Nullable IdxImpegno, global::System.Nullable DataOraNew) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
+ if ((IdxImpegno.HasValue == true)) {
+ command.Parameters[1].Value = ((int)(IdxImpegno.Value));
+ }
+ else {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((DataOraNew.HasValue == true)) {
+ command.Parameters[2].Value = ((System.DateTime)(DataOraNew.Value));
+ }
+ else {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+ }
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class DispImpTotTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DispImpTotTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "DispImpTot";
+ tableMapping.ColumnMappings.Add("Data", "Data");
+ tableMapping.ColumnMappings.Add("NumOp", "NumOp");
+ tableMapping.ColumnMappings.Add("ScoreDisp", "ScoreDisp");
+ tableMapping.ColumnMappings.Add("ScoreZona", "ScoreZona");
+ this._adapter.TableMappings.Add(tableMapping);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT Data, NumOp, ScoreDisp, ScoreZona FROM v_DispImpTot";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_DispImpTot_getByDataRange";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumGG", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Zona", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_Applicazione.DispImpTotDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_Applicazione.DispImpTotDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Applicazione.DispImpTotDataTable dataTable = new DS_Applicazione.DispImpTotDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.DispImpTotDataTable getByDataRange(global::System.Nullable DataFrom, global::System.Nullable NumGG, string Zona, string CodSquadra) {
+ this.Adapter.SelectCommand = this.CommandCollection[1];
+ if ((DataFrom.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(DataFrom.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((NumGG.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((int)(NumGG.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ if ((Zona == null)) {
+ this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Zona));
+ }
+ if ((CodSquadra == null)) {
+ this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[4].Value = ((string)(CodSquadra));
+ }
+ DS_Applicazione.DispImpTotDataTable dataTable = new DS_Applicazione.DispImpTotDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+ }
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class DispImpSquadreTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DispImpSquadreTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "DispImpSquadre";
+ tableMapping.ColumnMappings.Add("Data", "Data");
+ tableMapping.ColumnMappings.Add("CodSquadra", "CodSquadra");
+ tableMapping.ColumnMappings.Add("OreDisp", "OreDisp");
+ tableMapping.ColumnMappings.Add("OreImp", "OreImp");
+ this._adapter.TableMappings.Add(tableMapping);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT Data, CodSquadra, OreDisp, OreImp FROM dbo.v_DispImpSquadre";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_Applicazione.DispImpSquadreDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_Applicazione.DispImpSquadreDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Applicazione.DispImpSquadreDataTable dataTable = new DS_Applicazione.DispImpSquadreDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+ }
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class v_ImpegniCalTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_ImpegniCalTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "v_ImpegniCal";
+ tableMapping.ColumnMappings.Add("IdxImpegno", "IdxImpegno");
+ tableMapping.ColumnMappings.Add("NomeImpegno", "NomeImpegno");
+ tableMapping.ColumnMappings.Add("Inizio", "Inizio");
+ tableMapping.ColumnMappings.Add("Fine", "Fine");
+ tableMapping.ColumnMappings.Add("CodSquadra", "CodSquadra");
+ tableMapping.ColumnMappings.Add("CssColor", "CssColor");
+ this._adapter.TableMappings.Add(tableMapping);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT * FROM dbo.v_ImpegniCal";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_ImpCal_getByDay";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_Applicazione.v_ImpegniCalDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_Applicazione.v_ImpegniCalDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Applicazione.v_ImpegniCalDataTable dataTable = new DS_Applicazione.v_ImpegniCalDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.v_ImpegniCalDataTable getByDate(global::System.Nullable Data, string CodSquadra) {
+ this.Adapter.SelectCommand = this.CommandCollection[1];
+ if ((Data.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(Data.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((CodSquadra == null)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodSquadra));
+ }
+ DS_Applicazione.v_ImpegniCalDataTable dataTable = new DS_Applicazione.v_ImpegniCalDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+ }
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class DisponibilitaTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DisponibilitaTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "Disponibilita";
+ tableMapping.ColumnMappings.Add("Data", "Data");
+ tableMapping.ColumnMappings.Add("CodSquadra", "CodSquadra");
+ tableMapping.ColumnMappings.Add("OreDisp", "OreDisp");
+ tableMapping.ColumnMappings.Add("NumOp", "NumOp");
+ tableMapping.ColumnMappings.Add("MinDisp", "MinDisp");
+ this._adapter.TableMappings.Add(tableMapping);
+ this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.DeleteCommand.Connection = this.Connection;
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[Disponibilita] WHERE (([Data] = @Original_Data) AND ([CodSquadra] = @Original_CodSquadra) AND ([OreDisp] = @Original_OreDisp) AND ([NumOp] = @Original_NumOp) AND ((@IsNull_MinDisp = 1 AND [MinDisp] IS NULL) OR ([MinDisp] = @Original_MinDisp)))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Data", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSquadra", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSquadra", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OreDisp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OreDisp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumOp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MinDisp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MinDisp", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MinDisp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MinDisp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.InsertCommand.Connection = this.Connection;
+ this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[Disponibilita] ([Data], [CodSquadra], [OreDisp], [NumOp]) VALU" +
+ "ES (@Data, @CodSquadra, @OreDisp, @NumOp);\r\nSELECT Data, CodSquadra, OreDisp, Nu" +
+ "mOp, MinDisp FROM Disponibilita WHERE (CodSquadra = @CodSquadra) AND (Data = @Da" +
+ "ta)";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSquadra", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OreDisp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OreDisp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumOp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.UpdateCommand.Connection = this.Connection;
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Disponibilita] SET [Data] = @Data, [CodSquadra] = @CodSquadra, [OreDisp] = @OreDisp, [NumOp] = @NumOp WHERE (([Data] = @Original_Data) AND ([CodSquadra] = @Original_CodSquadra) AND ([OreDisp] = @Original_OreDisp) AND ([NumOp] = @Original_NumOp) AND ((@IsNull_MinDisp = 1 AND [MinDisp] IS NULL) OR ([MinDisp] = @Original_MinDisp)));
+SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSquadra = @CodSquadra) AND (Data = @Data)";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSquadra", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OreDisp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OreDisp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumOp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Data", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSquadra", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSquadra", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OreDisp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OreDisp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumOp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_MinDisp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MinDisp", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MinDisp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MinDisp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM dbo.Disponibilita";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_Dis_delete";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Data", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[2].Connection = this.Connection;
+ this._commandCollection[2].CommandText = "dbo.stp_genDispSquadre";
+ this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numDay", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[3].Connection = this.Connection;
+ this._commandCollection[3].CommandText = "dbo.stp_genDispSquadreGg";
+ this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[4].Connection = this.Connection;
+ this._commandCollection[4].CommandText = "dbo.stp_Dis_getByData";
+ this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[5].Connection = this.Connection;
+ this._commandCollection[5].CommandText = "dbo.stp_Dis_getByDataNumGg";
+ this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumDay", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 2500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_Applicazione.DisponibilitaDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_Applicazione.DisponibilitaDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Applicazione.DisponibilitaDataTable dataTable = new DS_Applicazione.DisponibilitaDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.DisponibilitaDataTable getByData(global::System.Nullable Data) {
+ this.Adapter.SelectCommand = this.CommandCollection[4];
+ if ((Data.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(Data.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ DS_Applicazione.DisponibilitaDataTable dataTable = new DS_Applicazione.DisponibilitaDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.DisponibilitaDataTable getByDataNumGg(global::System.Nullable Data, global::System.Nullable NumDay, string CodSquadra) {
+ this.Adapter.SelectCommand = this.CommandCollection[5];
+ if ((Data.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((System.DateTime)(Data.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((NumDay.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((int)(NumDay.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ if ((CodSquadra == null)) {
+ this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[3].Value = ((string)(CodSquadra));
+ }
+ DS_Applicazione.DisponibilitaDataTable dataTable = new DS_Applicazione.DisponibilitaDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Applicazione.DisponibilitaDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Applicazione dataSet) {
+ return this.Adapter.Update(dataSet, "Disponibilita");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow dataRow) {
+ return this.Adapter.Update(new global::System.Data.DataRow[] {
+ dataRow});
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow[] dataRows) {
+ return this.Adapter.Update(dataRows);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(System.DateTime Original_Data, string Original_CodSquadra, int Original_OreDisp, int Original_NumOp, global::System.Nullable Original_MinDisp) {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((System.DateTime)(Original_Data));
+ if ((Original_CodSquadra == null)) {
+ throw new global::System.ArgumentNullException("Original_CodSquadra");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodSquadra));
+ }
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_OreDisp));
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_NumOp));
+ if ((Original_MinDisp.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((int)(Original_MinDisp.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.DeleteCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.DeleteCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(System.DateTime Data, string CodSquadra, int OreDisp, int NumOp) {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((System.DateTime)(Data));
+ if ((CodSquadra == null)) {
+ throw new global::System.ArgumentNullException("CodSquadra");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodSquadra));
+ }
+ this.Adapter.InsertCommand.Parameters[2].Value = ((int)(OreDisp));
+ this.Adapter.InsertCommand.Parameters[3].Value = ((int)(NumOp));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.InsertCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.InsertCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(System.DateTime Data, string CodSquadra, int OreDisp, int NumOp, System.DateTime Original_Data, string Original_CodSquadra, int Original_OreDisp, int Original_NumOp, global::System.Nullable Original_MinDisp) {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((System.DateTime)(Data));
+ if ((CodSquadra == null)) {
+ throw new global::System.ArgumentNullException("CodSquadra");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodSquadra));
+ }
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(OreDisp));
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(NumOp));
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(Original_Data));
+ if ((Original_CodSquadra == null)) {
+ throw new global::System.ArgumentNullException("Original_CodSquadra");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_CodSquadra));
+ }
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(Original_OreDisp));
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Original_NumOp));
+ if ((Original_MinDisp.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_MinDisp.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.UpdateCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.UpdateCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(int OreDisp, int NumOp, System.DateTime Original_Data, string Original_CodSquadra, int Original_OreDisp, int Original_NumOp, global::System.Nullable Original_MinDisp) {
+ return this.Update(Original_Data, Original_CodSquadra, OreDisp, NumOp, Original_Data, Original_CodSquadra, Original_OreDisp, Original_NumOp, Original_MinDisp);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int deleteQuery(global::System.Nullable Original_Data, string Original_CodSquadra) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
+ if ((Original_Data.HasValue == true)) {
+ command.Parameters[1].Value = ((System.DateTime)(Original_Data.Value));
+ }
+ else {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((Original_CodSquadra == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(Original_CodSquadra));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int genDispSquadre(global::System.Nullable dataFrom, string CodSquadra, global::System.Nullable numDay) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
+ if ((dataFrom.HasValue == true)) {
+ command.Parameters[1].Value = ((System.DateTime)(dataFrom.Value));
+ }
+ else {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((CodSquadra == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(CodSquadra));
+ }
+ if ((numDay.HasValue == true)) {
+ command.Parameters[3].Value = ((int)(numDay.Value));
+ }
+ else {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int genDispSquadreGg(global::System.Nullable dataFrom, string CodSquadra) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
+ if ((dataFrom.HasValue == true)) {
+ command.Parameters[1].Value = ((System.DateTime)(dataFrom.Value));
+ }
+ else {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((CodSquadra == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(CodSquadra));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+ }
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class DettImpegnoTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DettImpegnoTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "DettImpegno";
+ tableMapping.ColumnMappings.Add("IdxImpegno", "IdxImpegno");
+ tableMapping.ColumnMappings.Add("NumCons", "NumCons");
+ tableMapping.ColumnMappings.Add("CodConsegna", "CodConsegna");
+ tableMapping.ColumnMappings.Add("DescrConsegna", "DescrConsegna");
+ tableMapping.ColumnMappings.Add("MinutiStd", "MinutiStd");
+ tableMapping.ColumnMappings.Add("NumOp", "NumOp");
+ tableMapping.ColumnMappings.Add("Elettrod", "Elettrod");
+ tableMapping.ColumnMappings.Add("Clima", "Clima");
+ tableMapping.ColumnMappings.Add("Inform", "Inform");
+ tableMapping.ColumnMappings.Add("Minuti", "Minuti");
+ tableMapping.ColumnMappings.Add("Note", "Note");
+ this._adapter.TableMappings.Add(tableMapping);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT IdxImpegno, NumCons, CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettro" +
+ "d, Clima, Inform, Minuti, Note FROM dbo.v_DettImp";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_DettImp_delete";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumCons", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[2].Connection = this.Connection;
+ this._commandCollection[2].CommandText = "dbo.stp_DettImp_getByImpegno";
+ this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[3].Connection = this.Connection;
+ this._commandCollection[3].CommandText = "dbo.stp_DettImp_getByKey";
+ this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumCons", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[4].Connection = this.Connection;
+ this._commandCollection[4].CommandText = "dbo.stp_DettImp_insert";
+ this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodConsegna", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[5].Connection = this.Connection;
+ this._commandCollection[5].CommandText = "dbo.stp_DettImp_update";
+ this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumCons", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodConsegna", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_Applicazione.DettImpegnoDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_Applicazione.DettImpegnoDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Applicazione.DettImpegnoDataTable dataTable = new DS_Applicazione.DettImpegnoDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.DettImpegnoDataTable getByImpegno(global::System.Nullable IdxImpegno) {
+ this.Adapter.SelectCommand = this.CommandCollection[2];
+ if ((IdxImpegno.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxImpegno.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ DS_Applicazione.DettImpegnoDataTable dataTable = new DS_Applicazione.DettImpegnoDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.DettImpegnoDataTable getByKey(global::System.Nullable IdxImpegno, global::System.Nullable NumCons) {
+ this.Adapter.SelectCommand = this.CommandCollection[3];
+ if ((IdxImpegno.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxImpegno.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((NumCons.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((int)(NumCons.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ DS_Applicazione.DettImpegnoDataTable dataTable = new DS_Applicazione.DettImpegnoDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int deleteQuery(global::System.Nullable Original_IdxImpegno, global::System.Nullable Original_NumCons) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
+ if ((Original_IdxImpegno.HasValue == true)) {
+ command.Parameters[1].Value = ((int)(Original_IdxImpegno.Value));
+ }
+ else {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((Original_NumCons.HasValue == true)) {
+ command.Parameters[2].Value = ((int)(Original_NumCons.Value));
+ }
+ else {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int insertQuery(global::System.Nullable IdxImpegno, string CodConsegna) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
+ if ((IdxImpegno.HasValue == true)) {
+ command.Parameters[1].Value = ((int)(IdxImpegno.Value));
+ }
+ else {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((CodConsegna == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(CodConsegna));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int updateQuery(global::System.Nullable Original_IdxImpegno, global::System.Nullable Original_NumCons, string CodConsegna, string Note) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
+ if ((Original_IdxImpegno.HasValue == true)) {
+ command.Parameters[1].Value = ((int)(Original_IdxImpegno.Value));
+ }
+ else {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((Original_NumCons.HasValue == true)) {
+ command.Parameters[2].Value = ((int)(Original_NumCons.Value));
+ }
+ else {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ if ((CodConsegna == null)) {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[3].Value = ((string)(CodConsegna));
+ }
+ if ((Note == null)) {
+ command.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[4].Value = ((string)(Note));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+ }
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class v_clientiZoneTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public v_clientiZoneTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "v_clientiZone";
+ tableMapping.ColumnMappings.Add("CodCliente", "CodCliente");
+ tableMapping.ColumnMappings.Add("RagSoc", "RagSoc");
+ tableMapping.ColumnMappings.Add("Indir", "Indir");
+ tableMapping.ColumnMappings.Add("Cap", "Cap");
+ tableMapping.ColumnMappings.Add("Localita", "Localita");
+ tableMapping.ColumnMappings.Add("Prov", "Prov");
+ tableMapping.ColumnMappings.Add("Zona", "Zona");
+ this._adapter.TableMappings.Add(tableMapping);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT CodCliente, RagSoc, Indir, Cap, Localita, Prov, Zona FROM dbo.v_clientiZon" +
+ "e";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_vcz_search";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_Applicazione.v_clientiZoneDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_Applicazione.v_clientiZoneDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Applicazione.v_clientiZoneDataTable dataTable = new DS_Applicazione.v_clientiZoneDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.v_clientiZoneDataTable getBySearch(string search, global::System.Nullable anno) {
+ this.Adapter.SelectCommand = this.CommandCollection[1];
+ if ((search == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(search));
+ }
+ if ((anno.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((int)(anno.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ DS_Applicazione.v_clientiZoneDataTable dataTable = new DS_Applicazione.v_clientiZoneDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+ }
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class DB2_DOCSTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DB2_DOCSTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "DB2_DOCS";
+ tableMapping.ColumnMappings.Add("TIPOPROTOC", "TIPOPROTOC");
+ tableMapping.ColumnMappings.Add("NUMERO", "NUMERO");
+ tableMapping.ColumnMappings.Add("ESERPROTOC", "ESERPROTOC");
+ tableMapping.ColumnMappings.Add("NUMEPROTOC", "NUMEPROTOC");
+ tableMapping.ColumnMappings.Add("DATAPROTOC", "DATAPROTOC");
+ tableMapping.ColumnMappings.Add("ESERRIFERI", "ESERRIFERI");
+ tableMapping.ColumnMappings.Add("NUMERIFERI", "NUMERIFERI");
+ tableMapping.ColumnMappings.Add("TIPORIFERI", "TIPORIFERI");
+ tableMapping.ColumnMappings.Add("DATARIFERI", "DATARIFERI");
+ tableMapping.ColumnMappings.Add("NUMEDOCRIF", "NUMEDOCRIF");
+ tableMapping.ColumnMappings.Add("DATADOCRIF", "DATADOCRIF");
+ tableMapping.ColumnMappings.Add("ESERCOLLEG", "ESERCOLLEG");
+ tableMapping.ColumnMappings.Add("CLI_FOR", "CLI_FOR");
+ tableMapping.ColumnMappings.Add("DESTINATAR", "DESTINATAR");
+ tableMapping.ColumnMappings.Add("RGSOC_DEST", "RGSOC_DEST");
+ tableMapping.ColumnMappings.Add("INDIR_DEST", "INDIR_DEST");
+ tableMapping.ColumnMappings.Add("LOCAL_DEST", "LOCAL_DEST");
+ tableMapping.ColumnMappings.Add("CAP_DEST", "CAP_DEST");
+ tableMapping.ColumnMappings.Add("ULT_AGG", "ULT_AGG");
+ tableMapping.ColumnMappings.Add("ANNOTAZION", "ANNOTAZION");
+ this._adapter.TableMappings.Add(tableMapping);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = @"SELECT TIPOPROTOC, NUMERO, ESERPROTOC, NUMEPROTOC, DATAPROTOC, ESERRIFERI, NUMERIFERI, TIPORIFERI, DATARIFERI, NUMEDOCRIF, DATADOCRIF, ESERCOLLEG, CLI_FOR, DESTINATAR, RGSOC_DEST,
+ INDIR_DEST, LOCAL_DEST, CAP_DEST, ULT_AGG, ANNOTAZION
+FROM raw.DB2_DOCS";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_DOC_GetByCodCliente";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[2].Connection = this.Connection;
+ this._commandCollection[2].CommandText = "dbo.stp_DOC_GetLast";
+ this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[3].Connection = this.Connection;
+ this._commandCollection[3].CommandText = "dbo.stp_DOC_upsert";
+ this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TIPOPROTOC", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NUMERO", global::System.Data.SqlDbType.NVarChar, 7, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ESERPROTOC", global::System.Data.SqlDbType.NVarChar, 4, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NUMEPROTOC", global::System.Data.SqlDbType.NVarChar, 7, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATAPROTOC", global::System.Data.SqlDbType.NVarChar, 8, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ESERRIFERI", global::System.Data.SqlDbType.NVarChar, 4, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NUMERIFERI", global::System.Data.SqlDbType.NVarChar, 7, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TIPORIFERI", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATARIFERI", global::System.Data.SqlDbType.NVarChar, 8, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NUMEDOCRIF", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DATADOCRIF", global::System.Data.SqlDbType.NVarChar, 8, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ESERCOLLEG", global::System.Data.SqlDbType.NVarChar, 4, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CLI_FOR", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DESTINATAR", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RGSOC_DEST", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@INDIR_DEST", global::System.Data.SqlDbType.NVarChar, 35, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LOCAL_DEST", global::System.Data.SqlDbType.NVarChar, 35, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CAP_DEST", global::System.Data.SqlDbType.NVarChar, 5, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ULT_AGG", global::System.Data.SqlDbType.NVarChar, 8, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ANNOTAZION", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_Applicazione.DB2_DOCSDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_Applicazione.DB2_DOCSDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Applicazione.DB2_DOCSDataTable dataTable = new DS_Applicazione.DB2_DOCSDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.DB2_DOCSDataTable getByCodCliente(string CodCliente) {
+ this.Adapter.SelectCommand = this.CommandCollection[1];
+ if ((CodCliente == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCliente));
+ }
+ DS_Applicazione.DB2_DOCSDataTable dataTable = new DS_Applicazione.DB2_DOCSDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.DB2_DOCSDataTable getLast() {
+ this.Adapter.SelectCommand = this.CommandCollection[2];
+ DS_Applicazione.DB2_DOCSDataTable dataTable = new DS_Applicazione.DB2_DOCSDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int upsert(
+ string TIPOPROTOC,
+ string NUMERO,
+ string ESERPROTOC,
+ string NUMEPROTOC,
+ string DATAPROTOC,
+ string ESERRIFERI,
+ string NUMERIFERI,
+ string TIPORIFERI,
+ string DATARIFERI,
+ string NUMEDOCRIF,
+ string DATADOCRIF,
+ string ESERCOLLEG,
+ string CLI_FOR,
+ string DESTINATAR,
+ string RGSOC_DEST,
+ string INDIR_DEST,
+ string LOCAL_DEST,
+ string CAP_DEST,
+ string ULT_AGG,
+ string ANNOTAZION) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
+ if ((TIPOPROTOC == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(TIPOPROTOC));
+ }
+ if ((NUMERO == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(NUMERO));
+ }
+ if ((ESERPROTOC == null)) {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[3].Value = ((string)(ESERPROTOC));
+ }
+ if ((NUMEPROTOC == null)) {
+ command.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[4].Value = ((string)(NUMEPROTOC));
+ }
+ if ((DATAPROTOC == null)) {
+ command.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[5].Value = ((string)(DATAPROTOC));
+ }
+ if ((ESERRIFERI == null)) {
+ command.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[6].Value = ((string)(ESERRIFERI));
+ }
+ if ((NUMERIFERI == null)) {
+ command.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[7].Value = ((string)(NUMERIFERI));
+ }
+ if ((TIPORIFERI == null)) {
+ command.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[8].Value = ((string)(TIPORIFERI));
+ }
+ if ((DATARIFERI == null)) {
+ command.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[9].Value = ((string)(DATARIFERI));
+ }
+ if ((NUMEDOCRIF == null)) {
+ command.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[10].Value = ((string)(NUMEDOCRIF));
+ }
+ if ((DATADOCRIF == null)) {
+ command.Parameters[11].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[11].Value = ((string)(DATADOCRIF));
+ }
+ if ((ESERCOLLEG == null)) {
+ command.Parameters[12].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[12].Value = ((string)(ESERCOLLEG));
+ }
+ if ((CLI_FOR == null)) {
+ command.Parameters[13].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[13].Value = ((string)(CLI_FOR));
+ }
+ if ((DESTINATAR == null)) {
+ command.Parameters[14].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[14].Value = ((string)(DESTINATAR));
+ }
+ if ((RGSOC_DEST == null)) {
+ command.Parameters[15].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[15].Value = ((string)(RGSOC_DEST));
+ }
+ if ((INDIR_DEST == null)) {
+ command.Parameters[16].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[16].Value = ((string)(INDIR_DEST));
+ }
+ if ((LOCAL_DEST == null)) {
+ command.Parameters[17].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[17].Value = ((string)(LOCAL_DEST));
+ }
+ if ((CAP_DEST == null)) {
+ command.Parameters[18].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[18].Value = ((string)(CAP_DEST));
+ }
+ if ((ULT_AGG == null)) {
+ command.Parameters[19].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[19].Value = ((string)(ULT_AGG));
+ }
+ if ((ANNOTAZION == null)) {
+ command.Parameters[20].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[20].Value = ((string)(ANNOTAZION));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+ }
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class AssegnSquadreTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AssegnSquadreTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "AssegnSquadre";
+ tableMapping.ColumnMappings.Add("DataFrom", "DataFrom");
+ tableMapping.ColumnMappings.Add("CodSquadra", "CodSquadra");
+ tableMapping.ColumnMappings.Add("Matr", "Matr");
+ tableMapping.ColumnMappings.Add("DataTo", "DataTo");
+ tableMapping.ColumnMappings.Add("CognomeNome", "CognomeNome");
+ this._adapter.TableMappings.Add(tableMapping);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT DataFrom, CodSquadra, Matr, DataTo, CognomeNome\r\nFROM v_" +
+ "AssSqDip";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_AsSq_delete";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataFrom", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 16, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Matr", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[2].Connection = this.Connection;
+ this._commandCollection[2].CommandText = "dbo.stp_AsSq_GetByCodSqData";
+ this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 16, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[3].Connection = this.Connection;
+ this._commandCollection[3].CommandText = "dbo.stp_AsSq_insert";
+ this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 16, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Matr", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_Applicazione.AssegnSquadreDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_Applicazione.AssegnSquadreDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Applicazione.AssegnSquadreDataTable dataTable = new DS_Applicazione.AssegnSquadreDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Applicazione.AssegnSquadreDataTable GetByCodSqData(string CodSquadra, global::System.Nullable Data) {
+ this.Adapter.SelectCommand = this.CommandCollection[2];
+ if ((CodSquadra == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodSquadra));
+ }
+ if ((Data.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(Data.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ DS_Applicazione.AssegnSquadreDataTable dataTable = new DS_Applicazione.AssegnSquadreDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int deleteQuery(string Original_CodSquadra, global::System.Nullable Original_DataFrom, string Original_Matr) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
+ if ((Original_CodSquadra == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(Original_CodSquadra));
+ }
+ if ((Original_DataFrom.HasValue == true)) {
+ command.Parameters[2].Value = ((System.DateTime)(Original_DataFrom.Value));
+ }
+ else {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ if ((Original_Matr == null)) {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[3].Value = ((string)(Original_Matr));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int insertQuery(string CodSquadra, global::System.Nullable Data, string Matr) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
+ if ((CodSquadra == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(CodSquadra));
+ }
+ if ((Data.HasValue == true)) {
+ command.Parameters[2].Value = ((System.DateTime)(Data.Value));
+ }
+ else {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ if ((Matr == null)) {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[3].Value = ((string)(Matr));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+ }
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class DipendentiTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DipendentiTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "Dipendenti";
+ tableMapping.ColumnMappings.Add("Matr", "Matr");
+ tableMapping.ColumnMappings.Add("Cognome", "Cognome");
+ tableMapping.ColumnMappings.Add("Nome", "Nome");
+ tableMapping.ColumnMappings.Add("CognomeNome", "CognomeNome");
+ this._adapter.TableMappings.Add(tableMapping);
+ this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.DeleteCommand.Connection = this.Connection;
+ this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[Dipendenti] WHERE (([Matr] = @Original_Matr) AND ([Cognome] = " +
+ "@Original_Cognome) AND ([Nome] = @Original_Nome) AND ([CognomeNome] = @Original_" +
+ "CognomeNome))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Matr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CognomeNome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CognomeNome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.InsertCommand.Connection = this.Connection;
+ this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[Dipendenti] ([Matr], [Cognome], [Nome]) VALUES (@Matr, @Cognom" +
+ "e, @Nome);\r\nSELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr " +
+ "= @Matr)";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Matr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.UpdateCommand.Connection = this.Connection;
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Dipendenti] SET [Matr] = @Matr, [Cognome] = @Cognome, [Nome] = @Nome WHERE (([Matr] = @Original_Matr) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome) AND ([CognomeNome] = @Original_CognomeNome));
+SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Matr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matr", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Matr", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Matr", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CognomeNome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CognomeNome", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT * FROM dbo.Dipendenti";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_Applicazione.DipendentiDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_Applicazione.DipendentiDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Applicazione.DipendentiDataTable dataTable = new DS_Applicazione.DipendentiDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Applicazione.DipendentiDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Applicazione dataSet) {
+ return this.Adapter.Update(dataSet, "Dipendenti");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow dataRow) {
+ return this.Adapter.Update(new global::System.Data.DataRow[] {
+ dataRow});
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow[] dataRows) {
+ return this.Adapter.Update(dataRows);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(string Original_Matr, string Original_Cognome, string Original_Nome, string Original_CognomeNome) {
+ if ((Original_Matr == null)) {
+ throw new global::System.ArgumentNullException("Original_Matr");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_Matr));
+ }
+ if ((Original_Cognome == null)) {
+ throw new global::System.ArgumentNullException("Original_Cognome");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_Cognome));
+ }
+ if ((Original_Nome == null)) {
+ throw new global::System.ArgumentNullException("Original_Nome");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Nome));
+ }
+ if ((Original_CognomeNome == null)) {
+ throw new global::System.ArgumentNullException("Original_CognomeNome");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_CognomeNome));
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.DeleteCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.DeleteCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(string Matr, string Cognome, string Nome) {
+ if ((Matr == null)) {
+ throw new global::System.ArgumentNullException("Matr");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Matr));
+ }
+ if ((Cognome == null)) {
+ throw new global::System.ArgumentNullException("Cognome");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Cognome));
+ }
+ if ((Nome == null)) {
+ throw new global::System.ArgumentNullException("Nome");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Nome));
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.InsertCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.InsertCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(string Matr, string Cognome, string Nome, string Original_Matr, string Original_Cognome, string Original_Nome, string Original_CognomeNome) {
+ if ((Matr == null)) {
+ throw new global::System.ArgumentNullException("Matr");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Matr));
+ }
+ if ((Cognome == null)) {
+ throw new global::System.ArgumentNullException("Cognome");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Cognome));
+ }
+ if ((Nome == null)) {
+ throw new global::System.ArgumentNullException("Nome");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Nome));
+ }
+ if ((Original_Matr == null)) {
+ throw new global::System.ArgumentNullException("Original_Matr");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_Matr));
+ }
+ if ((Original_Cognome == null)) {
+ throw new global::System.ArgumentNullException("Original_Cognome");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_Cognome));
+ }
+ if ((Original_Nome == null)) {
+ throw new global::System.ArgumentNullException("Original_Nome");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_Nome));
+ }
+ if ((Original_CognomeNome == null)) {
+ throw new global::System.ArgumentNullException("Original_CognomeNome");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_CognomeNome));
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.UpdateCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.UpdateCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(string Cognome, string Nome, string Original_Matr, string Original_Cognome, string Original_Nome, string Original_CognomeNome) {
+ return this.Update(Original_Matr, Cognome, Nome, Original_Matr, Original_Cognome, Original_Nome, Original_CognomeNome);
+ }
+ }
+
+ ///
+ ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
+ "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
+ public partial class TableAdapterManager : global::System.ComponentModel.Component {
+
+ private UpdateOrderOption _updateOrder;
+
+ private AnagSquadreTableAdapter _anagSquadreTableAdapter;
+
+ private AnagZoneTableAdapter _anagZoneTableAdapter;
+
+ private AnagTipoConsegneTableAdapter _anagTipoConsegneTableAdapter;
+
+ private AnagClientiTableAdapter _anagClientiTableAdapter;
+
+ private DisponibilitaTableAdapter _disponibilitaTableAdapter;
+
+ private DipendentiTableAdapter _dipendentiTableAdapter;
+
+ private bool _backupDataSetBeforeUpdate;
+
+ private global::System.Data.IDbConnection _connection;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public UpdateOrderOption UpdateOrder {
+ get {
+ return this._updateOrder;
+ }
+ set {
+ this._updateOrder = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
+ "a", "System.Drawing.Design.UITypeEditor")]
+ public AnagSquadreTableAdapter AnagSquadreTableAdapter {
+ get {
+ return this._anagSquadreTableAdapter;
+ }
+ set {
+ this._anagSquadreTableAdapter = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
+ "a", "System.Drawing.Design.UITypeEditor")]
+ public AnagZoneTableAdapter AnagZoneTableAdapter {
+ get {
+ return this._anagZoneTableAdapter;
+ }
+ set {
+ this._anagZoneTableAdapter = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
+ "a", "System.Drawing.Design.UITypeEditor")]
+ public AnagTipoConsegneTableAdapter AnagTipoConsegneTableAdapter {
+ get {
+ return this._anagTipoConsegneTableAdapter;
+ }
+ set {
+ this._anagTipoConsegneTableAdapter = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
+ "a", "System.Drawing.Design.UITypeEditor")]
+ public AnagClientiTableAdapter AnagClientiTableAdapter {
+ get {
+ return this._anagClientiTableAdapter;
+ }
+ set {
+ this._anagClientiTableAdapter = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
+ "a", "System.Drawing.Design.UITypeEditor")]
+ public DisponibilitaTableAdapter DisponibilitaTableAdapter {
+ get {
+ return this._disponibilitaTableAdapter;
+ }
+ set {
+ this._disponibilitaTableAdapter = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
+ "a", "System.Drawing.Design.UITypeEditor")]
+ public DipendentiTableAdapter DipendentiTableAdapter {
+ get {
+ return this._dipendentiTableAdapter;
+ }
+ set {
+ this._dipendentiTableAdapter = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool BackupDataSetBeforeUpdate {
+ get {
+ return this._backupDataSetBeforeUpdate;
+ }
+ set {
+ this._backupDataSetBeforeUpdate = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public global::System.Data.IDbConnection Connection {
+ get {
+ if ((this._connection != null)) {
+ return this._connection;
+ }
+ if (((this._anagSquadreTableAdapter != null)
+ && (this._anagSquadreTableAdapter.Connection != null))) {
+ return this._anagSquadreTableAdapter.Connection;
+ }
+ if (((this._anagZoneTableAdapter != null)
+ && (this._anagZoneTableAdapter.Connection != null))) {
+ return this._anagZoneTableAdapter.Connection;
+ }
+ if (((this._anagTipoConsegneTableAdapter != null)
+ && (this._anagTipoConsegneTableAdapter.Connection != null))) {
+ return this._anagTipoConsegneTableAdapter.Connection;
+ }
+ if (((this._anagClientiTableAdapter != null)
+ && (this._anagClientiTableAdapter.Connection != null))) {
+ return this._anagClientiTableAdapter.Connection;
+ }
+ if (((this._disponibilitaTableAdapter != null)
+ && (this._disponibilitaTableAdapter.Connection != null))) {
+ return this._disponibilitaTableAdapter.Connection;
+ }
+ if (((this._dipendentiTableAdapter != null)
+ && (this._dipendentiTableAdapter.Connection != null))) {
+ return this._dipendentiTableAdapter.Connection;
+ }
+ return null;
+ }
+ set {
+ this._connection = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int TableAdapterInstanceCount {
+ get {
+ int count = 0;
+ if ((this._anagSquadreTableAdapter != null)) {
+ count = (count + 1);
+ }
+ if ((this._anagZoneTableAdapter != null)) {
+ count = (count + 1);
+ }
+ if ((this._anagTipoConsegneTableAdapter != null)) {
+ count = (count + 1);
+ }
+ if ((this._anagClientiTableAdapter != null)) {
+ count = (count + 1);
+ }
+ if ((this._disponibilitaTableAdapter != null)) {
+ count = (count + 1);
+ }
+ if ((this._dipendentiTableAdapter != null)) {
+ count = (count + 1);
+ }
+ return count;
+ }
+ }
+
+ ///
+ ///Update rows in top-down order.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private int UpdateUpdatedRows(DS_Applicazione dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) {
+ int result = 0;
+ if ((this._anagSquadreTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.AnagSquadre.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._anagSquadreTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ if ((this._disponibilitaTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.Disponibilita.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._disponibilitaTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ if ((this._dipendentiTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.Dipendenti.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._dipendentiTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ if ((this._anagZoneTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.AnagZone.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._anagZoneTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ if ((this._anagTipoConsegneTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.AnagTipoConsegne.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._anagTipoConsegneTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ if ((this._anagClientiTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._anagClientiTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ return result;
+ }
+
+ ///
+ ///Insert rows in top-down order.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private int UpdateInsertedRows(DS_Applicazione dataSet, global::System.Collections.Generic.List allAddedRows) {
+ int result = 0;
+ if ((this._anagSquadreTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.AnagSquadre.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._anagSquadreTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ if ((this._disponibilitaTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.Disponibilita.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._disponibilitaTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ if ((this._dipendentiTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.Dipendenti.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._dipendentiTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ if ((this._anagZoneTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.AnagZone.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._anagZoneTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ if ((this._anagTipoConsegneTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.AnagTipoConsegne.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._anagTipoConsegneTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ if ((this._anagClientiTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._anagClientiTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ return result;
+ }
+
+ ///
+ ///Delete rows in bottom-up order.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private int UpdateDeletedRows(DS_Applicazione dataSet, global::System.Collections.Generic.List allChangedRows) {
+ int result = 0;
+ if ((this._anagClientiTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._anagClientiTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ if ((this._anagTipoConsegneTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.AnagTipoConsegne.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._anagTipoConsegneTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ if ((this._anagZoneTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.AnagZone.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._anagZoneTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ if ((this._dipendentiTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.Dipendenti.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._dipendentiTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ if ((this._disponibilitaTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.Disponibilita.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._disponibilitaTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ if ((this._anagSquadreTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.AnagSquadre.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._anagSquadreTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ return result;
+ }
+
+ ///
+ ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) {
+ if (((updatedRows == null)
+ || (updatedRows.Length < 1))) {
+ return updatedRows;
+ }
+ if (((allAddedRows == null)
+ || (allAddedRows.Count < 1))) {
+ return updatedRows;
+ }
+ global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List();
+ for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
+ global::System.Data.DataRow row = updatedRows[i];
+ if ((allAddedRows.Contains(row) == false)) {
+ realUpdatedRows.Add(row);
+ }
+ }
+ return realUpdatedRows.ToArray();
+ }
+
+ ///
+ ///Update all changes to the dataset.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public virtual int UpdateAll(DS_Applicazione dataSet) {
+ if ((dataSet == null)) {
+ throw new global::System.ArgumentNullException("dataSet");
+ }
+ if ((dataSet.HasChanges() == false)) {
+ return 0;
+ }
+ if (((this._anagSquadreTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._anagSquadreTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
+ "tring.");
+ }
+ if (((this._anagZoneTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._anagZoneTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
+ "tring.");
+ }
+ if (((this._anagTipoConsegneTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._anagTipoConsegneTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
+ "tring.");
+ }
+ if (((this._anagClientiTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._anagClientiTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
+ "tring.");
+ }
+ if (((this._disponibilitaTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._disponibilitaTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
+ "tring.");
+ }
+ if (((this._dipendentiTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._dipendentiTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
+ "tring.");
+ }
+ global::System.Data.IDbConnection workConnection = this.Connection;
+ if ((workConnection == null)) {
+ throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" +
+ "ger TableAdapter property to a valid TableAdapter instance.");
+ }
+ bool workConnOpened = false;
+ if (((workConnection.State & global::System.Data.ConnectionState.Broken)
+ == global::System.Data.ConnectionState.Broken)) {
+ workConnection.Close();
+ }
+ if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
+ workConnection.Open();
+ workConnOpened = true;
+ }
+ global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
+ if ((workTransaction == null)) {
+ throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" +
+ "ctions or the current state is not allowing the transaction to begin.");
+ }
+ global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List();
+ global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List();
+ global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List();
+ global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary();
+ int result = 0;
+ global::System.Data.DataSet backupDataSet = null;
+ if (this.BackupDataSetBeforeUpdate) {
+ backupDataSet = new global::System.Data.DataSet();
+ backupDataSet.Merge(dataSet);
+ }
+ try {
+ // ---- Prepare for update -----------
+ //
+ if ((this._anagSquadreTableAdapter != null)) {
+ revertConnections.Add(this._anagSquadreTableAdapter, this._anagSquadreTableAdapter.Connection);
+ this._anagSquadreTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._anagSquadreTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._anagSquadreTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._anagSquadreTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._anagSquadreTableAdapter.Adapter);
+ }
+ }
+ if ((this._anagZoneTableAdapter != null)) {
+ revertConnections.Add(this._anagZoneTableAdapter, this._anagZoneTableAdapter.Connection);
+ this._anagZoneTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._anagZoneTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._anagZoneTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._anagZoneTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._anagZoneTableAdapter.Adapter);
+ }
+ }
+ if ((this._anagTipoConsegneTableAdapter != null)) {
+ revertConnections.Add(this._anagTipoConsegneTableAdapter, this._anagTipoConsegneTableAdapter.Connection);
+ this._anagTipoConsegneTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._anagTipoConsegneTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._anagTipoConsegneTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._anagTipoConsegneTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._anagTipoConsegneTableAdapter.Adapter);
+ }
+ }
+ if ((this._anagClientiTableAdapter != null)) {
+ revertConnections.Add(this._anagClientiTableAdapter, this._anagClientiTableAdapter.Connection);
+ this._anagClientiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._anagClientiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._anagClientiTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._anagClientiTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._anagClientiTableAdapter.Adapter);
+ }
+ }
+ if ((this._disponibilitaTableAdapter != null)) {
+ revertConnections.Add(this._disponibilitaTableAdapter, this._disponibilitaTableAdapter.Connection);
+ this._disponibilitaTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._disponibilitaTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._disponibilitaTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._disponibilitaTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._disponibilitaTableAdapter.Adapter);
+ }
+ }
+ if ((this._dipendentiTableAdapter != null)) {
+ revertConnections.Add(this._dipendentiTableAdapter, this._dipendentiTableAdapter.Connection);
+ this._dipendentiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._dipendentiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._dipendentiTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._dipendentiTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._dipendentiTableAdapter.Adapter);
+ }
+ }
+ //
+ //---- Perform updates -----------
+ //
+ if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
+ result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
+ result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
+ }
+ else {
+ result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
+ result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
+ }
+ result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
+ //
+ //---- Commit updates -----------
+ //
+ workTransaction.Commit();
+ if ((0 < allAddedRows.Count)) {
+ global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
+ allAddedRows.CopyTo(rows);
+ for (int i = 0; (i < rows.Length); i = (i + 1)) {
+ global::System.Data.DataRow row = rows[i];
+ row.AcceptChanges();
+ }
+ }
+ if ((0 < allChangedRows.Count)) {
+ global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
+ allChangedRows.CopyTo(rows);
+ for (int i = 0; (i < rows.Length); i = (i + 1)) {
+ global::System.Data.DataRow row = rows[i];
+ row.AcceptChanges();
+ }
+ }
+ }
+ catch (global::System.Exception ex) {
+ workTransaction.Rollback();
+ // ---- Restore the dataset -----------
+ if (this.BackupDataSetBeforeUpdate) {
+ global::System.Diagnostics.Debug.Assert((backupDataSet != null));
+ dataSet.Clear();
+ dataSet.Merge(backupDataSet);
+ }
+ else {
+ if ((0 < allAddedRows.Count)) {
+ global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
+ allAddedRows.CopyTo(rows);
+ for (int i = 0; (i < rows.Length); i = (i + 1)) {
+ global::System.Data.DataRow row = rows[i];
+ row.AcceptChanges();
+ row.SetAdded();
+ }
+ }
+ }
+ throw ex;
+ }
+ finally {
+ if (workConnOpened) {
+ workConnection.Close();
+ }
+ if ((this._anagSquadreTableAdapter != null)) {
+ this._anagSquadreTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagSquadreTableAdapter]));
+ this._anagSquadreTableAdapter.Transaction = null;
+ }
+ if ((this._anagZoneTableAdapter != null)) {
+ this._anagZoneTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagZoneTableAdapter]));
+ this._anagZoneTableAdapter.Transaction = null;
+ }
+ if ((this._anagTipoConsegneTableAdapter != null)) {
+ this._anagTipoConsegneTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagTipoConsegneTableAdapter]));
+ this._anagTipoConsegneTableAdapter.Transaction = null;
+ }
+ if ((this._anagClientiTableAdapter != null)) {
+ this._anagClientiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagClientiTableAdapter]));
+ this._anagClientiTableAdapter.Transaction = null;
+ }
+ if ((this._disponibilitaTableAdapter != null)) {
+ this._disponibilitaTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._disponibilitaTableAdapter]));
+ this._disponibilitaTableAdapter.Transaction = null;
+ }
+ if ((this._dipendentiTableAdapter != null)) {
+ this._dipendentiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._dipendentiTableAdapter]));
+ this._dipendentiTableAdapter.Transaction = null;
+ }
+ if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
+ global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
+ adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
+ for (int i = 0; (i < adapters.Length); i = (i + 1)) {
+ global::System.Data.Common.DataAdapter adapter = adapters[i];
+ adapter.AcceptChangesDuringUpdate = true;
+ }
+ }
+ }
+ return result;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
+ global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
+ if ((this._connection != null)) {
+ return true;
+ }
+ if (((this.Connection == null)
+ || (inputConnection == null))) {
+ return true;
+ }
+ if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
+ return true;
+ }
+ return false;
+ }
+
+ ///
+ ///Update Order Option
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public enum UpdateOrderOption {
+
+ InsertUpdateDelete = 0,
+
+ UpdateInsertDelete = 1,
+ }
+
+ ///
+ ///Used to sort self-referenced table's rows
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer {
+
+ private global::System.Data.DataRelation _relation;
+
+ private int _childFirst;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
+ this._relation = relation;
+ if (childFirst) {
+ this._childFirst = -1;
+ }
+ else {
+ this._childFirst = 1;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) {
+ global::System.Diagnostics.Debug.Assert((row != null));
+ global::System.Data.DataRow root = row;
+ distance = 0;
+
+ global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary();
+ traversedRows[row] = row;
+
+ global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
+ for (
+ ; ((parent != null)
+ && (traversedRows.ContainsKey(parent) == false));
+ ) {
+ distance = (distance + 1);
+ root = parent;
+ traversedRows[parent] = parent;
+ parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
+ }
+
+ if ((distance == 0)) {
+ traversedRows.Clear();
+ traversedRows[row] = row;
+ parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
+ for (
+ ; ((parent != null)
+ && (traversedRows.ContainsKey(parent) == false));
+ ) {
+ distance = (distance + 1);
+ root = parent;
+ traversedRows[parent] = parent;
+ parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
+ }
+ }
+
+ return root;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
+ if (object.ReferenceEquals(row1, row2)) {
+ return 0;
+ }
+ if ((row1 == null)) {
+ return -1;
+ }
+ if ((row2 == null)) {
+ return 1;
+ }
+
+ int distance1 = 0;
+ global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1);
+
+ int distance2 = 0;
+ global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2);
+
+ if (object.ReferenceEquals(root1, root2)) {
+ return (this._childFirst * distance1.CompareTo(distance2));
+ }
+ else {
+ global::System.Diagnostics.Debug.Assert(((root1.Table != null)
+ && (root2.Table != null)));
+ if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) {
+ return -1;
+ }
+ else {
+ return 1;
+ }
+ }
+ }
+ }
+ }
+}
+
+#pragma warning restore 1591
\ No newline at end of file
diff --git a/WebSCR_data/DS_Applicazione.xsc b/WebSCR_data/DS_Applicazione.xsc
new file mode 100644
index 0000000..05b0199
--- /dev/null
+++ b/WebSCR_data/DS_Applicazione.xsc
@@ -0,0 +1,9 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/WebSCR_data/DS_Applicazione.xsd b/WebSCR_data/DS_Applicazione.xsd
new file mode 100644
index 0000000..974c20f
--- /dev/null
+++ b/WebSCR_data/DS_Applicazione.xsd
@@ -0,0 +1,2027 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DELETE FROM [dbo].[AnagSquadre] WHERE (([CodSquadra] = @Original_CodSquadra) AND ([DescrSquadra] = @Original_DescrSquadra) AND ([NumOp] = @Original_NumOp) AND ([Elettrod] = @Original_Elettrod) AND ([Clima] = @Original_Clima) AND ([Inform] = @Original_Inform) AND ([Attiva] = @Original_Attiva) AND ([CssColor] = @Original_CssColor))
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [dbo].[AnagSquadre] ([CodSquadra], [DescrSquadra], [NumOp], [Elettrod], [Clima], [Inform], [Attiva], [CssColor]) VALUES (@CodSquadra, @DescrSquadra, @NumOp, @Elettrod, @Clima, @Inform, @Attiva, @CssColor);
+SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform, Attiva, CssColor FROM AnagSquadre WHERE (CodSquadra = @CodSquadra)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT *
+FROM dbo.AnagSquadre
+
+
+
+
+
+ UPDATE [dbo].[AnagSquadre] SET [CodSquadra] = @CodSquadra, [DescrSquadra] = @DescrSquadra, [NumOp] = @NumOp, [Elettrod] = @Elettrod, [Clima] = @Clima, [Inform] = @Inform, [Attiva] = @Attiva, [CssColor] = @CssColor WHERE (([CodSquadra] = @Original_CodSquadra) AND ([DescrSquadra] = @Original_DescrSquadra) AND ([NumOp] = @Original_NumOp) AND ([Elettrod] = @Original_Elettrod) AND ([Clima] = @Original_Clima) AND ([Inform] = @Original_Inform) AND ([Attiva] = @Original_Attiva) AND ([CssColor] = @Original_CssColor));
+SELECT CodSquadra, DescrSquadra, NumOp, Elettrod, Clima, Inform, Attiva, CssColor FROM AnagSquadre WHERE (CodSquadra = @CodSquadra)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_AS_DeleteQuery
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_AS_getAttive
+
+
+
+
+
+
+
+
+
+ dbo.stp_AS_getByKey
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_AS_InsertQuery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_AS_UpdateQuery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DELETE FROM [AnagZone] WHERE (([idxZona] = @Original_idxZona) AND ([Cap] = @Original_Cap) AND ([Localita] = @Original_Localita) AND ([Prov] = @Original_Prov) AND ([Tempo] = @Original_Tempo) AND ([Zona] = @Original_Zona))
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [AnagZone] ([Cap], [Localita], [Prov], [Tempo], [Zona]) VALUES (@Cap, @Localita, @Prov, @Tempo, @Zona);
+SELECT idxZona, Cap, Localita, Prov, Tempo, Zona FROM AnagZone WHERE (idxZona = SCOPE_IDENTITY()) ORDER BY Zona
+
+
+
+
+
+
+
+
+
+
+
+ SELECT * FROM AnagZone ORDER BY Zona
+
+
+
+
+
+ UPDATE [AnagZone] SET [Cap] = @Cap, [Localita] = @Localita, [Prov] = @Prov, [Tempo] = @Tempo, [Zona] = @Zona WHERE (([idxZona] = @Original_idxZona) AND ([Cap] = @Original_Cap) AND ([Localita] = @Original_Localita) AND ([Prov] = @Original_Prov) AND ([Tempo] = @Original_Tempo) AND ([Zona] = @Original_Zona));
+SELECT idxZona, Cap, Localita, Prov, Tempo, Zona FROM AnagZone WHERE (idxZona = @idxZona) ORDER BY Zona
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_AZ_DeleteQuery
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_AZ_InsertQuery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_AZ_UpdateQuery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DELETE FROM [dbo].[AnagTipoConsegne] WHERE (([CodConsegna] = @Original_CodConsegna) AND ([DescrConsegna] = @Original_DescrConsegna) AND ([MinutiStd] = @Original_MinutiStd) AND ([NumOp] = @Original_NumOp) AND ([Elettrod] = @Original_Elettrod) AND ([Clima] = @Original_Clima) AND ([Inform] = @Original_Inform))
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [dbo].[AnagTipoConsegne] ([CodConsegna], [DescrConsegna], [MinutiStd], [NumOp], [Elettrod], [Clima], [Inform]) VALUES (@CodConsegna, @DescrConsegna, @MinutiStd, @NumOp, @Elettrod, @Clima, @Inform);
+SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FROM AnagTipoConsegne WHERE (CodConsegna = @CodConsegna)
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FROM dbo.AnagTipoConsegne
+
+
+
+
+
+ UPDATE [dbo].[AnagTipoConsegne] SET [CodConsegna] = @CodConsegna, [DescrConsegna] = @DescrConsegna, [MinutiStd] = @MinutiStd, [NumOp] = @NumOp, [Elettrod] = @Elettrod, [Clima] = @Clima, [Inform] = @Inform WHERE (([CodConsegna] = @Original_CodConsegna) AND ([DescrConsegna] = @Original_DescrConsegna) AND ([MinutiStd] = @Original_MinutiStd) AND ([NumOp] = @Original_NumOp) AND ([Elettrod] = @Original_Elettrod) AND ([Clima] = @Original_Clima) AND ([Inform] = @Original_Inform));
+SELECT CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform FROM AnagTipoConsegne WHERE (CodConsegna = @CodConsegna)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_ATC_DeleteQuery
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_ATC_InsertQuery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_ATC_UpdateQuery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DELETE FROM [dbo].[AnagClienti] WHERE (([CodCliente] = @Original_CodCliente) AND ([RagSoc] = @Original_RagSoc) AND ((@IsNull_CodFis = 1 AND [CodFis] IS NULL) OR ([CodFis] = @Original_CodFis)) AND ((@IsNull_Tel = 1 AND [Tel] IS NULL) OR ([Tel] = @Original_Tel)) AND ((@IsNull_Cell = 1 AND [Cell] IS NULL) OR ([Cell] = @Original_Cell)) AND ([EnableSMS] = @Original_EnableSMS) AND ((@IsNull_Email = 1 AND [Email] IS NULL) OR ([Email] = @Original_Email)) AND ((@IsNull_Indir = 1 AND [Indir] IS NULL) OR ([Indir] = @Original_Indir)) AND ((@IsNull_Cap = 1 AND [Cap] IS NULL) OR ([Cap] = @Original_Cap)) AND ((@IsNull_Localita = 1 AND [Localita] IS NULL) OR ([Localita] = @Original_Localita)) AND ((@IsNull_Prov = 1 AND [Prov] IS NULL) OR ([Prov] = @Original_Prov)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note)))
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [dbo].[AnagClienti] ([CodCliente], [RagSoc], [CodFis], [Tel], [Cell], [EnableSMS], [Email], [Indir], [Cap], [Localita], [Prov], [Note]) VALUES (@CodCliente, @RagSoc, @CodFis, @Tel, @Cell, @EnableSMS, @Email, @Indir, @Cap, @Localita, @Prov, @Note);
+SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Localita, Prov, Note FROM AnagClienti WHERE (CodCliente = @CodCliente)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT * FROM dbo.AnagClienti
+
+
+
+
+
+ UPDATE [dbo].[AnagClienti] SET [CodCliente] = @CodCliente, [RagSoc] = @RagSoc, [CodFis] = @CodFis, [Tel] = @Tel, [Cell] = @Cell, [EnableSMS] = @EnableSMS, [Email] = @Email, [Indir] = @Indir, [Cap] = @Cap, [Localita] = @Localita, [Prov] = @Prov, [Note] = @Note WHERE (([CodCliente] = @Original_CodCliente) AND ([RagSoc] = @Original_RagSoc) AND ((@IsNull_CodFis = 1 AND [CodFis] IS NULL) OR ([CodFis] = @Original_CodFis)) AND ((@IsNull_Tel = 1 AND [Tel] IS NULL) OR ([Tel] = @Original_Tel)) AND ((@IsNull_Cell = 1 AND [Cell] IS NULL) OR ([Cell] = @Original_Cell)) AND ([EnableSMS] = @Original_EnableSMS) AND ((@IsNull_Email = 1 AND [Email] IS NULL) OR ([Email] = @Original_Email)) AND ((@IsNull_Indir = 1 AND [Indir] IS NULL) OR ([Indir] = @Original_Indir)) AND ((@IsNull_Cap = 1 AND [Cap] IS NULL) OR ([Cap] = @Original_Cap)) AND ((@IsNull_Localita = 1 AND [Localita] IS NULL) OR ([Localita] = @Original_Localita)) AND ((@IsNull_Prov = 1 AND [Prov] IS NULL) OR ([Prov] = @Original_Prov)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note)));
+SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Localita, Prov, Note FROM AnagClienti WHERE (CodCliente = @CodCliente)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_AC_GetByCod
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_AC_GetLast
+
+
+
+
+
+
+
+
+
+ dbo.stp_AC_upsert
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT *
+FROM v_elencoImpegni
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_Imp_getByCodCli
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_Imp_getByKey
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_Imp_getBySearch
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_Imp_insertQuery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_Imp_recFineInt
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_Imp_recStartInt
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_Imp_updateQuery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_Imp_updNoteInt
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_Imp_updStart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT Data, NumOp, ScoreDisp, ScoreZona FROM v_DispImpTot
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_DispImpTot_getByDataRange
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT Data, CodSquadra, OreDisp, OreImp FROM dbo.v_DispImpSquadre
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT * FROM dbo.v_ImpegniCal
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_ImpCal_getByDay
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DELETE FROM [dbo].[Disponibilita] WHERE (([Data] = @Original_Data) AND ([CodSquadra] = @Original_CodSquadra) AND ([OreDisp] = @Original_OreDisp) AND ([NumOp] = @Original_NumOp) AND ((@IsNull_MinDisp = 1 AND [MinDisp] IS NULL) OR ([MinDisp] = @Original_MinDisp)))
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [dbo].[Disponibilita] ([Data], [CodSquadra], [OreDisp], [NumOp]) VALUES (@Data, @CodSquadra, @OreDisp, @NumOp);
+SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSquadra = @CodSquadra) AND (Data = @Data)
+
+
+
+
+
+
+
+
+
+
+ SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM dbo.Disponibilita
+
+
+
+
+
+ UPDATE [dbo].[Disponibilita] SET [Data] = @Data, [CodSquadra] = @CodSquadra, [OreDisp] = @OreDisp, [NumOp] = @NumOp WHERE (([Data] = @Original_Data) AND ([CodSquadra] = @Original_CodSquadra) AND ([OreDisp] = @Original_OreDisp) AND ([NumOp] = @Original_NumOp) AND ((@IsNull_MinDisp = 1 AND [MinDisp] IS NULL) OR ([MinDisp] = @Original_MinDisp)));
+SELECT Data, CodSquadra, OreDisp, NumOp, MinDisp FROM Disponibilita WHERE (CodSquadra = @CodSquadra) AND (Data = @Data)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_Dis_delete
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_genDispSquadre
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_genDispSquadreGg
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_Dis_getByData
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_Dis_getByDataNumGg
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT IdxImpegno, NumCons, CodConsegna, DescrConsegna, MinutiStd, NumOp, Elettrod, Clima, Inform, Minuti, Note FROM dbo.v_DettImp
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_DettImp_delete
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_DettImp_getByImpegno
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_DettImp_getByKey
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_DettImp_insert
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_DettImp_update
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT CodCliente, RagSoc, Indir, Cap, Localita, Prov, Zona FROM dbo.v_clientiZone
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_vcz_search
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT TIPOPROTOC, NUMERO, ESERPROTOC, NUMEPROTOC, DATAPROTOC, ESERRIFERI, NUMERIFERI, TIPORIFERI, DATARIFERI, NUMEDOCRIF, DATADOCRIF, ESERCOLLEG, CLI_FOR, DESTINATAR, RGSOC_DEST,
+ INDIR_DEST, LOCAL_DEST, CAP_DEST, ULT_AGG, ANNOTAZION
+FROM raw.DB2_DOCS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_DOC_GetByCodCliente
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_DOC_GetLast
+
+
+
+
+
+
+
+
+
+ dbo.stp_DOC_upsert
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT DataFrom, CodSquadra, Matr, DataTo, CognomeNome
+FROM v_AssSqDip
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_AsSq_delete
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_AsSq_GetByCodSqData
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_AsSq_insert
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DELETE FROM [dbo].[Dipendenti] WHERE (([Matr] = @Original_Matr) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome) AND ([CognomeNome] = @Original_CognomeNome))
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [dbo].[Dipendenti] ([Matr], [Cognome], [Nome]) VALUES (@Matr, @Cognome, @Nome);
+SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)
+
+
+
+
+
+
+
+
+
+ SELECT * FROM dbo.Dipendenti
+
+
+
+
+
+ UPDATE [dbo].[Dipendenti] SET [Matr] = @Matr, [Cognome] = @Cognome, [Nome] = @Nome WHERE (([Matr] = @Original_Matr) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome) AND ([CognomeNome] = @Original_CognomeNome));
+SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WebSCR_data/DS_Applicazione.xss b/WebSCR_data/DS_Applicazione.xss
new file mode 100644
index 0000000..57a64ed
--- /dev/null
+++ b/WebSCR_data/DS_Applicazione.xss
@@ -0,0 +1,62 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 765
+ 720
+
+
+ 765
+ 839
+
+
+
+
+
+
+ 707
+ 868
+
+
+ 609
+ 868
+
+
+
+
+
+
+ 422
+ 667
+
+
+ 422
+ 730
+
+
+
+
+
\ No newline at end of file
diff --git a/WebSCR_data/DS_Utility.Designer.cs b/WebSCR_data/DS_Utility.Designer.cs
new file mode 100644
index 0000000..23b74d9
--- /dev/null
+++ b/WebSCR_data/DS_Utility.Designer.cs
@@ -0,0 +1,3570 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.34014
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+#pragma warning disable 1591
+
+namespace WebSCR_data {
+
+
+ ///
+ ///Represents a strongly typed in-memory cache of data.
+ ///
+ [global::System.Serializable()]
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
+ [global::System.Xml.Serialization.XmlRootAttribute("DS_Utility")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
+ public partial class DS_Utility : global::System.Data.DataSet {
+
+ private tblFilesDataTable tabletblFiles;
+
+ private GiornoTipoDataTable tableGiornoTipo;
+
+ private ListValuesDataTable tableListValues;
+
+ private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public DS_Utility() {
+ this.BeginInit();
+ this.InitClass();
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ base.Tables.CollectionChanged += schemaChangedHandler;
+ base.Relations.CollectionChanged += schemaChangedHandler;
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected DS_Utility(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context, false) {
+ if ((this.IsBinarySerialized(info, context) == true)) {
+ this.InitVars(false);
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ this.Tables.CollectionChanged += schemaChangedHandler1;
+ this.Relations.CollectionChanged += schemaChangedHandler1;
+ return;
+ }
+ string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
+ if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
+ global::System.Data.DataSet ds = new global::System.Data.DataSet();
+ ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
+ if ((ds.Tables["tblFiles"] != null)) {
+ base.Tables.Add(new tblFilesDataTable(ds.Tables["tblFiles"]));
+ }
+ if ((ds.Tables["GiornoTipo"] != null)) {
+ base.Tables.Add(new GiornoTipoDataTable(ds.Tables["GiornoTipo"]));
+ }
+ if ((ds.Tables["ListValues"] != null)) {
+ base.Tables.Add(new ListValuesDataTable(ds.Tables["ListValues"]));
+ }
+ this.DataSetName = ds.DataSetName;
+ this.Prefix = ds.Prefix;
+ this.Namespace = ds.Namespace;
+ this.Locale = ds.Locale;
+ this.CaseSensitive = ds.CaseSensitive;
+ this.EnforceConstraints = ds.EnforceConstraints;
+ this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
+ this.InitVars();
+ }
+ else {
+ this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
+ }
+ this.GetSerializationData(info, context);
+ global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
+ base.Tables.CollectionChanged += schemaChangedHandler;
+ this.Relations.CollectionChanged += schemaChangedHandler;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public tblFilesDataTable tblFiles {
+ get {
+ return this.tabletblFiles;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public GiornoTipoDataTable GiornoTipo {
+ get {
+ return this.tableGiornoTipo;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public ListValuesDataTable ListValues {
+ get {
+ return this.tableListValues;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.BrowsableAttribute(true)]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
+ public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
+ get {
+ return this._schemaSerializationMode;
+ }
+ set {
+ this._schemaSerializationMode = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
+ public new global::System.Data.DataTableCollection Tables {
+ get {
+ return base.Tables;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
+ public new global::System.Data.DataRelationCollection Relations {
+ get {
+ return base.Relations;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void InitializeDerivedDataSet() {
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataSet Clone() {
+ DS_Utility cln = ((DS_Utility)(base.Clone()));
+ cln.InitVars();
+ cln.SchemaSerializationMode = this.SchemaSerializationMode;
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override bool ShouldSerializeTables() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override bool ShouldSerializeRelations() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
+ if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
+ this.Reset();
+ global::System.Data.DataSet ds = new global::System.Data.DataSet();
+ ds.ReadXml(reader);
+ if ((ds.Tables["tblFiles"] != null)) {
+ base.Tables.Add(new tblFilesDataTable(ds.Tables["tblFiles"]));
+ }
+ if ((ds.Tables["GiornoTipo"] != null)) {
+ base.Tables.Add(new GiornoTipoDataTable(ds.Tables["GiornoTipo"]));
+ }
+ if ((ds.Tables["ListValues"] != null)) {
+ base.Tables.Add(new ListValuesDataTable(ds.Tables["ListValues"]));
+ }
+ this.DataSetName = ds.DataSetName;
+ this.Prefix = ds.Prefix;
+ this.Namespace = ds.Namespace;
+ this.Locale = ds.Locale;
+ this.CaseSensitive = ds.CaseSensitive;
+ this.EnforceConstraints = ds.EnforceConstraints;
+ this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
+ this.InitVars();
+ }
+ else {
+ this.ReadXml(reader);
+ this.InitVars();
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
+ global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
+ this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
+ stream.Position = 0;
+ return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.InitVars(true);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars(bool initTable) {
+ this.tabletblFiles = ((tblFilesDataTable)(base.Tables["tblFiles"]));
+ if ((initTable == true)) {
+ if ((this.tabletblFiles != null)) {
+ this.tabletblFiles.InitVars();
+ }
+ }
+ this.tableGiornoTipo = ((GiornoTipoDataTable)(base.Tables["GiornoTipo"]));
+ if ((initTable == true)) {
+ if ((this.tableGiornoTipo != null)) {
+ this.tableGiornoTipo.InitVars();
+ }
+ }
+ this.tableListValues = ((ListValuesDataTable)(base.Tables["ListValues"]));
+ if ((initTable == true)) {
+ if ((this.tableListValues != null)) {
+ this.tableListValues.InitVars();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.DataSetName = "DS_Utility";
+ this.Prefix = "";
+ this.Namespace = "http://tempuri.org/DS_Utility.xsd";
+ this.EnforceConstraints = true;
+ this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
+ this.tabletblFiles = new tblFilesDataTable();
+ base.Tables.Add(this.tabletblFiles);
+ this.tableGiornoTipo = new GiornoTipoDataTable();
+ base.Tables.Add(this.tableGiornoTipo);
+ this.tableListValues = new ListValuesDataTable();
+ base.Tables.Add(this.tableListValues);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializetblFiles() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeGiornoTipo() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeListValues() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
+ if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
+ this.InitVars();
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ DS_Utility ds = new DS_Utility();
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
+ any.Namespace = ds.Namespace;
+ sequence.Items.Add(any);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void tblFilesRowChangeEventHandler(object sender, tblFilesRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void GiornoTipoRowChangeEventHandler(object sender, GiornoTipoRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void ListValuesRowChangeEventHandler(object sender, ListValuesRowChangeEvent e);
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class tblFilesDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnidxFile;
+
+ private global::System.Data.DataColumn columnDataMod;
+
+ private global::System.Data.DataColumn columnFileName;
+
+ private global::System.Data.DataColumn columnContentType;
+
+ private global::System.Data.DataColumn columnData;
+
+ private global::System.Data.DataColumn columnSize;
+
+ private global::System.Data.DataColumn columnIdxImpegno;
+
+ private global::System.Data.DataColumn columnIdxRapportino;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public tblFilesDataTable() {
+ this.TableName = "tblFiles";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal tblFilesDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected tblFilesDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn idxFileColumn {
+ get {
+ return this.columnidxFile;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DataModColumn {
+ get {
+ return this.columnDataMod;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn FileNameColumn {
+ get {
+ return this.columnFileName;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ContentTypeColumn {
+ get {
+ return this.columnContentType;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DataColumn {
+ get {
+ return this.columnData;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn SizeColumn {
+ get {
+ return this.columnSize;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn IdxImpegnoColumn {
+ get {
+ return this.columnIdxImpegno;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn IdxRapportinoColumn {
+ get {
+ return this.columnIdxRapportino;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public tblFilesRow this[int index] {
+ get {
+ return ((tblFilesRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event tblFilesRowChangeEventHandler tblFilesRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event tblFilesRowChangeEventHandler tblFilesRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event tblFilesRowChangeEventHandler tblFilesRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event tblFilesRowChangeEventHandler tblFilesRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddtblFilesRow(tblFilesRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public tblFilesRow AddtblFilesRow(System.DateTime DataMod, string FileName, string ContentType, byte[] Data, long Size, int IdxImpegno, int IdxRapportino) {
+ tblFilesRow rowtblFilesRow = ((tblFilesRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ null,
+ DataMod,
+ FileName,
+ ContentType,
+ Data,
+ Size,
+ IdxImpegno,
+ IdxRapportino};
+ rowtblFilesRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowtblFilesRow);
+ return rowtblFilesRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public tblFilesRow FindByidxFile(int idxFile) {
+ return ((tblFilesRow)(this.Rows.Find(new object[] {
+ idxFile})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ tblFilesDataTable cln = ((tblFilesDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new tblFilesDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnidxFile = base.Columns["idxFile"];
+ this.columnDataMod = base.Columns["DataMod"];
+ this.columnFileName = base.Columns["FileName"];
+ this.columnContentType = base.Columns["ContentType"];
+ this.columnData = base.Columns["Data"];
+ this.columnSize = base.Columns["Size"];
+ this.columnIdxImpegno = base.Columns["IdxImpegno"];
+ this.columnIdxRapportino = base.Columns["IdxRapportino"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnidxFile = new global::System.Data.DataColumn("idxFile", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnidxFile);
+ this.columnDataMod = new global::System.Data.DataColumn("DataMod", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDataMod);
+ this.columnFileName = new global::System.Data.DataColumn("FileName", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFileName);
+ this.columnContentType = new global::System.Data.DataColumn("ContentType", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnContentType);
+ this.columnData = new global::System.Data.DataColumn("Data", typeof(byte[]), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnData);
+ this.columnSize = new global::System.Data.DataColumn("Size", typeof(long), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnSize);
+ this.columnIdxImpegno = new global::System.Data.DataColumn("IdxImpegno", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnIdxImpegno);
+ this.columnIdxRapportino = new global::System.Data.DataColumn("IdxRapportino", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnIdxRapportino);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnidxFile}, true));
+ this.columnidxFile.AutoIncrement = true;
+ this.columnidxFile.AutoIncrementSeed = -1;
+ this.columnidxFile.AutoIncrementStep = -1;
+ this.columnidxFile.AllowDBNull = false;
+ this.columnidxFile.ReadOnly = true;
+ this.columnidxFile.Unique = true;
+ this.columnDataMod.AllowDBNull = false;
+ this.columnFileName.AllowDBNull = false;
+ this.columnFileName.MaxLength = 50;
+ this.columnContentType.AllowDBNull = false;
+ this.columnContentType.MaxLength = 250;
+ this.columnData.AllowDBNull = false;
+ this.columnSize.ReadOnly = true;
+ this.columnIdxImpegno.AllowDBNull = false;
+ this.columnIdxRapportino.AllowDBNull = false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public tblFilesRow NewtblFilesRow() {
+ return ((tblFilesRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new tblFilesRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(tblFilesRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.tblFilesRowChanged != null)) {
+ this.tblFilesRowChanged(this, new tblFilesRowChangeEvent(((tblFilesRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.tblFilesRowChanging != null)) {
+ this.tblFilesRowChanging(this, new tblFilesRowChangeEvent(((tblFilesRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.tblFilesRowDeleted != null)) {
+ this.tblFilesRowDeleted(this, new tblFilesRowChangeEvent(((tblFilesRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.tblFilesRowDeleting != null)) {
+ this.tblFilesRowDeleting(this, new tblFilesRowChangeEvent(((tblFilesRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemovetblFilesRow(tblFilesRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_Utility ds = new DS_Utility();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "tblFilesDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class GiornoTipoDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnOrario;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public GiornoTipoDataTable() {
+ this.TableName = "GiornoTipo";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal GiornoTipoDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected GiornoTipoDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn OrarioColumn {
+ get {
+ return this.columnOrario;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public GiornoTipoRow this[int index] {
+ get {
+ return ((GiornoTipoRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event GiornoTipoRowChangeEventHandler GiornoTipoRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event GiornoTipoRowChangeEventHandler GiornoTipoRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event GiornoTipoRowChangeEventHandler GiornoTipoRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event GiornoTipoRowChangeEventHandler GiornoTipoRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddGiornoTipoRow(GiornoTipoRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public GiornoTipoRow AddGiornoTipoRow(System.TimeSpan Orario) {
+ GiornoTipoRow rowGiornoTipoRow = ((GiornoTipoRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ Orario};
+ rowGiornoTipoRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowGiornoTipoRow);
+ return rowGiornoTipoRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public GiornoTipoRow FindByOrario(System.TimeSpan Orario) {
+ return ((GiornoTipoRow)(this.Rows.Find(new object[] {
+ Orario})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ GiornoTipoDataTable cln = ((GiornoTipoDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new GiornoTipoDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnOrario = base.Columns["Orario"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnOrario = new global::System.Data.DataColumn("Orario", typeof(global::System.TimeSpan), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnOrario);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnOrario}, true));
+ this.columnOrario.AllowDBNull = false;
+ this.columnOrario.Unique = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public GiornoTipoRow NewGiornoTipoRow() {
+ return ((GiornoTipoRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new GiornoTipoRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(GiornoTipoRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.GiornoTipoRowChanged != null)) {
+ this.GiornoTipoRowChanged(this, new GiornoTipoRowChangeEvent(((GiornoTipoRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.GiornoTipoRowChanging != null)) {
+ this.GiornoTipoRowChanging(this, new GiornoTipoRowChangeEvent(((GiornoTipoRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.GiornoTipoRowDeleted != null)) {
+ this.GiornoTipoRowDeleted(this, new GiornoTipoRowChangeEvent(((GiornoTipoRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.GiornoTipoRowDeleting != null)) {
+ this.GiornoTipoRowDeleting(this, new GiornoTipoRowChangeEvent(((GiornoTipoRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveGiornoTipoRow(GiornoTipoRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_Utility ds = new DS_Utility();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "GiornoTipoDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class ListValuesDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnTableName;
+
+ private global::System.Data.DataColumn columnFieldName;
+
+ private global::System.Data.DataColumn columnvalue;
+
+ private global::System.Data.DataColumn columnlabel;
+
+ private global::System.Data.DataColumn columnordinal;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ListValuesDataTable() {
+ this.TableName = "ListValues";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal ListValuesDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected ListValuesDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn TableNameColumn {
+ get {
+ return this.columnTableName;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn FieldNameColumn {
+ get {
+ return this.columnFieldName;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn valueColumn {
+ get {
+ return this.columnvalue;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn labelColumn {
+ get {
+ return this.columnlabel;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn ordinalColumn {
+ get {
+ return this.columnordinal;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ListValuesRow this[int index] {
+ get {
+ return ((ListValuesRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ListValuesRowChangeEventHandler ListValuesRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ListValuesRowChangeEventHandler ListValuesRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ListValuesRowChangeEventHandler ListValuesRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ListValuesRowChangeEventHandler ListValuesRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddListValuesRow(ListValuesRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ListValuesRow AddListValuesRow(string TableName, string FieldName, string value, string label, int ordinal) {
+ ListValuesRow rowListValuesRow = ((ListValuesRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ TableName,
+ FieldName,
+ value,
+ label,
+ ordinal};
+ rowListValuesRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowListValuesRow);
+ return rowListValuesRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ListValuesRow FindByTableNameFieldNamevalue(string TableName, string FieldName, string value) {
+ return ((ListValuesRow)(this.Rows.Find(new object[] {
+ TableName,
+ FieldName,
+ value})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ ListValuesDataTable cln = ((ListValuesDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new ListValuesDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnTableName = base.Columns["TableName"];
+ this.columnFieldName = base.Columns["FieldName"];
+ this.columnvalue = base.Columns["value"];
+ this.columnlabel = base.Columns["label"];
+ this.columnordinal = base.Columns["ordinal"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnTableName = new global::System.Data.DataColumn("TableName", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnTableName);
+ this.columnFieldName = new global::System.Data.DataColumn("FieldName", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFieldName);
+ this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnvalue);
+ this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnlabel);
+ this.columnordinal = new global::System.Data.DataColumn("ordinal", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnordinal);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnTableName,
+ this.columnFieldName,
+ this.columnvalue}, true));
+ this.columnTableName.AllowDBNull = false;
+ this.columnTableName.MaxLength = 50;
+ this.columnFieldName.AllowDBNull = false;
+ this.columnFieldName.MaxLength = 50;
+ this.columnvalue.AllowDBNull = false;
+ this.columnvalue.MaxLength = 10;
+ this.columnlabel.MaxLength = 50;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ListValuesRow NewListValuesRow() {
+ return ((ListValuesRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new ListValuesRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(ListValuesRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.ListValuesRowChanged != null)) {
+ this.ListValuesRowChanged(this, new ListValuesRowChangeEvent(((ListValuesRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.ListValuesRowChanging != null)) {
+ this.ListValuesRowChanging(this, new ListValuesRowChangeEvent(((ListValuesRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.ListValuesRowDeleted != null)) {
+ this.ListValuesRowDeleted(this, new ListValuesRowChangeEvent(((ListValuesRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.ListValuesRowDeleting != null)) {
+ this.ListValuesRowDeleting(this, new ListValuesRowChangeEvent(((ListValuesRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveListValuesRow(ListValuesRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_Utility ds = new DS_Utility();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "ListValuesDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class tblFilesRow : global::System.Data.DataRow {
+
+ private tblFilesDataTable tabletblFiles;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal tblFilesRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tabletblFiles = ((tblFilesDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int idxFile {
+ get {
+ return ((int)(this[this.tabletblFiles.idxFileColumn]));
+ }
+ set {
+ this[this.tabletblFiles.idxFileColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime DataMod {
+ get {
+ return ((global::System.DateTime)(this[this.tabletblFiles.DataModColumn]));
+ }
+ set {
+ this[this.tabletblFiles.DataModColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string FileName {
+ get {
+ return ((string)(this[this.tabletblFiles.FileNameColumn]));
+ }
+ set {
+ this[this.tabletblFiles.FileNameColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string ContentType {
+ get {
+ return ((string)(this[this.tabletblFiles.ContentTypeColumn]));
+ }
+ set {
+ this[this.tabletblFiles.ContentTypeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public byte[] Data {
+ get {
+ return ((byte[])(this[this.tabletblFiles.DataColumn]));
+ }
+ set {
+ this[this.tabletblFiles.DataColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public long Size {
+ get {
+ try {
+ return ((long)(this[this.tabletblFiles.SizeColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Size\' in table \'tblFiles\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tabletblFiles.SizeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int IdxImpegno {
+ get {
+ return ((int)(this[this.tabletblFiles.IdxImpegnoColumn]));
+ }
+ set {
+ this[this.tabletblFiles.IdxImpegnoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int IdxRapportino {
+ get {
+ return ((int)(this[this.tabletblFiles.IdxRapportinoColumn]));
+ }
+ set {
+ this[this.tabletblFiles.IdxRapportinoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsSizeNull() {
+ return this.IsNull(this.tabletblFiles.SizeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetSizeNull() {
+ this[this.tabletblFiles.SizeColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class GiornoTipoRow : global::System.Data.DataRow {
+
+ private GiornoTipoDataTable tableGiornoTipo;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal GiornoTipoRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableGiornoTipo = ((GiornoTipoDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.TimeSpan Orario {
+ get {
+ return ((global::System.TimeSpan)(this[this.tableGiornoTipo.OrarioColumn]));
+ }
+ set {
+ this[this.tableGiornoTipo.OrarioColumn] = value;
+ }
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class ListValuesRow : global::System.Data.DataRow {
+
+ private ListValuesDataTable tableListValues;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal ListValuesRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableListValues = ((ListValuesDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string TableName {
+ get {
+ return ((string)(this[this.tableListValues.TableNameColumn]));
+ }
+ set {
+ this[this.tableListValues.TableNameColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string FieldName {
+ get {
+ return ((string)(this[this.tableListValues.FieldNameColumn]));
+ }
+ set {
+ this[this.tableListValues.FieldNameColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string value {
+ get {
+ return ((string)(this[this.tableListValues.valueColumn]));
+ }
+ set {
+ this[this.tableListValues.valueColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string label {
+ get {
+ try {
+ return ((string)(this[this.tableListValues.labelColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'ListValues\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableListValues.labelColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int ordinal {
+ get {
+ try {
+ return ((int)(this[this.tableListValues.ordinalColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'ordinal\' in table \'ListValues\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableListValues.ordinalColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IslabelNull() {
+ return this.IsNull(this.tableListValues.labelColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetlabelNull() {
+ this[this.tableListValues.labelColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsordinalNull() {
+ return this.IsNull(this.tableListValues.ordinalColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetordinalNull() {
+ this[this.tableListValues.ordinalColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class tblFilesRowChangeEvent : global::System.EventArgs {
+
+ private tblFilesRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public tblFilesRowChangeEvent(tblFilesRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public tblFilesRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class GiornoTipoRowChangeEvent : global::System.EventArgs {
+
+ private GiornoTipoRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public GiornoTipoRowChangeEvent(GiornoTipoRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public GiornoTipoRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class ListValuesRowChangeEvent : global::System.EventArgs {
+
+ private ListValuesRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ListValuesRowChangeEvent(ListValuesRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ListValuesRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+ }
+}
+namespace WebSCR_data.DS_UtilityTableAdapters {
+
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class tblFilesTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public tblFilesTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "tblFiles";
+ tableMapping.ColumnMappings.Add("idxFile", "idxFile");
+ tableMapping.ColumnMappings.Add("DataMod", "DataMod");
+ tableMapping.ColumnMappings.Add("FileName", "FileName");
+ tableMapping.ColumnMappings.Add("ContentType", "ContentType");
+ tableMapping.ColumnMappings.Add("Data", "Data");
+ tableMapping.ColumnMappings.Add("Size", "Size");
+ tableMapping.ColumnMappings.Add("IdxImpegno", "IdxImpegno");
+ tableMapping.ColumnMappings.Add("IdxRapportino", "IdxRapportino");
+ this._adapter.TableMappings.Add(tableMapping);
+ this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.DeleteCommand.Connection = this.Connection;
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[tblFiles] WHERE (([idxFile] = @Original_idxFile) AND ([DataMod] = @Original_DataMod) AND ([FileName] = @Original_FileName) AND ([ContentType] = @Original_ContentType) AND ((@IsNull_Size = 1 AND [Size] IS NULL) OR ([Size] = @Original_Size)) AND ([IdxImpegno] = @Original_IdxImpegno) AND ([IdxRapportino] = @Original_IdxRapportino))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFile", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFile", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataMod", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataMod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FileName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FileName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ContentType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ContentType", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Size", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Size", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Size", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Size", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxImpegno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxImpegno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxRapportino", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxRapportino", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.InsertCommand.Connection = this.Connection;
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[tblFiles] ([DataMod], [FileName], [ContentType], [Data], [IdxImpegno], [IdxRapportino]) VALUES (@DataMod, @FileName, @ContentType, @Data, @IdxImpegno, @IdxRapportino);
+SELECT idxFile, DataMod, FileName, ContentType, Data, Size, IdxImpegno, IdxRapportino FROM tblFiles WHERE (idxFile = SCOPE_IDENTITY())";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMod", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataMod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FileName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FileName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ContentType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ContentType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.VarBinary, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxImpegno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxRapportino", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxRapportino", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.UpdateCommand.Connection = this.Connection;
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[tblFiles] SET [DataMod] = @DataMod, [FileName] = @FileName, [ContentType] = @ContentType, [Data] = @Data, [IdxImpegno] = @IdxImpegno, [IdxRapportino] = @IdxRapportino WHERE (([idxFile] = @Original_idxFile) AND ([DataMod] = @Original_DataMod) AND ([FileName] = @Original_FileName) AND ([ContentType] = @Original_ContentType) AND ((@IsNull_Size = 1 AND [Size] IS NULL) OR ([Size] = @Original_Size)) AND ([IdxImpegno] = @Original_IdxImpegno) AND ([IdxRapportino] = @Original_IdxRapportino));
+SELECT idxFile, DataMod, FileName, ContentType, Data, Size, IdxImpegno, IdxRapportino FROM tblFiles WHERE (idxFile = @idxFile)";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMod", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataMod", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FileName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FileName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ContentType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ContentType", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.VarBinary, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Data", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxImpegno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxRapportino", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxRapportino", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFile", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFile", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataMod", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataMod", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FileName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FileName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ContentType", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ContentType", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Size", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Size", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Size", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Size", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxImpegno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxImpegno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxRapportino", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxRapportino", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFile", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxFile", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[7];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT idxFile, DataMod, FileName, ContentType, Data, Size, IdxImpegno, IdxRappor" +
+ "tino FROM dbo.tblFiles";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_file_DeleteQuery";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFile", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[2].Connection = this.Connection;
+ this._commandCollection[2].CommandText = "dbo.stp_file_getByImpegno";
+ this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[3].Connection = this.Connection;
+ this._commandCollection[3].CommandText = "dbo.stp_file_getByKey";
+ this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFile", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[4].Connection = this.Connection;
+ this._commandCollection[4].CommandText = "dbo.stp_file_getByRapportino";
+ this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxRapportino", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[5].Connection = this.Connection;
+ this._commandCollection[5].CommandText = "dbo.stp_file_InsertQuery";
+ this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxRapportino", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FileName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ContentType", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.VarBinary, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[6].Connection = this.Connection;
+ this._commandCollection[6].CommandText = "dbo.stp_file_UpdateQuery";
+ this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxRapportino", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FileName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ContentType", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Data", global::System.Data.SqlDbType.VarBinary, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFile", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_Utility.tblFilesDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_Utility.tblFilesDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Utility.tblFilesDataTable dataTable = new DS_Utility.tblFilesDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Utility.tblFilesDataTable getByImpegno(global::System.Nullable IdxImpegno) {
+ this.Adapter.SelectCommand = this.CommandCollection[2];
+ if ((IdxImpegno.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxImpegno.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ DS_Utility.tblFilesDataTable dataTable = new DS_Utility.tblFilesDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Utility.tblFilesDataTable getByKey(global::System.Nullable idxFile) {
+ this.Adapter.SelectCommand = this.CommandCollection[3];
+ if ((idxFile.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxFile.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ DS_Utility.tblFilesDataTable dataTable = new DS_Utility.tblFilesDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Utility.tblFilesDataTable getByRapportino(global::System.Nullable IdxRapportino) {
+ this.Adapter.SelectCommand = this.CommandCollection[4];
+ if ((IdxRapportino.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxRapportino.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ DS_Utility.tblFilesDataTable dataTable = new DS_Utility.tblFilesDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Utility.tblFilesDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Utility dataSet) {
+ return this.Adapter.Update(dataSet, "tblFiles");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow dataRow) {
+ return this.Adapter.Update(new global::System.Data.DataRow[] {
+ dataRow});
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow[] dataRows) {
+ return this.Adapter.Update(dataRows);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(int Original_idxFile, System.DateTime Original_DataMod, string Original_FileName, string Original_ContentType, global::System.Nullable Original_Size, int Original_IdxImpegno, int Original_IdxRapportino) {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxFile));
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((System.DateTime)(Original_DataMod));
+ if ((Original_FileName == null)) {
+ throw new global::System.ArgumentNullException("Original_FileName");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_FileName));
+ }
+ if ((Original_ContentType == null)) {
+ throw new global::System.ArgumentNullException("Original_ContentType");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_ContentType));
+ }
+ if ((Original_Size.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((long)(Original_Size.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((int)(Original_IdxImpegno));
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((int)(Original_IdxRapportino));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.DeleteCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.DeleteCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(System.DateTime DataMod, string FileName, string ContentType, byte[] Data, int IdxImpegno, int IdxRapportino) {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((System.DateTime)(DataMod));
+ if ((FileName == null)) {
+ throw new global::System.ArgumentNullException("FileName");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(FileName));
+ }
+ if ((ContentType == null)) {
+ throw new global::System.ArgumentNullException("ContentType");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(ContentType));
+ }
+ if ((Data == null)) {
+ throw new global::System.ArgumentNullException("Data");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[3].Value = ((byte[])(Data));
+ }
+ this.Adapter.InsertCommand.Parameters[4].Value = ((int)(IdxImpegno));
+ this.Adapter.InsertCommand.Parameters[5].Value = ((int)(IdxRapportino));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.InsertCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.InsertCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(System.DateTime DataMod, string FileName, string ContentType, byte[] Data, int IdxImpegno, int IdxRapportino, int Original_idxFile, System.DateTime Original_DataMod, string Original_FileName, string Original_ContentType, global::System.Nullable Original_Size, int Original_IdxImpegno, int Original_IdxRapportino, int idxFile) {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((System.DateTime)(DataMod));
+ if ((FileName == null)) {
+ throw new global::System.ArgumentNullException("FileName");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(FileName));
+ }
+ if ((ContentType == null)) {
+ throw new global::System.ArgumentNullException("ContentType");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(ContentType));
+ }
+ if ((Data == null)) {
+ throw new global::System.ArgumentNullException("Data");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((byte[])(Data));
+ }
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(IdxImpegno));
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(IdxRapportino));
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(Original_idxFile));
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(Original_DataMod));
+ if ((Original_FileName == null)) {
+ throw new global::System.ArgumentNullException("Original_FileName");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_FileName));
+ }
+ if ((Original_ContentType == null)) {
+ throw new global::System.ArgumentNullException("Original_ContentType");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_ContentType));
+ }
+ if ((Original_Size.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((long)(Original_Size.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(Original_IdxImpegno));
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Original_IdxRapportino));
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(idxFile));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.UpdateCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.UpdateCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(System.DateTime DataMod, string FileName, string ContentType, byte[] Data, int IdxImpegno, int IdxRapportino, int Original_idxFile, System.DateTime Original_DataMod, string Original_FileName, string Original_ContentType, global::System.Nullable Original_Size, int Original_IdxImpegno, int Original_IdxRapportino) {
+ return this.Update(DataMod, FileName, ContentType, Data, IdxImpegno, IdxRapportino, Original_idxFile, Original_DataMod, Original_FileName, Original_ContentType, Original_Size, Original_IdxImpegno, Original_IdxRapportino, Original_idxFile);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int DeleteQuery(global::System.Nullable Original_idxFile) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
+ if ((Original_idxFile.HasValue == true)) {
+ command.Parameters[1].Value = ((int)(Original_idxFile.Value));
+ }
+ else {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int InsertQuery(global::System.Nullable IdxImpegno, global::System.Nullable IdxRapportino, string FileName, string ContentType, byte[] Data) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
+ if ((IdxImpegno.HasValue == true)) {
+ command.Parameters[1].Value = ((int)(IdxImpegno.Value));
+ }
+ else {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((IdxRapportino.HasValue == true)) {
+ command.Parameters[2].Value = ((int)(IdxRapportino.Value));
+ }
+ else {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ if ((FileName == null)) {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[3].Value = ((string)(FileName));
+ }
+ if ((ContentType == null)) {
+ command.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[4].Value = ((string)(ContentType));
+ }
+ if ((Data == null)) {
+ command.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[5].Value = ((byte[])(Data));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int UpdateQuery(global::System.Nullable IdxImpegno, global::System.Nullable IdxRapportino, string FileName, string ContentType, byte[] Data, global::System.Nullable Original_idxFile) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
+ if ((IdxImpegno.HasValue == true)) {
+ command.Parameters[1].Value = ((int)(IdxImpegno.Value));
+ }
+ else {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((IdxRapportino.HasValue == true)) {
+ command.Parameters[2].Value = ((int)(IdxRapportino.Value));
+ }
+ else {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ if ((FileName == null)) {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[3].Value = ((string)(FileName));
+ }
+ if ((ContentType == null)) {
+ command.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[4].Value = ((string)(ContentType));
+ }
+ if ((Data == null)) {
+ command.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[5].Value = ((byte[])(Data));
+ }
+ if ((Original_idxFile.HasValue == true)) {
+ command.Parameters[6].Value = ((int)(Original_idxFile.Value));
+ }
+ else {
+ command.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+ }
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class GiornoTipoTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public GiornoTipoTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "GiornoTipo";
+ tableMapping.ColumnMappings.Add("Orario", "Orario");
+ this._adapter.TableMappings.Add(tableMapping);
+ this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.DeleteCommand.Connection = this.Connection;
+ this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[GiornoTipo] WHERE (([Orario] = @Original_Orario))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Orario", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Orario", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.InsertCommand.Connection = this.Connection;
+ this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[GiornoTipo] ([Orario]) VALUES (@Orario);\r\nSELECT Orario FROM G" +
+ "iornoTipo WHERE (Orario = @Orario)";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Orario", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Orario", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.UpdateCommand.Connection = this.Connection;
+ this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[GiornoTipo] SET [Orario] = @Orario WHERE (([Orario] = @Original_Ora" +
+ "rio));\r\nSELECT Orario FROM GiornoTipo WHERE (Orario = @Orario)";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Orario", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Orario", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Orario", global::System.Data.SqlDbType.Time, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Orario", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT Orario FROM dbo.GiornoTipo";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_Utility.GiornoTipoDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_Utility.GiornoTipoDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Utility.GiornoTipoDataTable dataTable = new DS_Utility.GiornoTipoDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Utility.GiornoTipoDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Utility dataSet) {
+ return this.Adapter.Update(dataSet, "GiornoTipo");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow dataRow) {
+ return this.Adapter.Update(new global::System.Data.DataRow[] {
+ dataRow});
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow[] dataRows) {
+ return this.Adapter.Update(dataRows);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(System.TimeSpan Original_Orario) {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((System.TimeSpan)(Original_Orario));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.DeleteCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.DeleteCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(System.TimeSpan Orario) {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((System.TimeSpan)(Orario));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.InsertCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.InsertCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(System.TimeSpan Orario, System.TimeSpan Original_Orario) {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((System.TimeSpan)(Orario));
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((System.TimeSpan)(Original_Orario));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.UpdateCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.UpdateCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(System.TimeSpan Original_Orario) {
+ return this.Update(Original_Orario, Original_Orario);
+ }
+ }
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class ListValuesTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ListValuesTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "ListValues";
+ tableMapping.ColumnMappings.Add("TableName", "TableName");
+ tableMapping.ColumnMappings.Add("FieldName", "FieldName");
+ tableMapping.ColumnMappings.Add("value", "value");
+ tableMapping.ColumnMappings.Add("label", "label");
+ tableMapping.ColumnMappings.Add("ordinal", "ordinal");
+ this._adapter.TableMappings.Add(tableMapping);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::WebSCR_data.Properties.Settings.Default.WebSCRConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[9];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "dbo.stp_listValues_getByTable";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_listValues_delete";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FieldName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_value", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[2].Connection = this.Connection;
+ this._commandCollection[2].CommandText = "dbo.stp_listValues_getByTable";
+ this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[3].Connection = this.Connection;
+ this._commandCollection[3].CommandText = "dbo.stp_listValues_getDistTable";
+ this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[4].Connection = this.Connection;
+ this._commandCollection[4].CommandText = "dbo.stp_listValues_getValidValues";
+ this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FieldName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[5].Connection = this.Connection;
+ this._commandCollection[5].CommandText = "dbo.stp_listValues_getValidValuesDesc";
+ this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FieldName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[6].Connection = this.Connection;
+ this._commandCollection[6].CommandText = "dbo.stp_listValues_getValidValuesFilt";
+ this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FieldName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@valueLike", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[7].Connection = this.Connection;
+ this._commandCollection[7].CommandText = "dbo.stp_listValues_insNew";
+ this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FieldName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@value", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@label", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ordinal", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[8].Connection = this.Connection;
+ this._commandCollection[8].CommandText = "dbo.stp_listValues_update";
+ this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TableName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FieldName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_value", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@label", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ordinal", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_Utility.ListValuesDataTable dataTable, string TableName) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((TableName == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(TableName));
+ }
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_Utility.ListValuesDataTable GetData(string TableName) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((TableName == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(TableName));
+ }
+ DS_Utility.ListValuesDataTable dataTable = new DS_Utility.ListValuesDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Utility.ListValuesDataTable getByTable(string TableName) {
+ this.Adapter.SelectCommand = this.CommandCollection[2];
+ if ((TableName == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(TableName));
+ }
+ DS_Utility.ListValuesDataTable dataTable = new DS_Utility.ListValuesDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Utility.ListValuesDataTable getDistTableName() {
+ this.Adapter.SelectCommand = this.CommandCollection[3];
+ DS_Utility.ListValuesDataTable dataTable = new DS_Utility.ListValuesDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Utility.ListValuesDataTable getValid(string TableName, string FieldName) {
+ this.Adapter.SelectCommand = this.CommandCollection[4];
+ if ((TableName == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(TableName));
+ }
+ if ((FieldName == null)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((string)(FieldName));
+ }
+ DS_Utility.ListValuesDataTable dataTable = new DS_Utility.ListValuesDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Utility.ListValuesDataTable getValidDesc(string TableName, string FieldName) {
+ this.Adapter.SelectCommand = this.CommandCollection[5];
+ if ((TableName == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(TableName));
+ }
+ if ((FieldName == null)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((string)(FieldName));
+ }
+ DS_Utility.ListValuesDataTable dataTable = new DS_Utility.ListValuesDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_Utility.ListValuesDataTable getValidFilt(string TableName, string FieldName, string valueLike) {
+ this.Adapter.SelectCommand = this.CommandCollection[6];
+ if ((TableName == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(TableName));
+ }
+ if ((FieldName == null)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((string)(FieldName));
+ }
+ if ((valueLike == null)) {
+ this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[3].Value = ((string)(valueLike));
+ }
+ DS_Utility.ListValuesDataTable dataTable = new DS_Utility.ListValuesDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int deleteQuery(string Original_TableName, string Original_FieldName, string Original_value) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
+ if ((Original_TableName == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(Original_TableName));
+ }
+ if ((Original_FieldName == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(Original_FieldName));
+ }
+ if ((Original_value == null)) {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[3].Value = ((string)(Original_value));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int insertQuery(string TableName, string FieldName, string value, string label, global::System.Nullable ordinal) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
+ if ((TableName == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(TableName));
+ }
+ if ((FieldName == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(FieldName));
+ }
+ if ((value == null)) {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[3].Value = ((string)(value));
+ }
+ if ((label == null)) {
+ command.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[4].Value = ((string)(label));
+ }
+ if ((ordinal.HasValue == true)) {
+ command.Parameters[5].Value = ((int)(ordinal.Value));
+ }
+ else {
+ command.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int updateQuery(string Original_TableName, string Original_FieldName, string Original_value, string label, global::System.Nullable ordinal) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
+ if ((Original_TableName == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(Original_TableName));
+ }
+ if ((Original_FieldName == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(Original_FieldName));
+ }
+ if ((Original_value == null)) {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[3].Value = ((string)(Original_value));
+ }
+ if ((label == null)) {
+ command.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[4].Value = ((string)(label));
+ }
+ if ((ordinal.HasValue == true)) {
+ command.Parameters[5].Value = ((int)(ordinal.Value));
+ }
+ else {
+ command.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+ }
+
+ ///
+ ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
+ "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
+ public partial class TableAdapterManager : global::System.ComponentModel.Component {
+
+ private UpdateOrderOption _updateOrder;
+
+ private tblFilesTableAdapter _tblFilesTableAdapter;
+
+ private GiornoTipoTableAdapter _giornoTipoTableAdapter;
+
+ private bool _backupDataSetBeforeUpdate;
+
+ private global::System.Data.IDbConnection _connection;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public UpdateOrderOption UpdateOrder {
+ get {
+ return this._updateOrder;
+ }
+ set {
+ this._updateOrder = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
+ "a", "System.Drawing.Design.UITypeEditor")]
+ public tblFilesTableAdapter tblFilesTableAdapter {
+ get {
+ return this._tblFilesTableAdapter;
+ }
+ set {
+ this._tblFilesTableAdapter = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
+ "a", "System.Drawing.Design.UITypeEditor")]
+ public GiornoTipoTableAdapter GiornoTipoTableAdapter {
+ get {
+ return this._giornoTipoTableAdapter;
+ }
+ set {
+ this._giornoTipoTableAdapter = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool BackupDataSetBeforeUpdate {
+ get {
+ return this._backupDataSetBeforeUpdate;
+ }
+ set {
+ this._backupDataSetBeforeUpdate = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public global::System.Data.IDbConnection Connection {
+ get {
+ if ((this._connection != null)) {
+ return this._connection;
+ }
+ if (((this._tblFilesTableAdapter != null)
+ && (this._tblFilesTableAdapter.Connection != null))) {
+ return this._tblFilesTableAdapter.Connection;
+ }
+ if (((this._giornoTipoTableAdapter != null)
+ && (this._giornoTipoTableAdapter.Connection != null))) {
+ return this._giornoTipoTableAdapter.Connection;
+ }
+ return null;
+ }
+ set {
+ this._connection = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int TableAdapterInstanceCount {
+ get {
+ int count = 0;
+ if ((this._tblFilesTableAdapter != null)) {
+ count = (count + 1);
+ }
+ if ((this._giornoTipoTableAdapter != null)) {
+ count = (count + 1);
+ }
+ return count;
+ }
+ }
+
+ ///
+ ///Update rows in top-down order.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private int UpdateUpdatedRows(DS_Utility dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) {
+ int result = 0;
+ if ((this._tblFilesTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.tblFiles.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._tblFilesTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ if ((this._giornoTipoTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.GiornoTipo.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._giornoTipoTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ return result;
+ }
+
+ ///
+ ///Insert rows in top-down order.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private int UpdateInsertedRows(DS_Utility dataSet, global::System.Collections.Generic.List allAddedRows) {
+ int result = 0;
+ if ((this._tblFilesTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.tblFiles.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._tblFilesTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ if ((this._giornoTipoTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.GiornoTipo.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._giornoTipoTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ return result;
+ }
+
+ ///
+ ///Delete rows in bottom-up order.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private int UpdateDeletedRows(DS_Utility dataSet, global::System.Collections.Generic.List allChangedRows) {
+ int result = 0;
+ if ((this._giornoTipoTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.GiornoTipo.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._giornoTipoTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ if ((this._tblFilesTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.tblFiles.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._tblFilesTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ return result;
+ }
+
+ ///
+ ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) {
+ if (((updatedRows == null)
+ || (updatedRows.Length < 1))) {
+ return updatedRows;
+ }
+ if (((allAddedRows == null)
+ || (allAddedRows.Count < 1))) {
+ return updatedRows;
+ }
+ global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List();
+ for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
+ global::System.Data.DataRow row = updatedRows[i];
+ if ((allAddedRows.Contains(row) == false)) {
+ realUpdatedRows.Add(row);
+ }
+ }
+ return realUpdatedRows.ToArray();
+ }
+
+ ///
+ ///Update all changes to the dataset.
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public virtual int UpdateAll(DS_Utility dataSet) {
+ if ((dataSet == null)) {
+ throw new global::System.ArgumentNullException("dataSet");
+ }
+ if ((dataSet.HasChanges() == false)) {
+ return 0;
+ }
+ if (((this._tblFilesTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._tblFilesTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
+ "tring.");
+ }
+ if (((this._giornoTipoTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._giornoTipoTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
+ "tring.");
+ }
+ global::System.Data.IDbConnection workConnection = this.Connection;
+ if ((workConnection == null)) {
+ throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" +
+ "ger TableAdapter property to a valid TableAdapter instance.");
+ }
+ bool workConnOpened = false;
+ if (((workConnection.State & global::System.Data.ConnectionState.Broken)
+ == global::System.Data.ConnectionState.Broken)) {
+ workConnection.Close();
+ }
+ if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
+ workConnection.Open();
+ workConnOpened = true;
+ }
+ global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
+ if ((workTransaction == null)) {
+ throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" +
+ "ctions or the current state is not allowing the transaction to begin.");
+ }
+ global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List();
+ global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List();
+ global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List();
+ global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary();
+ int result = 0;
+ global::System.Data.DataSet backupDataSet = null;
+ if (this.BackupDataSetBeforeUpdate) {
+ backupDataSet = new global::System.Data.DataSet();
+ backupDataSet.Merge(dataSet);
+ }
+ try {
+ // ---- Prepare for update -----------
+ //
+ if ((this._tblFilesTableAdapter != null)) {
+ revertConnections.Add(this._tblFilesTableAdapter, this._tblFilesTableAdapter.Connection);
+ this._tblFilesTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._tblFilesTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._tblFilesTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._tblFilesTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._tblFilesTableAdapter.Adapter);
+ }
+ }
+ if ((this._giornoTipoTableAdapter != null)) {
+ revertConnections.Add(this._giornoTipoTableAdapter, this._giornoTipoTableAdapter.Connection);
+ this._giornoTipoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._giornoTipoTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._giornoTipoTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._giornoTipoTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._giornoTipoTableAdapter.Adapter);
+ }
+ }
+ //
+ //---- Perform updates -----------
+ //
+ if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
+ result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
+ result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
+ }
+ else {
+ result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
+ result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
+ }
+ result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
+ //
+ //---- Commit updates -----------
+ //
+ workTransaction.Commit();
+ if ((0 < allAddedRows.Count)) {
+ global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
+ allAddedRows.CopyTo(rows);
+ for (int i = 0; (i < rows.Length); i = (i + 1)) {
+ global::System.Data.DataRow row = rows[i];
+ row.AcceptChanges();
+ }
+ }
+ if ((0 < allChangedRows.Count)) {
+ global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
+ allChangedRows.CopyTo(rows);
+ for (int i = 0; (i < rows.Length); i = (i + 1)) {
+ global::System.Data.DataRow row = rows[i];
+ row.AcceptChanges();
+ }
+ }
+ }
+ catch (global::System.Exception ex) {
+ workTransaction.Rollback();
+ // ---- Restore the dataset -----------
+ if (this.BackupDataSetBeforeUpdate) {
+ global::System.Diagnostics.Debug.Assert((backupDataSet != null));
+ dataSet.Clear();
+ dataSet.Merge(backupDataSet);
+ }
+ else {
+ if ((0 < allAddedRows.Count)) {
+ global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
+ allAddedRows.CopyTo(rows);
+ for (int i = 0; (i < rows.Length); i = (i + 1)) {
+ global::System.Data.DataRow row = rows[i];
+ row.AcceptChanges();
+ row.SetAdded();
+ }
+ }
+ }
+ throw ex;
+ }
+ finally {
+ if (workConnOpened) {
+ workConnection.Close();
+ }
+ if ((this._tblFilesTableAdapter != null)) {
+ this._tblFilesTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._tblFilesTableAdapter]));
+ this._tblFilesTableAdapter.Transaction = null;
+ }
+ if ((this._giornoTipoTableAdapter != null)) {
+ this._giornoTipoTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._giornoTipoTableAdapter]));
+ this._giornoTipoTableAdapter.Transaction = null;
+ }
+ if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
+ global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
+ adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
+ for (int i = 0; (i < adapters.Length); i = (i + 1)) {
+ global::System.Data.Common.DataAdapter adapter = adapters[i];
+ adapter.AcceptChangesDuringUpdate = true;
+ }
+ }
+ }
+ return result;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
+ global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
+ if ((this._connection != null)) {
+ return true;
+ }
+ if (((this.Connection == null)
+ || (inputConnection == null))) {
+ return true;
+ }
+ if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
+ return true;
+ }
+ return false;
+ }
+
+ ///
+ ///Update Order Option
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public enum UpdateOrderOption {
+
+ InsertUpdateDelete = 0,
+
+ UpdateInsertDelete = 1,
+ }
+
+ ///
+ ///Used to sort self-referenced table's rows
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer {
+
+ private global::System.Data.DataRelation _relation;
+
+ private int _childFirst;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
+ this._relation = relation;
+ if (childFirst) {
+ this._childFirst = -1;
+ }
+ else {
+ this._childFirst = 1;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) {
+ global::System.Diagnostics.Debug.Assert((row != null));
+ global::System.Data.DataRow root = row;
+ distance = 0;
+
+ global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary();
+ traversedRows[row] = row;
+
+ global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
+ for (
+ ; ((parent != null)
+ && (traversedRows.ContainsKey(parent) == false));
+ ) {
+ distance = (distance + 1);
+ root = parent;
+ traversedRows[parent] = parent;
+ parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
+ }
+
+ if ((distance == 0)) {
+ traversedRows.Clear();
+ traversedRows[row] = row;
+ parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
+ for (
+ ; ((parent != null)
+ && (traversedRows.ContainsKey(parent) == false));
+ ) {
+ distance = (distance + 1);
+ root = parent;
+ traversedRows[parent] = parent;
+ parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
+ }
+ }
+
+ return root;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
+ if (object.ReferenceEquals(row1, row2)) {
+ return 0;
+ }
+ if ((row1 == null)) {
+ return -1;
+ }
+ if ((row2 == null)) {
+ return 1;
+ }
+
+ int distance1 = 0;
+ global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1);
+
+ int distance2 = 0;
+ global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2);
+
+ if (object.ReferenceEquals(root1, root2)) {
+ return (this._childFirst * distance1.CompareTo(distance2));
+ }
+ else {
+ global::System.Diagnostics.Debug.Assert(((root1.Table != null)
+ && (root2.Table != null)));
+ if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) {
+ return -1;
+ }
+ else {
+ return 1;
+ }
+ }
+ }
+ }
+ }
+}
+
+#pragma warning restore 1591
\ No newline at end of file
diff --git a/WebSCR_data/DS_Utility.xsc b/WebSCR_data/DS_Utility.xsc
new file mode 100644
index 0000000..05b0199
--- /dev/null
+++ b/WebSCR_data/DS_Utility.xsc
@@ -0,0 +1,9 @@
+
+
+