Fact.Common Namespace
- Last UpdatedNov 06, 2025
- 6 minute read
The Fact.Common namespace is included in the stateless API because it includes base data types that are used within stateless API method calls. Specifically, the stateless API makes use of DBxxx data types that are exposed as classes through the Fact.Common namespace. The Fact.Common namespace also has classes for directly interacting with the Middleware through XML calls. The classes within this namespace are helpers for building, calling, and reading the XML messages.
| Class | Description | |
|---|---|---|
![]() | DBDateTime | Class defined for sending optional string values to update methods. This method allows a value to be defined for the db datetime, or a null to be sent when value is to be set to null in the database. |
![]() | DBDouble | Class defined for sending optional double values to update methods. This method allows a value to be defined for the db double, or a null to be sent when value is to be set to null in the database. |
![]() | DBInt | Class defined for sending optional integer values to update methods. This method allows a value to be defined for the db integer, or a null to be sent when value is to be set to null in the database. |
![]() | DBString | Class defined for sending optional string values to update methods. This method allows a value to be defined for the db string, or a null to be sent when value is to be set to null in the database. |
![]() | FactelligenceInfo | This class contains information to be used in the AssemblyInfo for Factelligence DLLs. |
![]() | FileHelper | The FileHelper class provides a number of static functions to provide common file handling functions |
![]() | Globals | The Globals class contains constants (and in future other data) shared by multiple projects |
![]() | Helper | Helper is a static class to include a number of static functions shared by client and server applications. Includes Datetime comparison, hash, and functions to support extracting data from DataSets, handling nulls etc. |
![]() | MESException | MESException defines an exception used by MES logic to throw various exception conditions to the caller. This can be used in places where a specific .Net Exception is not available or when you want to to indicate that the exception occured in MES code. |
![]() | MiddlewareException | MiddlewareException defines an exception used by the Middleware Server and Proxy components to throw various exception conditions to the caller. This can be used in places where a specific .Net Exception is not available or when you want to to indicate that the exception occured in Middleware oriented code. This class's primary purpose is to consume other thrown Exceptions and convert them (recursively) to MiddlewareExceptions so they can be serialized across the wire to the Middleware Proxy. |
![]() | XMLBatchExecBuilder | The XMLBatchExecBuilder class simplifies the building of a batch of standard Factelligence XML encoded EXECUTION requests that must be executed within the scope of a single transaction |
![]() | XMLBatchReadBuilder | The XMLReadBuilder class simplifies the building of a batch of standard Factelligence XML encoded READ requests |
![]() | XMLBuilder | The XMLBuilder class is the generic base class that simplifies the building of XML documents for Factelligence use |
![]() | XMLCommon | Common abstract class that is ancestor to XMLBuilder and XMLParser classes This assembly contains common service based classes for Factelligence used by both client and middleware apps Includes the following classes: XMLCommon Common abstract class that is ancestor to XMLBuilder and XMLParser classes XMLBuilder Class to simplify building of XML documents for Factelligence use XMLParser Class to simplify parsing of XML documents for Factelligence use |
![]() | XMLExecBuilder | The XMLExecBuilder class simplifies the building of standard Factelligence execution commands These include standard Add, Delete or Updates as well as specific Exec commands exposed by various MW objects |
![]() | XmlExtensions | A class for extension methods for XML |
![]() | XMLParser | The XMLParser class simplifies the parsing of XML documents for Factelligence use Each class instance works on one XML document or string at a time Must use the LoadDoc() function to load an XML string |
![]() | XMLReadBuilder | The XMLReadBuilder class simplifies the building of standard Factelligence XML encoded RETRIEVAL requests It has overloaded constructors to support the GetAll() and GetSpecific() Factelligence functions |
![]() | XMLResultBuilder | The XMLResultBuilder class simplifies the building of standard Factelligence XML encoded success or |
![]() | XMLSPBuilder | The XMLSPBuilder class simplifies the building of an XML command to execute SQL or call a Stored Procedure A batch of SQL and SP commands are supported |
| Enumeration | Description | |
|---|---|---|
![]() | MESExceptionType | Defines various types of MESExceptions so you can call out unique events without having to create a specialized Exception class. |
![]() | MiddlewareExceptionDBProvider | Specifies the database provider of the MiddlewareException. |
![]() | MiddlewareExceptionType | Specifies the types of MiddlewareExceptions. These allow you to define specialized types of MiddlewareExceptions without creating specialized Exception classes. |
![]() | SecurityMode | System wide security mode |
![]() | SPMessageTypes | Enum defining the different message types that may be passed. |
![]() | SPParamDataTypes | Enum defining ADO parameter data types to allow .NET callers to easily specify the correct data type for a stored procedure parameter. |
![]() | SPParamDirections | Enum defining ADO parameter directions to allow .NET callers to easily specify the correct parameter directions. |
![]() | StdWriteCommands | Enum for standard write commands (ie. those that Add, Update or Delete data in the database) |

