ObjectDataSet ObjectType  MembersKentico 8.1 API Reference
The ObjectDataSet ObjectType  type exposes the following members.
Constructors

  NameDescription
Public methodObjectDataSet ObjectType  
Constructor
Public methodObjectDataSet ObjectType (DataSet)
Constructor, creates new DataSet using data from the given DataSet
Back to Top
Methods

  NameDescription
Public methodOnlineAcceptChanges
Commits all the changes made to this OnlineDataSet since it was loaded or since the last time OnlineAcceptChanges  was called.
(Inherited from OnlineDataSet.)
Public methodOnlineBeginInit
Begins the initialization of a OnlineDataSet that is used on a form or used by another component. The initialization occurs at run time.
(Inherited from OnlineDataSet.)
Public methodOnlineClear
Clears the OnlineDataSet of any data by removing all rows in all tables.
(Inherited from OnlineDataSet.)
Public methodOnlineClone
Copies the structure of the OnlineDataSet, including all OnlineDataTable schemas, relations, and constraints. Does not copy any data.
(Inherited from OnlineDataSet.)
Public methodOnlineCopy
Copies both the structure and data for this OnlineDataSet.
(Inherited from OnlineDataSet.)
Public methodOnlineCreateDataReader 
Returns a OnlineDataTableReader with one result set per OnlineDataTable, in the same sequence as the tables appear in the OnlineTables collection.
(Inherited from OnlineDataSet.)
Public methodOnlineCreateDataReader( DataTable )
Returns a OnlineDataTableReader with one result set per OnlineDataTable.
(Inherited from OnlineDataSet.)
Protected methodOnlineDetermineSchemaSerializationMode(XmlReader)
Determines the OnlineSchemaSerializationMode for a OnlineDataSet.
(Inherited from OnlineDataSet.)
Protected methodOnlineDetermineSchemaSerializationMode(SerializationInfo, StreamingContext)
Determines the OnlineSchemaSerializationMode for a OnlineDataSet.
(Inherited from OnlineDataSet.)
Public methodOnlineDispose 
Releases all resources used by the OnlineMarshalByValueComponent.
(Inherited from OnlineMarshalByValueComponent.)
Protected methodOnlineDispose(Boolean)
Releases the unmanaged resources used by the OnlineMarshalByValueComponent and optionally releases the managed resources.
(Inherited from OnlineMarshalByValueComponent.)
Public methodOnlineEndInit
Ends the initialization of a OnlineDataSet that is used on a form or used by another component. The initialization occurs at run time.
(Inherited from OnlineDataSet.)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize (Inherited from OnlineMarshalByValueComponent.)
Public methodGetEnumerator
Returns the strongly typed enumerator for this collection
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetChanges 
Gets a copy of the OnlineDataSet that contains all changes made to it since it was loaded or since OnlineAcceptChanges  was last called.
(Inherited from OnlineDataSet.)
Public methodOnlineGetChanges(DataRowState)
Gets a copy of the OnlineDataSet containing all changes made to it since it was last loaded, or since OnlineAcceptChanges  was called, filtered by OnlineDataRowState.
(Inherited from OnlineDataSet.)
Public methodOnlineGetObjectData
Populates a serialization information object with the data needed to serialize the OnlineDataSet.
(Inherited from OnlineDataSet.)
Protected methodGetObjectEnumerator
Gets the object enumerator for the collection
Protected methodOnlineGetSerializationData
Deserializes the table data from the binary or XML stream.
(Inherited from OnlineDataSet.)
Public methodOnlineGetService
Gets the implementer of the OnlineIServiceProvider.
(Inherited from OnlineMarshalByValueComponent.)
Protected methodOnlineGetSchemaSerializable
Returns a serializable XMLSchema instance.
(Inherited from OnlineDataSet.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodOnlineGetXml
Returns the XML representation of the data stored in the OnlineDataSet.
(Inherited from OnlineDataSet.)
Public methodOnlineGetXmlSchema
Returns the XML Schema for the XML representation of the data stored in the OnlineDataSet.
(Inherited from OnlineDataSet.)
Public methodOnlineHasChanges 
Gets a value indicating whether the OnlineDataSet has changes, including new, deleted, or modified rows.
(Inherited from OnlineDataSet.)
Public methodOnlineHasChanges(DataRowState)
Gets a value indicating whether the OnlineDataSet has changes, including new, deleted, or modified rows, filtered by OnlineDataRowState.
(Inherited from OnlineDataSet.)
Public methodOnlineInferXmlSchema(XmlReader,  String )
Applies the XML schema from the specified OnlineXmlReader to the OnlineDataSet.
(Inherited from OnlineDataSet.)
Public methodOnlineInferXmlSchema(Stream,  String )
Applies the XML schema from the specified OnlineStream to the OnlineDataSet.
(Inherited from OnlineDataSet.)
Public methodOnlineInferXmlSchema(TextReader,  String )
Applies the XML schema from the specified OnlineTextReader to the OnlineDataSet.
(Inherited from OnlineDataSet.)
Public methodOnlineInferXmlSchema(String,  String )
Applies the XML schema from the specified file to the OnlineDataSet.
(Inherited from OnlineDataSet.)
Protected methodOnlineInitializeDerivedDataSet
Deserialize all of the tables data of the DataSet from the binary or XML stream.
(Inherited from OnlineDataSet.)
Protected methodOnlineIsBinarySerialized
Inspects the format of the serialized representation of the DataSet.
(Inherited from OnlineDataSet.)
Public methodOnlineLoad(IDataReader, LoadOption,  DataTable )
Fills a OnlineDataSet with values from a data source using the supplied OnlineIDataReader, using an array of OnlineDataTable instances to supply the schema and namespace information.
(Inherited from OnlineDataSet.)
Public methodOnlineLoad(IDataReader, LoadOption,  String )
Fills a OnlineDataSet with values from a data source using the supplied OnlineIDataReader, using an array of strings to supply the names for the tables within the DataSet.
(Inherited from OnlineDataSet.)
Public methodOnlineLoad(IDataReader, LoadOption, FillErrorEventHandler,  DataTable )
Fills a OnlineDataSet with values from a data source using the supplied OnlineIDataReader, using an array of OnlineDataTable instances to supply the schema and namespace information.
(Inherited from OnlineDataSet.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineMerge(DataSet)
Merges a specified OnlineDataSet and its schema into the current DataSet.
(Inherited from OnlineDataSet.)
Public methodOnlineMerge(DataTable)
Merges a specified OnlineDataTable and its schema into the current OnlineDataSet.
(Inherited from OnlineDataSet.)
Public methodOnlineMerge( DataRow )
Merges an array of OnlineDataRow objects into the current OnlineDataSet.
(Inherited from OnlineDataSet.)
Public methodOnlineMerge(DataSet, Boolean)
Merges a specified OnlineDataSet and its schema into the current DataSet, preserving or discarding any changes in this DataSet according to the given argument.
(Inherited from OnlineDataSet.)
Public methodOnlineMerge(DataSet, Boolean, MissingSchemaAction)
Merges a specified OnlineDataSet 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 OnlineDataSet.)
Public methodOnlineMerge(DataTable, Boolean, MissingSchemaAction)
Merges a specified OnlineDataTable 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 OnlineDataSet.)
Public methodOnlineMerge( DataRow , Boolean, MissingSchemaAction)
Merges an array of OnlineDataRow objects into the current OnlineDataSet, preserving or discarding changes in the DataSet and handling an incompatible schema according to the given arguments.
(Inherited from OnlineDataSet.)
Protected methodNewCollection
Creates new collection of the objects
Protected methodOnlineOnPropertyChanging (Inherited from OnlineDataSet.)
Protected methodOnlineOnRemoveRelation
Occurs when a OnlineDataRelation object is removed from a OnlineDataTable.
(Inherited from OnlineDataSet.)
Protected methodOnlineOnRemoveTable
Occurs when a OnlineDataTable is removed from a OnlineDataSet.
(Inherited from OnlineDataSet.)
Protected methodOnlineRaisePropertyChanging
Sends a notification that the specified OnlineDataSet property is about to change.
(Inherited from OnlineDataSet.)
Public methodOnlineReadXml(XmlReader)
Reads XML schema and data into the OnlineDataSet using the specified OnlineXmlReader.
(Inherited from OnlineDataSet.)
Public methodOnlineReadXml(Stream)
Reads XML schema and data into the OnlineDataSet using the specified OnlineStream.
(Inherited from OnlineDataSet.)
Public methodOnlineReadXml(TextReader)
Reads XML schema and data into the OnlineDataSet using the specified OnlineTextReader.
(Inherited from OnlineDataSet.)
Public methodOnlineReadXml(String)
Reads XML schema and data into the OnlineDataSet using the specified file.
(Inherited from OnlineDataSet.)
Public methodOnlineReadXml(XmlReader, XmlReadMode)
Reads XML schema and data into the OnlineDataSet using the specified OnlineXmlReader and OnlineXmlReadMode.
(Inherited from OnlineDataSet.)
Public methodOnlineReadXml(Stream, XmlReadMode)
Reads XML schema and data into the OnlineDataSet using the specified OnlineStream and OnlineXmlReadMode.
(Inherited from OnlineDataSet.)
Public methodOnlineReadXml(TextReader, XmlReadMode)
Reads XML schema and data into the OnlineDataSet using the specified OnlineTextReader and OnlineXmlReadMode.
(Inherited from OnlineDataSet.)
Public methodOnlineReadXml(String, XmlReadMode)
Reads XML schema and data into the OnlineDataSet using the specified file and OnlineXmlReadMode.
(Inherited from OnlineDataSet.)
Protected methodOnlineReadXmlSerializable
Ignores attributes and returns an empty DataSet.
(Inherited from OnlineDataSet.)
Public methodOnlineReadXmlSchema(XmlReader)
Reads the XML schema from the specified OnlineXmlReader into the OnlineDataSet.
(Inherited from OnlineDataSet.)
Public methodOnlineReadXmlSchema(Stream)
Reads the XML schema from the specified OnlineStream into the OnlineDataSet.
(Inherited from OnlineDataSet.)
Public methodOnlineReadXmlSchema(TextReader)
Reads the XML schema from the specified OnlineTextReader into the OnlineDataSet.
(Inherited from OnlineDataSet.)
Public methodOnlineReadXmlSchema(String)
Reads the XML schema from the specified file into the OnlineDataSet.
(Inherited from OnlineDataSet.)
Public methodOnlineRejectChanges
Rolls back all the changes made to the OnlineDataSet since it was created, or since the last time OnlineAcceptChanges  was called.
(Inherited from OnlineDataSet.)
Public methodOnlineReset
Resets the OnlineDataSet to its original state. Subclasses should override OnlineReset  to restore a OnlineDataSet to its original state.
(Inherited from OnlineDataSet.)
Protected methodOnlineShouldSerializeRelations
Gets a value indicating whether OnlineRelations property should be persisted.
(Inherited from OnlineDataSet.)
Protected methodOnlineShouldSerializeTables
Gets a value indicating whether OnlineTables property should be persisted.
(Inherited from OnlineDataSet.)
Public methodOnlineToString
Returns a OnlineString containing the name of the OnlineComponent, if any. This method should not be overridden.
(Inherited from OnlineMarshalByValueComponent.)
Public methodOnlineWriteXml(Stream)
Writes the current data for the OnlineDataSet using the specified OnlineStream.
(Inherited from OnlineDataSet.)
Public methodOnlineWriteXml(TextWriter)
Writes the current data for the OnlineDataSet using the specified OnlineTextWriter.
(Inherited from OnlineDataSet.)
Public methodOnlineWriteXml(XmlWriter)
Writes the current data for the OnlineDataSet to the specified OnlineXmlWriter.
(Inherited from OnlineDataSet.)
Public methodOnlineWriteXml(String)
Writes the current data for the OnlineDataSet to the specified file.
(Inherited from OnlineDataSet.)
Public methodOnlineWriteXml(Stream, XmlWriteMode)
Writes the current data, and optionally the schema, for the OnlineDataSet using the specified OnlineStream and OnlineXmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.
(Inherited from OnlineDataSet.)
Public methodOnlineWriteXml(TextWriter, XmlWriteMode)
Writes the current data, and optionally the schema, for the OnlineDataSet using the specified OnlineTextWriter and OnlineXmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.
(Inherited from OnlineDataSet.)
Public methodOnlineWriteXml(XmlWriter, XmlWriteMode)
Writes the current data, and optionally the schema, for the OnlineDataSet using the specified OnlineXmlWriter and OnlineXmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.
(Inherited from OnlineDataSet.)
Public methodOnlineWriteXml(String, XmlWriteMode)
Writes the current data, and optionally the schema, for the OnlineDataSet to the specified file using the specified OnlineXmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.
(Inherited from OnlineDataSet.)
Public methodOnlineWriteXmlSchema(Stream)
Writes the OnlineDataSet structure as an XML schema to the specified OnlineStream object.
(Inherited from OnlineDataSet.)
Public methodOnlineWriteXmlSchema(String)
Writes the OnlineDataSet structure as an XML schema to a file.
(Inherited from OnlineDataSet.)
Public methodOnlineWriteXmlSchema(TextWriter)
Writes the OnlineDataSet structure as an XML schema to the specified OnlineTextWriter object.
(Inherited from OnlineDataSet.)
Public methodOnlineWriteXmlSchema(XmlWriter)
Writes the OnlineDataSet structure as an XML schema to an OnlineXmlWriter object.
(Inherited from OnlineDataSet.)
Public methodOnlineWriteXmlSchema(Stream, Converter Type, String )
Writes the OnlineDataSet structure as an XML schema to the specified OnlineStream object.
(Inherited from OnlineDataSet.)
Public methodOnlineWriteXmlSchema(String, Converter Type, String )
Writes the OnlineDataSet structure as an XML schema to a file.
(Inherited from OnlineDataSet.)
Public methodOnlineWriteXmlSchema(TextWriter, Converter Type, String )
Writes the OnlineDataSet structure as an XML schema to the specified OnlineTextWriter.
(Inherited from OnlineDataSet.)
Public methodOnlineWriteXmlSchema(XmlWriter, Converter Type, String )
Writes the OnlineDataSet structure as an XML schema to the specified OnlineXmlWriter.
(Inherited from OnlineDataSet.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAs InfoType 
Converts the DataSet to a strongly typed one
(Defined by DataExtensions.)
Public Extension MethodAsModifyable
Ensures that the given DataSet is not cached, copies the data if it is
(Defined by DataExtensions.)
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodBatch ObjectType 
Returns input in batches of batchSize size.
(Defined by BaseExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDictionaryById
Converts the DataSet to a dictionary indexed by object ID
(Defined by DataExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToJSON(Boolean)Overloaded.
Exports DataSet to JSON string.
(Defined by DataExtensions.)
Public Extension MethodToJSON(String, Boolean)Overloaded.
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Public Extension MethodToList ObjectType, TTo 
Converts the given collection to a list of values
(Defined by BaseExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Public Extension MethodTryReadXml
Tries to read xml and load the data from it to the DataSet via standard .NET method. If the load fails, it removes all the forbidden whitespace charactes and tries it again.
(Defined by HelpersExtensions.)
Back to Top
Fields

  NameDescription
Protected fieldmItems
Items in the DataSet
Back to Top
Properties

  NameDescription
Public propertyOnlineCaseSensitive
Gets or sets a value indicating whether string comparisons within OnlineDataTable objects are case-sensitive.
(Inherited from OnlineDataSet.)
Public propertyOnlineContainer
Gets the container for the component.
(Inherited from OnlineMarshalByValueComponent.)
Public propertyOnlineDataSetName
Gets or sets the name of the current OnlineDataSet.
(Inherited from OnlineDataSet.)
Public propertyOnlineDefaultViewManager
Gets a custom view of the data contained in the OnlineDataSet to allow filtering, searching, and navigating using a custom OnlineDataViewManager.
(Inherited from OnlineDataSet.)
Public propertyOnlineDesignMode
Gets a value indicating whether the component is currently in design mode.
(Inherited from OnlineMarshalByValueComponent.)
Public propertyOnlineEnforceConstraints
Gets or sets a value indicating whether constraint rules are followed when attempting any update operation.
(Inherited from OnlineDataSet.)
Protected propertyOnlineEvents
Gets the list of event handlers that are attached to this component.
(Inherited from OnlineMarshalByValueComponent.)
Public propertyOnlineExtendedProperties
Gets the collection of customized user information associated with the DataSet.
(Inherited from OnlineDataSet.)
Public propertyOnlineHasErrors
Gets a value indicating whether there are errors in any of the OnlineDataTable objects within this OnlineDataSet.
(Inherited from OnlineDataSet.)
Public propertyOnlineIsInitialized
Gets a value that indicates whether the OnlineDataSet is initialized.
(Inherited from OnlineDataSet.)
Public propertyIsReadOnly
If true, the dataset is cached (not allowed to modify, must be cloned)
Public propertyItems
Items in the DataSet
Public propertyOnlineLocale
Gets or sets the locale information used to compare strings within the table.
(Inherited from OnlineDataSet.)
Public propertyOnlineNamespace
Gets or sets the namespace of the OnlineDataSet.
(Inherited from OnlineDataSet.)
Public propertyOnlinePrefix
Gets or sets an XML prefix that aliases the namespace of the OnlineDataSet.
(Inherited from OnlineDataSet.)
Public propertyOnlineRelations
Get the collection of relations that link tables and allow navigation from parent tables to child tables.
(Inherited from OnlineDataSet.)
Public propertyOnlineRemotingFormat
Gets or sets a OnlineSerializationFormat for the OnlineDataSet used during remoting.
(Inherited from OnlineDataSet.)
Public propertyOnlineSchemaSerializationMode
Gets or sets a OnlineSchemaSerializationMode for a OnlineDataSet.
(Inherited from OnlineDataSet.)
Public propertyOnlineSite
Gets or sets an OnlineISite for the OnlineDataSet.
(Inherited from OnlineDataSet.)
Public propertyOnlineTables
Gets the collection of tables contained in the OnlineDataSet.
(Inherited from OnlineDataSet.)
Back to Top
Events

  NameDescription
Public eventOnlineDisposed
Adds an event handler to listen to the OnlineDisposed event on the component.
(Inherited from OnlineMarshalByValueComponent.)
Public eventOnlineInitialized
Occurs after the OnlineDataSet is initialized.
(Inherited from OnlineDataSet.)
Public eventOnlineMergeFailed
Occurs when a target and source OnlineDataRow have the same primary key value, and OnlineEnforceConstraints is set to true.
(Inherited from OnlineDataSet.)
Back to Top
See Also