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"
}

Last updated