Skip to content

e5706c13 2625 47d7 a064 2a906557b68e

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

BaseDataTypeModel Class

Additional header content

Base class for different data types supported by iTin Export Engine.
Which acts as the base class for different data types.

Inheritance Hierarchy

System.Object
  iTin.Export.Model.BaseModel(BaseDataTypeModel)
    iTin.Export.Model.BaseDataTypeModel
      iTin.Export.Model.DatetimeDataTypeModel
      iTin.Export.Model.RealDataTypeModel
      iTin.Export.Model.TextDataTypeModel
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 abstract class BaseDataTypeModel : BaseModel<BaseDataTypeModel>, 
	ICloneable

VB

<SerializableAttribute>
Public MustInherit Class BaseDataTypeModel
	Inherits BaseModel(Of BaseDataTypeModel)
	Implements ICloneable

The BaseDataTypeModel type exposes the following members.

Constructors

 

Name Description
Protected method BaseDataTypeModel Initializes a new instance of the BaseDataTypeModel class
  Back to Top

Properties

 

Name Description
Public property Properties Gets or sets a reference to user-defined property list for this element. (Inherited from BaseModel(T).)
Public property Type Gets a value indicating data type.
  Back to Top

Methods

 

Name Description
Public method Clone Clones this instance.
Public method Combine Combines this instance with reference parameter.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetDataFormat Returns data format for a data type.
Public method GetFormattedDataValue Returns data format for a data type.
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 ToString Returns a string that represents the current object. (Inherited from BaseModel(T).)
  Back to Top

Remarks

The following table shows different data types.  

Class Description
CurrencyDataTypeModel Represents currency data type. The currency symbol appears right next to the first digit. You can specify the number of decimal places that you want to use and how you want to display negative numbers.
DatetimeDataTypeModel Represents date time data field. Displays data field as datetime format. You can specify the output culture.
NumberDataTypeModel Represents numeric data type. You can specify the number of decimal places that you want to use, whether you want to use a thousands separator, and how you want to display negative numbers.
PercentageDataTypeModel Represents percentage data type. Displays the result with a percent sign (%). You can specify the number of decimal places to use.
ScientificDataTypeModel Represents scientific data type. Displays a number in exponential notation, which replaces part of the number with E + n, where E (exponent) multiplies the preceding number by 10 to n. You can specify the number of decimal places you want to use.
SpecialDataTypeModel Represents special data type. Displays a number as a short date or as a long date.
TextDataTypeModel Represents text data type. Treats the content as text and displays the content exactly as written, even when numbers are typed.

See Also

Reference

iTin.Export.Model Namespace

Clone this wiki locally