Click or drag to resize

OleDbSchema Class

DataSet that knows how to retrieve a schema (tables, columns, views, sprocs, constraints, relations) based on a connection string.
Inheritance Hierarchy
SystemObject
  System.ComponentModelMarshalByValueComponent
    System.DataDataSet
      Altaxo.DataConnectionOleDbSchema

Namespace: Altaxo.DataConnection
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class OleDbSchema : DataSet

The OleDbSchema type exposes the following members.

Constructors
 NameDescription
Public methodOleDbSchemaInitializes a new instance of the OleDbSchema class
Top
Properties
 NameDescription
Public propertyCaseSensitiveGets or sets a value indicating whether string comparisons within DataTable objects are case-sensitive.
(Inherited from DataSet)
Public propertyConnectionString Gets or sets the connection string used to fill this schema.
Public propertyContainerGets the container for the component.
(Inherited from MarshalByValueComponent)
Public propertyDataSetNameGets or sets the name of the current DataSet.
(Inherited from DataSet)
Public propertyDefaultViewManagerGets a custom view of the data contained in the DataSet to allow filtering, searching, and navigating using a custom DataViewManager.
(Inherited from DataSet)
Public propertyDesignModeGets a value indicating whether the component is currently in design mode.
(Inherited from MarshalByValueComponent)
Public propertyEnforceConstraintsGets or sets a value indicating whether constraint rules are followed when attempting any update operation.
(Inherited from DataSet)
Protected propertyEventsGets the list of event handlers that are attached to this component.
(Inherited from MarshalByValueComponent)
Public propertyExtendedPropertiesGets the collection of customized user information associated with the DataSet.
(Inherited from DataSet)
Public propertyHasErrorsGets a value indicating whether there are errors in any of the DataTable objects within this DataSet.
(Inherited from DataSet)
Public propertyIsInitializedGets a value that indicates whether the DataSet is initialized.
(Inherited from DataSet)
Public propertyLocaleGets or sets the locale information used to compare strings within the table.
(Inherited from DataSet)
Public propertyNamespaceGets or sets the namespace of the DataSet.
(Inherited from DataSet)
Public propertyPrefixGets or sets an XML prefix that aliases the namespace of the DataSet.
(Inherited from DataSet)
Public propertyRelationsGets the collection of relations that link tables and allow navigation from parent tables to child tables.
(Inherited from DataSet)
Public propertyRemotingFormatGets or sets a SerializationFormat for the DataSet used during remoting.
(Inherited from DataSet)
Public propertySchemaSerializationModeGets or sets a SchemaSerializationMode for a DataSet.
(Inherited from DataSet)
Public propertySiteGets or sets an ISite for the DataSet.
(Inherited from DataSet)
Public propertyTablesGets the collection of tables contained in the DataSet.
(Inherited from DataSet)
Top
Methods
 NameDescription
