diff --git a/GBase.Api/GBase.Api.xml b/GBase.Api/GBase.Api.xml index 00a02ac..727814d 100644 --- a/GBase.Api/GBase.Api.xml +++ b/GBase.Api/GBase.Api.xml @@ -141,18 +141,6 @@ The name of the IGBaseColumn The new value - - - Raise the GBaseEntry removed ( event without args) - - The entry (sender) - - - - Callback for the event - - The - ServiceContract for the GBaseColumn diff --git a/GBase.Api/NotifyGBaseEntryChanged.cs b/GBase.Api/NotifyGBaseEntryChanged.cs index ba83856..75bfe2d 100644 --- a/GBase.Api/NotifyGBaseEntryChanged.cs +++ b/GBase.Api/NotifyGBaseEntryChanged.cs @@ -24,25 +24,7 @@ namespace GBase.Api /// The new value protected void RaiseGBaseEntryChanged(object entry, string columnName, object value) { - GBaseEntryChanged?.BeginInvoke(entry, new GBaseEntryChangedEventArgs(columnName, value), GBaseEntryChangedCallback, null); - } - - /// - /// Raise the GBaseEntry removed ( event without args) - /// - /// The entry (sender) - protected void RaiseGBaseEntryRemoved(object entry) - { - GBaseEntryChanged?.BeginInvoke(entry, null, GBaseEntryChangedCallback, null); - } - - /// - /// Callback for the event - /// - /// The - private void GBaseEntryChangedCallback(IAsyncResult asyncResult) - { - GBaseEntryChanged?.EndInvoke(asyncResult); //TestMe: Does this work? Or is there something to be done with the asyncResult + GBaseEntryChanged?.Invoke(entry, new GBaseEntryChangedEventArgs(columnName, value)); } } } \ No newline at end of file