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; }
public V_ListRowChangeEvent(DsSendList.V_ListRow row, DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemoveV_ListRow(DsSendList.V_ListRow row) { base.Rows.Remove(row); }
public void AddV_ListRow(DsSendList.V_ListRow row) { base.Rows.Add(row); }
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; }
public virtual int Fill(DsSendList.V_SendListDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if (this.ClearBeforeFill) { dataTable.Clear(); } return this.Adapter.Fill(dataTable); }