Click or drag to resize

MicaContentDataSet Class

Strongly typed dataSet aiming at storing generic data items in a robust structure, which may adapt to future model changes.
Represents a strongly typed in-memory cache of data.
Inheritance Hierarchy

Namespace:  MicaSystems.Utils.DataSet
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
[SerializableAttribute]
[XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
[XmlRootAttribute("MicaContentDataSet")]
public class MicaContentDataSet : DataSet

The MicaContentDataSet type exposes the following members.

Constructors
Properties
  NameDescription
Public property_ColumnsInfo
Public property_ContentTypesInfo
Public property_ModelVersionInfo
Public property_RelationsInfo
Public propertyCaseSensitive
Gets or sets a value indicating whether string comparisons within DataTable objects are case-sensitive.
(Inherited from DataSet.)
Public propertyContainer
Gets the container for the component.
(Inherited from MarshalByValueComponent.)
Public propertyDataSetName
Gets or sets the name of the current DataSet.
(Inherited from DataSet.)
Public propertyDefaultViewManager
Gets a custom view of the data contained in the DataSet to allow filtering, searching, and navigating using a custom DataViewManager.
(Inherited from DataSet.)
Public propertyDesignMode
Gets a value indicating whether the component is currently in design mode.
(Inherited from MarshalByValueComponent.)
Public propertyEnforceConstraints
Gets or sets a value indicating whether constraint rules are followed when attempting any update operation.
(Inherited from DataSet.)
Protected propertyEvents
Gets the list of event handlers that are attached to this component.
(Inherited from MarshalByValueComponent.)
Public propertyExtendedProperties
Gets the collection of customized user information associated with the DataSet.
(Inherited from DataSet.)
Public propertyHasErrors
Gets a value indicating whether there are errors in any of the DataTable objects within this DataSet.
(Inherited from DataSet.)
Public propertyIsInitialized
Gets a value that indicates whether the DataSet is initialized.
(Inherited from DataSet.)
Public propertyLocale
Gets or sets the locale information used to compare strings within the table.
(Inherited from DataSet.)
Public propertyNamespace
Gets or sets the namespace of the DataSet.
(Inherited from DataSet.)
Public propertyPrefix
Gets or sets an XML prefix that aliases the namespace of the DataSet.
(Inherited from DataSet.)
Public propertyRelations
Public propertyRemotingFormat
Gets or sets a SerializationFormat for the DataSet used during remoting.
(Inherited from DataSet.)
Public propertySchemaSerializationMode (Overrides DataSetSchemaSerializationMode.)
Public propertySite
Gets or sets an ISite for the DataSet.
(Inherited from DataSet.)
Public propertyTables
Top
Methods
  NameDescription
Public methodAcceptChanges
Commits all the changes made to this DataSet since it was loaded or since the last time AcceptChanges was called.
(Inherited from DataSet.)
Public methodBeginInit
Begins 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 methodClear
Clears the DataSet of any data by removing all rows in all tables.
(Inherited from DataSet.)
Public methodClone (Overrides DataSetClone.)
Public methodCopy
Copies both the structure and data for this DataSet.
(Inherited from DataSet.)
Public methodCreateDataReader
Returns 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 methodDispose
Releases 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 methodEndInit
Ends 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 methodEquals
Compares this object to another object.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from MarshalByValueComponent.)
Public methodGetChanges
Gets 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 methodGetColumnsInfo
Returns a dictionnary of all columns for a given contentType. Key is the ordinal number of a column, the value being a ColumnInfo object
Public methodGetContentTypeGuid
Returns a ContentType guid based on its name
Public methodGetContentTypeTable
Returns a specific ContentType data table based on ContentType guid.
Public methodGetContentTypeTables
Returns all ContentType dataTables
Public methodGetCorrespondingColumnInfo(MicaContentDataSet, String, Guid)
Returns an up to date columnInfo object, given outdated column name and content type info.
Public methodGetCorrespondingColumnInfo(MicaContentDataSet, String, String)
Returns an up to date columnInfo object, given outdated column name and content type info.
Public methodGetCorrespondingContentTypeInfo
Returns an up to date ContentType info, given outdated ContentType name and dataset.
Public methodGetCorrespondingRelationInfo
Returns an up to date RelationInfo, given old dataset and relation name.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetIndirectionTable
Returns a specific Indirection data table based on relation guid.
Public methodGetIndirectionTables
Returns all Indirection tables
Public methodGetModelGuid
Returns current model Guid.
Public methodGetModelVersion
Returns current model version string.
Public methodGetObjectData
Populates a serialization information object with the data needed to serialize the DataSet.
(Inherited from DataSet.)
Protected methodGetSchemaSerializable (Overrides DataSetGetSchemaSerializable.)
Protected methodGetSerializationData
Deserializes the table data from the binary or XML stream.
(Inherited from DataSet.)
Public methodGetService
Gets the implementer of the IServiceProvider.
(Inherited from MarshalByValueComponent.)
Public methodStatic memberGetTypedDataSetSchema
Public methodGetXml
Returns the XML representation of the data stored in the DataSet.
(Inherited from DataSet.)
Public methodGetXmlSchema
Returns the XML Schema for the XML representation of the data stored in the DataSet.
(Inherited from DataSet.)
Public methodHasChanges
Gets 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(XmlReader, String)
Applies the XML schema from the specified XmlReader to the DataSet.
(Inherited from DataSet.)
Public methodInferXmlSchema(Stream, String)
Applies the XML schema from the specified Stream 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(String, String)
Applies the XML schema from the specified file to the DataSet.
(Inherited from DataSet.)
Protected methodInitializeDerivedDataSet (Overrides DataSetInitializeDerivedDataSet.)
Protected methodIsBinarySerialized
Inspects the format of the serialized representation of the DataSet.
(Inherited from DataSet.)
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.)
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(DataRow)
Merges an array of DataRow objects 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(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.)
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.)
Protected methodOnPropertyChanging (Inherited from DataSet.)
Protected methodOnRemoveRelation
Occurs when a DataRelation object is removed from a DataTable.
(Inherited from DataSet.)
Protected methodOnRemoveTable
Occurs when a DataTable is removed from a DataSet.
(Inherited from DataSet.)
Protected methodRaisePropertyChanging
Sends a notification that the specified DataSet property is about to change.
(Inherited from DataSet.)
Public methodReadXml(XmlReader)
Reads XML schema and data into the DataSet using the specified XmlReader.
(Inherited from DataSet.)
Public methodReadXml(Stream)
Reads XML schema and data into the DataSet using the specified Stream.
(Inherited from DataSet.)
Public methodReadXml(TextReader)
Reads XML schema and data into the DataSet using the specified TextReader.
(Inherited from DataSet.)
Public methodReadXml(String)
Reads XML schema and data into the DataSet using the specified file.
(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 methodReadXml(Stream, XmlReadMode)
Reads XML schema and data into the DataSet using the specified Stream 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(String, XmlReadMode)
Reads XML schema and data into the DataSet using the specified file and XmlReadMode.
(Inherited from DataSet.)
Public methodReadXmlSchema(XmlReader)
Reads the XML schema from the specified XmlReader into the DataSet.
(Inherited from DataSet.)
Public methodReadXmlSchema(Stream)
Reads the XML schema from the specified Stream 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(String)
Reads the XML schema from the specified file into the DataSet.
(Inherited from DataSet.)
Protected methodReadXmlSerializable (Overrides DataSetReadXmlSerializable(XmlReader).)
Public methodRejectChanges
Rolls back all the changes made to the DataSet since it was created, or since the last time AcceptChanges was called.
(Inherited from DataSet.)
Public methodReset
Clears 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 methodShouldSerializeRelations (Overrides DataSetShouldSerializeRelations.)
Protected methodShouldSerializeTables (Overrides DataSetShouldSerializeTables.)
Public methodToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from MarshalByValueComponent.)
Public methodUpdateColumnInfo
Use this method to update information for a specific column in the dataSet.
Public methodUpdateContentTypeInfo
Use this method to update the DataSet with ContentType information.
Public methodUpdateModelInfo
Call this method to update the DataSet with a modelInfo object. A dataset should always have model information provided via this method.
Public methodUpdateRelationInfo
Use this method to update relational information between contentTypes. This will add relation change robustness, and create indirection tables in the dataset.
Public methodWriteXml(Stream)
Writes the current data for the DataSet using the specified Stream.
(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(String)
Writes the current data for the DataSet to the specified file.
(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(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 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 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 eventDisposed
Adds an event handler to listen to the Disposed event on the component.
(Inherited from MarshalByValueComponent.)
Public eventInitialized
Occurs after the DataSet is initialized.
(Inherited from DataSet.)
Public eventMergeFailed
Occurs when a target and source DataRow have the same primary key value, and EnforceConstraints is set to true.
(Inherited from DataSet.)
Top
Fields
  NameDescription
Public fieldStatic memberDefaultNamespace
This is the default xml namespace for this DataSet type
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also