Delegate OnSaved
Delegate describing that an element was saved to the database
Namespace: SuperOffice.Data
Assembly: SoDataBase.dll
Syntax
public delegate void OnSaved(INestedPersist element, bool didSucceed)
Parameters
Type | Name | Description |
---|---|---|
INestedPersist | element | Element that was saved to the database |
bool | didSucceed | True if the save operation succeeded. |
Constructors
OnSaved(object, IntPtr)
Delegate describing that an element was saved to the database
Declaration
public OnSaved(object @object, IntPtr method)
Parameters
Type | Name | Description |
---|---|---|
object | object | |
IntPtr | method |
Methods
BeginInvoke(INestedPersist, bool, AsyncCallback, object)
Delegate describing that an element was saved to the database
Declaration
public virtual IAsyncResult BeginInvoke(INestedPersist element, bool didSucceed, AsyncCallback callback, object @object)
Parameters
Type | Name | Description |
---|---|---|
INestedPersist | element | |
bool | didSucceed | |
AsyncCallback | callback | |
object | object |
Returns
Type | Description |
---|---|
IAsyncResult |
EndInvoke(IAsyncResult)
Delegate describing that an element was saved to the database
Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type | Name | Description |
---|---|---|
IAsyncResult | result |
Invoke(INestedPersist, bool)
Delegate describing that an element was saved to the database
Declaration
public virtual void Invoke(INestedPersist element, bool didSucceed)
Parameters
Type | Name | Description |
---|---|---|
INestedPersist | element | |
bool | didSucceed |