Click or drag to resize

DataSetModel Class

The DataSet class represents set of data that are being recorded after StartRecordDataModel is invoked until StopRecordDataModel is invoked. The DataSet can contains multiple DataPointModel.
Inheritance Hierarchy

Namespace:  Livit.Learn.Model
Assembly:  Livit.Learn.Model (in Livit.Learn.Model.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
public class DataSetModel : BaseModel

The DataSetModel type exposes the following members.

Constructors
  NameDescription
Public methodDataSetModel
Initializes a new instance of the DataSetModel class
Top
Properties
  NameDescription
Public propertyAttached
Defines an attached property.
(Inherited from BaseModel.)
Public propertyComments
(Development) Includes comments in the XML code.
(Inherited from BaseModel.)
Public propertyCode exampleDataContext
Contains a source of all bindings defined for element.
(Inherited from BaseModel.)
Public propertyDataPoints
List of DataPointModel which can be used to access and store the data from [!:DataSetModel.DataContext].
Public propertyExternalXmlPath (Inherited from BaseModel.)
Public propertyId
Defines a unique identifier for an element in the simulation.
(Inherited from BaseModel.)
Public propertyIsIdAutogenerated (Inherited from BaseModel.)
Public propertyIsRecording
Indicates that the DataSetModel is currently in recording session.
Public propertyTemplateVersionId
Contains a id of source template.
(Inherited from BaseModel.)
Public propertyXmlComments
(Development) Used as temporary storage for XML comments (like ) to keep them.
(Inherited from BaseModel.)
Top
Methods
  NameDescription
Public methodDeepCopy
Creates an in-memory clone of this object using a BinaryFormatter to ensure all child properties are copied as well.
(Inherited from BaseModel.)
Public methodShallowCopy (Inherited from BaseModel.)
Public methodToString
Returns a string that represents the current object.
(Inherited from BaseModel.)
Public methodUpdateModels
This method will update this model and all its child models.
(Inherited from BaseModel.)
Top
Fields
  NameDescription
Public fieldStatic memberDefaultIsRecording
Top
Examples
XML
<DataSets>
  <DataSet Id="DataSet1" DataContext="{Binding Lookup.FakeContainer.Contents.N, ElementId=Engine}">
    <DataPoint Value="{Binding Amount}" />
  </DataSet>
</DataSets>
See Also