Inizio gestione assegnazione item a famiglie e macchine

This commit is contained in:
Samuele E. Locatelli
2015-11-20 15:22:02 +01:00
parent 713327e92e
commit 913df0f3dd
20 changed files with 25122 additions and 21 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
+31 -4
View File
@@ -2353,6 +2353,8 @@ namespace GIM_data {
private global::System.Data.DataColumn columnidxItem;
private global::System.Data.DataColumn columnFamiglia;
private global::System.Data.DataColumn columnDescrizione;
private global::System.Data.DataColumn columnNomeCostruttore;
@@ -2418,6 +2420,14 @@ namespace GIM_data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn FamigliaColumn {
get {
return this.columnFamiglia;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn DescrizioneColumn {
@@ -2551,10 +2561,11 @@ namespace GIM_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public StatoMagRow AddStatoMagRow(int idxItem, string Descrizione, string NomeCostruttore, string CodCostruttore, string CodSomaschini, int QtaMin, int QtaLotto, decimal Valore, int Giacenza, string CodLocazione, string DescrLocazione, string Note, System.DateTime dtLastUpd) {
public StatoMagRow AddStatoMagRow(int idxItem, string Famiglia, string Descrizione, string NomeCostruttore, string CodCostruttore, string CodSomaschini, int QtaMin, int QtaLotto, decimal Valore, int Giacenza, string CodLocazione, string DescrLocazione, string Note, System.DateTime dtLastUpd) {
StatoMagRow rowStatoMagRow = ((StatoMagRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
idxItem,
Famiglia,
Descrizione,
NomeCostruttore,
CodCostruttore,
@@ -2597,6 +2608,7 @@ namespace GIM_data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnidxItem = base.Columns["idxItem"];
this.columnFamiglia = base.Columns["Famiglia"];
this.columnDescrizione = base.Columns["Descrizione"];
this.columnNomeCostruttore = base.Columns["NomeCostruttore"];
this.columnCodCostruttore = base.Columns["CodCostruttore"];
@@ -2616,6 +2628,8 @@ namespace GIM_data {
private void InitClass() {
this.columnidxItem = new global::System.Data.DataColumn("idxItem", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnidxItem);
this.columnFamiglia = new global::System.Data.DataColumn("Famiglia", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFamiglia);
this.columnDescrizione = new global::System.Data.DataColumn("Descrizione", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDescrizione);
this.columnNomeCostruttore = new global::System.Data.DataColumn("NomeCostruttore", typeof(string), null, global::System.Data.MappingType.Element);
@@ -2644,6 +2658,9 @@ namespace GIM_data {
this.columnidxItem}, true));
this.columnidxItem.AllowDBNull = false;
this.columnidxItem.Unique = true;
this.columnFamiglia.AllowDBNull = false;
this.columnFamiglia.Caption = "Descrizione";
this.columnFamiglia.MaxLength = 250;
this.columnDescrizione.AllowDBNull = false;
this.columnDescrizione.MaxLength = 250;
this.columnNomeCostruttore.AllowDBNull = false;
@@ -3315,6 +3332,17 @@ namespace GIM_data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Famiglia {
get {
return ((string)(this[this.tableStatoMag.FamigliaColumn]));
}
set {
this[this.tableStatoMag.FamigliaColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Descrizione {
@@ -5983,6 +6011,7 @@ namespace GIM_data.DS_MagTableAdapters {
tableMapping.ColumnMappings.Add("DescrLocazione", "DescrLocazione");
tableMapping.ColumnMappings.Add("Note", "Note");
tableMapping.ColumnMappings.Add("dtLastUpd", "dtLastUpd");
tableMapping.ColumnMappings.Add("Famiglia", "Famiglia");
this._adapter.TableMappings.Add(tableMapping);
}
@@ -5999,9 +6028,7 @@ namespace GIM_data.DS_MagTableAdapters {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT idxItem, Descrizione, NomeCostruttore, CodCostruttore, CodSomaschini, QtaM" +
"in, QtaLotto, Valore, Giacenza, CodLocazione, DescrLocazione, Note, dtLastUpd FR" +
"OM dbo.v_StatoMag";
this._commandCollection[0].CommandText = "SELECT *\r\nFROM dbo.v_StatoMag";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
+25 -16
View File
@@ -353,8 +353,9 @@
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_StatoMag" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idxItem, Descrizione, NomeCostruttore, CodCostruttore, CodSomaschini, QtaMin, QtaLotto, Valore, Giacenza, CodLocazione, DescrLocazione, Note, dtLastUpd FROM dbo.v_StatoMag</CommandText>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM dbo.v_StatoMag</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
@@ -374,9 +375,10 @@
<Mapping SourceColumn="DescrLocazione" DataSetColumn="DescrLocazione" />
<Mapping SourceColumn="Note" DataSetColumn="Note" />
<Mapping SourceColumn="dtLastUpd" DataSetColumn="dtLastUpd" />
<Mapping SourceColumn="Famiglia" DataSetColumn="Famiglia" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_StatoMag_delete" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="deleteQuery">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_StatoMag_delete" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_StatoMag_delete</CommandText>
@@ -387,7 +389,7 @@
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_StatoMag_insert" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insertQuery">
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_StatoMag_insert" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_StatoMag_insert</CommandText>
@@ -437,7 +439,7 @@
<xs:element name="DS_Mag" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Mag" msprop:Generator_UserDSName="DS_Mag">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="AnagLocazioni" msprop:Generator_TableClassName="AnagLocazioniDataTable" msprop:Generator_TableVarName="tableAnagLocazioni" msprop:Generator_RowChangedName="AnagLocazioniRowChanged" msprop:Generator_TablePropName="AnagLocazioni" msprop:Generator_RowDeletingName="AnagLocazioniRowDeleting" msprop:Generator_RowChangingName="AnagLocazioniRowChanging" msprop:Generator_RowEvHandlerName="AnagLocazioniRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagLocazioniRowDeleted" msprop:Generator_RowClassName="AnagLocazioniRow" msprop:Generator_UserTableName="AnagLocazioni" msprop:Generator_RowEvArgName="AnagLocazioniRowChangeEvent">
<xs:element name="AnagLocazioni" msprop:Generator_TableClassName="AnagLocazioniDataTable" msprop:Generator_TableVarName="tableAnagLocazioni" msprop:Generator_TablePropName="AnagLocazioni" msprop:Generator_RowDeletingName="AnagLocazioniRowDeleting" msprop:Generator_RowChangingName="AnagLocazioniRowChanging" msprop:Generator_RowEvHandlerName="AnagLocazioniRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagLocazioniRowDeleted" msprop:Generator_UserTableName="AnagLocazioni" msprop:Generator_RowChangedName="AnagLocazioniRowChanged" msprop:Generator_RowEvArgName="AnagLocazioniRowChangeEvent" msprop:Generator_RowClassName="AnagLocazioniRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodLocazione" msprop:Generator_ColumnVarNameInTable="columnCodLocazione" msprop:Generator_ColumnPropNameInRow="CodLocazione" msprop:Generator_ColumnPropNameInTable="CodLocazioneColumn" msprop:Generator_UserColumnName="CodLocazione">
@@ -457,7 +459,7 @@
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MagRic" msprop:Generator_TableClassName="MagRicDataTable" msprop:Generator_TableVarName="tableMagRic" msprop:Generator_RowChangedName="MagRicRowChanged" msprop:Generator_TablePropName="MagRic" msprop:Generator_RowDeletingName="MagRicRowDeleting" msprop:Generator_RowChangingName="MagRicRowChanging" msprop:Generator_RowEvHandlerName="MagRicRowChangeEventHandler" msprop:Generator_RowDeletedName="MagRicRowDeleted" msprop:Generator_RowClassName="MagRicRow" msprop:Generator_UserTableName="MagRic" msprop:Generator_RowEvArgName="MagRicRowChangeEvent">
<xs:element name="MagRic" msprop:Generator_TableClassName="MagRicDataTable" msprop:Generator_TableVarName="tableMagRic" msprop:Generator_TablePropName="MagRic" msprop:Generator_RowDeletingName="MagRicRowDeleting" msprop:Generator_RowChangingName="MagRicRowChanging" msprop:Generator_RowEvHandlerName="MagRicRowChangeEventHandler" msprop:Generator_RowDeletedName="MagRicRowDeleted" msprop:Generator_UserTableName="MagRic" msprop:Generator_RowChangedName="MagRicRowChanged" msprop:Generator_RowEvArgName="MagRicRowChangeEvent" msprop:Generator_RowClassName="MagRicRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxItem" msprop:Generator_ColumnVarNameInTable="columnidxItem" msprop:Generator_ColumnPropNameInRow="idxItem" msprop:Generator_ColumnPropNameInTable="idxItemColumn" msprop:Generator_UserColumnName="idxItem" type="xs:int" />
@@ -480,7 +482,7 @@
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MovMagRic" msprop:Generator_TableClassName="MovMagRicDataTable" msprop:Generator_TableVarName="tableMovMagRic" msprop:Generator_RowChangedName="MovMagRicRowChanged" msprop:Generator_TablePropName="MovMagRic" msprop:Generator_RowDeletingName="MovMagRicRowDeleting" msprop:Generator_RowChangingName="MovMagRicRowChanging" msprop:Generator_RowEvHandlerName="MovMagRicRowChangeEventHandler" msprop:Generator_RowDeletedName="MovMagRicRowDeleted" msprop:Generator_RowClassName="MovMagRicRow" msprop:Generator_UserTableName="MovMagRic" msprop:Generator_RowEvArgName="MovMagRicRowChangeEvent">
<xs:element name="MovMagRic" msprop:Generator_TableClassName="MovMagRicDataTable" msprop:Generator_TableVarName="tableMovMagRic" msprop:Generator_TablePropName="MovMagRic" msprop:Generator_RowDeletingName="MovMagRicRowDeleting" msprop:Generator_RowChangingName="MovMagRicRowChanging" msprop:Generator_RowEvHandlerName="MovMagRicRowChangeEventHandler" msprop:Generator_RowDeletedName="MovMagRicRowDeleted" msprop:Generator_UserTableName="MovMagRic" msprop:Generator_RowChangedName="MovMagRicRowChanged" msprop:Generator_RowEvArgName="MovMagRicRowChangeEvent" msprop:Generator_RowClassName="MovMagRicRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxItem" msprop:Generator_ColumnVarNameInTable="columnidxItem" msprop:Generator_ColumnPropNameInRow="idxItem" msprop:Generator_ColumnPropNameInTable="idxItemColumn" msprop:Generator_UserColumnName="idxItem" type="xs:int" />
@@ -491,7 +493,7 @@
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagItems" msprop:Generator_TableClassName="AnagItemsDataTable" msprop:Generator_TableVarName="tableAnagItems" msprop:Generator_RowChangedName="AnagItemsRowChanged" msprop:Generator_TablePropName="AnagItems" msprop:Generator_RowDeletingName="AnagItemsRowDeleting" msprop:Generator_RowChangingName="AnagItemsRowChanging" msprop:Generator_RowEvHandlerName="AnagItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagItemsRowDeleted" msprop:Generator_RowClassName="AnagItemsRow" msprop:Generator_UserTableName="AnagItems" msprop:Generator_RowEvArgName="AnagItemsRowChangeEvent">
<xs:element name="AnagItems" msprop:Generator_TableClassName="AnagItemsDataTable" msprop:Generator_TableVarName="tableAnagItems" msprop:Generator_TablePropName="AnagItems" msprop:Generator_RowDeletingName="AnagItemsRowDeleting" msprop:Generator_RowChangingName="AnagItemsRowChanging" msprop:Generator_RowEvHandlerName="AnagItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagItemsRowDeleted" msprop:Generator_UserTableName="AnagItems" msprop:Generator_RowChangedName="AnagItemsRowChanged" msprop:Generator_RowEvArgName="AnagItemsRowChangeEvent" msprop:Generator_RowClassName="AnagItemsRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxItem" msprop:Generator_ColumnVarNameInTable="columnidxItem" msprop:Generator_ColumnPropNameInRow="idxItem" msprop:Generator_ColumnPropNameInTable="idxItemColumn" msprop:Generator_UserColumnName="idxItem" type="xs:int" />
@@ -528,7 +530,7 @@
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Item2FamMacchine" msprop:Generator_TableClassName="Item2FamMacchineDataTable" msprop:Generator_TableVarName="tableItem2FamMacchine" msprop:Generator_RowChangedName="Item2FamMacchineRowChanged" msprop:Generator_TablePropName="Item2FamMacchine" msprop:Generator_RowDeletingName="Item2FamMacchineRowDeleting" msprop:Generator_RowChangingName="Item2FamMacchineRowChanging" msprop:Generator_RowEvHandlerName="Item2FamMacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="Item2FamMacchineRowDeleted" msprop:Generator_RowClassName="Item2FamMacchineRow" msprop:Generator_UserTableName="Item2FamMacchine" msprop:Generator_RowEvArgName="Item2FamMacchineRowChangeEvent">
<xs:element name="Item2FamMacchine" msprop:Generator_TableClassName="Item2FamMacchineDataTable" msprop:Generator_TableVarName="tableItem2FamMacchine" msprop:Generator_TablePropName="Item2FamMacchine" msprop:Generator_RowDeletingName="Item2FamMacchineRowDeleting" msprop:Generator_RowChangingName="Item2FamMacchineRowChanging" msprop:Generator_RowEvHandlerName="Item2FamMacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="Item2FamMacchineRowDeleted" msprop:Generator_UserTableName="Item2FamMacchine" msprop:Generator_RowChangedName="Item2FamMacchineRowChanged" msprop:Generator_RowEvArgName="Item2FamMacchineRowChangeEvent" msprop:Generator_RowClassName="Item2FamMacchineRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxItem" msprop:Generator_ColumnVarNameInTable="columnidxItem" msprop:Generator_ColumnPropNameInRow="idxItem" msprop:Generator_ColumnPropNameInTable="idxItemColumn" msprop:Generator_UserColumnName="idxItem" type="xs:int" />
@@ -536,7 +538,7 @@
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Item2Macchine" msprop:Generator_TableClassName="Item2MacchineDataTable" msprop:Generator_TableVarName="tableItem2Macchine" msprop:Generator_RowChangedName="Item2MacchineRowChanged" msprop:Generator_TablePropName="Item2Macchine" msprop:Generator_RowDeletingName="Item2MacchineRowDeleting" msprop:Generator_RowChangingName="Item2MacchineRowChanging" msprop:Generator_RowEvHandlerName="Item2MacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="Item2MacchineRowDeleted" msprop:Generator_RowClassName="Item2MacchineRow" msprop:Generator_UserTableName="Item2Macchine" msprop:Generator_RowEvArgName="Item2MacchineRowChangeEvent">
<xs:element name="Item2Macchine" msprop:Generator_TableClassName="Item2MacchineDataTable" msprop:Generator_TableVarName="tableItem2Macchine" msprop:Generator_TablePropName="Item2Macchine" msprop:Generator_RowDeletingName="Item2MacchineRowDeleting" msprop:Generator_RowChangingName="Item2MacchineRowChanging" msprop:Generator_RowEvHandlerName="Item2MacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="Item2MacchineRowDeleted" msprop:Generator_UserTableName="Item2Macchine" msprop:Generator_RowChangedName="Item2MacchineRowChanged" msprop:Generator_RowEvArgName="Item2MacchineRowChangeEvent" msprop:Generator_RowClassName="Item2MacchineRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxItem" msprop:Generator_ColumnVarNameInTable="columnidxItem" msprop:Generator_ColumnPropNameInRow="idxItem" msprop:Generator_ColumnPropNameInTable="idxItemColumn" msprop:Generator_UserColumnName="idxItem" type="xs:int" />
@@ -544,10 +546,17 @@
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="StatoMag" msprop:Generator_TableClassName="StatoMagDataTable" msprop:Generator_TableVarName="tableStatoMag" msprop:Generator_TablePropName="StatoMag" msprop:Generator_RowDeletingName="StatoMagRowDeleting" msprop:Generator_RowChangingName="StatoMagRowChanging" msprop:Generator_RowEvHandlerName="StatoMagRowChangeEventHandler" msprop:Generator_RowDeletedName="StatoMagRowDeleted" msprop:Generator_UserTableName="StatoMag" msprop:Generator_RowChangedName="StatoMagRowChanged" msprop:Generator_RowEvArgName="StatoMagRowChangeEvent" msprop:Generator_RowClassName="StatoMagRow">
<xs:element name="StatoMag" msprop:Generator_TableClassName="StatoMagDataTable" msprop:Generator_TableVarName="tableStatoMag" msprop:Generator_RowChangedName="StatoMagRowChanged" msprop:Generator_TablePropName="StatoMag" msprop:Generator_RowDeletingName="StatoMagRowDeleting" msprop:Generator_RowChangingName="StatoMagRowChanging" msprop:Generator_RowEvHandlerName="StatoMagRowChangeEventHandler" msprop:Generator_RowDeletedName="StatoMagRowDeleted" msprop:Generator_RowClassName="StatoMagRow" msprop:Generator_UserTableName="StatoMag" msprop:Generator_RowEvArgName="StatoMagRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idxItem" msprop:Generator_ColumnVarNameInTable="columnidxItem" msprop:Generator_ColumnPropNameInRow="idxItem" msprop:Generator_ColumnPropNameInTable="idxItemColumn" msprop:Generator_UserColumnName="idxItem" type="xs:int" />
<xs:element name="Famiglia" msdata:Caption="Descrizione" msprop:Generator_ColumnVarNameInTable="columnFamiglia" msprop:Generator_ColumnPropNameInRow="Famiglia" msprop:Generator_ColumnPropNameInTable="FamigliaColumn" msprop:Generator_UserColumnName="Famiglia">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" msprop:Generator_UserColumnName="Descrizione">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -642,11 +651,11 @@
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_MagRic_AnagLocazioni" msdata:parent="AnagLocazioni" msdata:child="MagRic" msdata:parentkey="CodLocazione" msdata:childkey="CodLocazione" msprop:Generator_UserChildTable="MagRic" msprop:Generator_ChildPropName="GetMagRicRows" msprop:Generator_UserRelationName="FK_MagRic_AnagLocazioni" msprop:Generator_RelationVarName="relationFK_MagRic_AnagLocazioni" msprop:Generator_UserParentTable="AnagLocazioni" msprop:Generator_ParentPropName="AnagLocazioniRow" />
<msdata:Relationship name="FK_MagRic_AnagItems" msdata:parent="AnagItems" msdata:child="MagRic" msdata:parentkey="idxItem" msdata:childkey="idxItem" msprop:Generator_UserChildTable="MagRic" msprop:Generator_ChildPropName="GetMagRicRows" msprop:Generator_UserRelationName="FK_MagRic_AnagItems" msprop:Generator_ParentPropName="AnagItemsRow" msprop:Generator_RelationVarName="relationFK_MagRic_AnagItems" msprop:Generator_UserParentTable="AnagItems" />
<msdata:Relationship name="FK_MovMagRic_AnagItems" msdata:parent="AnagItems" msdata:child="MovMagRic" msdata:parentkey="idxItem" msdata:childkey="idxItem" msprop:Generator_UserChildTable="MovMagRic" msprop:Generator_ChildPropName="GetMovMagRicRows" msprop:Generator_UserRelationName="FK_MovMagRic_AnagItems" msprop:Generator_ParentPropName="AnagItemsRow" msprop:Generator_RelationVarName="relationFK_MovMagRic_AnagItems" msprop:Generator_UserParentTable="AnagItems" />
<msdata:Relationship name="FK_Item2FamMacchine_AnagItems" msdata:parent="AnagItems" msdata:child="Item2FamMacchine" msdata:parentkey="idxItem" msdata:childkey="idxItem" msprop:Generator_UserChildTable="Item2FamMacchine" msprop:Generator_ChildPropName="GetItem2FamMacchineRows" msprop:Generator_UserRelationName="FK_Item2FamMacchine_AnagItems" msprop:Generator_RelationVarName="relationFK_Item2FamMacchine_AnagItems" msprop:Generator_UserParentTable="AnagItems" msprop:Generator_ParentPropName="AnagItemsRow" />
<msdata:Relationship name="FK_Item2Macchine_AnagItems" msdata:parent="AnagItems" msdata:child="Item2Macchine" msdata:parentkey="idxItem" msdata:childkey="idxItem" msprop:Generator_UserChildTable="Item2Macchine" msprop:Generator_ChildPropName="GetItem2MacchineRows" msprop:Generator_UserRelationName="FK_Item2Macchine_AnagItems" msprop:Generator_RelationVarName="relationFK_Item2Macchine_AnagItems" msprop:Generator_UserParentTable="AnagItems" msprop:Generator_ParentPropName="AnagItemsRow" />
<msdata:Relationship name="FK_MagRic_AnagLocazioni" msdata:parent="AnagLocazioni" msdata:child="MagRic" msdata:parentkey="CodLocazione" msdata:childkey="CodLocazione" msprop:Generator_UserChildTable="MagRic" msprop:Generator_ChildPropName="GetMagRicRows" msprop:Generator_UserRelationName="FK_MagRic_AnagLocazioni" msprop:Generator_ParentPropName="AnagLocazioniRow" msprop:Generator_RelationVarName="relationFK_MagRic_AnagLocazioni" msprop:Generator_UserParentTable="AnagLocazioni" />
<msdata:Relationship name="FK_MagRic_AnagItems" msdata:parent="AnagItems" msdata:child="MagRic" msdata:parentkey="idxItem" msdata:childkey="idxItem" msprop:Generator_UserChildTable="MagRic" msprop:Generator_ChildPropName="GetMagRicRows" msprop:Generator_UserRelationName="FK_MagRic_AnagItems" msprop:Generator_RelationVarName="relationFK_MagRic_AnagItems" msprop:Generator_UserParentTable="AnagItems" msprop:Generator_ParentPropName="AnagItemsRow" />
<msdata:Relationship name="FK_MovMagRic_AnagItems" msdata:parent="AnagItems" msdata:child="MovMagRic" msdata:parentkey="idxItem" msdata:childkey="idxItem" msprop:Generator_UserChildTable="MovMagRic" msprop:Generator_ChildPropName="GetMovMagRicRows" msprop:Generator_UserRelationName="FK_MovMagRic_AnagItems" msprop:Generator_RelationVarName="relationFK_MovMagRic_AnagItems" msprop:Generator_UserParentTable="AnagItems" msprop:Generator_ParentPropName="AnagItemsRow" />
<msdata:Relationship name="FK_Item2FamMacchine_AnagItems" msdata:parent="AnagItems" msdata:child="Item2FamMacchine" msdata:parentkey="idxItem" msdata:childkey="idxItem" msprop:Generator_UserChildTable="Item2FamMacchine" msprop:Generator_ChildPropName="GetItem2FamMacchineRows" msprop:Generator_UserRelationName="FK_Item2FamMacchine_AnagItems" msprop:Generator_ParentPropName="AnagItemsRow" msprop:Generator_RelationVarName="relationFK_Item2FamMacchine_AnagItems" msprop:Generator_UserParentTable="AnagItems" />
<msdata:Relationship name="FK_Item2Macchine_AnagItems" msdata:parent="AnagItems" msdata:child="Item2Macchine" msdata:parentkey="idxItem" msdata:childkey="idxItem" msprop:Generator_UserChildTable="Item2Macchine" msprop:Generator_ChildPropName="GetItem2MacchineRows" msprop:Generator_UserRelationName="FK_Item2Macchine_AnagItems" msprop:Generator_ParentPropName="AnagItemsRow" msprop:Generator_RelationVarName="relationFK_Item2Macchine_AnagItems" msprop:Generator_UserParentTable="AnagItems" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
Binary file not shown.
Binary file not shown.
+16
View File
@@ -1130,6 +1130,20 @@
<Compile Include="WebUserControls\mod_interventoOpMtz.ascx.designer.cs">
<DependentUpon>mod_interventoOpMtz.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_item2FamMacc.ascx.cs">
<DependentUpon>mod_item2FamMacc.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_item2FamMacc.ascx.designer.cs">
<DependentUpon>mod_item2FamMacc.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_item2Macc.ascx.cs">
<DependentUpon>mod_item2Macc.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_item2Macc.ascx.designer.cs">
<DependentUpon>mod_item2Macc.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_lemmiVocab.ascx.cs">
<DependentUpon>mod_lemmiVocab.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -1425,6 +1439,8 @@
<Content Include="WebUserControls\mod_impiegoRisorse.ascx" />
<Content Include="WebUserControls\mod_insertRichiesta.ascx" />
<Content Include="WebUserControls\mod_interventoOpMtz.ascx" />
<Content Include="WebUserControls\mod_item2FamMacc.ascx" />
<Content Include="WebUserControls\mod_item2Macc.ascx" />
<Content Include="WebUserControls\mod_lemmiVocab.ascx" />
<Content Include="WebUserControls\mod_login.ascx" />
<Content Include="WebUserControls\mod_macchine.ascx" />
@@ -0,0 +1,3 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_item2FamMacc.ascx.cs" Inherits="GIM_site.WebUserControls.mod_item2FamMacc" %>
<h3>FAM MACCHINE</h3>
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace GIM_site.WebUserControls
{
public partial class mod_item2FamMacc : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
@@ -0,0 +1,17 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GIM_site.WebUserControls
{
public partial class mod_item2FamMacc
{
}
}
@@ -0,0 +1,4 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_item2Macc.ascx.cs" Inherits="GIM_site.WebUserControls.mod_item2Macc" %>
<h3>MACCHINE</h3>
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace GIM_site.WebUserControls
{
public partial class mod_item2Macc : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
@@ -0,0 +1,17 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GIM_site.WebUserControls
{
public partial class mod_item2Macc
{
}
}
@@ -1,6 +1,11 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_magRic.ascx.cs" Inherits="GIM_site.WebUserControls.mod_magRic" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/WebUserControls/mod_item2FamMacc.ascx" TagPrefix="uc1" TagName="mod_item2FamMacc" %>
<%@ Register Src="~/WebUserControls/mod_item2Macc.ascx" TagPrefix="uc1" TagName="mod_item2Macc" %>
<div style="float: left; width: 75%;">
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" PageSize="20"
DataKeyNames="idxItem" DataSourceID="ods" OnDataBound="grView_DataBound" OnRowEditing="grView_RowEditing" EnableModelValidation="True">
<RowStyle CssClass="ctrRowStyle" />
@@ -37,6 +42,7 @@
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:BoundField DataField="idxItem" HeaderText="idxItem" ReadOnly="True" SortExpression="idxItem" />
<asp:BoundField DataField="Famiglia" HeaderText="Famiglia" SortExpression="Famiglia" />
<asp:BoundField DataField="Descrizione" HeaderText="Descrizione" SortExpression="Descrizione" />
<asp:BoundField DataField="NomeCostruttore" HeaderText="NomeCostruttore" SortExpression="NomeCostruttore" />
<asp:BoundField DataField="CodCostruttore" HeaderText="CodCostruttore" SortExpression="CodCostruttore" />
@@ -104,4 +110,14 @@
<asp:Parameter Name="CodLocazione" Type="String" />
<asp:Parameter Name="Note" Type="String" />
</InsertParameters>
</asp:ObjectDataSource>
</asp:ObjectDataSource>
</div>
<div style="float: left; width: 25%;">
<div>
<uc1:mod_item2FamMacc runat="server" id="mod_item2FamMacc" />
</div>
<div>
<uc1:mod_item2Macc runat="server" id="mod_item2Macc" />
</div>
</div>
@@ -38,5 +38,23 @@ namespace GIM_site.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
/// <summary>
/// mod_item2FamMacc control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GIM_site.WebUserControls.mod_item2FamMacc mod_item2FamMacc;
/// <summary>
/// mod_item2Macc control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GIM_site.WebUserControls.mod_item2Macc mod_item2Macc;
}
}
Binary file not shown.
Binary file not shown.