Passing context in certain API calls

1
In 2.5 there seems to be a choice as to whether certain API methods require the context to be passed or not. For example: commit (IContext) or commit() delete (IContext) or delete() get... (IContext) or get...() set... (IContext, value) or set... (value) initialise (IContext, IMendixObject) or initialise (IMendixObject) What's the difference between the method calls with context and without?
asked
1 answers
1

You always need a context. However, if you initialized a proxy class with a context, you do not need to pass the context to any further calls on the proxy instance, since it remembers the context. If you initialize without context, you need to provide a context in subsequent calls.

answered