Ejemplo n.º 1
0
 public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
 {
     XmlSchemaComplexType type = new XmlSchemaComplexType();
     XmlSchemaSequence sequence = new XmlSchemaSequence();
     DsSendList list = new DsSendList();
     xs.Add(list.GetSchemaSerializable());
     XmlSchemaAny item = new XmlSchemaAny {
         Namespace = "http://www.w3.org/2001/XMLSchema",
         MinOccurs = 0M,
         MaxOccurs = 79228162514264337593543950335M,
         ProcessContents = XmlSchemaContentProcessing.Lax
     };
     sequence.Items.Add(item);
     XmlSchemaAny any2 = new XmlSchemaAny {
         Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1",
         MinOccurs = 1M,
         ProcessContents = XmlSchemaContentProcessing.Lax
     };
     sequence.Items.Add(any2);
     XmlSchemaAttribute attribute = new XmlSchemaAttribute {
         Name = "namespace",
         FixedValue = list.Namespace
     };
     type.Attributes.Add(attribute);
     XmlSchemaAttribute attribute2 = new XmlSchemaAttribute {
         Name = "tableTypeName",
         FixedValue = "V_NPDataTable"
     };
     type.Attributes.Add(attribute2);
     type.Particle = sequence;
     return type;
 }
Ejemplo n.º 2
0
 public V_ListRowChangeEvent(DsSendList.V_ListRow row, DataRowAction action)
 {
     this.eventRow = row;
     this.eventAction = action;
 }
Ejemplo n.º 3
0
 public void RemoveV_ListRow(DsSendList.V_ListRow row)
 {
     base.Rows.Remove(row);
 }
Ejemplo n.º 4
0
 public void AddV_ListRow(DsSendList.V_ListRow row)
 {
     base.Rows.Add(row);
 }
Ejemplo n.º 5
0
 public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
 {
     DsSendList list = new DsSendList();
     XmlSchemaComplexType type = new XmlSchemaComplexType();
     XmlSchemaSequence sequence = new XmlSchemaSequence();
     xs.Add(list.GetSchemaSerializable());
     XmlSchemaAny item = new XmlSchemaAny {
         Namespace = list.Namespace
     };
     sequence.Items.Add(item);
     type.Particle = sequence;
     return type;
 }
Ejemplo n.º 6
0
 public virtual int Fill(DsSendList.V_SendListDataTable dataTable)
 {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     if (this.ClearBeforeFill)
     {
         dataTable.Clear();
     }
     return this.Adapter.Fill(dataTable);
 }