PPJ Manual
HomeCurrent IssuesDownloads
  • Welcome
  • Releases
    • PPJ 2023
  • PPJ 2023
  • PPJ Web API
  • PPJ Desktop API
  • Wisej.NET Documentation
  • General
    • Framework
      • Features
        • SAL and SQL Functions
        • Constants and Variables
        • SalContext
        • Visual Toolchest
        • XSal2
        • Reporting Support
        • LINQ Support
        • SalCompileAndEvaluate
        • Unicode Support
        • Startup Arguments
        • App.config
      • Data Types
        • Automatic Casts
        • Dynamic Arrays
      • Controls
        • ToolBar
        • TabControl
        • TableWindow
        • QuickObject
        • Ribbon Bar
        • NavigationBar
      • SQL Support
        • Configuration
        • ADO.NET Drivers
        • Bind and Into Variables
        • DBP Parameters
        • SqlContext
      • Extensions
        • Table Window
        • Unicode Support
        • Bug Fixes
        • Object Oriented Types
        • Custom Parsers
        • Named Properties
        • Microsoft Charts
        • Tabbed MDI
        • Watermark
        • HTML Rendering
      • Skins and Themes
        • Skin Files
        • Theme Files
        • Configuration
        • Skin Editor
        • Theme Builder
      • Tracing
        • Trace Viewer
        • Default Listeners
        • Tracing the Application
      • Spell Checker
        • Dictionaries
    • Ported Application
      • Project Structure
        • Late Bind Calls
        • Visual Styles
        • Unqualified References
        • Message Actions
        • When SQLError
        • Classes
      • Global Items
      • Forms
      • COM/ActiveX
      • Multiple Inheritance
      • Configuration Tool
      • Issues & Workarounds
    • Ported Reports
      • General
      • Crystal Reports
        • Structure
        • Unsupported Features
      • List & Label
        • Report Conversion
        • Structure
        • Document
        • Input Items
        • Passing Data
        • Unsupported Features
      • Reporting Services
        • Features
      • Stimulsoft
        • Break Groups
        • Fields
        • Formulas
        • Cache Mode
Powered by GitBook
On this page

Was this helpful?

  1. General
  2. Framework

Data Types

PreviousApp.configNextAutomatic Casts

Last updated 3 years ago

Was this helpful?

Open Text Team Developer data types are too different from .NET primitives and cannot be replaced automatically and safely without seriously damaging the ported application.

Since Team Developer was originally built as a SQL front-end system, its data types are actually more similar to ADO.NET special Sql types defined for the SQLServer client.

In fact it is quite common in .NET, when dealing with SQL functionality or when building complex features, to build also specialized data types. A specialized data type is simply a class (or struct) that implements operators and casting.

In the PPJ Framework we have built a replacement for all the Team Developer types. Each type is built around native .NET types and is capable of interacting seamlessly with any .NET primitive or native type, as well as any ADO.NET connection.

Nevertheless, we also port SAL types to native and primitive .NET types whenever possible and safe. For example, all constants, ActiveX/COM interfaces, and external declarations are generated using primitive and native types.

Data Type Equivalence

The new types built in the PPJ Framework behave similarly to equivalent types in Team Developer.

SAL Data Type
Ported Data Type
Based on .NET type

String

SalString

System.String

Number

SalNumber

System.Decimal

Date/Time

SalDateTime

System.DateTime

Boolean

SalBoolean

System.Decimal

Window Handle

SalWindowHandle

System.Windows.Forms.Control

File Handle

SalFileHandle

NA

Sql Handle

SalSqlHandle

NA

Sql Session Handle

SalSqlSessionHandle

NA

All PPJ basic types are nullable and support , , , .

INullable
IComparable
IConvertible
IFormattable