compeltato test, EML VA!!!!!

This commit is contained in:
samuele
2012-10-17 18:58:32 +02:00
parent 44ef5a05ed
commit caa0141c0e
9 changed files with 667 additions and 27 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
<add key="appName" value="ETS-WS" />
<add key="SiteName" value="ETS" />
<add key="mainRev" value="0.9" />
<add key="minRev" value="85" />
<add key="minRev" value="90" />
<add key="copyRight" value="SteamWare, ETS © 2012" />
<add key="tempUplDir" value="~/TempUploads" />
<add key="archiveDir" value="~/ArchivioDocs" />
+10 -5
View File
@@ -228,14 +228,19 @@ namespace ETS_WS
return answ;
}
/// <summary>
/// fornisce il dest dato codice fonte
/// fornisce email dato codice fornitore
/// </summary>
/// <param name="codFonte"></param>
/// <param name="codForn"></param>
/// <returns></returns>
public static string emailDaFonte(string codFonte)
public static string emailDaCodForn(string codForn)
{
string answ = string.Format("{0}@ets.it", codFonte);
string answ = codForn;
try
{
answ = utils.obj.taEmailForn.getByCodForn(codForn)[0].Email;
}
catch
{ }
return answ;
}
@@ -103,7 +103,7 @@ namespace ETS_WS.WebUserControls
{
// creo un NUOVO file alla destinazione sostituendo l'esistente con apposita classe
string mittente = utils.obj.currUserEmail;
string destinatario = WebShipUtils.emailDaFonte(docsData.fonte);
string destinatario = WebShipUtils.emailDaCodForn(docsData.fonte);
string subject = string.Format("{0}, prot. num {1}", docsData.oggetto, protocollo);
string body = string.Format("Commessa: {1}{0}Fase: {2}{0}Oggetto: {3}{0}prot. num: {4}", Environment.NewLine, docsData.commessa, docsData.fase, docsData.oggetto, protocollo);
string newFileName = WebShipUtils.CreaEml(mittente, destinatario, subject, body, null, Server.MapPath(pathDest));
Binary file not shown.
Binary file not shown.
+579
View File
@@ -42,6 +42,8 @@ namespace ETS_Data {
private stp_calcolaProtocolloDataTable tablestp_calcolaProtocollo;
private v_selEmailFornitoriDataTable tablev_selEmailFornitori;
private filesDataTable tablefiles;
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
@@ -99,6 +101,9 @@ namespace ETS_Data {
if ((ds.Tables["stp_calcolaProtocollo"] != null)) {
base.Tables.Add(new stp_calcolaProtocolloDataTable(ds.Tables["stp_calcolaProtocollo"]));
}
if ((ds.Tables["v_selEmailFornitori"] != null)) {
base.Tables.Add(new v_selEmailFornitoriDataTable(ds.Tables["v_selEmailFornitori"]));
}
if ((ds.Tables["files"] != null)) {
base.Tables.Add(new filesDataTable(ds.Tables["files"]));
}
@@ -210,6 +215,16 @@ namespace ETS_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 v_selEmailFornitoriDataTable v_selEmailFornitori {
get {
return this.tablev_selEmailFornitori;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -314,6 +329,9 @@ namespace ETS_Data {
if ((ds.Tables["stp_calcolaProtocollo"] != null)) {
base.Tables.Add(new stp_calcolaProtocolloDataTable(ds.Tables["stp_calcolaProtocollo"]));
}
if ((ds.Tables["v_selEmailFornitori"] != null)) {
base.Tables.Add(new v_selEmailFornitoriDataTable(ds.Tables["v_selEmailFornitori"]));
}
if ((ds.Tables["files"] != null)) {
base.Tables.Add(new filesDataTable(ds.Tables["files"]));
}
@@ -404,6 +422,12 @@ namespace ETS_Data {
this.tablestp_calcolaProtocollo.InitVars();
}
}
this.tablev_selEmailFornitori = ((v_selEmailFornitoriDataTable)(base.Tables["v_selEmailFornitori"]));
if ((initTable == true)) {
if ((this.tablev_selEmailFornitori != null)) {
this.tablev_selEmailFornitori.InitVars();
}
}
this.tablefiles = ((filesDataTable)(base.Tables["files"]));
if ((initTable == true)) {
if ((this.tablefiles != null)) {
@@ -438,6 +462,8 @@ namespace ETS_Data {
base.Tables.Add(this.tablev_selAutori);
this.tablestp_calcolaProtocollo = new stp_calcolaProtocolloDataTable();
base.Tables.Add(this.tablestp_calcolaProtocollo);
this.tablev_selEmailFornitori = new v_selEmailFornitoriDataTable();
base.Tables.Add(this.tablev_selEmailFornitori);
this.tablefiles = new filesDataTable();
base.Tables.Add(this.tablefiles);
}
@@ -496,6 +522,12 @@ namespace ETS_Data {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializev_selEmailFornitori() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializefiles() {
@@ -584,6 +616,9 @@ namespace ETS_Data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void stp_calcolaProtocolloRowChangeEventHandler(object sender, stp_calcolaProtocolloRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void v_selEmailFornitoriRowChangeEventHandler(object sender, v_selEmailFornitoriRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void filesRowChangeEventHandler(object sender, filesRowChangeEvent e);
@@ -3014,6 +3049,271 @@ namespace ETS_Data {
}
}
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class v_selEmailFornitoriDataTable : global::System.Data.TypedTableBase<v_selEmailFornitoriRow> {
private global::System.Data.DataColumn columncodFornitore;
private global::System.Data.DataColumn columnEmail;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public v_selEmailFornitoriDataTable() {
this.TableName = "v_selEmailFornitori";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal v_selEmailFornitoriDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected v_selEmailFornitoriDataTable(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 codFornitoreColumn {
get {
return this.columncodFornitore;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn EmailColumn {
get {
return this.columnEmail;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public v_selEmailFornitoriRow this[int index] {
get {
return ((v_selEmailFornitoriRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event v_selEmailFornitoriRowChangeEventHandler v_selEmailFornitoriRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event v_selEmailFornitoriRowChangeEventHandler v_selEmailFornitoriRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event v_selEmailFornitoriRowChangeEventHandler v_selEmailFornitoriRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event v_selEmailFornitoriRowChangeEventHandler v_selEmailFornitoriRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void Addv_selEmailFornitoriRow(v_selEmailFornitoriRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public v_selEmailFornitoriRow Addv_selEmailFornitoriRow(string codFornitore, string Email) {
v_selEmailFornitoriRow rowv_selEmailFornitoriRow = ((v_selEmailFornitoriRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
codFornitore,
Email};
rowv_selEmailFornitoriRow.ItemArray = columnValuesArray;
this.Rows.Add(rowv_selEmailFornitoriRow);
return rowv_selEmailFornitoriRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
v_selEmailFornitoriDataTable cln = ((v_selEmailFornitoriDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new v_selEmailFornitoriDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columncodFornitore = base.Columns["codFornitore"];
this.columnEmail = base.Columns["Email"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columncodFornitore = new global::System.Data.DataColumn("codFornitore", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columncodFornitore);
this.columnEmail = new global::System.Data.DataColumn("Email", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnEmail);
this.columncodFornitore.AllowDBNull = false;
this.columncodFornitore.MaxLength = 200;
this.columnEmail.ReadOnly = true;
this.columnEmail.MaxLength = 200;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public v_selEmailFornitoriRow Newv_selEmailFornitoriRow() {
return ((v_selEmailFornitoriRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new v_selEmailFornitoriRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(v_selEmailFornitoriRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.v_selEmailFornitoriRowChanged != null)) {
this.v_selEmailFornitoriRowChanged(this, new v_selEmailFornitoriRowChangeEvent(((v_selEmailFornitoriRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.v_selEmailFornitoriRowChanging != null)) {
this.v_selEmailFornitoriRowChanging(this, new v_selEmailFornitoriRowChangeEvent(((v_selEmailFornitoriRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.v_selEmailFornitoriRowDeleted != null)) {
this.v_selEmailFornitoriRowDeleted(this, new v_selEmailFornitoriRowChangeEvent(((v_selEmailFornitoriRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.v_selEmailFornitoriRowDeleting != null)) {
this.v_selEmailFornitoriRowDeleting(this, new v_selEmailFornitoriRowChangeEvent(((v_selEmailFornitoriRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void Removev_selEmailFornitoriRow(v_selEmailFornitoriRow 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_utils ds = new DS_utils();
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "v_selEmailFornitoriDataTable";
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;
}
}
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
@@ -3869,6 +4169,60 @@ namespace ETS_Data {
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class v_selEmailFornitoriRow : global::System.Data.DataRow {
private v_selEmailFornitoriDataTable tablev_selEmailFornitori;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal v_selEmailFornitoriRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tablev_selEmailFornitori = ((v_selEmailFornitoriDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string codFornitore {
get {
return ((string)(this[this.tablev_selEmailFornitori.codFornitoreColumn]));
}
set {
this[this.tablev_selEmailFornitori.codFornitoreColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Email {
get {
try {
return ((string)(this[this.tablev_selEmailFornitori.EmailColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'Email\' in table \'v_selEmailFornitori\' is DBNull.", e);
}
}
set {
this[this.tablev_selEmailFornitori.EmailColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsEmailNull() {
return this.IsNull(this.tablev_selEmailFornitori.EmailColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetEmailNull() {
this[this.tablev_selEmailFornitori.EmailColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
@@ -4302,6 +4656,40 @@ namespace ETS_Data {
}
}
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public class v_selEmailFornitoriRowChangeEvent : global::System.EventArgs {
private v_selEmailFornitoriRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public v_selEmailFornitoriRowChangeEvent(v_selEmailFornitoriRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public v_selEmailFornitoriRow 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;
}
}
}
/// <summary>
///Row event argument class
///</summary>
@@ -6080,6 +6468,197 @@ namespace ETS_Data.DS_utilsTableAdapters {
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class v_selEmailFornitoriTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
private global::System.Data.SqlClient.SqlConnection _connection;
private global::System.Data.SqlClient.SqlTransaction _transaction;
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public v_selEmailFornitoriTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.SqlClient.SqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.SqlClient.SqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "v_selEmailFornitori";
tableMapping.ColumnMappings.Add("codFornitore", "codFornitore");
tableMapping.ColumnMappings.Add("Email", "Email");
this._adapter.TableMappings.Add(tableMapping);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::ETS_Data.Properties.Settings.Default.ETS_WSConnectionString;
}
[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 codFornitore, Email FROM dbo.v_selEmailFornitori";
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_EF_byCodFornitore";
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("@codFornitore", global::System.Data.SqlDbType.NVarChar, 200, 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_utils.v_selEmailFornitoriDataTable 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_utils.v_selEmailFornitoriDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_utils.v_selEmailFornitoriDataTable dataTable = new DS_utils.v_selEmailFornitoriDataTable();
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_utils.v_selEmailFornitoriDataTable getByCodForn(string codFornitore) {
this.Adapter.SelectCommand = this.CommandCollection[1];
if ((codFornitore == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(codFornitore));
}
DS_utils.v_selEmailFornitoriDataTable dataTable = new DS_utils.v_selEmailFornitoriDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
}
/// <summary>
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///</summary>
+59 -10
View File
@@ -267,6 +267,35 @@ ORDER BY value</CommandText>
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selEmailFornitoriTableAdapter" GeneratorDataComponentClassName="v_selEmailFornitoriTableAdapter" Name="v_selEmailFornitori" UserDataComponentName="v_selEmailFornitoriTableAdapter">
<MainSource>
<DbSource ConnectionRef="ETS_WSConnectionString (Settings)" DbObjectName="ETS_WS.dbo.v_selEmailFornitori" 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="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT codFornitore, Email FROM dbo.v_selEmailFornitori</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="codFornitore" DataSetColumn="codFornitore" />
<Mapping SourceColumn="Email" DataSetColumn="Email" />
</Mappings>
<Sources>
<DbSource ConnectionRef="ETS_WSConnectionString (Settings)" DbObjectName="ETS_WS.dbo.stp_EF_byCodFornitore" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCodForn" GetMethodModifier="Public" GetMethodName="getByCodForn" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCodForn" UserSourceName="getByCodForn">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_EF_byCodFornitore</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="@codFornitore" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -275,7 +304,7 @@ ORDER BY value</CommandText>
<xs:element name="DS_utils" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_utils" msprop:Generator_UserDSName="DS_utils">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="v_selFonti" msprop:Generator_TableClassName="v_selFontiDataTable" msprop:Generator_TableVarName="tablev_selFonti" msprop:Generator_TablePropName="v_selFonti" msprop:Generator_RowDeletingName="v_selFontiRowDeleting" msprop:Generator_RowChangingName="v_selFontiRowChanging" msprop:Generator_RowEvHandlerName="v_selFontiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFontiRowDeleted" msprop:Generator_UserTableName="v_selFonti" msprop:Generator_RowChangedName="v_selFontiRowChanged" msprop:Generator_RowEvArgName="v_selFontiRowChangeEvent" msprop:Generator_RowClassName="v_selFontiRow">
<xs:element name="v_selFonti" msprop:Generator_TableClassName="v_selFontiDataTable" msprop:Generator_TableVarName="tablev_selFonti" msprop:Generator_RowChangedName="v_selFontiRowChanged" msprop:Generator_TablePropName="v_selFonti" msprop:Generator_RowDeletingName="v_selFontiRowDeleting" msprop:Generator_RowChangingName="v_selFontiRowChanging" msprop:Generator_RowEvHandlerName="v_selFontiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFontiRowDeleted" msprop:Generator_RowClassName="v_selFontiRow" msprop:Generator_UserTableName="v_selFonti" msprop:Generator_RowEvArgName="v_selFontiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -295,7 +324,7 @@ ORDER BY value</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selCommesse" msprop:Generator_TableClassName="v_selCommesseDataTable" msprop:Generator_TableVarName="tablev_selCommesse" msprop:Generator_RowChangedName="v_selCommesseRowChanged" msprop:Generator_TablePropName="v_selCommesse" msprop:Generator_RowDeletingName="v_selCommesseRowDeleting" msprop:Generator_RowChangingName="v_selCommesseRowChanging" msprop:Generator_RowEvHandlerName="v_selCommesseRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCommesseRowDeleted" msprop:Generator_RowClassName="v_selCommesseRow" msprop:Generator_UserTableName="v_selCommesse" msprop:Generator_RowEvArgName="v_selCommesseRowChangeEvent">
<xs:element name="v_selCommesse" msprop:Generator_TableClassName="v_selCommesseDataTable" msprop:Generator_TableVarName="tablev_selCommesse" msprop:Generator_TablePropName="v_selCommesse" msprop:Generator_RowDeletingName="v_selCommesseRowDeleting" msprop:Generator_RowChangingName="v_selCommesseRowChanging" msprop:Generator_RowEvHandlerName="v_selCommesseRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selCommesseRowDeleted" msprop:Generator_UserTableName="v_selCommesse" msprop:Generator_RowChangedName="v_selCommesseRowChanged" msprop:Generator_RowEvArgName="v_selCommesseRowChangeEvent" msprop:Generator_RowClassName="v_selCommesseRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:string" />
@@ -309,7 +338,7 @@ ORDER BY value</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selFasi" msprop:Generator_TableClassName="v_selFasiDataTable" msprop:Generator_TableVarName="tablev_selFasi" msprop:Generator_RowChangedName="v_selFasiRowChanged" msprop:Generator_TablePropName="v_selFasi" msprop:Generator_RowDeletingName="v_selFasiRowDeleting" msprop:Generator_RowChangingName="v_selFasiRowChanging" msprop:Generator_RowEvHandlerName="v_selFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFasiRowDeleted" msprop:Generator_RowClassName="v_selFasiRow" msprop:Generator_UserTableName="v_selFasi" msprop:Generator_RowEvArgName="v_selFasiRowChangeEvent">
<xs:element name="v_selFasi" msprop:Generator_TableClassName="v_selFasiDataTable" msprop:Generator_TableVarName="tablev_selFasi" msprop:Generator_TablePropName="v_selFasi" msprop:Generator_RowDeletingName="v_selFasiRowDeleting" msprop:Generator_RowChangingName="v_selFasiRowChanging" msprop:Generator_RowEvHandlerName="v_selFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selFasiRowDeleted" msprop:Generator_UserTableName="v_selFasi" msprop:Generator_RowChangedName="v_selFasiRowChanged" msprop:Generator_RowEvArgName="v_selFasiRowChangeEvent" msprop:Generator_RowClassName="v_selFasiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" type="xs:string" />
@@ -323,7 +352,7 @@ ORDER BY value</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="files" msprop:Generator_TableClassName="filesDataTable" msprop:Generator_TableVarName="tablefiles" msprop:Generator_TablePropName="files" msprop:Generator_RowDeletingName="filesRowDeleting" msprop:Generator_RowChangingName="filesRowChanging" msprop:Generator_RowEvHandlerName="filesRowChangeEventHandler" msprop:Generator_RowDeletedName="filesRowDeleted" msprop:Generator_UserTableName="files" msprop:Generator_RowChangedName="filesRowChanged" msprop:Generator_RowEvArgName="filesRowChangeEvent" msprop:Generator_RowClassName="filesRow">
<xs:element name="files" msprop:Generator_TableClassName="filesDataTable" msprop:Generator_TableVarName="tablefiles" msprop:Generator_RowChangedName="filesRowChanged" msprop:Generator_TablePropName="files" msprop:Generator_RowDeletingName="filesRowDeleting" msprop:Generator_RowChangingName="filesRowChanging" msprop:Generator_RowEvHandlerName="filesRowChangeEventHandler" msprop:Generator_RowDeletedName="filesRowDeleted" msprop:Generator_RowClassName="filesRow" msprop:Generator_UserTableName="files" msprop:Generator_RowEvArgName="filesRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnPropNameInTable="NomeColumn" msprop:Generator_UserColumnName="Nome" type="xs:string" minOccurs="0" />
@@ -333,7 +362,7 @@ ORDER BY value</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_tbDocs_selCommesse" msprop:Generator_TableClassName="v_tbDocs_selCommesseDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selCommesse" msprop:Generator_RowChangedName="v_tbDocs_selCommesseRowChanged" msprop:Generator_TablePropName="v_tbDocs_selCommesse" msprop:Generator_RowDeletingName="v_tbDocs_selCommesseRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selCommesseRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selCommesseRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selCommesseRowDeleted" msprop:Generator_RowClassName="v_tbDocs_selCommesseRow" msprop:Generator_UserTableName="v_tbDocs_selCommesse" msprop:Generator_RowEvArgName="v_tbDocs_selCommesseRowChangeEvent">
<xs:element name="v_tbDocs_selCommesse" msprop:Generator_TableClassName="v_tbDocs_selCommesseDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selCommesse" msprop:Generator_TablePropName="v_tbDocs_selCommesse" msprop:Generator_RowDeletingName="v_tbDocs_selCommesseRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selCommesseRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selCommesseRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selCommesseRowDeleted" msprop:Generator_UserTableName="v_tbDocs_selCommesse" msprop:Generator_RowChangedName="v_tbDocs_selCommesseRowChanged" msprop:Generator_RowEvArgName="v_tbDocs_selCommesseRowChangeEvent" msprop:Generator_RowClassName="v_tbDocs_selCommesseRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" minOccurs="0">
@@ -353,7 +382,7 @@ ORDER BY value</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_tbDocs_selFasi" msprop:Generator_TableClassName="v_tbDocs_selFasiDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selFasi" msprop:Generator_RowChangedName="v_tbDocs_selFasiRowChanged" msprop:Generator_TablePropName="v_tbDocs_selFasi" msprop:Generator_RowDeletingName="v_tbDocs_selFasiRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selFasiRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selFasiRowDeleted" msprop:Generator_RowClassName="v_tbDocs_selFasiRow" msprop:Generator_UserTableName="v_tbDocs_selFasi" msprop:Generator_RowEvArgName="v_tbDocs_selFasiRowChangeEvent">
<xs:element name="v_tbDocs_selFasi" msprop:Generator_TableClassName="v_tbDocs_selFasiDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selFasi" msprop:Generator_TablePropName="v_tbDocs_selFasi" msprop:Generator_RowDeletingName="v_tbDocs_selFasiRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selFasiRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selFasiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selFasiRowDeleted" msprop:Generator_UserTableName="v_tbDocs_selFasi" msprop:Generator_RowChangedName="v_tbDocs_selFasiRowChanged" msprop:Generator_RowEvArgName="v_tbDocs_selFasiRowChangeEvent" msprop:Generator_RowClassName="v_tbDocs_selFasiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" minOccurs="0">
@@ -373,7 +402,7 @@ ORDER BY value</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_tbDocs_selFonti" msprop:Generator_TableClassName="v_tbDocs_selFontiDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selFonti" msprop:Generator_RowChangedName="v_tbDocs_selFontiRowChanged" msprop:Generator_TablePropName="v_tbDocs_selFonti" msprop:Generator_RowDeletingName="v_tbDocs_selFontiRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selFontiRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selFontiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selFontiRowDeleted" msprop:Generator_RowClassName="v_tbDocs_selFontiRow" msprop:Generator_UserTableName="v_tbDocs_selFonti" msprop:Generator_RowEvArgName="v_tbDocs_selFontiRowChangeEvent">
<xs:element name="v_tbDocs_selFonti" msprop:Generator_TableClassName="v_tbDocs_selFontiDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selFonti" msprop:Generator_TablePropName="v_tbDocs_selFonti" msprop:Generator_RowDeletingName="v_tbDocs_selFontiRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selFontiRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selFontiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selFontiRowDeleted" msprop:Generator_UserTableName="v_tbDocs_selFonti" msprop:Generator_RowChangedName="v_tbDocs_selFontiRowChanged" msprop:Generator_RowEvArgName="v_tbDocs_selFontiRowChangeEvent" msprop:Generator_RowClassName="v_tbDocs_selFontiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" minOccurs="0">
@@ -393,7 +422,7 @@ ORDER BY value</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_tbDocs_selOggetto" msprop:Generator_TableClassName="v_tbDocs_selOggettoDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selOggetto" msprop:Generator_RowChangedName="v_tbDocs_selOggettoRowChanged" msprop:Generator_TablePropName="v_tbDocs_selOggetto" msprop:Generator_RowDeletingName="v_tbDocs_selOggettoRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selOggettoRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selOggettoRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selOggettoRowDeleted" msprop:Generator_RowClassName="v_tbDocs_selOggettoRow" msprop:Generator_UserTableName="v_tbDocs_selOggetto" msprop:Generator_RowEvArgName="v_tbDocs_selOggettoRowChangeEvent">
<xs:element name="v_tbDocs_selOggetto" msprop:Generator_TableClassName="v_tbDocs_selOggettoDataTable" msprop:Generator_TableVarName="tablev_tbDocs_selOggetto" msprop:Generator_TablePropName="v_tbDocs_selOggetto" msprop:Generator_RowDeletingName="v_tbDocs_selOggettoRowDeleting" msprop:Generator_RowChangingName="v_tbDocs_selOggettoRowChanging" msprop:Generator_RowEvHandlerName="v_tbDocs_selOggettoRowChangeEventHandler" msprop:Generator_RowDeletedName="v_tbDocs_selOggettoRowDeleted" msprop:Generator_UserTableName="v_tbDocs_selOggetto" msprop:Generator_RowChangedName="v_tbDocs_selOggettoRowChanged" msprop:Generator_RowEvArgName="v_tbDocs_selOggettoRowChangeEvent" msprop:Generator_RowClassName="v_tbDocs_selOggettoRow">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value" minOccurs="0">
@@ -413,7 +442,7 @@ ORDER BY value</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selAutori" msprop:Generator_TableClassName="v_selAutoriDataTable" msprop:Generator_TableVarName="tablev_selAutori" msprop:Generator_TablePropName="v_selAutori" msprop:Generator_RowDeletingName="v_selAutoriRowDeleting" msprop:Generator_RowChangingName="v_selAutoriRowChanging" msprop:Generator_RowEvHandlerName="v_selAutoriRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selAutoriRowDeleted" msprop:Generator_UserTableName="v_selAutori" msprop:Generator_RowChangedName="v_selAutoriRowChanged" msprop:Generator_RowEvArgName="v_selAutoriRowChangeEvent" msprop:Generator_RowClassName="v_selAutoriRow">
<xs:element name="v_selAutori" msprop:Generator_TableClassName="v_selAutoriDataTable" msprop:Generator_TableVarName="tablev_selAutori" msprop:Generator_RowChangedName="v_selAutoriRowChanged" msprop:Generator_TablePropName="v_selAutori" msprop:Generator_RowDeletingName="v_selAutoriRowDeleting" msprop:Generator_RowChangingName="v_selAutoriRowChanging" msprop:Generator_RowEvHandlerName="v_selAutoriRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selAutoriRowDeleted" msprop:Generator_RowClassName="v_selAutoriRow" msprop:Generator_UserTableName="v_selAutori" msprop:Generator_RowEvArgName="v_selAutoriRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -433,7 +462,7 @@ ORDER BY value</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_calcolaProtocollo" msprop:Generator_TableClassName="stp_calcolaProtocolloDataTable" msprop:Generator_TableVarName="tablestp_calcolaProtocollo" msprop:Generator_TablePropName="stp_calcolaProtocollo" msprop:Generator_RowDeletingName="stp_calcolaProtocolloRowDeleting" msprop:Generator_RowChangingName="stp_calcolaProtocolloRowChanging" msprop:Generator_RowEvHandlerName="stp_calcolaProtocolloRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_calcolaProtocolloRowDeleted" msprop:Generator_UserTableName="stp_calcolaProtocollo" msprop:Generator_RowChangedName="stp_calcolaProtocolloRowChanged" msprop:Generator_RowEvArgName="stp_calcolaProtocolloRowChangeEvent" msprop:Generator_RowClassName="stp_calcolaProtocolloRow">
<xs:element name="stp_calcolaProtocollo" msprop:Generator_TableClassName="stp_calcolaProtocolloDataTable" msprop:Generator_TableVarName="tablestp_calcolaProtocollo" msprop:Generator_RowChangedName="stp_calcolaProtocolloRowChanged" msprop:Generator_TablePropName="stp_calcolaProtocollo" msprop:Generator_RowDeletingName="stp_calcolaProtocolloRowDeleting" msprop:Generator_RowChangingName="stp_calcolaProtocolloRowChanging" msprop:Generator_RowEvHandlerName="stp_calcolaProtocolloRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_calcolaProtocolloRowDeleted" msprop:Generator_RowClassName="stp_calcolaProtocolloRow" msprop:Generator_UserTableName="stp_calcolaProtocollo" msprop:Generator_RowEvArgName="stp_calcolaProtocolloRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Anno" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnAnno" msprop:Generator_ColumnPropNameInRow="Anno" msprop:Generator_ColumnPropNameInTable="AnnoColumn" msprop:Generator_UserColumnName="Anno" type="xs:int" minOccurs="0" />
@@ -442,6 +471,26 @@ ORDER BY value</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selEmailFornitori" msprop:Generator_TableClassName="v_selEmailFornitoriDataTable" msprop:Generator_TableVarName="tablev_selEmailFornitori" msprop:Generator_TablePropName="v_selEmailFornitori" msprop:Generator_RowDeletingName="v_selEmailFornitoriRowDeleting" msprop:Generator_RowChangingName="v_selEmailFornitoriRowChanging" msprop:Generator_RowEvHandlerName="v_selEmailFornitoriRowChangeEventHandler" msprop:Generator_RowDeletedName="v_selEmailFornitoriRowDeleted" msprop:Generator_UserTableName="v_selEmailFornitori" msprop:Generator_RowChangedName="v_selEmailFornitoriRowChanged" msprop:Generator_RowEvArgName="v_selEmailFornitoriRowChangeEvent" msprop:Generator_RowClassName="v_selEmailFornitoriRow">
<xs:complexType>
<xs:sequence>
<xs:element name="codFornitore" msprop:Generator_ColumnVarNameInTable="columncodFornitore" msprop:Generator_ColumnPropNameInRow="codFornitore" msprop:Generator_ColumnPropNameInTable="codFornitoreColumn" msprop:Generator_UserColumnName="codFornitore">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="200" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Email" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnEmail" msprop:Generator_ColumnPropNameInRow="Email" msprop:Generator_ColumnPropNameInTable="EmailColumn" msprop:Generator_UserColumnName="Email" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="200" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
+11 -9
View File
@@ -6,15 +6,17 @@
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:v_selFonti" ZOrder="9" X="167" Y="206" Height="134" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selCommesse" ZOrder="8" X="551" Y="226" Height="134" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selFasi" ZOrder="7" X="894" Y="226" Height="134" Width="194" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_tbDocs_selCommesse" ZOrder="3" X="141" Y="449" Height="134" Width="280" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_tbDocs_selFasi" ZOrder="2" X="511" Y="462" Height="134" Width="239" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_tbDocs_selFonti" ZOrder="1" X="841" Y="473" Height="134" Width="247" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_tbDocs_selOggetto" ZOrder="5" X="182" Y="672" Height="134" Width="266" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selAutori" ZOrder="4" X="885" Y="653" Height="134" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:files" ZOrder="6" X="1115" Y="226" Height="125" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:v_selFonti" ZOrder="11" X="167" Y="206" Height="134" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selCommesse" ZOrder="10" X="551" Y="226" Height="134" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selFasi" ZOrder="9" X="894" Y="226" Height="134" Width="194" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_tbDocs_selCommesse" ZOrder="5" X="141" Y="449" Height="134" Width="280" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_tbDocs_selFasi" ZOrder="4" X="511" Y="462" Height="134" Width="239" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_tbDocs_selFonti" ZOrder="3" X="841" Y="473" Height="134" Width="247" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_tbDocs_selOggetto" ZOrder="7" X="182" Y="672" Height="134" Width="266" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selAutori" ZOrder="6" X="885" Y="653" Height="134" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:stp_calcolaProtocollo" ZOrder="2" X="729" Y="66" Height="130" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="40" />
<Shape ID="DesignTable:files" ZOrder="8" X="1115" Y="226" Height="125" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:v_selEmailFornitori" ZOrder="1" X="539" Y="679" Height="134" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
</Shapes>
<Connectors />
</DiagramLayout>
+6 -1
View File
@@ -22,6 +22,7 @@ namespace ETS_Data
public DS_utilsTableAdapters.v_tbDocs_selFasiTableAdapter taTDSelFasi;
public DS_utilsTableAdapters.v_tbDocs_selOggettoTableAdapter taTDSelOggetti;
public DS_utilsTableAdapters.stp_calcolaProtocolloTableAdapter taCalcProto;
public DS_utilsTableAdapters.v_selEmailFornitoriTableAdapter taEmailForn;
public DS_WebScipTableAdapters.tbDocumentiTableAdapter taDoc;
public DS_WebScipTableAdapters.Tags2DocTableAdapter taTags2Doc;
@@ -42,6 +43,7 @@ namespace ETS_Data
taTDSelFasi = new DS_utilsTableAdapters.v_tbDocs_selFasiTableAdapter();
taTDSelOggetti = new DS_utilsTableAdapters.v_tbDocs_selOggettoTableAdapter();
taCalcProto = new DS_utilsTableAdapters.stp_calcolaProtocolloTableAdapter();
taEmailForn = new DS_utilsTableAdapters.v_selEmailFornitoriTableAdapter();
taDoc = new DS_WebScipTableAdapters.tbDocumentiTableAdapter();
taTags2Doc = new DS_WebScipTableAdapters.Tags2DocTableAdapter();
}
@@ -64,6 +66,7 @@ namespace ETS_Data
taTDSelFasi.Connection.ConnectionString = connStringETS_WS;
taTDSelOggetti.Connection.ConnectionString = connStringETS_WS;
taCalcProto.Connection.ConnectionString = connStringETS_WS;
taEmailForn.Connection.ConnectionString = connStringETS_WS;
taDoc.Connection.ConnectionString = connStringETS_WS;
taTags2Doc.Connection.ConnectionString = connStringETS_WS;
}
@@ -170,7 +173,9 @@ namespace ETS_Data
}
}
catch
{ }
{
answ = "info@ets.it";
}
return answ;
}
}