Informix

Expand all | Collapse all

Use Smart Triggers with .NET

  • 1.  Use Smart Triggers with .NET

    Posted Wed November 18, 2020 05:48 PM

    Can you use Smart Triggers with .NET?

    If so does anyone have examples on how to do that?

    Thanks, Jeff

    ------------------------------
    Jeffrey Filippi
    ------------------------------


  • 2.  RE: Use Smart Triggers with .NET

    Posted Wed November 18, 2020 11:23 PM
      |   view attached
    Hi Jeff,

    .NET Provider doesn't support Smart Trigger "natively" yet (meaning directly providing simple APIs to hide the complexities of Smart Trigger calls). I believe this is what you would like to see in the product. Could you please open the feature request (AHA!)?

    However, you can use "Smart Trigger" in .NET applications by directly making database calls, I am attaching the sample (ODBC one), whereas it makes direct Database calls for Smart Trigger. The similar calls could be used in .NET applications.

    Now we have ".NET Core Provider" (shipped with CSDK 4.50.xC4 onward) also. I am assuming you are talking about the same OR is it ".NET Framework Provider" (which we have been supporting since last 17+ years)?

    Thanks
    -Shesh

    ------------------------------
    Sheshnarayan Agrawal
    ------------------------------

    Attachment(s)

    c
    Direct-SmartTrigger-ODBC.c   31 KB 1 version


  • 3.  RE: Use Smart Triggers with .NET

    Posted Thu November 19, 2020 10:13 AM
    Thanks for the information.

    ------------------------------
    Jeffrey Filippi
    ------------------------------