Skip to content

9f37dd0a 7e2c 88cf 5100 829f93301c35

Fernando Garcia edited this page May 8, 2018 · 1 revision

DataFieldModel Class

Additional header content

A Specialization of BaseDataFieldModel class.
Which acts as the base class for different data fields.
Represents a data field.

Inheritance Hierarchy

System.Object
  iTin.Export.Model.BaseModel(BaseDataFieldModel)
    iTin.Export.Model.BaseDataFieldModel
      iTin.Export.Model.DataFieldModel
        iTin.Export.Model.GroupFieldModel
Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

[SerializableAttribute]
public class DataFieldModel : BaseDataFieldModel

VB

<SerializableAttribute>
Public Class DataFieldModel
	Inherits BaseDataFieldModel

The DataFieldModel type exposes the following members.

Constructors

 

Name Description
Public method DataFieldModel Initializes a new instance of the DataFieldModel class
  Back to Top

Properties

 

Name Description
Public propertyCode example Aggregate Gets or sets a reference that contains the visual setting of aggregate function of the data field. (Inherited from BaseDataFieldModel.)
Public propertyCode example Alias Gets or sets the alias of data field. (Inherited from BaseDataFieldModel.)
Protected property CanSetData When overridden in a derived class, gets a value indicating whether the current data field supports data. (Inherited from BaseDataFieldModel.)
Public property Condition (Inherited from BaseDataFieldModel.)
Public property DataSource Gets or sets a reference for pieces data. (Inherited from BaseDataFieldModel.)
Public property FieldType Gets a value indicating data field type. (Overrides BaseDataFieldModel.FieldType.)
Public propertyCode example Header Gets or sets a reference that contains the visual setting of header the data field. (Inherited from BaseDataFieldModel.)
Public property IsDefault Gets a value indicating whether this instance contains the default. (Inherited from BaseDataFieldModel.)
Public property Name Gets or sets the name of the field.
Public property Properties Gets or sets a reference to user-defined property list for this element. (Inherited from BaseModel(T).)
Public propertyCode example Value Gets or sets a reference that contains the visual setting of value the data field. (Inherited from BaseDataFieldModel.)
  Back to Top

Methods

 

Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method GetStaticBindingValue Gets the static binding value by reflection. (Inherited from BaseModel(T).)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SaveToFile(String) Saves to file. (Inherited from BaseModel(T).)
Public method SaveToFile(String, Exception) Serializes current BaseModel object into file (Inherited from BaseModel(T).)
Public method Serialize Serializes current BaseModel object into an Xml document. (Inherited from BaseModel(T).)
Public method SetOwner Sets the element that owns this data field. (Inherited from BaseDataFieldModel.)
Public method ToString Returns a string that represents the current object. (Overrides BaseDataFieldModel.ToString().)
  Back to Top

Remarks

The following table shows different data fields.  

Class Description
GroupFieldModel Represents a field as union of several data field.
  Belongs to: Fields. For more information, please see FieldsModel. ITEE Object Element Usage
<Field ...>
  <Header/>
  <Value/>
  <Aggregate/>
</Field>

Attributes

Attribute Optional Description
Name No Name of the field.
Alias Yes The alias of data field. This value is used as the column header.
Elements  
Element Description
Header Reference to visual setting of header of the data field.
Value Reference to visual setting of value of the data field.
Aggregate Reference to visual setting of aggregate function of the data field.
  Compatibility table with native writers.
Comma-Separated Values
CsvWriter
Tab-Separated Values
TsvWriter
SQL Script
SqlScriptWriter
XML Spreadsheet 2003
Spreadsheet2003TabularWriter
X X X X
A X value indicates that the writer supports this element.

See Also

Reference

iTin.Export.Model Namespace

Clone this wiki locally