Beispiel #1
0
        public override DataSet Clone()
        {
            VW_ZADUZENI_PARTNERIDataSet set = (VW_ZADUZENI_PARTNERIDataSet)base.Clone();

            set.InitVars();
            return(set);
        }
Beispiel #2
0
 public virtual int FillPage(DataSet dataSet, int startRow, int maxRows)
 {
     this.VW_ZADUZENI_PARTNERISet = (VW_ZADUZENI_PARTNERIDataSet)dataSet;
     if (this.VW_ZADUZENI_PARTNERISet != null)
     {
         return(this.FillPage(this.VW_ZADUZENI_PARTNERISet, startRow, maxRows));
     }
     this.VW_ZADUZENI_PARTNERISet = new VW_ZADUZENI_PARTNERIDataSet();
     this.FillPage(this.VW_ZADUZENI_PARTNERISet, startRow, maxRows);
     dataSet.Merge(this.VW_ZADUZENI_PARTNERISet);
     return(0);
 }
Beispiel #3
0
 public virtual int Fill(DataSet dataSet)
 {
     this.VW_ZADUZENI_PARTNERISet = (VW_ZADUZENI_PARTNERIDataSet)dataSet;
     if (this.VW_ZADUZENI_PARTNERISet != null)
     {
         return(this.Fill(this.VW_ZADUZENI_PARTNERISet));
     }
     this.VW_ZADUZENI_PARTNERISet = new VW_ZADUZENI_PARTNERIDataSet();
     this.Fill(this.VW_ZADUZENI_PARTNERISet);
     dataSet.Merge(this.VW_ZADUZENI_PARTNERISet);
     return(0);
 }
Beispiel #4
0
        public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
        {
            VW_ZADUZENI_PARTNERIDataSet set      = new VW_ZADUZENI_PARTNERIDataSet();
            XmlSchemaComplexType        type2    = new XmlSchemaComplexType();
            XmlSchemaSequence           sequence = new XmlSchemaSequence();

            xs.Add(set.GetSchemaSerializable());
            XmlSchemaAny item = new XmlSchemaAny {
                Namespace = set.Namespace
            };

            sequence.Items.Add(item);
            type2.Particle = sequence;
            return(type2);
        }
Beispiel #5
0
 public virtual int FillPage(VW_ZADUZENI_PARTNERIDataSet dataSet, int startRow, int maxRows)
 {
     this.Initialize();
     this.connDefault             = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.VW_ZADUZENI_PARTNERISet = dataSet;
     this.rowVW_ZADUZENI_PARTNERI = this.VW_ZADUZENI_PARTNERISet.VW_ZADUZENI_PARTNERI.NewVW_ZADUZENI_PARTNERIRow();
     this.orderString             = GetOrderString(this.Order, true);
     this.reverseOrderString      = GetOrderString(this.Order, false);
     try
     {
         this.executePrivate(startRow, maxRows);
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Beispiel #6
0
            public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
            {
                XmlSchemaComplexType        type2    = new XmlSchemaComplexType();
                XmlSchemaSequence           sequence = new XmlSchemaSequence();
                VW_ZADUZENI_PARTNERIDataSet set      = new VW_ZADUZENI_PARTNERIDataSet();

                xs.Add(set.GetSchemaSerializable());
                XmlSchemaAny item = new XmlSchemaAny {
                    Namespace = "http://www.w3.org/2001/XMLSchema"
                };
                decimal num = new decimal(0);

                item.MinOccurs       = num;
                item.MaxOccurs       = 79228162514264337593543950335M;
                item.ProcessContents = XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(item);
                XmlSchemaAny any2 = new XmlSchemaAny {
                    Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
                };

                num                  = new decimal(1);
                any2.MinOccurs       = num;
                any2.ProcessContents = XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                XmlSchemaAttribute attribute = new XmlSchemaAttribute {
                    Name       = "namespace",
                    FixedValue = set.Namespace
                };

                type2.Attributes.Add(attribute);
                XmlSchemaAttribute attribute2 = new XmlSchemaAttribute {
                    Name       = "tableTypeName",
                    FixedValue = "InvoiceDataTable"
                };

                type2.Attributes.Add(attribute2);
                type2.Particle = sequence;
                return(type2);
            }