Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).


In order to avoid a lot of repetitive code, PhoneForm.cs provides the AddInputParams method. This method creates CacheParameter objects and adds them to their CacheCommand objects. The method is restricted in the types of CacheParameter objects it creates. Here are the restrictions:

  • It only creates Input parameters.

  • It only creates parameters of type NVARCHAR.

  • It only creates parameters that contain data with fifty characters or fewer.

Here is the method:

private void AddInputParams(CacheCommand cmd, params string[] cols)
  foreach (String column in cols)
Copy code to clipboard
FeedbackOpens in a new window