diff --git a/GMW/Content/Style.css b/GMW/Content/Style.css
index e76b5324..898b3e97 100644
--- a/GMW/Content/Style.css
+++ b/GMW/Content/Style.css
@@ -791,11 +791,9 @@
color: White;
}
.ctrRowStyle {
- vertical-align: top;
background-color: #EFF3FB;
}
.ctrAltRowStyle {
- vertical-align: top;
background-color: White;
}
.ctrRowStyleRight {
diff --git a/GMW/Content/Style.less b/GMW/Content/Style.less
index f50a6b5b..fabd233b 100644
--- a/GMW/Content/Style.less
+++ b/GMW/Content/Style.less
@@ -947,12 +947,10 @@
}
.ctrRowStyle {
- vertical-align: top;
background-color: #EFF3FB;
}
.ctrAltRowStyle {
- vertical-align: top;
background-color: White;
}
diff --git a/GMW/Content/Style.min.css b/GMW/Content/Style.min.css
index 901dfd57..1ce821e4 100644
--- a/GMW/Content/Style.min.css
+++ b/GMW/Content/Style.min.css
@@ -1 +1 @@
-.warnRed{color:red}.warnOrange{color:#ffa500}.allOk{color:green}.navbar.navbar-inverse .navbar-form .search-query{width:225px;margin-top:2px;background-color:#333;font-size:11px;font-weight:bold;line-height:20px;border-color:#000;border-radius:20px;box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0 rgba(255,255,255,.15)}.navbar.navbar-inverse .navbar-form .search-query:focus{background-color:#fff}.navbar.navbar-inverse .navbar-form .search-query::-webkit-input-placeholder{color:#666}.navbar.navbar-inverse .navbar-form .search-query::-moz-placeholder{color:#666}.subnavbar{margin-bottom:.5em;border-top:1px solid #595959}.subnavbar .subnav-toggle{display:none;padding:.5em 0;margin:0 auto;font-size:18px;text-align:center;color:#f90}.subnavbar .subnav-toggle:hover{text-decoration:none}.subnavbar .subnavbar-inner{height:80px;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#414141),to(#323232));background-image:-webkit-linear-gradient(top,#414141,0%,#323232,100%);background-image:-moz-linear-gradient(top,#414141 0%,#323232 100%);background-image:linear-gradient(to bottom,#414141 0%,#323232 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff414141',endColorstr='#ff323232',GradientType=0);border-bottom:1px solid #000}.subnavbar .btn-subnavbar{display:none;padding:10px 0 8px;color:#f90;font-size:16px;text-align:center;cursor:pointer}.subnavbar .btn-subnavbar:hover{text-decoration:none}.subnavbar .dropdown .caret{margin-top:-16px;border-top-color:#888;border-bottom-color:#888;opacity:35;filter:alpha(opacity=3500)}.subnavbar .dropdown.open .caret{display:none}.subnavbar .mainnav{display:inline-block;height:80px;padding:0;margin:0;border-left:1px solid #292929;border-right:1px solid #4a4a4a}.subnavbar .mainnav>li{float:left;min-width:90px;height:80px;padding:0;margin:0;text-align:center;list-style:none;border-left:1px solid #4a4a4a;border-right:1px solid #292929}.subnavbar .mainnav>li>a{display:block;height:100%;padding:0 15px;font-size:12px;font-weight:bold;color:#636363;text-shadow:1px 1px 1px rgba(0,0,0,.2)}.subnavbar .mainnav>li>a:hover{color:#888;text-decoration:none}.subnavbar .mainnav>li>a>i{position:relative;top:2px;display:inline-block;width:24px;height:24px;margin-top:12px;margin-bottom:9px;font-size:28px}.subnavbar .mainnav>li>a>span{display:block;padding-bottom:2px}.subnavbar .mainnav>li.open>a{text-decoration:none}.subnavbar .mainnav>li.active>a{background:#333;color:#f90}.subnavbar .mainnav>li.active>a .caret{border-top-color:#f90;border-bottom-color:#f90}.subnavbar .dropdown>.dropdown-menu{top:97%;text-align:left;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;border-top-left-radius:0;border-top-right-radius:0}.subnavbar .dropdown>.dropdown-menu a{font-size:12px}.subnavbar .dropdown>.dropdown-menu::before,.subnavbar .dropdown>.dropdown-menu::after{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,.2);position:absolute;top:-7px;left:9px}.subnavbar .dropdown>.dropdown-menu::after{border-left-width:6px;border-right-width:6px;border-bottom-width:6px;border-bottom-color:#fff;top:-6px;left:10px}.subnavbar .dropdown-submenu .dropdown-menu:after,.subnavbar .dropdown-submenu .dropdown-menu:before{display:none}.subnavbar .subnav-collapse.collapse{height:auto\9;overflow:visible\9}.shortcuts{text-align:center}.shortcuts .shortcut{width:110px;display:inline-block;padding:15px 0;margin:0 5px 1em;vertical-align:top;text-decoration:none;background:#f3f3f3;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#fff),to(#eee));background-image:-webkit-linear-gradient(top,#fff,0%,#eee,100%);background-image:-moz-linear-gradient(top,#fff 0%,#eee 100%);background-image:linear-gradient(to bottom,#fff 0%,#eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffeeeeee',GradientType=0);border:1px solid #ddd;box-sizing:border-box;border-radius:5px}.shortcuts .shortcut .shortcut-icon{width:100%;margin-top:0;margin-bottom:0;font-size:32px;color:#555}.shortcuts .shortcut:hover{background:#e8e8e8;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#fafafa),to(#e1e1e1));background-image:-webkit-linear-gradient(top,#fafafa,0%,#e1e1e1,100%);background-image:-moz-linear-gradient(top,#fafafa 0%,#e1e1e1 100%);background-image:linear-gradient(to bottom,#fafafa 0%,#e1e1e1 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffafafa',endColorstr='#ffe1e1e1',GradientType=0)}.shortcuts .shortcut:active{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.shortcuts .shortcut:hover .shortcut-icon{color:#666}.shortcuts .shortcut-label{display:block;margin-top:.75em;font-weight:400;color:#666}.widget{position:relative;clear:both;width:auto;margin-bottom:2em}.widget .widget-header{position:relative;height:40px;line-height:40px;background:#e9e9e9;background:-moz-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#fafafa),color-stop(100%,#e9e9e9));background:-webkit-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-o-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-ms-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:linear-gradient(top,#fafafa 0%,#e9e9e9 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA',endColorstr='#E9E9E9');-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9')";border:1px solid #d5d5d5;-webkit-border-top-left-radius:4px;-webkit-border-top-right-radius:4px;-moz-border-radius-topleft:4px;-moz-border-radius-topright:4px;border-top-left-radius:4px;border-top-right-radius:4px;-webkit-background-clip:padding-box}.widget .widget-header h3{top:0;position:relative;left:10px;display:inline-block;margin-right:3em;font-size:15px;font-weight:400;color:#555;line-height:18px;text-shadow:1px 1px 2px rgba(255,255,255,.5)}.widget .widget-header [class^="fa-"],.widget .widget-header [class*=" fa-"]{display:inline-block;margin-top:-3px;margin-left:13px;margin-right:-2px;font-size:16px;color:#555;vertical-align:middle}.widget .widget-content{padding:25px 15px 15px;background:#fff;border:1px solid #d5d5d5;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.widget .widget-header+.widget-content{border-top:none;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;border-top-left-radius:0;border-top-right-radius:0}.widget.widget-nopad .widget-content{padding:0}.widget .widget-content:before,.widget .widget-content:after{content:" ";display:table}.widget .widget-content:after{clear:both}.widget .widget-content:before,.widget .widget-content:after{content:" ";display:table}.widget .widget-content:after{clear:both}.widget.widget-table .widget-content{padding:0}.widget.widget-table .table{margin-bottom:0;border:none}.widget.widget-table .table tr td:first-child,.widget.widget-table .table tr th:first-child{border-left:none}.widget.widget-plain{background:transparent;border:none}.widget.widget-plain .widget-content{padding:0;background:transparent;border:none}.widget.widget-box .widget-content{background:#e3e3e3;background:#fff}.stacked{position:relative}.stacked:after,.stacked:before{content:'';position:absolute;display:block;height:1px;bottom:-2px;left:3px;right:3px;background-color:#fff;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;border:1px solid #d3d3d3;border-top:0}.stacked:before{bottom:-4px;left:6px;right:6px}.stats{width:100%;display:table;padding:0 0 0 10px;margin-top:.5em;margin-bottom:1.9em}.stats .stat{display:table-cell;width:40%;vertical-align:top;font-size:11px;font-weight:bold;color:#999}.stat-value{display:block;margin-bottom:.55em;font-size:30px;font-weight:bold;letter-spacing:-2px;color:#444}.stat-time{text-align:center;padding-top:1.5em}.stat-time .stat-value{color:#f90;font-size:40px}.stats #donut-chart{height:100px;margin-left:-20px}.news-items{padding:0;margin:1em 0 0}.news-items li{display:table;padding:0 2em 0 1.5em;padding-bottom:1em;margin-bottom:1em;border-bottom:1px dotted #ccc}.news-items li:last-child{padding-bottom:0;border:none}.news-item-date{display:table-cell}.news-item-detail{display:table-cell}.news-item-title{font-size:13px;font-weight:600}.news-item-date{width:75px;vertical-align:middle;text-align:right}.news-item-day{display:block;margin-bottom:.25em;font-size:24px;color:#888}.news-item-preview{margin-bottom:0;color:#777}.news-item-month{display:block;padding-right:1px;font-size:12px;font-weight:600;color:#888}.action-table .btn-small{padding:4px 5px 5px;font-size:10px}.action-table .td-actions{width:80px;text-align:center}.action-table .td-actions .btn{margin-right:.5em}.action-table .td-actions .btn:last-child{margin-rigth:0}@media(max-width:480px){.stats .stat{margin-bottom:3em}.stats .stat .stat-value{margin-bottom:.15em;font-size:20px}.stats{float:left;display:block;margin-bottom:0}#chart-stats{margin:2em 0 1em}}@media(max-width:480px){.error-container h1{font-size:72px}.shortcuts .shortcut{width:95px}.shortcuts .shortcut .shortcut-label{font-size:12px}.shortcuts .shortcut .shortcut-icon{font-size:24px}}@media(max-width:979px){.navbar-fixed-top{position:static;margin-bottom:0}.navbar .btn-navbar{font-size:18px;background:none;filter:none;border:none;-webkit-box-shadow:none;box-shadow:none}.navbar .container{padding:0 10px}.subnavbar .subnavbar .container{width:auto}}@media(max-width:768px){.navbar{padding-left:10px;padding-right:10px;margin-right:-20px;margin-left:-20px}.navbar .navbar-nav>li>.dropdown-menu::before,.navbar .navbar-nav>li>.dropdown-menu::after{display:none}.subnavbar .subnav-toggle{display:block}#main{padding:0 10px;margin-right:-20px;margin-left:-20px}.extra{margin-right:-20px;margin-left:-20px}.main .container{padding:0}.main .row{margin-right:-15px;margin-left:-15px}.footer{margin-right:-20px;margin-left:-20px}.footer #footer-terms{margin-top:1em;text-align:left}.footer #footer-terms a{margin-left:0;margin-right:1em}.item-row{display:block}.item-row:before,.item-row:after{content:" ";display:table}.item-row:after{clear:both}.item-row .item-label{display:block;width:100%;margin-bottom:1.5em}.item-row .item-content{display:block;width:100%}.subnavbar{margin-left:-20px;margin-right:-20px}.subnavbar .btn-subnavbar{display:block}.subnavbar .subnavbar-inner{height:auto}.subnavbar .mainnav{display:block;width:100%;height:auto;margin-top:1em;margin-bottom:1.5em;border:none}.subnavbar .mainnav>li{float:none;width:100%;height:auto;margin-bottom:1em;text-align:left;border:none}.subnavbar .mainnav>li>a{display:block;padding-top:5px;padding-bottom:5px;margin-right:.5em;color:#ccc;font-size:13px;font-weight:600}.subnavbar .mainnav>li>a>span{display:inline}.subnavbar .mainnav>li>a>i{display:inline;margin-right:.5em;margin-bottom:0;font-size:14px}.subnavbar .mainnav>li>a .caret{margin-top:-2px;margin-left:3px}.subnavbar .mainnav>li.active>a{color:#f90;background:transparent}.subnavbar .dropdown .dropdown-menu{position:static;float:none;width:100%;background:transparent;border:none;box-shadow:none}.subnavbar .dropdown .dropdown-menu a{padding:12px 40px;color:#fff;font-weight:600}.subnavbar .dropdown .dropdown-menu a:active,.subnavbar .dropdown .dropdown-menu a:focus{background:#555!important;outline:none}.subnavbar .dropdown .dropdown-menu::before,.subnavbar .dropdown .dropdown-menu::after{display:none}.subnavbar .dropdown.open .caret{display:inline-block}.subnavbar .dropdown-submenu>a:after{display:none}.subnavbar .dropdown-submenu>.dropdown-menu{display:block}.subnavbar .dropdown-submenu>.dropdown-menu>li>a{padding-right:20px;padding-left:60px}}@media(min-width:768px){.subnav-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}}@media(min-width:1200px){.navbar .container,.subnavbar .container{padding-right:0;padding-left:0}.page-title{margin-left:-15px}}.stileAttesa{background:#aaa;text-align:center}.stileComandoOk{background:#afa;text-align:center}.stileComandoKo{background:#faa;text-align:center}.stileComandoAdd{background:#aaf;text-align:center}.stileComandoND{background:#ffa;text-align:center}.sidebar{position:fixed;top:72px;bottom:0;left:0;z-index:1000;display:block;padding:20px;overflow-x:hidden;overflow-y:auto;background-color:#f5f5f5;border-right:1px solid #eee}.ombra{box-shadow:0 20px 20px black}.ctrHeaderPager{background-color:#b8b8b8;font-weight:bold;color:#fff}.ctrHeaderPagerRight{background-color:#b8b8b8;font-weight:bold;color:#fff;text-align:right}.ctrHeaderPagerBlue{background-color:#507cd1;height:1px}.ctrHeaderPagerBlueRight{background-color:#507cd1;height:1px;text-align:right}.ctrFooter{background-color:#507cd1;font-weight:bold;color:#fff}.ctrRowStyle{vertical-align:top;background-color:#eff3fb}.ctrAltRowStyle{vertical-align:top;background-color:#fff}.ctrRowStyleRight{background-color:#eff3fb;text-align:right}.ctrAltRowStyleRight{background-color:#fff;text-align:right}.ctrInsRowStyle{background-color:#b8b8b8}.ctrEditRowStyle{background-color:#d1ddf1}.ctrSelRowStyle{font-weight:bold;color:#333;background-color:#d1ddf1}.ctrSelRowStyleYellow{font-weight:bold;color:#333;background-color:#ff0}.ctrCommRow{font-weight:bold;background-color:#d1ddf1}.ctrFiledHead{background-color:#dee8f5;font-weight:bold;width:25%}.ctrLabelStrong{font-weight:bold}.ctrFieldEdit{font-size:8pt}
\ No newline at end of file
+.warnRed{color:red}.warnOrange{color:#ffa500}.allOk{color:green}.navbar.navbar-inverse .navbar-form .search-query{width:225px;margin-top:2px;background-color:#333;font-size:11px;font-weight:bold;line-height:20px;border-color:#000;border-radius:20px;box-shadow:inset 0 1px 2px rgba(0,0,0,.1),0 1px 0 rgba(255,255,255,.15)}.navbar.navbar-inverse .navbar-form .search-query:focus{background-color:#fff}.navbar.navbar-inverse .navbar-form .search-query::-webkit-input-placeholder{color:#666}.navbar.navbar-inverse .navbar-form .search-query::-moz-placeholder{color:#666}.subnavbar{margin-bottom:.5em;border-top:1px solid #595959}.subnavbar .subnav-toggle{display:none;padding:.5em 0;margin:0 auto;font-size:18px;text-align:center;color:#f90}.subnavbar .subnav-toggle:hover{text-decoration:none}.subnavbar .subnavbar-inner{height:80px;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#414141),to(#323232));background-image:-webkit-linear-gradient(top,#414141,0%,#323232,100%);background-image:-moz-linear-gradient(top,#414141 0%,#323232 100%);background-image:linear-gradient(to bottom,#414141 0%,#323232 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff414141',endColorstr='#ff323232',GradientType=0);border-bottom:1px solid #000}.subnavbar .btn-subnavbar{display:none;padding:10px 0 8px;color:#f90;font-size:16px;text-align:center;cursor:pointer}.subnavbar .btn-subnavbar:hover{text-decoration:none}.subnavbar .dropdown .caret{margin-top:-16px;border-top-color:#888;border-bottom-color:#888;opacity:35;filter:alpha(opacity=3500)}.subnavbar .dropdown.open .caret{display:none}.subnavbar .mainnav{display:inline-block;height:80px;padding:0;margin:0;border-left:1px solid #292929;border-right:1px solid #4a4a4a}.subnavbar .mainnav>li{float:left;min-width:90px;height:80px;padding:0;margin:0;text-align:center;list-style:none;border-left:1px solid #4a4a4a;border-right:1px solid #292929}.subnavbar .mainnav>li>a{display:block;height:100%;padding:0 15px;font-size:12px;font-weight:bold;color:#636363;text-shadow:1px 1px 1px rgba(0,0,0,.2)}.subnavbar .mainnav>li>a:hover{color:#888;text-decoration:none}.subnavbar .mainnav>li>a>i{position:relative;top:2px;display:inline-block;width:24px;height:24px;margin-top:12px;margin-bottom:9px;font-size:28px}.subnavbar .mainnav>li>a>span{display:block;padding-bottom:2px}.subnavbar .mainnav>li.open>a{text-decoration:none}.subnavbar .mainnav>li.active>a{background:#333;color:#f90}.subnavbar .mainnav>li.active>a .caret{border-top-color:#f90;border-bottom-color:#f90}.subnavbar .dropdown>.dropdown-menu{top:97%;text-align:left;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;border-top-left-radius:0;border-top-right-radius:0}.subnavbar .dropdown>.dropdown-menu a{font-size:12px}.subnavbar .dropdown>.dropdown-menu::before,.subnavbar .dropdown>.dropdown-menu::after{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,.2);position:absolute;top:-7px;left:9px}.subnavbar .dropdown>.dropdown-menu::after{border-left-width:6px;border-right-width:6px;border-bottom-width:6px;border-bottom-color:#fff;top:-6px;left:10px}.subnavbar .dropdown-submenu .dropdown-menu:after,.subnavbar .dropdown-submenu .dropdown-menu:before{display:none}.subnavbar .subnav-collapse.collapse{height:auto\9;overflow:visible\9}.shortcuts{text-align:center}.shortcuts .shortcut{width:110px;display:inline-block;padding:15px 0;margin:0 5px 1em;vertical-align:top;text-decoration:none;background:#f3f3f3;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#fff),to(#eee));background-image:-webkit-linear-gradient(top,#fff,0%,#eee,100%);background-image:-moz-linear-gradient(top,#fff 0%,#eee 100%);background-image:linear-gradient(to bottom,#fff 0%,#eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffeeeeee',GradientType=0);border:1px solid #ddd;box-sizing:border-box;border-radius:5px}.shortcuts .shortcut .shortcut-icon{width:100%;margin-top:0;margin-bottom:0;font-size:32px;color:#555}.shortcuts .shortcut:hover{background:#e8e8e8;background-image:-webkit-gradient(linear,left 0%,left 100%,from(#fafafa),to(#e1e1e1));background-image:-webkit-linear-gradient(top,#fafafa,0%,#e1e1e1,100%);background-image:-moz-linear-gradient(top,#fafafa 0%,#e1e1e1 100%);background-image:linear-gradient(to bottom,#fafafa 0%,#e1e1e1 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffafafa',endColorstr='#ffe1e1e1',GradientType=0)}.shortcuts .shortcut:active{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.shortcuts .shortcut:hover .shortcut-icon{color:#666}.shortcuts .shortcut-label{display:block;margin-top:.75em;font-weight:400;color:#666}.widget{position:relative;clear:both;width:auto;margin-bottom:2em}.widget .widget-header{position:relative;height:40px;line-height:40px;background:#e9e9e9;background:-moz-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#fafafa),color-stop(100%,#e9e9e9));background:-webkit-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-o-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:-ms-linear-gradient(top,#fafafa 0%,#e9e9e9 100%);background:linear-gradient(top,#fafafa 0%,#e9e9e9 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA',endColorstr='#E9E9E9');-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9')";border:1px solid #d5d5d5;-webkit-border-top-left-radius:4px;-webkit-border-top-right-radius:4px;-moz-border-radius-topleft:4px;-moz-border-radius-topright:4px;border-top-left-radius:4px;border-top-right-radius:4px;-webkit-background-clip:padding-box}.widget .widget-header h3{top:0;position:relative;left:10px;display:inline-block;margin-right:3em;font-size:15px;font-weight:400;color:#555;line-height:18px;text-shadow:1px 1px 2px rgba(255,255,255,.5)}.widget .widget-header [class^="fa-"],.widget .widget-header [class*=" fa-"]{display:inline-block;margin-top:-3px;margin-left:13px;margin-right:-2px;font-size:16px;color:#555;vertical-align:middle}.widget .widget-content{padding:25px 15px 15px;background:#fff;border:1px solid #d5d5d5;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.widget .widget-header+.widget-content{border-top:none;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;border-top-left-radius:0;border-top-right-radius:0}.widget.widget-nopad .widget-content{padding:0}.widget .widget-content:before,.widget .widget-content:after{content:" ";display:table}.widget .widget-content:after{clear:both}.widget .widget-content:before,.widget .widget-content:after{content:" ";display:table}.widget .widget-content:after{clear:both}.widget.widget-table .widget-content{padding:0}.widget.widget-table .table{margin-bottom:0;border:none}.widget.widget-table .table tr td:first-child,.widget.widget-table .table tr th:first-child{border-left:none}.widget.widget-plain{background:transparent;border:none}.widget.widget-plain .widget-content{padding:0;background:transparent;border:none}.widget.widget-box .widget-content{background:#e3e3e3;background:#fff}.stacked{position:relative}.stacked:after,.stacked:before{content:'';position:absolute;display:block;height:1px;bottom:-2px;left:3px;right:3px;background-color:#fff;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;border:1px solid #d3d3d3;border-top:0}.stacked:before{bottom:-4px;left:6px;right:6px}.stats{width:100%;display:table;padding:0 0 0 10px;margin-top:.5em;margin-bottom:1.9em}.stats .stat{display:table-cell;width:40%;vertical-align:top;font-size:11px;font-weight:bold;color:#999}.stat-value{display:block;margin-bottom:.55em;font-size:30px;font-weight:bold;letter-spacing:-2px;color:#444}.stat-time{text-align:center;padding-top:1.5em}.stat-time .stat-value{color:#f90;font-size:40px}.stats #donut-chart{height:100px;margin-left:-20px}.news-items{padding:0;margin:1em 0 0}.news-items li{display:table;padding:0 2em 0 1.5em;padding-bottom:1em;margin-bottom:1em;border-bottom:1px dotted #ccc}.news-items li:last-child{padding-bottom:0;border:none}.news-item-date{display:table-cell}.news-item-detail{display:table-cell}.news-item-title{font-size:13px;font-weight:600}.news-item-date{width:75px;vertical-align:middle;text-align:right}.news-item-day{display:block;margin-bottom:.25em;font-size:24px;color:#888}.news-item-preview{margin-bottom:0;color:#777}.news-item-month{display:block;padding-right:1px;font-size:12px;font-weight:600;color:#888}.action-table .btn-small{padding:4px 5px 5px;font-size:10px}.action-table .td-actions{width:80px;text-align:center}.action-table .td-actions .btn{margin-right:.5em}.action-table .td-actions .btn:last-child{margin-rigth:0}@media(max-width:480px){.stats .stat{margin-bottom:3em}.stats .stat .stat-value{margin-bottom:.15em;font-size:20px}.stats{float:left;display:block;margin-bottom:0}#chart-stats{margin:2em 0 1em}}@media(max-width:480px){.error-container h1{font-size:72px}.shortcuts .shortcut{width:95px}.shortcuts .shortcut .shortcut-label{font-size:12px}.shortcuts .shortcut .shortcut-icon{font-size:24px}}@media(max-width:979px){.navbar-fixed-top{position:static;margin-bottom:0}.navbar .btn-navbar{font-size:18px;background:none;filter:none;border:none;-webkit-box-shadow:none;box-shadow:none}.navbar .container{padding:0 10px}.subnavbar .subnavbar .container{width:auto}}@media(max-width:768px){.navbar{padding-left:10px;padding-right:10px;margin-right:-20px;margin-left:-20px}.navbar .navbar-nav>li>.dropdown-menu::before,.navbar .navbar-nav>li>.dropdown-menu::after{display:none}.subnavbar .subnav-toggle{display:block}#main{padding:0 10px;margin-right:-20px;margin-left:-20px}.extra{margin-right:-20px;margin-left:-20px}.main .container{padding:0}.main .row{margin-right:-15px;margin-left:-15px}.footer{margin-right:-20px;margin-left:-20px}.footer #footer-terms{margin-top:1em;text-align:left}.footer #footer-terms a{margin-left:0;margin-right:1em}.item-row{display:block}.item-row:before,.item-row:after{content:" ";display:table}.item-row:after{clear:both}.item-row .item-label{display:block;width:100%;margin-bottom:1.5em}.item-row .item-content{display:block;width:100%}.subnavbar{margin-left:-20px;margin-right:-20px}.subnavbar .btn-subnavbar{display:block}.subnavbar .subnavbar-inner{height:auto}.subnavbar .mainnav{display:block;width:100%;height:auto;margin-top:1em;margin-bottom:1.5em;border:none}.subnavbar .mainnav>li{float:none;width:100%;height:auto;margin-bottom:1em;text-align:left;border:none}.subnavbar .mainnav>li>a{display:block;padding-top:5px;padding-bottom:5px;margin-right:.5em;color:#ccc;font-size:13px;font-weight:600}.subnavbar .mainnav>li>a>span{display:inline}.subnavbar .mainnav>li>a>i{display:inline;margin-right:.5em;margin-bottom:0;font-size:14px}.subnavbar .mainnav>li>a .caret{margin-top:-2px;margin-left:3px}.subnavbar .mainnav>li.active>a{color:#f90;background:transparent}.subnavbar .dropdown .dropdown-menu{position:static;float:none;width:100%;background:transparent;border:none;box-shadow:none}.subnavbar .dropdown .dropdown-menu a{padding:12px 40px;color:#fff;font-weight:600}.subnavbar .dropdown .dropdown-menu a:active,.subnavbar .dropdown .dropdown-menu a:focus{background:#555!important;outline:none}.subnavbar .dropdown .dropdown-menu::before,.subnavbar .dropdown .dropdown-menu::after{display:none}.subnavbar .dropdown.open .caret{display:inline-block}.subnavbar .dropdown-submenu>a:after{display:none}.subnavbar .dropdown-submenu>.dropdown-menu{display:block}.subnavbar .dropdown-submenu>.dropdown-menu>li>a{padding-right:20px;padding-left:60px}}@media(min-width:768px){.subnav-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}}@media(min-width:1200px){.navbar .container,.subnavbar .container{padding-right:0;padding-left:0}.page-title{margin-left:-15px}}.stileAttesa{background:#aaa;text-align:center}.stileComandoOk{background:#afa;text-align:center}.stileComandoKo{background:#faa;text-align:center}.stileComandoAdd{background:#aaf;text-align:center}.stileComandoND{background:#ffa;text-align:center}.sidebar{position:fixed;top:72px;bottom:0;left:0;z-index:1000;display:block;padding:20px;overflow-x:hidden;overflow-y:auto;background-color:#f5f5f5;border-right:1px solid #eee}.ombra{box-shadow:0 20px 20px black}.ctrHeaderPager{background-color:#b8b8b8;font-weight:bold;color:#fff}.ctrHeaderPagerRight{background-color:#b8b8b8;font-weight:bold;color:#fff;text-align:right}.ctrHeaderPagerBlue{background-color:#507cd1;height:1px}.ctrHeaderPagerBlueRight{background-color:#507cd1;height:1px;text-align:right}.ctrFooter{background-color:#507cd1;font-weight:bold;color:#fff}.ctrRowStyle{background-color:#eff3fb}.ctrAltRowStyle{background-color:#fff}.ctrRowStyleRight{background-color:#eff3fb;text-align:right}.ctrAltRowStyleRight{background-color:#fff;text-align:right}.ctrInsRowStyle{background-color:#b8b8b8}.ctrEditRowStyle{background-color:#d1ddf1}.ctrSelRowStyle{font-weight:bold;color:#333;background-color:#d1ddf1}.ctrSelRowStyleYellow{font-weight:bold;color:#333;background-color:#ff0}.ctrCommRow{font-weight:bold;background-color:#d1ddf1}.ctrFiledHead{background-color:#dee8f5;font-weight:bold;width:25%}.ctrLabelStrong{font-weight:bold}.ctrFieldEdit{font-size:8pt}
\ No newline at end of file
diff --git a/GMW/PostRX.aspx b/GMW/PostRX.aspx
index d9f76c89..7abb1eca 100644
--- a/GMW/PostRX.aspx
+++ b/GMW/PostRX.aspx
@@ -21,7 +21,7 @@
-
-
-
diff --git a/GMW/PostRX.aspx.designer.cs b/GMW/PostRX.aspx.designer.cs
index 71c12726..dd9e3884 100644
--- a/GMW/PostRX.aspx.designer.cs
+++ b/GMW/PostRX.aspx.designer.cs
@@ -39,6 +39,15 @@ namespace GMW {
///
protected global::GMW.WebUserControls.mod_storicoAzioniOperatore mod_storicoAzioniOperatore1;
+ ///
+ /// btnRefresh control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btnRefresh;
+
///
/// btnShowHideStorico control.
///
diff --git a/GMW/WebUserControls/mod_PostRX_NT.ascx b/GMW/WebUserControls/mod_PostRX_NT.ascx
index 2921a41f..d8f6319b 100644
--- a/GMW/WebUserControls/mod_PostRX_NT.ascx
+++ b/GMW/WebUserControls/mod_PostRX_NT.ascx
@@ -25,24 +25,28 @@
-
<%: traduci("ParicolariCaricati") %>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%--
+
+
+ <%: traduci("ParticolariCaricati") %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <%--
@@ -52,75 +56,87 @@
ToolTip='<%# traduci("Select") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.seleziona, SteamWare.dimImg.small) %>' />
--%>
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ <%--
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ --%>
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
- <%----%>
-
-
-
-
-
-
-
-
-
-
-
- <%--
-
-
<%: traduci("lbtResetUdcTemp") %>
-
--%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <%----%>
+
+
+
+
+
+
+
+
+
+
+
+
+
-
<%: traduci("lblQtaPart") %>
-
-
+
+
+ <%: traduci("lblQtaPart") %>
+
+
+
+
<%: traduci("addUDC") %>
+
+
+
+
+ <%: traduci("lblCesta") %>
+
+
+
- <%--
-
-
--%>
-
<%: traduci("addUDC") %>
-
-
<%: traduci("lblElencoPart") %>
-
+
+
+
<%: traduci("lblElencoPart") %>
+
@@ -145,19 +162,27 @@
-
<%: traduci("lblBarcode") %>
-
+
+
<%: traduci("lblBarcode") %>
+
-
-
-
-
-
-
<%: traduci("btnEmptyNote") %>
- <%--OnClick="btnEmptyNote_Click" --%>
+
+ <%: traduci("Note") %>
+
+
+
+
+
<%: traduci("lbtGeneraAl") %>
+
+
+
<%: traduci("lbtGeneraUDC") %>
+
+
diff --git a/GMW/WebUserControls/mod_PostRX_NT.ascx.cs b/GMW/WebUserControls/mod_PostRX_NT.ascx.cs
index b02c7e11..1aa6895f 100644
--- a/GMW/WebUserControls/mod_PostRX_NT.ascx.cs
+++ b/GMW/WebUserControls/mod_PostRX_NT.ascx.cs
@@ -45,7 +45,6 @@ namespace GMW.WebUserControls
traduciObj();
}
doChecks();
- updatePart();
}
///
/// controllo l'abilitazione alla stampa UDC:
@@ -420,6 +419,7 @@ namespace GMW.WebUserControls
{
eh_reqUpdate(this, new EventArgs());
}
+ verificaBtnStampa();
txtBarcode.Focus();
}
///
@@ -541,7 +541,7 @@ namespace GMW.WebUserControls
{ }
}
int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
- lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
+ lblNumRec.Text = string.Format("{0} / 6", totRecord);
}
else
{
@@ -691,6 +691,78 @@ namespace GMW.WebUserControls
Postazione.CssClass = "stileComandoOk";
doUpdate();
}
+ ///
+ /// Numero cesta inserito
+ ///
+ public string numCesta
+ {
+ get
+ {
+ return txtCesta.Text.Trim();
+ }
+ set
+ {
+ txtCesta.Text = value;
+ }
+ }
+ ///
+ /// evento cambio num cesta/grappolo
+ ///
+ ///
+ ///
+ protected void txtCesta_TextChanged(object sender, EventArgs e)
+ {
+ doUpdate();
+ }
+ ///
+ /// verifica visibilità btn stampa UDC
+ ///
+ private void verificaBtnStampa()
+ {
+ bool showBtnStampa = false;
+ // se ho ALMENO 1 UDC
+ DS_magazzino.V_statoCelleCapienzaAssegnatiRow riga;
+ bool hasUdc = false;
+ try
+ {
+ riga = MagClass.magazzino.taStatoCelle.getByIdxCella(Postazione.currIdxCella)[0];
+ if (riga.UdcAssegnati > 0) hasUdc = true;
+ }
+ catch
+ {
+ }
+ if (hasUdc)
+ {
+ // se ho num cesta...
+ if (numCesta != "")
+ {
+ showBtnStampa = true;
+ }
+ }
+ divNote.Visible = showBtnStampa;
+ }
+ ///
+ /// genera e stampa AL
+ ///
+ ///
+ ///
+ protected void lbtGeneraAl_Click(object sender, EventArgs e)
+ {
+ /* generazione e stampa AL */
+ string AL = "";
+ // creazione AL
+ try
+ {
+ AL = MagClass.magazzino.creaAL(memLayer.ML.StringSessionObj("CodCS"), "AR", "R", MagClass.magazzino.CodSoggCurrUser, DateTime.Now, DateTime.Now.Year, numCesta);
+ }
+ catch
+ { }
+ // associazione UDC ad AL
+
+ // spostamento UDC da idxPosizione temp a reale e nel frattempo spsoto posizUdcCorrente da TabTranPosizEventi
+
+ // lancio stampa
+ }
}
diff --git a/GMW/WebUserControls/mod_PostRX_NT.ascx.designer.cs b/GMW/WebUserControls/mod_PostRX_NT.ascx.designer.cs
index 7bcb8a39..bc482d20 100644
--- a/GMW/WebUserControls/mod_PostRX_NT.ascx.designer.cs
+++ b/GMW/WebUserControls/mod_PostRX_NT.ascx.designer.cs
@@ -93,15 +93,6 @@ namespace GMW.WebUserControls {
///
protected global::System.Web.UI.WebControls.Label lblNumRec;
- ///
- /// lblQta control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblQta;
-
///
/// txtQta control.
///
@@ -120,6 +111,15 @@ namespace GMW.WebUserControls {
///
protected global::System.Web.UI.WebControls.LinkButton lbtAddUdc;
+ ///
+ /// txtCesta control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtCesta;
+
///
/// divModoInput control.
///
@@ -219,15 +219,6 @@ namespace GMW.WebUserControls {
///
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divNote;
- ///
- /// lblNote control.
- ///
- ///
- /// Auto-generated field.
- /// To modify move field declaration from designer file to code-behind file.
- ///
- protected global::System.Web.UI.WebControls.Label lblNote;
-
///
/// txtNote control.
///
@@ -238,12 +229,21 @@ namespace GMW.WebUserControls {
protected global::System.Web.UI.WebControls.TextBox txtNote;
///
- /// lbtEmptyNote control.
+ /// lbtGeneraAl control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.WebControls.LinkButton lbtEmptyNote;
+ protected global::System.Web.UI.WebControls.LinkButton lbtGeneraAl;
+
+ ///
+ /// lbtGeneraUDC control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.LinkButton lbtGeneraUDC;
}
}
diff --git a/GMW/bin/GMW.dll b/GMW/bin/GMW.dll
index 5d3f6d2a..c84d0889 100644
Binary files a/GMW/bin/GMW.dll and b/GMW/bin/GMW.dll differ
diff --git a/GMW/bin/GMW_data.dll b/GMW/bin/GMW_data.dll
index 1b57f025..974e6b10 100644
Binary files a/GMW/bin/GMW_data.dll and b/GMW/bin/GMW_data.dll differ
diff --git a/GMW/bin/SteamWare.dll b/GMW/bin/SteamWare.dll
index fed6497e..d17dc19d 100644
Binary files a/GMW/bin/SteamWare.dll and b/GMW/bin/SteamWare.dll differ
diff --git a/GMW_data/DS_magazzino.Designer.cs b/GMW_data/DS_magazzino.Designer.cs
index 250b3c1c..18102e49 100644
--- a/GMW_data/DS_magazzino.Designer.cs
+++ b/GMW_data/DS_magazzino.Designer.cs
@@ -88,6 +88,10 @@ namespace GMW_data {
private Attr2UDCDataTable tableAttr2UDC;
+ private ElencoAssiemiDataTable tableElencoAssiemi;
+
+ private AL2UDCDataTable tableAL2UDC;
+
private global::System.Data.DataRelation relationFK_PosizioneUdcCorrente_ElencoCartellini;
private global::System.Data.DataRelation relationFK_PosizioneUdcStorico_ElencoCartellini;
@@ -112,6 +116,10 @@ namespace GMW_data {
private global::System.Data.DataRelation relationFK_Attr2UDC_ElencoCartellini;
+ private global::System.Data.DataRelation relationFK_AL2UDC_ElencoAssiemi;
+
+ private global::System.Data.DataRelation relationFK_AL2UDC_ElencoCartellini;
+
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -236,6 +244,12 @@ namespace GMW_data {
if ((ds.Tables["Attr2UDC"] != null)) {
base.Tables.Add(new Attr2UDCDataTable(ds.Tables["Attr2UDC"]));
}
+ if ((ds.Tables["ElencoAssiemi"] != null)) {
+ base.Tables.Add(new ElencoAssiemiDataTable(ds.Tables["ElencoAssiemi"]));
+ }
+ if ((ds.Tables["AL2UDC"] != null)) {
+ base.Tables.Add(new AL2UDCDataTable(ds.Tables["AL2UDC"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -574,6 +588,26 @@ namespace GMW_data {
}
}
+ [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 ElencoAssiemiDataTable ElencoAssiemi {
+ get {
+ return this.tableElencoAssiemi;
+ }
+ }
+
+ [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 AL2UDCDataTable AL2UDC {
+ get {
+ return this.tableAL2UDC;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -737,6 +771,12 @@ namespace GMW_data {
if ((ds.Tables["Attr2UDC"] != null)) {
base.Tables.Add(new Attr2UDCDataTable(ds.Tables["Attr2UDC"]));
}
+ if ((ds.Tables["ElencoAssiemi"] != null)) {
+ base.Tables.Add(new ElencoAssiemiDataTable(ds.Tables["ElencoAssiemi"]));
+ }
+ if ((ds.Tables["AL2UDC"] != null)) {
+ base.Tables.Add(new AL2UDCDataTable(ds.Tables["AL2UDC"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -962,6 +1002,18 @@ namespace GMW_data {
this.tableAttr2UDC.InitVars();
}
}
+ this.tableElencoAssiemi = ((ElencoAssiemiDataTable)(base.Tables["ElencoAssiemi"]));
+ if ((initTable == true)) {
+ if ((this.tableElencoAssiemi != null)) {
+ this.tableElencoAssiemi.InitVars();
+ }
+ }
+ this.tableAL2UDC = ((AL2UDCDataTable)(base.Tables["AL2UDC"]));
+ if ((initTable == true)) {
+ if ((this.tableAL2UDC != null)) {
+ this.tableAL2UDC.InitVars();
+ }
+ }
this.relationFK_PosizioneUdcCorrente_ElencoCartellini = this.Relations["FK_PosizioneUdcCorrente_ElencoCartellini"];
this.relationFK_PosizioneUdcStorico_ElencoCartellini = this.Relations["FK_PosizioneUdcStorico_ElencoCartellini"];
this.relationFK_Blocchi_AnagMag = this.Relations["FK_Blocchi_AnagMag"];
@@ -974,6 +1026,8 @@ namespace GMW_data {
this.relationFK_ElencoCartellini_AnagPosizioni = this.Relations["FK_ElencoCartellini_AnagPosizioni"];
this.relationFK_Celle_TipoCella = this.Relations["FK_Celle_TipoCella"];
this.relationFK_Attr2UDC_ElencoCartellini = this.Relations["FK_Attr2UDC_ElencoCartellini"];
+ this.relationFK_AL2UDC_ElencoAssiemi = this.Relations["FK_AL2UDC_ElencoAssiemi"];
+ this.relationFK_AL2UDC_ElencoCartellini = this.Relations["FK_AL2UDC_ElencoCartellini"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1048,6 +1102,10 @@ namespace GMW_data {
base.Tables.Add(this.tablestp_ParticolareInOutOk);
this.tableAttr2UDC = new Attr2UDCDataTable();
base.Tables.Add(this.tableAttr2UDC);
+ this.tableElencoAssiemi = new ElencoAssiemiDataTable();
+ base.Tables.Add(this.tableElencoAssiemi);
+ this.tableAL2UDC = new AL2UDCDataTable();
+ base.Tables.Add(this.tableAL2UDC);
this.relationFK_PosizioneUdcCorrente_ElencoCartellini = new global::System.Data.DataRelation("FK_PosizioneUdcCorrente_ElencoCartellini", new global::System.Data.DataColumn[] {
this.tableElencoCartellini.UDCColumn}, new global::System.Data.DataColumn[] {
this.tablePosizioneUdcCorrente.UDCColumn}, false);
@@ -1100,6 +1158,14 @@ namespace GMW_data {
this.tableElencoCartellini.UDCColumn}, new global::System.Data.DataColumn[] {
this.tableAttr2UDC.UDCColumn}, false);
this.Relations.Add(this.relationFK_Attr2UDC_ElencoCartellini);
+ this.relationFK_AL2UDC_ElencoAssiemi = new global::System.Data.DataRelation("FK_AL2UDC_ElencoAssiemi", new global::System.Data.DataColumn[] {
+ this.tableElencoAssiemi.ALColumn}, new global::System.Data.DataColumn[] {
+ this.tableAL2UDC.ALColumn}, false);
+ this.Relations.Add(this.relationFK_AL2UDC_ElencoAssiemi);
+ this.relationFK_AL2UDC_ElencoCartellini = new global::System.Data.DataRelation("FK_AL2UDC_ElencoCartellini", new global::System.Data.DataColumn[] {
+ this.tableElencoCartellini.UDCColumn}, new global::System.Data.DataColumn[] {
+ this.tableAL2UDC.UDCColumn}, false);
+ this.Relations.Add(this.relationFK_AL2UDC_ElencoCartellini);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1294,6 +1360,18 @@ namespace GMW_data {
return false;
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeElencoAssiemi() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeAL2UDC() {
+ 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) {
@@ -1445,6 +1523,12 @@ namespace GMW_data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void Attr2UDCRowChangeEventHandler(object sender, Attr2UDCRowChangeEvent e);
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void ElencoAssiemiRowChangeEventHandler(object sender, ElencoAssiemiRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void AL2UDCRowChangeEventHandler(object sender, AL2UDCRowChangeEvent e);
+
///
///Represents the strongly named DataTable class.
///
@@ -13205,6 +13289,702 @@ namespace GMW_data {
}
}
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class ElencoAssiemiDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnAL;
+
+ private global::System.Data.DataColumn columnTipoAL;
+
+ private global::System.Data.DataColumn columnNumero;
+
+ private global::System.Data.DataColumn columnCesta;
+
+ private global::System.Data.DataColumn columnAttivo;
+
+ private global::System.Data.DataColumn columnDataCreaz;
+
+ private global::System.Data.DataColumn columnCodSoggetto;
+
+ private global::System.Data.DataColumn columnCodDtx_start;
+
+ private global::System.Data.DataColumn columnCodDtx_end;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ElencoAssiemiDataTable() {
+ this.TableName = "ElencoAssiemi";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal ElencoAssiemiDataTable(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 ElencoAssiemiDataTable(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 ALColumn {
+ get {
+ return this.columnAL;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn TipoALColumn {
+ get {
+ return this.columnTipoAL;
+ }
+ }
+
+ [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 CestaColumn {
+ get {
+ return this.columnCesta;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn AttivoColumn {
+ get {
+ return this.columnAttivo;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DataCreazColumn {
+ get {
+ return this.columnDataCreaz;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodSoggettoColumn {
+ get {
+ return this.columnCodSoggetto;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodDtx_startColumn {
+ get {
+ return this.columnCodDtx_start;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodDtx_endColumn {
+ get {
+ return this.columnCodDtx_end;
+ }
+ }
+
+ [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 ElencoAssiemiRow this[int index] {
+ get {
+ return ((ElencoAssiemiRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ElencoAssiemiRowChangeEventHandler ElencoAssiemiRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ElencoAssiemiRowChangeEventHandler ElencoAssiemiRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ElencoAssiemiRowChangeEventHandler ElencoAssiemiRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ElencoAssiemiRowChangeEventHandler ElencoAssiemiRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddElencoAssiemiRow(ElencoAssiemiRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ElencoAssiemiRow AddElencoAssiemiRow(string AL, string TipoAL, string Numero, string Cesta, bool Attivo, System.DateTime DataCreaz, string CodSoggetto, string CodDtx_start, string CodDtx_end) {
+ ElencoAssiemiRow rowElencoAssiemiRow = ((ElencoAssiemiRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ AL,
+ TipoAL,
+ Numero,
+ Cesta,
+ Attivo,
+ DataCreaz,
+ CodSoggetto,
+ CodDtx_start,
+ CodDtx_end};
+ rowElencoAssiemiRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowElencoAssiemiRow);
+ return rowElencoAssiemiRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ElencoAssiemiRow FindByAL(string AL) {
+ return ((ElencoAssiemiRow)(this.Rows.Find(new object[] {
+ AL})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ ElencoAssiemiDataTable cln = ((ElencoAssiemiDataTable)(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 ElencoAssiemiDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnAL = base.Columns["AL"];
+ this.columnTipoAL = base.Columns["TipoAL"];
+ this.columnNumero = base.Columns["Numero"];
+ this.columnCesta = base.Columns["Cesta"];
+ this.columnAttivo = base.Columns["Attivo"];
+ this.columnDataCreaz = base.Columns["DataCreaz"];
+ this.columnCodSoggetto = base.Columns["CodSoggetto"];
+ this.columnCodDtx_start = base.Columns["CodDtx_start"];
+ this.columnCodDtx_end = base.Columns["CodDtx_end"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnAL = new global::System.Data.DataColumn("AL", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnAL);
+ this.columnTipoAL = new global::System.Data.DataColumn("TipoAL", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnTipoAL);
+ this.columnNumero = new global::System.Data.DataColumn("Numero", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnNumero);
+ this.columnCesta = new global::System.Data.DataColumn("Cesta", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCesta);
+ this.columnAttivo = new global::System.Data.DataColumn("Attivo", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnAttivo);
+ this.columnDataCreaz = new global::System.Data.DataColumn("DataCreaz", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDataCreaz);
+ this.columnCodSoggetto = new global::System.Data.DataColumn("CodSoggetto", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodSoggetto);
+ this.columnCodDtx_start = new global::System.Data.DataColumn("CodDtx_start", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodDtx_start);
+ this.columnCodDtx_end = new global::System.Data.DataColumn("CodDtx_end", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodDtx_end);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnAL}, true));
+ this.columnAL.AllowDBNull = false;
+ this.columnAL.Unique = true;
+ this.columnAL.MaxLength = 50;
+ this.columnTipoAL.ReadOnly = true;
+ this.columnTipoAL.MaxLength = 1;
+ this.columnNumero.ReadOnly = true;
+ this.columnNumero.MaxLength = 5;
+ this.columnCesta.ReadOnly = true;
+ this.columnCesta.MaxLength = 4;
+ this.columnAttivo.AllowDBNull = false;
+ this.columnDataCreaz.AllowDBNull = false;
+ this.columnCodSoggetto.AllowDBNull = false;
+ this.columnCodSoggetto.MaxLength = 17;
+ this.columnCodDtx_start.AllowDBNull = false;
+ this.columnCodDtx_start.MaxLength = 50;
+ this.columnCodDtx_end.AllowDBNull = false;
+ this.columnCodDtx_end.MaxLength = 50;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ElencoAssiemiRow NewElencoAssiemiRow() {
+ return ((ElencoAssiemiRow)(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 ElencoAssiemiRow(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(ElencoAssiemiRow);
+ }
+
+ [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.ElencoAssiemiRowChanged != null)) {
+ this.ElencoAssiemiRowChanged(this, new ElencoAssiemiRowChangeEvent(((ElencoAssiemiRow)(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.ElencoAssiemiRowChanging != null)) {
+ this.ElencoAssiemiRowChanging(this, new ElencoAssiemiRowChangeEvent(((ElencoAssiemiRow)(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.ElencoAssiemiRowDeleted != null)) {
+ this.ElencoAssiemiRowDeleted(this, new ElencoAssiemiRowChangeEvent(((ElencoAssiemiRow)(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.ElencoAssiemiRowDeleting != null)) {
+ this.ElencoAssiemiRowDeleting(this, new ElencoAssiemiRowChangeEvent(((ElencoAssiemiRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveElencoAssiemiRow(ElencoAssiemiRow 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_magazzino ds = new DS_magazzino();
+ 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 = "ElencoAssiemiDataTable";
+ 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 AL2UDCDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnAL;
+
+ private global::System.Data.DataColumn columnUDC;
+
+ private global::System.Data.DataColumn columnDataCreaz;
+
+ private global::System.Data.DataColumn columnCodSoggetto;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AL2UDCDataTable() {
+ this.TableName = "AL2UDC";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal AL2UDCDataTable(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 AL2UDCDataTable(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 ALColumn {
+ get {
+ return this.columnAL;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn UDCColumn {
+ get {
+ return this.columnUDC;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DataCreazColumn {
+ get {
+ return this.columnDataCreaz;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CodSoggettoColumn {
+ get {
+ return this.columnCodSoggetto;
+ }
+ }
+
+ [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 AL2UDCRow this[int index] {
+ get {
+ return ((AL2UDCRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AL2UDCRowChangeEventHandler AL2UDCRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AL2UDCRowChangeEventHandler AL2UDCRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AL2UDCRowChangeEventHandler AL2UDCRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event AL2UDCRowChangeEventHandler AL2UDCRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddAL2UDCRow(AL2UDCRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AL2UDCRow AddAL2UDCRow(ElencoAssiemiRow parentElencoAssiemiRowByFK_AL2UDC_ElencoAssiemi, ElencoCartelliniRow parentElencoCartelliniRowByFK_AL2UDC_ElencoCartellini, System.DateTime DataCreaz, string CodSoggetto) {
+ AL2UDCRow rowAL2UDCRow = ((AL2UDCRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ null,
+ null,
+ DataCreaz,
+ CodSoggetto};
+ if ((parentElencoAssiemiRowByFK_AL2UDC_ElencoAssiemi != null)) {
+ columnValuesArray[0] = parentElencoAssiemiRowByFK_AL2UDC_ElencoAssiemi[0];
+ }
+ if ((parentElencoCartelliniRowByFK_AL2UDC_ElencoCartellini != null)) {
+ columnValuesArray[1] = parentElencoCartelliniRowByFK_AL2UDC_ElencoCartellini[0];
+ }
+ rowAL2UDCRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowAL2UDCRow);
+ return rowAL2UDCRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AL2UDCRow FindByALUDC(string AL, string UDC) {
+ return ((AL2UDCRow)(this.Rows.Find(new object[] {
+ AL,
+ UDC})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ AL2UDCDataTable cln = ((AL2UDCDataTable)(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 AL2UDCDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnAL = base.Columns["AL"];
+ this.columnUDC = base.Columns["UDC"];
+ this.columnDataCreaz = base.Columns["DataCreaz"];
+ this.columnCodSoggetto = base.Columns["CodSoggetto"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnAL = new global::System.Data.DataColumn("AL", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnAL);
+ this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnUDC);
+ this.columnDataCreaz = new global::System.Data.DataColumn("DataCreaz", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDataCreaz);
+ this.columnCodSoggetto = new global::System.Data.DataColumn("CodSoggetto", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodSoggetto);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnAL,
+ this.columnUDC}, true));
+ this.columnAL.AllowDBNull = false;
+ this.columnAL.MaxLength = 50;
+ this.columnUDC.AllowDBNull = false;
+ this.columnUDC.MaxLength = 50;
+ this.columnCodSoggetto.MaxLength = 17;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AL2UDCRow NewAL2UDCRow() {
+ return ((AL2UDCRow)(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 AL2UDCRow(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(AL2UDCRow);
+ }
+
+ [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.AL2UDCRowChanged != null)) {
+ this.AL2UDCRowChanged(this, new AL2UDCRowChangeEvent(((AL2UDCRow)(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.AL2UDCRowChanging != null)) {
+ this.AL2UDCRowChanging(this, new AL2UDCRowChangeEvent(((AL2UDCRow)(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.AL2UDCRowDeleted != null)) {
+ this.AL2UDCRowDeleted(this, new AL2UDCRowChangeEvent(((AL2UDCRow)(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.AL2UDCRowDeleting != null)) {
+ this.AL2UDCRowDeleting(this, new AL2UDCRowChangeEvent(((AL2UDCRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveAL2UDCRow(AL2UDCRow 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_magazzino ds = new DS_magazzino();
+ 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 = "AL2UDCDataTable";
+ 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.
///
@@ -13984,6 +14764,17 @@ namespace GMW_data {
return ((Attr2UDCRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Attr2UDC_ElencoCartellini"])));
}
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AL2UDCRow[] GetAL2UDCRows() {
+ if ((this.Table.ChildRelations["FK_AL2UDC_ElencoCartellini"] == null)) {
+ return new AL2UDCRow[0];
+ }
+ else {
+ return ((AL2UDCRow[])(base.GetChildRows(this.Table.ChildRelations["FK_AL2UDC_ElencoCartellini"])));
+ }
+ }
}
///
@@ -19198,6 +19989,297 @@ namespace GMW_data {
}
}
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class ElencoAssiemiRow : global::System.Data.DataRow {
+
+ private ElencoAssiemiDataTable tableElencoAssiemi;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal ElencoAssiemiRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableElencoAssiemi = ((ElencoAssiemiDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string AL {
+ get {
+ return ((string)(this[this.tableElencoAssiemi.ALColumn]));
+ }
+ set {
+ this[this.tableElencoAssiemi.ALColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string TipoAL {
+ get {
+ try {
+ return ((string)(this[this.tableElencoAssiemi.TipoALColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'TipoAL\' in table \'ElencoAssiemi\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoAssiemi.TipoALColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Numero {
+ get {
+ try {
+ return ((string)(this[this.tableElencoAssiemi.NumeroColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Numero\' in table \'ElencoAssiemi\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoAssiemi.NumeroColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string Cesta {
+ get {
+ try {
+ return ((string)(this[this.tableElencoAssiemi.CestaColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'Cesta\' in table \'ElencoAssiemi\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoAssiemi.CestaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool Attivo {
+ get {
+ return ((bool)(this[this.tableElencoAssiemi.AttivoColumn]));
+ }
+ set {
+ this[this.tableElencoAssiemi.AttivoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime DataCreaz {
+ get {
+ return ((global::System.DateTime)(this[this.tableElencoAssiemi.DataCreazColumn]));
+ }
+ set {
+ this[this.tableElencoAssiemi.DataCreazColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodSoggetto {
+ get {
+ return ((string)(this[this.tableElencoAssiemi.CodSoggettoColumn]));
+ }
+ set {
+ this[this.tableElencoAssiemi.CodSoggettoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodDtx_start {
+ get {
+ return ((string)(this[this.tableElencoAssiemi.CodDtx_startColumn]));
+ }
+ set {
+ this[this.tableElencoAssiemi.CodDtx_startColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodDtx_end {
+ get {
+ return ((string)(this[this.tableElencoAssiemi.CodDtx_endColumn]));
+ }
+ set {
+ this[this.tableElencoAssiemi.CodDtx_endColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsTipoALNull() {
+ return this.IsNull(this.tableElencoAssiemi.TipoALColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetTipoALNull() {
+ this[this.tableElencoAssiemi.TipoALColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsNumeroNull() {
+ return this.IsNull(this.tableElencoAssiemi.NumeroColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetNumeroNull() {
+ this[this.tableElencoAssiemi.NumeroColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCestaNull() {
+ return this.IsNull(this.tableElencoAssiemi.CestaColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCestaNull() {
+ this[this.tableElencoAssiemi.CestaColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AL2UDCRow[] GetAL2UDCRows() {
+ if ((this.Table.ChildRelations["FK_AL2UDC_ElencoAssiemi"] == null)) {
+ return new AL2UDCRow[0];
+ }
+ else {
+ return ((AL2UDCRow[])(base.GetChildRows(this.Table.ChildRelations["FK_AL2UDC_ElencoAssiemi"])));
+ }
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class AL2UDCRow : global::System.Data.DataRow {
+
+ private AL2UDCDataTable tableAL2UDC;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal AL2UDCRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableAL2UDC = ((AL2UDCDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string AL {
+ get {
+ return ((string)(this[this.tableAL2UDC.ALColumn]));
+ }
+ set {
+ this[this.tableAL2UDC.ALColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string UDC {
+ get {
+ return ((string)(this[this.tableAL2UDC.UDCColumn]));
+ }
+ set {
+ this[this.tableAL2UDC.UDCColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime DataCreaz {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tableAL2UDC.DataCreazColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'DataCreaz\' in table \'AL2UDC\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableAL2UDC.DataCreazColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public string CodSoggetto {
+ get {
+ try {
+ return ((string)(this[this.tableAL2UDC.CodSoggettoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'CodSoggetto\' in table \'AL2UDC\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableAL2UDC.CodSoggettoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ElencoAssiemiRow ElencoAssiemiRow {
+ get {
+ return ((ElencoAssiemiRow)(this.GetParentRow(this.Table.ParentRelations["FK_AL2UDC_ElencoAssiemi"])));
+ }
+ set {
+ this.SetParentRow(value, this.Table.ParentRelations["FK_AL2UDC_ElencoAssiemi"]);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ElencoCartelliniRow ElencoCartelliniRow {
+ get {
+ return ((ElencoCartelliniRow)(this.GetParentRow(this.Table.ParentRelations["FK_AL2UDC_ElencoCartellini"])));
+ }
+ set {
+ this.SetParentRow(value, this.Table.ParentRelations["FK_AL2UDC_ElencoCartellini"]);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsDataCreazNull() {
+ return this.IsNull(this.tableAL2UDC.DataCreazColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetDataCreazNull() {
+ this[this.tableAL2UDC.DataCreazColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsCodSoggettoNull() {
+ return this.IsNull(this.tableAL2UDC.CodSoggettoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetCodSoggettoNull() {
+ this[this.tableAL2UDC.CodSoggettoColumn] = global::System.Convert.DBNull;
+ }
+ }
+
///
///Row event argument class
///
@@ -20285,6 +21367,74 @@ namespace GMW_data {
}
}
}
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class ElencoAssiemiRowChangeEvent : global::System.EventArgs {
+
+ private ElencoAssiemiRow 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 ElencoAssiemiRowChangeEvent(ElencoAssiemiRow 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 ElencoAssiemiRow 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 AL2UDCRowChangeEvent : global::System.EventArgs {
+
+ private AL2UDCRow 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 AL2UDCRowChangeEvent(AL2UDCRow 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 AL2UDCRow 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 GMW_data.DS_magazzinoTableAdapters {
@@ -36407,6 +37557,972 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
}
}
+ ///
+ ///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 ElencoAssiemiTableAdapter : 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 ElencoAssiemiTableAdapter() {
+ 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 = "ElencoAssiemi";
+ tableMapping.ColumnMappings.Add("AL", "AL");
+ tableMapping.ColumnMappings.Add("TipoAL", "TipoAL");
+ tableMapping.ColumnMappings.Add("Numero", "Numero");
+ tableMapping.ColumnMappings.Add("Cesta", "Cesta");
+ tableMapping.ColumnMappings.Add("Attivo", "Attivo");
+ tableMapping.ColumnMappings.Add("DataCreaz", "DataCreaz");
+ tableMapping.ColumnMappings.Add("CodSoggetto", "CodSoggetto");
+ tableMapping.ColumnMappings.Add("CodDtx_start", "CodDtx_start");
+ tableMapping.ColumnMappings.Add("CodDtx_end", "CodDtx_end");
+ 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].[ElencoAssiemi] WHERE (([AL] = @Original_AL) AND ((@IsNull_TipoAL = 1 AND [TipoAL] IS NULL) OR ([TipoAL] = @Original_TipoAL)) AND ((@IsNull_Numero = 1 AND [Numero] IS NULL) OR ([Numero] = @Original_Numero)) AND ((@IsNull_Cesta = 1 AND [Cesta] IS NULL) OR ([Cesta] = @Original_Cesta)) AND ([Attivo] = @Original_Attivo) AND ([DataCreaz] = @Original_DataCreaz) AND ([CodSoggetto] = @Original_CodSoggetto) AND ([CodDtx_start] = @Original_CodDtx_start) AND ([CodDtx_end] = @Original_CodDtx_end))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_AL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TipoAL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoAL", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TipoAL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoAL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Numero", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Numero", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Numero", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Numero", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Cesta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cesta", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cesta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cesta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Attivo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attivo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDtx_start", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDtx_start", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDtx_end", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDtx_end", 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].[ElencoAssiemi] ([AL], [Attivo], [DataCreaz], [CodSoggetto], [CodDtx_start], [CodDtx_end]) VALUES (@AL, @Attivo, @DataCreaz, @CodSoggetto, @CodDtx_start, @CodDtx_end);
+SELECT AL, TipoAL, Numero, Cesta, Attivo, DataCreaz, CodSoggetto, CodDtx_start, CodDtx_end FROM ElencoAssiemi WHERE (AL = @AL)";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attivo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attivo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDtx_start", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDtx_start", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDtx_end", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDtx_end", 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].[ElencoAssiemi] SET [AL] = @AL, [Attivo] = @Attivo, [DataCreaz] = @DataCreaz, [CodSoggetto] = @CodSoggetto, [CodDtx_start] = @CodDtx_start, [CodDtx_end] = @CodDtx_end WHERE (([AL] = @Original_AL) AND ((@IsNull_TipoAL = 1 AND [TipoAL] IS NULL) OR ([TipoAL] = @Original_TipoAL)) AND ((@IsNull_Numero = 1 AND [Numero] IS NULL) OR ([Numero] = @Original_Numero)) AND ((@IsNull_Cesta = 1 AND [Cesta] IS NULL) OR ([Cesta] = @Original_Cesta)) AND ([Attivo] = @Original_Attivo) AND ([DataCreaz] = @Original_DataCreaz) AND ([CodSoggetto] = @Original_CodSoggetto) AND ([CodDtx_start] = @Original_CodDtx_start) AND ([CodDtx_end] = @Original_CodDtx_end));
+SELECT AL, TipoAL, Numero, Cesta, Attivo, DataCreaz, CodSoggetto, CodDtx_start, CodDtx_end FROM ElencoAssiemi WHERE (AL = @AL)";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attivo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attivo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDtx_start", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDtx_start", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDtx_end", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDtx_end", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_AL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TipoAL", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoAL", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TipoAL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TipoAL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Numero", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Numero", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Numero", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Numero", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Cesta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cesta", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cesta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cesta", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Attivo", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Attivo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDtx_start", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDtx_start", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDtx_end", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDtx_end", 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::GMW_data.Properties.Settings.Default.GMWConnectionString;
+ }
+
+ [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 AL, TipoAL, Numero, Cesta, Attivo, DataCreaz, CodSoggetto, CodDtx_start, C" +
+ "odDtx_end FROM dbo.ElencoAssiemi";
+ 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_UAL_insNewFull";
+ 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("@CodCS", global::System.Data.SqlDbType.VarChar, 2, 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("@Flusso", global::System.Data.SqlDbType.VarChar, 2, 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.VarChar, 2, 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("@TipoAl", global::System.Data.SqlDbType.Char, 1, 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("@Cesta", global::System.Data.SqlDbType.VarChar, 4, 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("@DataCreaz", 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("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, 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("@CodDtxStart", global::System.Data.SqlDbType.VarChar, 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("@CodDtxEnd", global::System.Data.SqlDbType.VarChar, 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_magazzino.ElencoAssiemiDataTable 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_magazzino.ElencoAssiemiDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_magazzino.ElencoAssiemiDataTable dataTable = new DS_magazzino.ElencoAssiemiDataTable();
+ 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_magazzino.ElencoAssiemiDataTable insertNew(string CodCS, string Flusso, string Anno, string TipoAl, string Cesta, global::System.Nullable DataCreaz, string CodSoggetto, string CodDtxStart, string CodDtxEnd) {
+ this.Adapter.SelectCommand = this.CommandCollection[1];
+ if ((CodCS == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS));
+ }
+ if ((Flusso == null)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Flusso));
+ }
+ if ((Anno == null)) {
+ this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Anno));
+ }
+ if ((TipoAl == null)) {
+ this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[4].Value = ((string)(TipoAl));
+ }
+ if ((Cesta == null)) {
+ this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[5].Value = ((string)(Cesta));
+ }
+ if ((DataCreaz.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[6].Value = ((System.DateTime)(DataCreaz.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ if ((CodSoggetto == null)) {
+ this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[7].Value = ((string)(CodSoggetto));
+ }
+ if ((CodDtxStart == null)) {
+ this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[8].Value = ((string)(CodDtxStart));
+ }
+ if ((CodDtxEnd == null)) {
+ this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[9].Value = ((string)(CodDtxEnd));
+ }
+ DS_magazzino.ElencoAssiemiDataTable dataTable = new DS_magazzino.ElencoAssiemiDataTable();
+ 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_magazzino.ElencoAssiemiDataTable 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_magazzino dataSet) {
+ return this.Adapter.Update(dataSet, "ElencoAssiemi");
+ }
+
+ [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_AL, string Original_TipoAL, string Original_Numero, string Original_Cesta, bool Original_Attivo, System.DateTime Original_DataCreaz, string Original_CodSoggetto, string Original_CodDtx_start, string Original_CodDtx_end) {
+ if ((Original_AL == null)) {
+ throw new global::System.ArgumentNullException("Original_AL");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_AL));
+ }
+ if ((Original_TipoAL == null)) {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_TipoAL));
+ }
+ if ((Original_Numero == null)) {
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_Numero));
+ }
+ if ((Original_Cesta == null)) {
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Cesta));
+ }
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((bool)(Original_Attivo));
+ this.Adapter.DeleteCommand.Parameters[8].Value = ((System.DateTime)(Original_DataCreaz));
+ if ((Original_CodSoggetto == null)) {
+ throw new global::System.ArgumentNullException("Original_CodSoggetto");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_CodSoggetto));
+ }
+ if ((Original_CodDtx_start == null)) {
+ throw new global::System.ArgumentNullException("Original_CodDtx_start");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_CodDtx_start));
+ }
+ if ((Original_CodDtx_end == null)) {
+ throw new global::System.ArgumentNullException("Original_CodDtx_end");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_CodDtx_end));
+ }
+ 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 AL, bool Attivo, System.DateTime DataCreaz, string CodSoggetto, string CodDtx_start, string CodDtx_end) {
+ if ((AL == null)) {
+ throw new global::System.ArgumentNullException("AL");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((string)(AL));
+ }
+ this.Adapter.InsertCommand.Parameters[1].Value = ((bool)(Attivo));
+ this.Adapter.InsertCommand.Parameters[2].Value = ((System.DateTime)(DataCreaz));
+ if ((CodSoggetto == null)) {
+ throw new global::System.ArgumentNullException("CodSoggetto");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodSoggetto));
+ }
+ if ((CodDtx_start == null)) {
+ throw new global::System.ArgumentNullException("CodDtx_start");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[4].Value = ((string)(CodDtx_start));
+ }
+ if ((CodDtx_end == null)) {
+ throw new global::System.ArgumentNullException("CodDtx_end");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[5].Value = ((string)(CodDtx_end));
+ }
+ 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 AL, bool Attivo, System.DateTime DataCreaz, string CodSoggetto, string CodDtx_start, string CodDtx_end, string Original_AL, string Original_TipoAL, string Original_Numero, string Original_Cesta, bool Original_Attivo, System.DateTime Original_DataCreaz, string Original_CodSoggetto, string Original_CodDtx_start, string Original_CodDtx_end) {
+ if ((AL == null)) {
+ throw new global::System.ArgumentNullException("AL");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(AL));
+ }
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((bool)(Attivo));
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(DataCreaz));
+ if ((CodSoggetto == null)) {
+ throw new global::System.ArgumentNullException("CodSoggetto");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodSoggetto));
+ }
+ if ((CodDtx_start == null)) {
+ throw new global::System.ArgumentNullException("CodDtx_start");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(CodDtx_start));
+ }
+ if ((CodDtx_end == null)) {
+ throw new global::System.ArgumentNullException("CodDtx_end");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(CodDtx_end));
+ }
+ if ((Original_AL == null)) {
+ throw new global::System.ArgumentNullException("Original_AL");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_AL));
+ }
+ if ((Original_TipoAL == null)) {
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_TipoAL));
+ }
+ if ((Original_Numero == null)) {
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_Numero));
+ }
+ if ((Original_Cesta == null)) {
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_Cesta));
+ }
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((bool)(Original_Attivo));
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((System.DateTime)(Original_DataCreaz));
+ if ((Original_CodSoggetto == null)) {
+ throw new global::System.ArgumentNullException("Original_CodSoggetto");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_CodSoggetto));
+ }
+ if ((Original_CodDtx_start == null)) {
+ throw new global::System.ArgumentNullException("Original_CodDtx_start");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_CodDtx_start));
+ }
+ if ((Original_CodDtx_end == null)) {
+ throw new global::System.ArgumentNullException("Original_CodDtx_end");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_CodDtx_end));
+ }
+ 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(bool Attivo, System.DateTime DataCreaz, string CodSoggetto, string CodDtx_start, string CodDtx_end, string Original_AL, string Original_TipoAL, string Original_Numero, string Original_Cesta, bool Original_Attivo, System.DateTime Original_DataCreaz, string Original_CodSoggetto, string Original_CodDtx_start, string Original_CodDtx_end) {
+ return this.Update(Original_AL, Attivo, DataCreaz, CodSoggetto, CodDtx_start, CodDtx_end, Original_AL, Original_TipoAL, Original_Numero, Original_Cesta, Original_Attivo, Original_DataCreaz, Original_CodSoggetto, Original_CodDtx_start, Original_CodDtx_end);
+ }
+ }
+
+ ///
+ ///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 AL2UDCTableAdapter : 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 AL2UDCTableAdapter() {
+ 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 = "AL2UDC";
+ tableMapping.ColumnMappings.Add("AL", "AL");
+ tableMapping.ColumnMappings.Add("UDC", "UDC");
+ tableMapping.ColumnMappings.Add("DataCreaz", "DataCreaz");
+ tableMapping.ColumnMappings.Add("CodSoggetto", "CodSoggetto");
+ 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].[AL2UDC] WHERE (([AL] = @Original_AL) AND ([UDC] = @Original_UDC) AND ((@IsNull_DataCreaz = 1 AND [DataCreaz] IS NULL) OR ([DataCreaz] = @Original_DataCreaz)) AND ((@IsNull_CodSoggetto = 1 AND [CodSoggetto] IS NULL) OR ([CodSoggetto] = @Original_CodSoggetto)))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_AL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataCreaz", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodSoggetto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", 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].[AL2UDC] ([AL], [UDC], [DataCreaz], [CodSoggetto]) VALUES (@AL," +
+ " @UDC, @DataCreaz, @CodSoggetto);\r\nSELECT AL, UDC, DataCreaz, CodSoggetto FROM A" +
+ "L2UDC WHERE (AL = @AL) AND (UDC = @UDC)";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", 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].[AL2UDC] SET [AL] = @AL, [UDC] = @UDC, [DataCreaz] = @DataCreaz, [CodSoggetto] = @CodSoggetto WHERE (([AL] = @Original_AL) AND ([UDC] = @Original_UDC) AND ((@IsNull_DataCreaz = 1 AND [DataCreaz] IS NULL) OR ([DataCreaz] = @Original_DataCreaz)) AND ((@IsNull_CodSoggetto = 1 AND [CodSoggetto] IS NULL) OR ([CodSoggetto] = @Original_CodSoggetto)));
+SELECT AL, UDC, DataCreaz, CodSoggetto FROM AL2UDC WHERE (AL = @AL) AND (UDC = @UDC)";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_AL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AL", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_UDC", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "UDC", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataCreaz", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataCreaz", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataCreaz", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodSoggetto", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", 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::GMW_data.Properties.Settings.Default.GMWConnectionString;
+ }
+
+ [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 AL, UDC, DataCreaz, CodSoggetto FROM dbo.AL2UDC";
+ 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_magazzino.AL2UDCDataTable 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_magazzino.AL2UDCDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_magazzino.AL2UDCDataTable dataTable = new DS_magazzino.AL2UDCDataTable();
+ 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_magazzino.AL2UDCDataTable 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_magazzino dataSet) {
+ return this.Adapter.Update(dataSet, "AL2UDC");
+ }
+
+ [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_AL, string Original_UDC, global::System.Nullable Original_DataCreaz, string Original_CodSoggetto) {
+ if ((Original_AL == null)) {
+ throw new global::System.ArgumentNullException("Original_AL");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_AL));
+ }
+ if ((Original_UDC == null)) {
+ throw new global::System.ArgumentNullException("Original_UDC");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_UDC));
+ }
+ if ((Original_DataCreaz.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((System.DateTime)(Original_DataCreaz.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ if ((Original_CodSoggetto == 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_CodSoggetto));
+ }
+ 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 AL, string UDC, global::System.Nullable DataCreaz, string CodSoggetto) {
+ if ((AL == null)) {
+ throw new global::System.ArgumentNullException("AL");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((string)(AL));
+ }
+ if ((UDC == null)) {
+ throw new global::System.ArgumentNullException("UDC");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(UDC));
+ }
+ if ((DataCreaz.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((System.DateTime)(DataCreaz.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ if ((CodSoggetto == null)) {
+ this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodSoggetto));
+ }
+ 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 AL, string UDC, global::System.Nullable DataCreaz, string CodSoggetto, string Original_AL, string Original_UDC, global::System.Nullable Original_DataCreaz, string Original_CodSoggetto) {
+ if ((AL == null)) {
+ throw new global::System.ArgumentNullException("AL");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(AL));
+ }
+ if ((UDC == null)) {
+ throw new global::System.ArgumentNullException("UDC");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(UDC));
+ }
+ if ((DataCreaz.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(DataCreaz.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ if ((CodSoggetto == null)) {
+ this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodSoggetto));
+ }
+ if ((Original_AL == null)) {
+ throw new global::System.ArgumentNullException("Original_AL");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_AL));
+ }
+ if ((Original_UDC == null)) {
+ throw new global::System.ArgumentNullException("Original_UDC");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_UDC));
+ }
+ if ((Original_DataCreaz.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(Original_DataCreaz.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ if ((Original_CodSoggetto == null)) {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_CodSoggetto));
+ }
+ 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(global::System.Nullable DataCreaz, string CodSoggetto, string Original_AL, string Original_UDC, global::System.Nullable Original_DataCreaz, string Original_CodSoggetto) {
+ return this.Update(Original_AL, Original_UDC, DataCreaz, CodSoggetto, Original_AL, Original_UDC, Original_DataCreaz, Original_CodSoggetto);
+ }
+ }
+
///
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///
@@ -36455,6 +38571,10 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
private Attr2UDCTableAdapter _attr2UDCTableAdapter;
+ private ElencoAssiemiTableAdapter _elencoAssiemiTableAdapter;
+
+ private AL2UDCTableAdapter _aL2UDCTableAdapter;
+
private bool _backupDataSetBeforeUpdate;
private global::System.Data.IDbConnection _connection;
@@ -36722,6 +38842,34 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
}
}
+ [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 ElencoAssiemiTableAdapter ElencoAssiemiTableAdapter {
+ get {
+ return this._elencoAssiemiTableAdapter;
+ }
+ set {
+ this._elencoAssiemiTableAdapter = 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 AL2UDCTableAdapter AL2UDCTableAdapter {
+ get {
+ return this._aL2UDCTableAdapter;
+ }
+ set {
+ this._aL2UDCTableAdapter = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool BackupDataSetBeforeUpdate {
@@ -36813,6 +38961,14 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
&& (this._attr2UDCTableAdapter.Connection != null))) {
return this._attr2UDCTableAdapter.Connection;
}
+ if (((this._elencoAssiemiTableAdapter != null)
+ && (this._elencoAssiemiTableAdapter.Connection != null))) {
+ return this._elencoAssiemiTableAdapter.Connection;
+ }
+ if (((this._aL2UDCTableAdapter != null)
+ && (this._aL2UDCTableAdapter.Connection != null))) {
+ return this._aL2UDCTableAdapter.Connection;
+ }
return null;
}
set {
@@ -36880,6 +39036,12 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
if ((this._attr2UDCTableAdapter != null)) {
count = (count + 1);
}
+ if ((this._elencoAssiemiTableAdapter != null)) {
+ count = (count + 1);
+ }
+ if ((this._aL2UDCTableAdapter != null)) {
+ count = (count + 1);
+ }
return count;
}
}
@@ -36900,6 +39062,15 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
allChangedRows.AddRange(updatedRows);
}
}
+ if ((this._anagPosizioniTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._anagPosizioniTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
if ((this._blocchiTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.Blocchi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
@@ -36918,15 +39089,6 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._anagPosizioniTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
- updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length))) {
- result = (result + this._anagPosizioniTableAdapter.Update(updatedRows));
- allChangedRows.AddRange(updatedRows);
- }
- }
if ((this._tipoListaPrelievoTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.TipoListaPrelievo.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
@@ -36945,6 +39107,15 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
allChangedRows.AddRange(updatedRows);
}
}
+ if ((this._elencoAssiemiTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.ElencoAssiemi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._elencoAssiemiTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
if ((this._celleTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.Celle.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
@@ -36954,21 +39125,12 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._rapQualTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.RapQual.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ if ((this._anagParticolariTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
- result = (result + this._rapQualTableAdapter.Update(updatedRows));
- allChangedRows.AddRange(updatedRows);
- }
- }
- if ((this._storicoAzioniOperatoreTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.StoricoAzioniOperatore.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
- updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length))) {
- result = (result + this._storicoAzioniOperatoreTableAdapter.Update(updatedRows));
+ result = (result + this._anagParticolariTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
@@ -36999,12 +39161,21 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._anagParticolariTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ if ((this._attr2UDCTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.Attr2UDC.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
- result = (result + this._anagParticolariTableAdapter.Update(updatedRows));
+ result = (result + this._attr2UDCTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ if ((this._storicoAzioniOperatoreTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.StoricoAzioniOperatore.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._storicoAzioniOperatoreTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
@@ -37044,12 +39215,21 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._attr2UDCTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.Attr2UDC.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ if ((this._rapQualTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.RapQual.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
- result = (result + this._attr2UDCTableAdapter.Update(updatedRows));
+ result = (result + this._rapQualTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
+ if ((this._aL2UDCTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.AL2UDC.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._aL2UDCTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
@@ -37071,6 +39251,14 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
allAddedRows.AddRange(addedRows);
}
}
+ if ((this._anagPosizioniTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._anagPosizioniTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
if ((this._blocchiTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.Blocchi.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
@@ -37087,14 +39275,6 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
allAddedRows.AddRange(addedRows);
}
}
- if ((this._anagPosizioniTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length))) {
- result = (result + this._anagPosizioniTableAdapter.Update(addedRows));
- allAddedRows.AddRange(addedRows);
- }
- }
if ((this._tipoListaPrelievoTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.TipoListaPrelievo.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
@@ -37111,6 +39291,14 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
allAddedRows.AddRange(addedRows);
}
}
+ if ((this._elencoAssiemiTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.ElencoAssiemi.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._elencoAssiemiTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
if ((this._celleTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.Celle.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
@@ -37119,19 +39307,11 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
allAddedRows.AddRange(addedRows);
}
}
- if ((this._rapQualTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.RapQual.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if ((this._anagParticolariTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
- result = (result + this._rapQualTableAdapter.Update(addedRows));
- allAddedRows.AddRange(addedRows);
- }
- }
- if ((this._storicoAzioniOperatoreTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.StoricoAzioniOperatore.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length))) {
- result = (result + this._storicoAzioniOperatoreTableAdapter.Update(addedRows));
+ result = (result + this._anagParticolariTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
@@ -37159,11 +39339,19 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
allAddedRows.AddRange(addedRows);
}
}
- if ((this._anagParticolariTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if ((this._attr2UDCTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.Attr2UDC.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
- result = (result + this._anagParticolariTableAdapter.Update(addedRows));
+ result = (result + this._attr2UDCTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ if ((this._storicoAzioniOperatoreTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.StoricoAzioniOperatore.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._storicoAzioniOperatoreTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
@@ -37199,11 +39387,19 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
allAddedRows.AddRange(addedRows);
}
}
- if ((this._attr2UDCTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.Attr2UDC.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if ((this._rapQualTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.RapQual.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
- result = (result + this._attr2UDCTableAdapter.Update(addedRows));
+ result = (result + this._rapQualTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
+ if ((this._aL2UDCTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.AL2UDC.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._aL2UDCTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
@@ -37217,11 +39413,19 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateDeletedRows(DS_magazzino dataSet, global::System.Collections.Generic.List allChangedRows) {
int result = 0;
- if ((this._attr2UDCTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.Attr2UDC.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if ((this._aL2UDCTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.AL2UDC.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
- result = (result + this._attr2UDCTableAdapter.Update(deletedRows));
+ result = (result + this._aL2UDCTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ if ((this._rapQualTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.RapQual.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._rapQualTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
@@ -37257,11 +39461,19 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
allChangedRows.AddRange(deletedRows);
}
}
- if ((this._anagParticolariTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if ((this._storicoAzioniOperatoreTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.StoricoAzioniOperatore.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
- result = (result + this._anagParticolariTableAdapter.Update(deletedRows));
+ result = (result + this._storicoAzioniOperatoreTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
+ if ((this._attr2UDCTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.Attr2UDC.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._attr2UDCTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
@@ -37289,19 +39501,11 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
allChangedRows.AddRange(deletedRows);
}
}
- if ((this._storicoAzioniOperatoreTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.StoricoAzioniOperatore.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if ((this._anagParticolariTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
- result = (result + this._storicoAzioniOperatoreTableAdapter.Update(deletedRows));
- allChangedRows.AddRange(deletedRows);
- }
- }
- if ((this._rapQualTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.RapQual.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length))) {
- result = (result + this._rapQualTableAdapter.Update(deletedRows));
+ result = (result + this._anagParticolariTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
@@ -37313,6 +39517,14 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
allChangedRows.AddRange(deletedRows);
}
}
+ if ((this._elencoAssiemiTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.ElencoAssiemi.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._elencoAssiemiTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
if ((this._elencoCartelliniTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.ElencoCartellini.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -37329,14 +39541,6 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
allChangedRows.AddRange(deletedRows);
}
}
- if ((this._anagPosizioniTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length))) {
- result = (result + this._anagPosizioniTableAdapter.Update(deletedRows));
- allChangedRows.AddRange(deletedRows);
- }
- }
if ((this._tipoCellaTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.TipoCella.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -37353,6 +39557,14 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
allChangedRows.AddRange(deletedRows);
}
}
+ if ((this._anagPosizioniTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._anagPosizioniTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
if ((this._anagMagTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagMag.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -37490,6 +39702,16 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
+ if (((this._elencoAssiemiTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._elencoAssiemiTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
+ "tring.");
+ }
+ if (((this._aL2UDCTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._aL2UDCTableAdapter.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" +
@@ -37684,6 +39906,24 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
adaptersWithAcceptChangesDuringUpdate.Add(this._attr2UDCTableAdapter.Adapter);
}
}
+ if ((this._elencoAssiemiTableAdapter != null)) {
+ revertConnections.Add(this._elencoAssiemiTableAdapter, this._elencoAssiemiTableAdapter.Connection);
+ this._elencoAssiemiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._elencoAssiemiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._elencoAssiemiTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._elencoAssiemiTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._elencoAssiemiTableAdapter.Adapter);
+ }
+ }
+ if ((this._aL2UDCTableAdapter != null)) {
+ revertConnections.Add(this._aL2UDCTableAdapter, this._aL2UDCTableAdapter.Connection);
+ this._aL2UDCTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._aL2UDCTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._aL2UDCTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._aL2UDCTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._aL2UDCTableAdapter.Adapter);
+ }
+ }
//
//---- Perform updates -----------
//
@@ -37814,6 +40054,14 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
this._attr2UDCTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._attr2UDCTableAdapter]));
this._attr2UDCTableAdapter.Transaction = null;
}
+ if ((this._elencoAssiemiTableAdapter != null)) {
+ this._elencoAssiemiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._elencoAssiemiTableAdapter]));
+ this._elencoAssiemiTableAdapter.Transaction = null;
+ }
+ if ((this._aL2UDCTableAdapter != null)) {
+ this._aL2UDCTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._aL2UDCTableAdapter]));
+ this._aL2UDCTableAdapter.Transaction = null;
+ }
if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
diff --git a/GMW_data/DS_magazzino.xsd b/GMW_data/DS_magazzino.xsd
index 06b1db07..bcd7d840 100644
--- a/GMW_data/DS_magazzino.xsd
+++ b/GMW_data/DS_magazzino.xsd
@@ -3400,6 +3400,171 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
+
+
+
+
+
+ DELETE FROM [dbo].[ElencoAssiemi] WHERE (([AL] = @Original_AL) AND ((@IsNull_TipoAL = 1 AND [TipoAL] IS NULL) OR ([TipoAL] = @Original_TipoAL)) AND ((@IsNull_Numero = 1 AND [Numero] IS NULL) OR ([Numero] = @Original_Numero)) AND ((@IsNull_Cesta = 1 AND [Cesta] IS NULL) OR ([Cesta] = @Original_Cesta)) AND ([Attivo] = @Original_Attivo) AND ([DataCreaz] = @Original_DataCreaz) AND ([CodSoggetto] = @Original_CodSoggetto) AND ([CodDtx_start] = @Original_CodDtx_start) AND ([CodDtx_end] = @Original_CodDtx_end))
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [dbo].[ElencoAssiemi] ([AL], [Attivo], [DataCreaz], [CodSoggetto], [CodDtx_start], [CodDtx_end]) VALUES (@AL, @Attivo, @DataCreaz, @CodSoggetto, @CodDtx_start, @CodDtx_end);
+SELECT AL, TipoAL, Numero, Cesta, Attivo, DataCreaz, CodSoggetto, CodDtx_start, CodDtx_end FROM ElencoAssiemi WHERE (AL = @AL)
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT AL, TipoAL, Numero, Cesta, Attivo, DataCreaz, CodSoggetto, CodDtx_start, CodDtx_end FROM dbo.ElencoAssiemi
+
+
+
+
+
+ UPDATE [dbo].[ElencoAssiemi] SET [AL] = @AL, [Attivo] = @Attivo, [DataCreaz] = @DataCreaz, [CodSoggetto] = @CodSoggetto, [CodDtx_start] = @CodDtx_start, [CodDtx_end] = @CodDtx_end WHERE (([AL] = @Original_AL) AND ((@IsNull_TipoAL = 1 AND [TipoAL] IS NULL) OR ([TipoAL] = @Original_TipoAL)) AND ((@IsNull_Numero = 1 AND [Numero] IS NULL) OR ([Numero] = @Original_Numero)) AND ((@IsNull_Cesta = 1 AND [Cesta] IS NULL) OR ([Cesta] = @Original_Cesta)) AND ([Attivo] = @Original_Attivo) AND ([DataCreaz] = @Original_DataCreaz) AND ([CodSoggetto] = @Original_CodSoggetto) AND ([CodDtx_start] = @Original_CodDtx_start) AND ([CodDtx_end] = @Original_CodDtx_end));
+SELECT AL, TipoAL, Numero, Cesta, Attivo, DataCreaz, CodSoggetto, CodDtx_start, CodDtx_end FROM ElencoAssiemi WHERE (AL = @AL)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_UAL_insNewFull
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DELETE FROM [dbo].[AL2UDC] WHERE (([AL] = @Original_AL) AND ([UDC] = @Original_UDC) AND ((@IsNull_DataCreaz = 1 AND [DataCreaz] IS NULL) OR ([DataCreaz] = @Original_DataCreaz)) AND ((@IsNull_CodSoggetto = 1 AND [CodSoggetto] IS NULL) OR ([CodSoggetto] = @Original_CodSoggetto)))
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [dbo].[AL2UDC] ([AL], [UDC], [DataCreaz], [CodSoggetto]) VALUES (@AL, @UDC, @DataCreaz, @CodSoggetto);
+SELECT AL, UDC, DataCreaz, CodSoggetto FROM AL2UDC WHERE (AL = @AL) AND (UDC = @UDC)
+
+
+
+
+
+
+
+
+
+
+ SELECT AL, UDC, DataCreaz, CodSoggetto FROM dbo.AL2UDC
+
+
+
+
+
+ UPDATE [dbo].[AL2UDC] SET [AL] = @AL, [UDC] = @UDC, [DataCreaz] = @DataCreaz, [CodSoggetto] = @CodSoggetto WHERE (([AL] = @Original_AL) AND ([UDC] = @Original_UDC) AND ((@IsNull_DataCreaz = 1 AND [DataCreaz] IS NULL) OR ([DataCreaz] = @Original_DataCreaz)) AND ((@IsNull_CodSoggetto = 1 AND [CodSoggetto] IS NULL) OR ([CodSoggetto] = @Original_CodSoggetto)));
+SELECT AL, UDC, DataCreaz, CodSoggetto FROM AL2UDC WHERE (AL = @AL) AND (UDC = @UDC)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -4725,6 +4890,91 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -4870,6 +5120,15 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
+
+
+
+
+
+
+
+
+
@@ -4885,6 +5144,8 @@ SELECT idxAttr, UDC, CodAttr, ValAttr, DateAttr, CodSoggetto FROM Attr2UDC WHERE
+
+
\ No newline at end of file
diff --git a/GMW_data/MagClass.cs b/GMW_data/MagClass.cs
index cf64898e..338a1dd3 100644
--- a/GMW_data/MagClass.cs
+++ b/GMW_data/MagClass.cs
@@ -40,6 +40,8 @@ namespace GMW_data
public DS_magazzinoTableAdapters.AnagLineeTableAdapter taAL;
public DS_magazzinoTableAdapters.stp_ParticolareInOutOkTableAdapter taPartIO;
public DS_magazzinoTableAdapters.Attr2UDCTableAdapter taAtt2UDC;
+ public DS_magazzinoTableAdapters.ElencoAssiemiTableAdapter taEA;
+ public DS_magazzinoTableAdapters.AL2UDCTableAdapter taAL2UDC;
///
@@ -75,6 +77,8 @@ namespace GMW_data
taAL = new DS_magazzinoTableAdapters.AnagLineeTableAdapter();
taPartIO = new DS_magazzinoTableAdapters.stp_ParticolareInOutOkTableAdapter();
taAtt2UDC = new DS_magazzinoTableAdapters.Attr2UDCTableAdapter();
+ taEA = new DS_magazzinoTableAdapters.ElencoAssiemiTableAdapter();
+ taAL2UDC = new DS_magazzinoTableAdapters.AL2UDCTableAdapter();
}
///
/// effettua setup dei connection strings da web.config delal singola applicazione
@@ -109,6 +113,8 @@ namespace GMW_data
taAL.Connection.ConnectionString = connString;
taPartIO.Connection.ConnectionString = connString;
taAtt2UDC.Connection.ConnectionString = connString;
+ taEA.Connection.ConnectionString = connString;
+ taAL2UDC.Connection.ConnectionString = connString;
}
#endregion
@@ -190,6 +196,49 @@ namespace GMW_data
#region Metodi esposti
+ #region operazioni su AL
+
+ ///
+ /// Fornisce un nuovo codice AL tipo completo a partire dalla richiesta e salva i dati
+ ///
+ /// codice company
+ /// codice flusso (AR/AT)
+ /// codice tipo AL (R/T)
+ /// codice dell'operatore
+ /// Data di rif per la dichiarazione
+ /// anno in cui intestare i cartellini, trimma a 2 cifre DX
+ /// acodice cesta
+ /// AL del nuovo Assieme Logico
+ public string creaAL(string CodCS, string CodFlusso, string TipoAL, string CodSoggetto, DateTime DataRif, int anno, string Cesta)
+ {
+ // trim fix
+ string CodBilanciaTrim = CodFlusso.Trim();
+ string CodSoggettoTrim = CodSoggetto.Trim();
+ string annoTrim = anno.ToString();
+ if (annoTrim.Length > 2)
+ {
+ annoTrim = annoTrim.Substring(2, 2);
+ }
+ // ricavo cod company...
+ string answ = "NA";
+ // creo nuovo Assieme!
+ DS_magazzino.ElencoAssiemiDataTable tabAL = new DS_magazzino.ElencoAssiemiDataTable();
+ // insert con calcolo UDC
+ try
+ {
+ tabAL = taEA.insertNew(CodCS, CodBilanciaTrim, annoTrim, TipoAL, Cesta, DataRif, CodSoggettoTrim, "", "");
+ }
+ catch (Exception exc)
+ {
+ // loggo errore
+ logger.lg.scriviLog(string.Format("ERRORE CREAZIONE AL: | {0} | procedura stp_insNewFull, parametri: {1} | {2} | {3} | {4} | {5} | {6} | {7} {0} {8}", Environment.NewLine, CodCS, CodBilanciaTrim, annoTrim, TipoAL, Cesta, DataRif, CodSoggettoTrim, exc), tipoLog.EXCEPTION);
+ }
+ // leggo la riga
+ answ = tabAL[0].AL;
+ return answ;
+ }
+ #endregion
+
#region operazioni su UDC
///