Skip to content

f8d6d95d 4c32 47af 6636 0f847f4cb831

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

OutputModel Class

Additional header content

Defines output configuration, includes path, file name and optionaly the adapter operating system.

Inheritance Hierarchy

System.Object
  iTin.Export.Model.BaseModel(OutputModel)
    iTin.Export.Model.OutputModel
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 OutputModel : BaseModel<OutputModel>

VB

<SerializableAttribute>
Public Class OutputModel
	Inherits BaseModel(Of OutputModel)

The OutputModel type exposes the following members.

Constructors

 

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

Properties

 

Name Description
Public property EndOfFile Gets representation for end of file mark.
Public propertyCode example File Gets or sets the output file name without extension.
Public property IsDefault Gets a value indicating whether this instance contains the default. (Overrides BaseModel.IsDefault.)
Public property NewLineDelimiter Gets representation for a new line by operating system.
Public propertyCode example Path Gets or sets the output file path. To specify a relative path use the character (~).
Public property Properties Gets or sets a reference to user-defined property list for this element. (Inherited from BaseModel(T).)
Public propertyCode example Target Gets or sets a value that determines target operating system.
  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 ToString Returns a string that represents the current object. (Inherited from BaseModel(T).)
Public method ToUri
  Back to Top

Remarks

Belongs to: Table. For more information, please see TableModel. TEE Object Element Usage

<Output ...">
  <Path/>
  <File/>
</Output>

Attributes

Attribute Optional Description
Target Yes Use this attribute to specify target operating system. The default is Windows.
Elements  
Element Description
File The output file name without extension.
Path The output file path. To specify a relative path use the character (~).
  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.

Examples

The following example show how to use this element. XML

<?xml version="1.0" encoding="utf-8"?>

<Exports xmlns="http://schemas.iTin.com/export/engine/2013/configuration">
  <Export Name="Test" Current="Yes">
    <Description>Sample Export</Description>
    <Table Name="R740D01"
          AutoFilter="Yes"
          AutoFitColumns="Yes"
          Alias="Table alias">

      <Location>
        <ByCoordenates Coordenates="1 3"/>
      </Location>

      <Exporter>
        <Writer Name="Spreadsheet2003TabularWriter"/>
        <Behaviors>
          <Download/>
          <TransformFile Save="Yes"/>
        </Behaviors>
      </Exporter>

      <Output>
        <File>SampleExport</File>
        <Path>~\Samples\Output\Writers</Path>
      </Output>
      ...
      ...
    </Table>
  </Export>
</Exports>

See Also

Reference

iTin.Export.Model Namespace

Clone this wiki locally