partial void OnGetting(object sender, BusinessRulesEventArgs <unProxySetting> e) { this.OnGettingSettings(sender, e); }
partial void OnDeleted(object sender, BusinessRulesEventArgs <KstActivity> e) { this.UpdateCache(); }
partial void OnGetting(object sender, BusinessRulesEventArgs <KstActivity> e) { e.Filter.AppendFilter($"it.CreatedBy = \"{e.ContextRequest.User.GuidUser}\""); }
partial void OnUpdatedAgile(object sender, BusinessRulesEventArgs <KstProxyUser> e) { }
partial void OnDeleting(object sender, BusinessRulesEventArgs <KstProxyUser> e) { }
partial void OnGetting(object sender, BusinessRulesEventArgs <SDFile> e) { e.ContextRequest.SetParam("queryOr", e.ContextRequest.CustomQuery); }
partial void OnUpdated(object sender, BusinessRulesEventArgs <KstProxyUser> e) { //throw new NotImplementedException(); }
//public void MyMethod() //{ // SFSdotNet.Framework.My.Context.CurrentContext.ContextRequest.ReplaceApiResponse() //} //partial void OnTaken(object sender, BusinessRulesEventArgs<SDPerson> e) //{ // throw new NotImplementedException(); //} partial void OnGetting(object sender, BusinessRulesEventArgs <SDPerson> e) { // Sample of replace API response and cancel the current request e.ContextRequest.ReplaceApiResponse("success", "test", "simple test of replace", e.Items); e.Cancel = true; // Canceling the execution of the query }
partial void OnTaken(object sender, BusinessRulesEventArgs <KstProxyRole> e) { }
partial void OnUpdatingAgile(object sender, BusinessRulesEventArgs <KstProxyRole> e) { this.OnUpdatingAndUpdatingAgile(sender, e); }
private void OnUpdatingAndUpdatingAgile(object sender, BusinessRulesEventArgs <KstProxyRole> e) { }
partial void OnCreating(object sender, BusinessRulesEventArgs <KstProxyRole> e) { }