Beispiel #1
0
 /// <summary>
 /// Handles the PerformSelect event of the _ipBanDS control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="SD.LLBLGen.Pro.ORMSupportClasses.PerformSelectEventArgs"/> instance containing the event data.</param>
 protected void _ipBanDS_PerformSelect(object sender, SD.LLBLGen.Pro.ORMSupportClasses.PerformSelectEventArgs e)
 {
     // fetch the page requested, using a BL method. We'll receive a collection from the BL method and will set the collection of the control to the
     // collection we'll receive. Specify that the user entity is prefetched into the IPBan entity.
     _ipBanDS.EntityCollection = SecurityGuiHelper.GetAllIPBans(e.PageNumber, e.PageSize, true);
 }
 /// <summary>
 /// Handles the PerformSelect event of the _supportQueueDS control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="SD.LLBLGen.Pro.ORMSupportClasses.PerformSelectEventArgs"/> instance containing the event data.</param>
 protected void _supportQueueDS_PerformSelect(object sender, SD.LLBLGen.Pro.ORMSupportClasses.PerformSelectEventArgs e)
 {
     _supportQueueDS.EntityCollection = SupportQueueGuiHelper.GetAllSupportQueues();
 }