B3代宰模块
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

35 lines
932 B

using BWP.B3Frameworks.Utils;
using BWP.B3SubstituteKill.BO;
using BWP.B3SubstituteKill.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TSingSoft.WebControls2;
namespace BWP.Web.Utils
{
public static class B3SubstituteDataProvider
{
internal static void Register()
{
ChoiceBoxSettings.Register(B3SubstituteKillConsts.DataSources., (argu) =>
{
return new DomainChoiceBoxQueryHelper<GenerationCostItem>(argu)
{
AddOrganizationLimit = true,
OnlyAvailable = true
}.GetData();
});
ChoiceBoxSettings.Register(B3SubstituteKillConsts.DataSources., (argu) =>
{
return new DomainChoiceBoxQueryHelper<GenerationCostItem>(argu)
{
AddOrganizationLimit = true,
OnlyAvailable = false
}.GetData();
});
}
}
}