TypeScript ORM
  • Introduction
  • Installation
  • Base Classes
  • Tables and Views
    • Select
    • Insert/Update
    • Delete
    • toQuery
    • toDataSet
  • Stored Procedures
    • Execute
    • toProcedure
    • toDataSet
Powered by GitBook
On this page
  • Procedure Base
  • Parameters

Stored Procedures

Procedure Base

All the base TypeScript classes in an ORM file that represent a stored procedure extend the base class ProcedureBase. This base class is located in the wire-orm-base.ts file.

import { ProcedureBase } from "./wire-orm-base.ts";

class CustOrderHist extends ProcedureBase {
  ...
}

Parameters

All the parameters in an entity are created by name in an enum structure. The naming convention for the parametersenum is [procedure]Param.

enum CustOrderHistParam {
  CustomerID = "CustomerID"
}
PrevioustoDataSetNextExecute

Last updated 1 year ago