Public methodAcceptChangesCommits all the changes made to this DataSet since it was loaded or since the last time AcceptChanges was called.
(Inherited from DataSet)
Public methodBeginInitBegins the initialization of a DataSet that is used on a form or used by another component. The initialization occurs at run time.
(Inherited from DataSet)
Public methodStatic memberBracketName Encloses a name in square brackets.
Public methodClearClears the DataSet of any data by removing all rows in all tables.
(Inherited from DataSet)
Public methodCloneCopies the structure of the DataSet, including all DataTable schemas, relations, and constraints. Does not copy any data.
(Inherited from DataSet)
Public methodCopyCopies both the structure and data for this DataSet.
(Inherited from DataSet)
Public methodCreateDataReaderReturns a DataTableReader with one result set per DataTable, in the same sequence as the tables appear in the Tables collection.
(Inherited from DataSet)
Public methodCreateDataReader(DataTable)Returns a DataTableReader with one result set per DataTable.
(Inherited from DataSet)
Protected methodDetermineSchemaSerializationMode(XmlReader)Determines the SchemaSerializationMode for a DataSet.
(Inherited from DataSet)
Protected methodDetermineSchemaSerializationMode(SerializationInfo, StreamingContext)Determines the SchemaSerializationMode for a DataSet.
(Inherited from DataSet)
Public methodDisposeReleases all resources used by the MarshalByValueComponent.
(Inherited from MarshalByValueComponent)
Protected methodDispose(Boolean)Releases the unmanaged resources used by the MarshalByValueComponent and optionally releases the managed resources.
(Inherited from MarshalByValueComponent)
Public methodEndInitEnds the initialization of a DataSet that is used on a form or used by another component. The initialization occurs at run time.
(Inherited from DataSet)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from MarshalByValueComponent)
Public methodGetChangesGets a copy of the DataSet that contains all changes made to it since it was loaded or since AcceptChanges was last called.
(Inherited from DataSet)
Public methodGetChanges(DataRowState)Gets a copy of the DataSet containing all changes made to it since it was last loaded, or since AcceptChanges was called, filtered by DataRowState.
(Inherited from DataSet)
Public methodStatic memberGetFullTableName Gets the full table name (e.g. 'dbo.[Order Details]).
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetObjectDataPopulates a serialization information object with the data needed to serialize the DataSet.
(Inherited from DataSet)
Public methodStatic memberGetOleDbType Translates an Access parameter type (in PARAMETERS clause) into an OleDbType.
Public methodStatic memberGetSchema Gets a OleDbSchema that contains the schema for a given connection string.
Protected methodGetSchemaSerializableReturns a serializable XmlSchema instance.
(Inherited from DataSet)
Public methodStatic memberGetSelectStatement Gets a select statement that can be used to retrieve data from a given table, view, or stored procedure.
Protected methodGetSerializationDataDeserializes the table data from the binary or XML stream.
(Inherited from DataSet)
Public methodGetServiceGets the implementer of the IServiceProvider.
(Inherited from MarshalByValueComponent)
Public methodStatic memberGetTableParameters Gets the parameters required by a stored procedure.
Public methodStatic memberGetTableType Gets the table's underlying type (Table, View, or Stored Procedure).
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberGetType(OleDbType) Translates an OleDbType into a .NET type.
Public methodGetXmlReturns the XML representation of the data stored in the DataSet.
(Inherited from DataSet)
Public methodGetXmlSchemaReturns the XML Schema for the XML representation of the data stored in the DataSet.
(Inherited from DataSet)
Public methodHasChangesGets a value indicating whether the DataSet has changes, including new, deleted, or modified rows.
(Inherited from DataSet)
Public methodHasChanges(DataRowState)Gets a value indicating whether the DataSet has changes, including new, deleted, or modified rows, filtered by DataRowState.
(Inherited from DataSet)
Public methodInferXmlSchema(Stream, String)Applies the XML schema from the specified Stream to the DataSet.
(Inherited from DataSet)
Public methodInferXmlSchema(String, String)Applies the XML schema from the specified file to the DataSet.
(Inherited from DataSet)
Public methodInferXmlSchema(TextReader, String)Applies the XML schema from the specified TextReader to the DataSet.
(Inherited from DataSet)
Public methodInferXmlSchema(XmlReader, String)Applies the XML schema from the specified XmlReader to the DataSet.
(Inherited from DataSet)
Protected methodInitializeDerivedDataSetDeserialize all of the tables data of the DataSet from the binary or XML stream.
(Inherited from DataSet)
Protected methodIsBinarySerializedInspects the format of the serialized representation of the DataSet.
(Inherited from DataSet)
Public methodStatic memberIsDateTime Checks whether a given type is of type DateTime
Public methodStatic memberIsNumeric Checks whether a given type is numeric.
Public methodLoad(IDataReader, LoadOption, DataTable)Fills a DataSet with values from a data source using the supplied IDataReader, using an array of DataTable instances to supply the schema and namespace information.
(Inherited from DataSet)
Public methodLoad(IDataReader, LoadOption, String)Fills a DataSet with values from a data source using the supplied IDataReader, using an array of strings to supply the names for the tables within the DataSet.
(Inherited from DataSet)
Public methodLoad(IDataReader, LoadOption, FillErrorEventHandler, DataTable)Fills a DataSet with values from a data source using the supplied IDataReader, using an array of DataTable instances to supply the schema and namespace information.
(Inherited from DataSet)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodMerge(DataRow)Merges an array of DataRow objects into the current DataSet.
(Inherited from DataSet)
Public methodMerge(DataSet)Merges a specified DataSet and its schema into the current DataSet.
(Inherited from DataSet)
Public methodMerge(DataTable)Merges a specified DataTable and its schema into the current DataSet.
(Inherited from DataSet)
Public methodMerge(DataSet, Boolean)Merges a specified DataSet and its schema into the current DataSet, preserving or discarding any changes in this DataSet according to the given argument.
(Inherited from DataSet)
Public methodMerge(DataRow, Boolean, MissingSchemaAction)Merges an array of DataRow objects into the current DataSet, preserving or discarding changes in the DataSet and handling an incompatible schema according to the given arguments.
(Inherited from DataSet)
Public methodMerge(DataSet, Boolean, MissingSchemaAction)Merges a specified DataSet and its schema with the current DataSet, preserving or discarding changes in the current DataSet and handling an incompatible schema according to the given arguments.
(Inherited from DataSet)
Public methodMerge(DataTable, Boolean, MissingSchemaAction)Merges a specified DataTable and its schema into the current DataSet, preserving or discarding changes in the DataSet and handling an incompatible schema according to the given arguments.
(Inherited from DataSet)
Protected methodOnPropertyChangingRaises the OnPropertyChanging(PropertyChangedEventArgs) event.
(Inherited from DataSet)
Protected methodOnRemoveRelationOccurs when a DataRelation object is removed from a DataTable.
(Inherited from DataSet)
Protected methodOnRemoveTableOccurs when a DataTable is removed from a DataSet.
(Inherited from DataSet)
Protected methodRaisePropertyChangingSends a notification that the specified DataSet property is about to change.
(Inherited from DataSet)
Public methodReadXml(Stream)Reads XML schema and data into the DataSet using the specified Stream.
(Inherited from DataSet)
Public methodReadXml(String)Reads XML schema and data into the DataSet using the specified file.
(Inherited from DataSet)
Public methodReadXml(TextReader)Reads XML schema and data into the DataSet using the specified TextReader.
(Inherited from DataSet)
Public methodReadXml(XmlReader)Reads XML schema and data into the DataSet using the specified XmlReader.
(Inherited from DataSet)
Public methodReadXml(Stream, XmlReadMode)Reads XML schema and data into the DataSet using the specified Stream and XmlReadMode.
(Inherited from DataSet)
Public methodReadXml(String, XmlReadMode)Reads XML schema and data into the DataSet using the specified file and XmlReadMode.
(Inherited from DataSet)
Public methodReadXml(TextReader, XmlReadMode)Reads XML schema and data into the DataSet using the specified TextReader and XmlReadMode.
(Inherited from DataSet)
Public methodReadXml(XmlReader, XmlReadMode)Reads XML schema and data into the DataSet using the specified XmlReader and XmlReadMode.
(Inherited from DataSet)
Public methodReadXmlSchema(Stream)Reads the XML schema from the specified Stream into the DataSet.
(Inherited from DataSet)
Public methodReadXmlSchema(String)Reads the XML schema from the specified file into the DataSet.
(Inherited from DataSet)
Public methodReadXmlSchema(TextReader)Reads the XML schema from the specified TextReader into the DataSet.
(Inherited from DataSet)
Public methodReadXmlSchema(XmlReader)Reads the XML schema from the specified XmlReader into the DataSet.
(Inherited from DataSet)
Protected methodReadXmlSerializableIgnores attributes and returns an empty DataSet.
(Inherited from DataSet)
Public methodRejectChangesRolls back all the changes made to the DataSet since it was created, or since the last time AcceptChanges was called.
(Inherited from DataSet)
Public methodResetClears all tables and removes all relations, foreign constraints, and tables from the DataSet. Subclasses should override Reset to restore a DataSet to its original state.
(Inherited from DataSet)
Protected methodShouldSerializeRelationsGets a value indicating whether Relations property should be persisted.
(Inherited from DataSet)
Protected methodShouldSerializeTablesGets a value indicating whether Tables property should be persisted.
(Inherited from DataSet)
Public methodToStringReturns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from MarshalByValueComponent)
Public methodWriteXml(Stream)Writes the current data for the DataSet using the specified Stream.
(Inherited from DataSet)
Public methodWriteXml(String)Writes the current data for the DataSet to the specified file.
(Inherited from DataSet)
Public methodWriteXml(TextWriter)Writes the current data for the DataSet using the specified TextWriter.
(Inherited from DataSet)
Public methodWriteXml(XmlWriter)Writes the current data for the DataSet to the specified XmlWriter.
(Inherited from DataSet)
Public methodWriteXml(Stream, XmlWriteMode)Writes the current data, and optionally the schema, for the DataSet using the specified Stream and XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.
(Inherited from DataSet)
Public methodWriteXml(String, XmlWriteMode)Writes the current data, and optionally the schema, for the DataSet to the specified file using the specified XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.
(Inherited from DataSet)
Public methodWriteXml(TextWriter, XmlWriteMode)Writes the current data, and optionally the schema, for the DataSet using the specified TextWriter and XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.
(Inherited from DataSet)
Public methodWriteXml(XmlWriter, XmlWriteMode)Writes the current data, and optionally the schema, for the DataSet using the specified XmlWriter and XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.
(Inherited from DataSet)
Public methodWriteXmlSchema(Stream)Writes the DataSet structure as an XML schema to the specified Stream object.
(Inherited from DataSet)
Public methodWriteXmlSchema(String)Writes the DataSet structure as an XML schema to a file.
(Inherited from DataSet)
Public methodWriteXmlSchema(TextWriter)Writes the DataSet structure as an XML schema to the specified TextWriter object.
(Inherited from DataSet)
Public methodWriteXmlSchema(XmlWriter)Writes the DataSet structure as an XML schema to an XmlWriter object.
(Inherited from DataSet)
Public methodWriteXmlSchema(Stream, ConverterType, String)Writes the DataSet structure as an XML schema to the specified Stream object.
(Inherited from DataSet)
Public methodWriteXmlSchema(String, ConverterType, String)Writes the DataSet structure as an XML schema to a file.
(Inherited from DataSet)
Public methodWriteXmlSchema(TextWriter, ConverterType, String)Writes the DataSet structure as an XML schema to the specified TextWriter.
(Inherited from DataSet)
Public methodWriteXmlSchema(XmlWriter, ConverterType, String)Writes the DataSet structure as an XML schema to the specified XmlWriter.
(Inherited from DataSet)
Top
Events
 NameDescription
Public eventDisposedAdds an event handler to listen to the Disposed event on the component.
(Inherited from MarshalByValueComponent)
Public eventInitializedOccurs after the DataSet is initialized.
(Inherited from DataSet)
Public eventMergeFailedOccurs when a target and source DataRow have the same primary key value, and EnforceConstraints is set to true.
(Inherited from DataSet)
Top
See Also