public V_NpStatRowChangeEvent(DsNpStat.V_NpStatRow row, DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemoveV_NpStatRow(DsNpStat.V_NpStatRow row) { base.Rows.Remove(row); }
public void AddV_NpStatRow(DsNpStat.V_NpStatRow row) { base.Rows.Add(row); }
public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs) { XmlSchemaComplexType type = new XmlSchemaComplexType(); XmlSchemaSequence sequence = new XmlSchemaSequence(); DsNpStat stat = new DsNpStat(); xs.Add(stat.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 = stat.Namespace }; type.Attributes.Add(attribute); XmlSchemaAttribute attribute2 = new XmlSchemaAttribute { Name = "tableTypeName", FixedValue = "V_NpStatDataTable" }; type.Attributes.Add(attribute2); type.Particle = sequence; return type; }
public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs) { DsNpStat stat = new DsNpStat(); XmlSchemaComplexType type = new XmlSchemaComplexType(); XmlSchemaSequence sequence = new XmlSchemaSequence(); xs.Add(stat.GetSchemaSerializable()); XmlSchemaAny item = new XmlSchemaAny { Namespace = stat.Namespace }; sequence.Items.Add(item); type.Particle = sequence; return type; }
public virtual int Fill(DsNpStat.V_NpStatDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if (this.ClearBeforeFill) { dataTable.Clear(); } return this.Adapter.Fill(dataTable); }