locked
can a function exists without a definingexpression? RRS feed

Answers

  • Zeeshan-

    I'm parapharasing one of our PMs here:

    There are several things you could do with a function that does not have a DefiningExpression, but right now being able to "declare" (as opposed to "define") a function in the model is really leaving doors open for the future. That said, here are some possible uses now:

         A function without a DefiningExpression is useful for expressing that a function should be available, but perhaps isn't.

         You could parse an expression that references the function and replace it with some custom calls per user.

         You could use the function in a T4 template to produce WebService endpoints.

    Does that help?

    -Brian


    This posting is provided "AS IS" with no warranties, and confers no rights.
    Friday, July 10, 2009 10:01 PM

All replies

  • Zeeshan-

    I'm parapharasing one of our PMs here:

    There are several things you could do with a function that does not have a DefiningExpression, but right now being able to "declare" (as opposed to "define") a function in the model is really leaving doors open for the future. That said, here are some possible uses now:

         A function without a DefiningExpression is useful for expressing that a function should be available, but perhaps isn't.

         You could parse an expression that references the function and replace it with some custom calls per user.

         You could use the function in a T4 template to produce WebService endpoints.

    Does that help?

    -Brian


    This posting is provided "AS IS" with no warranties, and confers no rights.
    Friday, July 10, 2009 10:01 PM
  • Yes.

    Thks
    Saturday, July 11, 2009 4:20 AM