public override DataSet Clone() { sp_ip_zaglavljeDataSet set = (sp_ip_zaglavljeDataSet)base.Clone(); set.InitVars(); return(set); }
public virtual int Fill(sp_ip_zaglavljeDataSet dataSet) { if (this.fillDataParameters == null) { throw new ArgumentException(); } this.Fill(dataSet, this.fillDataParameters[0].Value.ToString()); return(0); }
public virtual int FillPage(sp_ip_zaglavljeDataSet dataSet, int startRow, int maxRows) { if (this.fillDataParameters == null) { throw new ArgumentException(); } this.FillPage(dataSet, this.fillDataParameters[0].Value.ToString(), startRow, maxRows); return(0); }
public virtual int Fill(DataSet dataSet) { this.sp_ip_zaglavljeSet = (sp_ip_zaglavljeDataSet)dataSet; if (this.sp_ip_zaglavljeSet != null) { return(this.Fill(this.sp_ip_zaglavljeSet)); } this.sp_ip_zaglavljeSet = new sp_ip_zaglavljeDataSet(); this.Fill(this.sp_ip_zaglavljeSet); dataSet.Merge(this.sp_ip_zaglavljeSet); return(0); }
public virtual int FillPage(DataSet dataSet, int startRow, int maxRows) { this.sp_ip_zaglavljeSet = (sp_ip_zaglavljeDataSet)dataSet; if (this.sp_ip_zaglavljeSet != null) { return(this.FillPage(this.sp_ip_zaglavljeSet, startRow, maxRows)); } this.sp_ip_zaglavljeSet = new sp_ip_zaglavljeDataSet(); this.FillPage(this.sp_ip_zaglavljeSet, startRow, maxRows); dataSet.Merge(this.sp_ip_zaglavljeSet); return(0); }
public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs) { sp_ip_zaglavljeDataSet set = new sp_ip_zaglavljeDataSet(); 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); }
public virtual int Fill(sp_ip_zaglavljeDataSet dataSet, string godina) { this.Initialize(); this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction); this.sp_ip_zaglavljeSet = dataSet; this.rowsp_ip_zaglavlje = this.sp_ip_zaglavljeSet.sp_ip_zaglavlje.Newsp_ip_zaglavljeRow(); this.SetFillParameters(godina); this.AV8godina = godina; try { this.executePrivate(0, -1); } finally { this.Cleanup(); } return(0); }
public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs) { XmlSchemaComplexType type2 = new XmlSchemaComplexType(); XmlSchemaSequence sequence = new XmlSchemaSequence(); sp_ip_zaglavljeDataSet set = new sp_ip_zaglavljeDataSet(); 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); }