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)
 {
 }
Exemple #6
0
 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();
 }
Exemple #8
0
 //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
 }
Exemple #9
0
 partial void OnTaken(object sender, BusinessRulesEventArgs <KstProxyRole> e)
 {
 }
Exemple #10
0
 partial void OnUpdatingAgile(object sender, BusinessRulesEventArgs <KstProxyRole> e)
 {
     this.OnUpdatingAndUpdatingAgile(sender, e);
 }
Exemple #11
0
 private void OnUpdatingAndUpdatingAgile(object sender, BusinessRulesEventArgs <KstProxyRole> e)
 {
 }
Exemple #12
0
 partial void OnCreating(object sender, BusinessRulesEventArgs <KstProxyRole> e)
 {
 }