Ok gestione edit nuovo tag con richiesta...
This commit is contained in:
+31
-8
@@ -7537,7 +7537,7 @@ namespace GIM_data.DS_MagTableAdapters {
|
||||
[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[5];
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT TagCode, Class, TagDescr\r\nFROM AnagTags";
|
||||
@@ -7556,21 +7556,27 @@ namespace GIM_data.DS_MagTableAdapters {
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TagCode", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[3].Connection = this.Connection;
|
||||
this._commandCollection[3].CommandText = "dbo.stp_AnTag_insertQuery";
|
||||
this._commandCollection[3].CommandText = "dbo.stp_AnTag_getByKey";
|
||||
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TagCode", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TagDescr", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[4].Connection = this.Connection;
|
||||
this._commandCollection[4].CommandText = "dbo.stp_AnTag_updateQuery";
|
||||
this._commandCollection[4].CommandText = "dbo.stp_AnTag_insertQuery";
|
||||
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TagCode", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TagDescr", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TagCode", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[5].Connection = this.Connection;
|
||||
this._commandCollection[5].CommandText = "dbo.stp_AnTag_updateQuery";
|
||||
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TagCode", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Class", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TagDescr", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TagCode", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -7614,6 +7620,23 @@ namespace GIM_data.DS_MagTableAdapters {
|
||||
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_Mag.AnagTagsDataTable getByKey(string TagCode) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[3];
|
||||
if ((TagCode == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(TagCode));
|
||||
}
|
||||
DS_Mag.AnagTagsDataTable dataTable = new DS_Mag.AnagTagsDataTable();
|
||||
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")]
|
||||
@@ -7794,7 +7817,7 @@ namespace GIM_data.DS_MagTableAdapters {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int insertQuery(string TagCode, string Class, string TagDescr) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
|
||||
if ((TagCode == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
@@ -7834,7 +7857,7 @@ namespace GIM_data.DS_MagTableAdapters {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int updateQuery(string TagCode, string Class, string TagDescr, string Original_TagCode) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
|
||||
if ((TagCode == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
|
||||
@@ -427,6 +427,17 @@ FROM AnagTags</CommandText>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_AnTag_getByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_AnTag_getByKey</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@TagCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.stp_AnTag_insertQuery" 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">
|
||||
@@ -741,7 +752,7 @@ FROM AnagTags</CommandText>
|
||||
<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">
|
||||
@@ -761,7 +772,7 @@ FROM AnagTags</CommandText>
|
||||
</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" />
|
||||
@@ -784,7 +795,7 @@ FROM AnagTags</CommandText>
|
||||
</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" />
|
||||
@@ -795,7 +806,7 @@ FROM AnagTags</CommandText>
|
||||
</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" />
|
||||
@@ -840,7 +851,7 @@ FROM AnagTags</CommandText>
|
||||
</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" />
|
||||
@@ -908,7 +919,7 @@ FROM AnagTags</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagTags" msprop:Generator_TableClassName="AnagTagsDataTable" msprop:Generator_TableVarName="tableAnagTags" msprop:Generator_RowChangedName="AnagTagsRowChanged" msprop:Generator_TablePropName="AnagTags" msprop:Generator_RowDeletingName="AnagTagsRowDeleting" msprop:Generator_RowChangingName="AnagTagsRowChanging" msprop:Generator_RowEvHandlerName="AnagTagsRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTagsRowDeleted" msprop:Generator_RowClassName="AnagTagsRow" msprop:Generator_UserTableName="AnagTags" msprop:Generator_RowEvArgName="AnagTagsRowChangeEvent">
|
||||
<xs:element name="AnagTags" msprop:Generator_TableClassName="AnagTagsDataTable" msprop:Generator_TableVarName="tableAnagTags" msprop:Generator_TablePropName="AnagTags" msprop:Generator_RowDeletingName="AnagTagsRowDeleting" msprop:Generator_RowChangingName="AnagTagsRowChanging" msprop:Generator_RowEvHandlerName="AnagTagsRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTagsRowDeleted" msprop:Generator_UserTableName="AnagTags" msprop:Generator_RowChangedName="AnagTagsRowChanged" msprop:Generator_RowEvArgName="AnagTagsRowChangeEvent" msprop:Generator_RowClassName="AnagTagsRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="TagCode" msprop:Generator_ColumnVarNameInTable="columnTagCode" msprop:Generator_ColumnPropNameInRow="TagCode" msprop:Generator_ColumnPropNameInTable="TagCodeColumn" msprop:Generator_UserColumnName="TagCode">
|
||||
@@ -935,7 +946,7 @@ FROM AnagTags</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Tag2Item" msprop:Generator_TableClassName="Tag2ItemDataTable" msprop:Generator_TableVarName="tableTag2Item" msprop:Generator_RowChangedName="Tag2ItemRowChanged" msprop:Generator_TablePropName="Tag2Item" msprop:Generator_RowDeletingName="Tag2ItemRowDeleting" msprop:Generator_RowChangingName="Tag2ItemRowChanging" msprop:Generator_RowEvHandlerName="Tag2ItemRowChangeEventHandler" msprop:Generator_RowDeletedName="Tag2ItemRowDeleted" msprop:Generator_RowClassName="Tag2ItemRow" msprop:Generator_UserTableName="Tag2Item" msprop:Generator_RowEvArgName="Tag2ItemRowChangeEvent">
|
||||
<xs:element name="Tag2Item" msprop:Generator_TableClassName="Tag2ItemDataTable" msprop:Generator_TableVarName="tableTag2Item" msprop:Generator_TablePropName="Tag2Item" msprop:Generator_RowDeletingName="Tag2ItemRowDeleting" msprop:Generator_RowChangingName="Tag2ItemRowChanging" msprop:Generator_RowEvHandlerName="Tag2ItemRowChangeEventHandler" msprop:Generator_RowDeletedName="Tag2ItemRowDeleted" msprop:Generator_UserTableName="Tag2Item" msprop:Generator_RowChangedName="Tag2ItemRowChanged" msprop:Generator_RowEvArgName="Tag2ItemRowChangeEvent" msprop:Generator_RowClassName="Tag2ItemRow">
|
||||
<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" />
|
||||
@@ -949,7 +960,7 @@ FROM AnagTags</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="Tag2Macc" msprop:Generator_TableClassName="Tag2MaccDataTable" msprop:Generator_TableVarName="tableTag2Macc" msprop:Generator_RowChangedName="Tag2MaccRowChanged" msprop:Generator_TablePropName="Tag2Macc" msprop:Generator_RowDeletingName="Tag2MaccRowDeleting" msprop:Generator_RowChangingName="Tag2MaccRowChanging" msprop:Generator_RowEvHandlerName="Tag2MaccRowChangeEventHandler" msprop:Generator_RowDeletedName="Tag2MaccRowDeleted" msprop:Generator_RowClassName="Tag2MaccRow" msprop:Generator_UserTableName="Tag2Macc" msprop:Generator_RowEvArgName="Tag2MaccRowChangeEvent">
|
||||
<xs:element name="Tag2Macc" msprop:Generator_TableClassName="Tag2MaccDataTable" msprop:Generator_TableVarName="tableTag2Macc" msprop:Generator_TablePropName="Tag2Macc" msprop:Generator_RowDeletingName="Tag2MaccRowDeleting" msprop:Generator_RowChangingName="Tag2MaccRowChanging" msprop:Generator_RowEvHandlerName="Tag2MaccRowChangeEventHandler" msprop:Generator_RowDeletedName="Tag2MaccRowDeleted" msprop:Generator_UserTableName="Tag2Macc" msprop:Generator_RowChangedName="Tag2MaccRowChanged" msprop:Generator_RowEvArgName="Tag2MaccRowChangeEvent" msprop:Generator_RowClassName="Tag2MaccRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="TagCode" msprop:Generator_ColumnVarNameInTable="columnTagCode" msprop:Generator_ColumnPropNameInRow="TagCode" msprop:Generator_ColumnPropNameInTable="TagCodeColumn" msprop:Generator_UserColumnName="TagCode">
|
||||
@@ -963,7 +974,7 @@ FROM AnagTags</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="AnagMacchine" msprop:Generator_TableClassName="AnagMacchineDataTable" msprop:Generator_TableVarName="tableAnagMacchine" msprop:Generator_RowChangedName="AnagMacchineRowChanged" msprop:Generator_TablePropName="AnagMacchine" msprop:Generator_RowDeletingName="AnagMacchineRowDeleting" msprop:Generator_RowChangingName="AnagMacchineRowChanging" msprop:Generator_RowEvHandlerName="AnagMacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagMacchineRowDeleted" msprop:Generator_RowClassName="AnagMacchineRow" msprop:Generator_UserTableName="AnagMacchine" msprop:Generator_RowEvArgName="AnagMacchineRowChangeEvent">
|
||||
<xs:element name="AnagMacchine" msprop:Generator_TableClassName="AnagMacchineDataTable" msprop:Generator_TableVarName="tableAnagMacchine" msprop:Generator_TablePropName="AnagMacchine" msprop:Generator_RowDeletingName="AnagMacchineRowDeleting" msprop:Generator_RowChangingName="AnagMacchineRowChanging" msprop:Generator_RowEvHandlerName="AnagMacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagMacchineRowDeleted" msprop:Generator_UserTableName="AnagMacchine" msprop:Generator_RowChangedName="AnagMacchineRowChanged" msprop:Generator_RowEvArgName="AnagMacchineRowChangeEvent" msprop:Generator_RowClassName="AnagMacchineRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxMacchina" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" msprop:Generator_UserColumnName="idxMacchina" type="xs:int" />
|
||||
@@ -1004,7 +1015,7 @@ FROM AnagTags</CommandText>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="SinonimiTag" msprop:Generator_TableClassName="SinonimiTagDataTable" msprop:Generator_TableVarName="tableSinonimiTag" msprop:Generator_TablePropName="SinonimiTag" msprop:Generator_RowDeletingName="SinonimiTagRowDeleting" msprop:Generator_RowChangingName="SinonimiTagRowChanging" msprop:Generator_RowEvHandlerName="SinonimiTagRowChangeEventHandler" msprop:Generator_RowDeletedName="SinonimiTagRowDeleted" msprop:Generator_UserTableName="SinonimiTag" msprop:Generator_RowChangedName="SinonimiTagRowChanged" msprop:Generator_RowEvArgName="SinonimiTagRowChangeEvent" msprop:Generator_RowClassName="SinonimiTagRow">
|
||||
<xs:element name="SinonimiTag" msprop:Generator_TableClassName="SinonimiTagDataTable" msprop:Generator_TableVarName="tableSinonimiTag" msprop:Generator_RowChangedName="SinonimiTagRowChanged" msprop:Generator_TablePropName="SinonimiTag" msprop:Generator_RowDeletingName="SinonimiTagRowDeleting" msprop:Generator_RowChangingName="SinonimiTagRowChanging" msprop:Generator_RowEvHandlerName="SinonimiTagRowChangeEventHandler" msprop:Generator_RowDeletedName="SinonimiTagRowDeleted" msprop:Generator_RowClassName="SinonimiTagRow" msprop:Generator_UserTableName="SinonimiTag" msprop:Generator_RowEvArgName="SinonimiTagRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="TagCodeOrig" msprop:Generator_ColumnVarNameInTable="columnTagCodeOrig" msprop:Generator_ColumnPropNameInRow="TagCodeOrig" msprop:Generator_ColumnPropNameInTable="TagCodeOrigColumn" msprop:Generator_UserColumnName="TagCodeOrig">
|
||||
@@ -1073,13 +1084,13 @@ FROM AnagTags</CommandText>
|
||||
</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_Tag2Item_AnagItems" msdata:parent="AnagItems" msdata:child="Tag2Item" msdata:parentkey="idxItem" msdata:childkey="idxItem" msprop:Generator_UserChildTable="Tag2Item" msprop:Generator_ChildPropName="GetTag2ItemRows" msprop:Generator_UserRelationName="FK_Tag2Item_AnagItems" msprop:Generator_RelationVarName="relationFK_Tag2Item_AnagItems" msprop:Generator_UserParentTable="AnagItems" msprop:Generator_ParentPropName="AnagItemsRow" />
|
||||
<msdata:Relationship name="FK_Tag2Item_AnagTag" msdata:parent="AnagTags" msdata:child="Tag2Item" msdata:parentkey="TagCode" msdata:childkey="TagCode" msprop:Generator_UserChildTable="Tag2Item" msprop:Generator_ChildPropName="GetTag2ItemRows" msprop:Generator_UserRelationName="FK_Tag2Item_AnagTag" msprop:Generator_RelationVarName="relationFK_Tag2Item_AnagTag" msprop:Generator_UserParentTable="AnagTags" msprop:Generator_ParentPropName="AnagTagRow" />
|
||||
<msdata:Relationship name="FK_Tag2Macc_AnagTag" msdata:parent="AnagTags" msdata:child="Tag2Macc" msdata:parentkey="TagCode" msdata:childkey="TagCode" msprop:Generator_UserChildTable="Tag2Macc" msprop:Generator_ChildPropName="GetTag2MaccRows" msprop:Generator_UserRelationName="FK_Tag2Macc_AnagTag" msprop:Generator_RelationVarName="relationFK_Tag2Macc_AnagTag" msprop:Generator_UserParentTable="AnagTags" msprop:Generator_ParentPropName="AnagTagRow" />
|
||||
<msdata:Relationship name="FK_Tag2Macc_AnagMacchine" msdata:parent="AnagMacchine" msdata:child="Tag2Macc" msdata:parentkey="idxMacchina" msdata:childkey="idxMacchina" msprop:Generator_UserChildTable="Tag2Macc" msprop:Generator_ChildPropName="GetTag2MaccRows" msprop:Generator_UserRelationName="FK_Tag2Macc_AnagMacchine" msprop:Generator_ParentPropName="AnagMacchineRow" msprop:Generator_RelationVarName="relationFK_Tag2Macc_AnagMacchine" msprop:Generator_UserParentTable="AnagMacchine" />
|
||||
<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_Tag2Item_AnagItems" msdata:parent="AnagItems" msdata:child="Tag2Item" msdata:parentkey="idxItem" msdata:childkey="idxItem" msprop:Generator_UserChildTable="Tag2Item" msprop:Generator_ChildPropName="GetTag2ItemRows" msprop:Generator_UserRelationName="FK_Tag2Item_AnagItems" msprop:Generator_ParentPropName="AnagItemsRow" msprop:Generator_RelationVarName="relationFK_Tag2Item_AnagItems" msprop:Generator_UserParentTable="AnagItems" />
|
||||
<msdata:Relationship name="FK_Tag2Item_AnagTag" msdata:parent="AnagTags" msdata:child="Tag2Item" msdata:parentkey="TagCode" msdata:childkey="TagCode" msprop:Generator_UserChildTable="Tag2Item" msprop:Generator_ChildPropName="GetTag2ItemRows" msprop:Generator_UserRelationName="FK_Tag2Item_AnagTag" msprop:Generator_ParentPropName="AnagTagRow" msprop:Generator_RelationVarName="relationFK_Tag2Item_AnagTag" msprop:Generator_UserParentTable="AnagTags" />
|
||||
<msdata:Relationship name="FK_Tag2Macc_AnagTag" msdata:parent="AnagTags" msdata:child="Tag2Macc" msdata:parentkey="TagCode" msdata:childkey="TagCode" msprop:Generator_UserChildTable="Tag2Macc" msprop:Generator_ChildPropName="GetTag2MaccRows" msprop:Generator_UserRelationName="FK_Tag2Macc_AnagTag" msprop:Generator_ParentPropName="AnagTagRow" msprop:Generator_RelationVarName="relationFK_Tag2Macc_AnagTag" msprop:Generator_UserParentTable="AnagTags" />
|
||||
<msdata:Relationship name="FK_Tag2Macc_AnagMacchine" msdata:parent="AnagMacchine" msdata:child="Tag2Macc" msdata:parentkey="idxMacchina" msdata:childkey="idxMacchina" msprop:Generator_UserChildTable="Tag2Macc" msprop:Generator_ChildPropName="GetTag2MaccRows" msprop:Generator_UserRelationName="FK_Tag2Macc_AnagMacchine" msprop:Generator_RelationVarName="relationFK_Tag2Macc_AnagMacchine" msprop:Generator_UserParentTable="AnagMacchine" msprop:Generator_ParentPropName="AnagMacchineRow" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:schema>
|
||||
@@ -9,13 +9,13 @@
|
||||
<Shape ID="DesignTable:AnagLocazioni" ZOrder="17" X="244" Y="75" Height="172" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:MagRic" ZOrder="16" X="250" Y="300" Height="172" Width="188" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:MovMagRic" ZOrder="12" X="555" Y="58" Height="172" Width="214" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:AnagItems" ZOrder="3" X="538" Y="292" Height="267" Width="207" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:StatoMag" ZOrder="1" X="927" Y="12" Height="362" Width="266" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagTags" ZOrder="11" X="759" Y="553" Height="210" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:Tag2Item" ZOrder="4" X="961" Y="468" Height="153" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:Tag2Macc" ZOrder="5" X="529" Y="599" Height="134" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagMacchine" ZOrder="2" X="254" Y="521" Height="324" Width="189" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:SinonimiTag" ZOrder="10" X="43" Y="591" Height="115" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagItems" ZOrder="4" X="538" Y="292" Height="267" Width="207" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:StatoMag" ZOrder="2" X="927" Y="12" Height="362" Width="266" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagTags" ZOrder="1" X="759" Y="553" Height="210" Width="172" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:Tag2Item" ZOrder="5" X="961" Y="468" Height="153" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:Tag2Macc" ZOrder="6" X="529" Y="599" Height="134" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagMacchine" ZOrder="3" X="254" Y="521" Height="324" Width="189" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:SinonimiTag" ZOrder="11" X="43" Y="591" Height="115" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_MagRic_AnagLocazioni" ZOrder="15" LineWidth="11">
|
||||
@@ -54,7 +54,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Tag2Item_AnagItems" ZOrder="9" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Tag2Item_AnagItems" ZOrder="10" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>745</X>
|
||||
@@ -66,19 +66,23 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Tag2Item_AnagTag" ZOrder="8" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Tag2Item_AnagTag" ZOrder="9" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>917</X>
|
||||
<Y>593</Y>
|
||||
<X>931</X>
|
||||
<Y>553</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>931</X>
|
||||
<Y>536</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>961</X>
|
||||
<Y>593</Y>
|
||||
<Y>536</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Tag2Macc_AnagTag" ZOrder="7" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Tag2Macc_AnagTag" ZOrder="8" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>759</X>
|
||||
@@ -90,7 +94,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Tag2Macc_AnagMacchine" ZOrder="6" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Tag2Macc_AnagMacchine" ZOrder="7" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>443</X>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -48,10 +48,8 @@
|
||||
<%--Site Scripts--%>
|
||||
</Scripts>
|
||||
</asp:ScriptManager>
|
||||
<%--<asp:UpdatePanel ID="uppNavbar" runat="server">
|
||||
<%--<asp:UpdatePanel ID="uppNavbar" runat="server" UpdateMode="Always">
|
||||
<ContentTemplate>--%>
|
||||
<!-- Fixed navbar -->
|
||||
<%--<div class="navbar navbar-inverse navbar-static-top" role="navigation">--%>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
<div class="container-fluid">
|
||||
<uc1:mod_testata runat="server" ID="mod_testata" />
|
||||
|
||||
@@ -6,7 +6,19 @@
|
||||
<h4><%: traduci("GestioneTags") %></h4>
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" PageSize="20" DataKeyNames="TagCode" DataSourceID="ods" OnDataBound="grView_DataBound" OnRowEditing="grView_RowEditing" CssClass="table table-striped" OnSelectedIndexChanged="grView_SelectedIndexChanged">
|
||||
<div runat="server" id="divNewTag" visible="false">
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<asp:Label runat="server" ID="lblNewTag"><%: traduci("lblNewTag") %></asp:Label>
|
||||
<asp:TextBox runat="server" ID="txtNewTag"></asp:TextBox>
|
||||
<asp:Label runat="server" ID="lblError" ForeColor="Red" Text="" />
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<asp:LinkButton runat="server" ID="lbtAddNew" CssClass="btn btn-success" OnClick="lbtAddNew_Click"><%: traduci("addNewTag") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" PageSize="20" DataKeyNames="TagCode" DataSourceID="ods" OnDataBound="grView_DataBound" OnRowEditing="grView_RowEditing" CssClass="table table-striped" OnSelectedIndexChanged="grView_SelectedIndexChanged" OnRowDeleted="grView_RowDeleted" OnRowUpdated="grView_RowUpdated">
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<SelectedRowStyle CssClass="info" />
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace GIM_site.WebUserControls
|
||||
protected override void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
base.Page_Load(sender, e);
|
||||
if(!Page.IsPostBack)
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
divDetail.Visible = false;
|
||||
}
|
||||
@@ -89,9 +89,7 @@ namespace GIM_site.WebUserControls
|
||||
{
|
||||
// reset selezione...
|
||||
resetSelezione();
|
||||
// i primi valori ("0") di default sono "ND"... li inserisco come standard...
|
||||
TA_app.obj.taAnagTags.insertQuery(memLayer.ML.confReadString("newTagCode"), memLayer.ML.confReadString("newTagClass"), memLayer.ML.confReadString("newTagDescr"));
|
||||
grView.DataBind();
|
||||
divNewTag.Visible = true;
|
||||
}
|
||||
/// <summary>
|
||||
/// verifica se il tag abbia child (= associazioni a macchine o items...)
|
||||
@@ -119,20 +117,59 @@ namespace GIM_site.WebUserControls
|
||||
public void doUpdate()
|
||||
{
|
||||
grView.DataBind();
|
||||
hideDetail();
|
||||
}
|
||||
|
||||
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (grView.SelectedIndex >= 0)
|
||||
if (grView.SelectedIndex >= 0)
|
||||
{
|
||||
divDetail.Visible = true;
|
||||
mod_tag2Item.TagCode = grView.SelectedDataKey["TagCode"].ToString();
|
||||
mod_tag2Macc.TagCode = grView.SelectedDataKey["TagCode"].ToString();
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
divDetail.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
protected void grView_RowDeleted(object sender, GridViewDeletedEventArgs e)
|
||||
{
|
||||
hideDetail();
|
||||
}
|
||||
|
||||
private void hideDetail()
|
||||
{
|
||||
grView.SelectedIndex = -1;
|
||||
divDetail.Visible = false;
|
||||
}
|
||||
|
||||
protected void grView_RowUpdated(object sender, GridViewUpdatedEventArgs e)
|
||||
{
|
||||
hideDetail();
|
||||
}
|
||||
|
||||
protected void lbtAddNew_Click(object sender, EventArgs e)
|
||||
{
|
||||
lblError.Text = "";
|
||||
// verifico tag sia NUOVO...
|
||||
string newTag = txtNewTag.Text.Trim();
|
||||
if (TA_app.obj.taAnagTags.getByKey(newTag).Rows.Count == 0)
|
||||
{
|
||||
// i primi valori ("0") di default sono "ND"... li inserisco come standard...
|
||||
TA_app.obj.taAnagTags.insertQuery(newTag, memLayer.ML.confReadString("newTagClass"), memLayer.ML.confReadString("newTagDescr"));
|
||||
// salvo in ricerca...
|
||||
((FullPage)(this.Page.Master)).searchVal = newTag;
|
||||
// update visualizzazioni
|
||||
divNewTag.Visible = false;
|
||||
grView.DataBind();
|
||||
}
|
||||
else
|
||||
{
|
||||
// indico tag duplicato
|
||||
lblError.Text = traduci("RecordDuplicato");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -12,6 +12,51 @@ namespace GIM_site.WebUserControls {
|
||||
|
||||
public partial class mod_anagTags {
|
||||
|
||||
/// <summary>
|
||||
/// divNewTag control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divNewTag;
|
||||
|
||||
/// <summary>
|
||||
/// lblNewTag control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblNewTag;
|
||||
|
||||
/// <summary>
|
||||
/// txtNewTag control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtNewTag;
|
||||
|
||||
/// <summary>
|
||||
/// lblError control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblError;
|
||||
|
||||
/// <summary>
|
||||
/// lbtAddNew control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtAddNew;
|
||||
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
/// </summary>
|
||||
|
||||
@@ -81,8 +81,8 @@
|
||||
<SelectedRowStyle CssClass="info" />
|
||||
<EmptyDataTemplate>
|
||||
<asp:Label runat="server" ID="lblNoRecord" Text='<%# traduci("noRecord") %>' />
|
||||
<asp:Button ID="btnNew" runat="server" OnClick="btnNewFromEmpty_Click" Text='<%# traduci("New") %>'
|
||||
Visible='<%# isWritable() %>' />
|
||||
<%--<asp:Button ID="btnNew" runat="server" OnClick="btnNewFromEmpty_Click" Text='<%# traduci("New") %>'
|
||||
Visible='<%# isWritable() %>' />--%>
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<%--<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
|
||||
|
||||
@@ -59,6 +59,9 @@ namespace GIM_site.WebUserControls
|
||||
{
|
||||
// inverto modalità ricodifica (scambio si/no)
|
||||
setMode(!_showRicodifica);
|
||||
// update x tutto!
|
||||
mod_anagTags.doUpdate();
|
||||
mod_SinonimiTag.doUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -131,4 +131,7 @@ UPDATE vocabolario SET traduzione = 'Event Detail' WHERE lemma = 'DettIntervento
|
||||
exec voc.stp_insNewLemma 'adminDB', 'DB Admin'
|
||||
exec voc.stp_insNewLemma 'chLang', 'Language'
|
||||
exec voc.stp_insNewLemma 'chLangIcon', 'fa fa-globe'
|
||||
exec voc.stp_insNewLemma 'lblNewTag', 'Nuova Etichetta'
|
||||
exec voc.stp_insNewLemma 'addNewTag', 'Aggiungi Etichetta'
|
||||
exec voc.stp_insNewLemma 'RecordDuplicato', 'Record Duplicato'
|
||||
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user