protected override void DataPortal_OnDataPortalInvokeComplete(DataPortalEventArgs e) { if (ApplicationContext.ExecutionLocation == ApplicationContext.ExecutionLocations.Server) { DonateTypeList.InvalidateCache(); } }
public override DonateTypes Save() { if (!CanEditObject()) { throw new System.Security.SecurityException(Dothan.Library.Properties.Resources.Users_not_authorized.ToString()); } DonateTypes result; result = base.Save(); DonateTypeList.InvalidateCache(); return(result); }