日期:2014-05-17 浏览次数:20803 次
public class TablePage<TController, TViewModel> : BasePage
where TController : IBaseTableController<TViewModel>
where TViewModel : class
{
[WebMethod]
public static LoadOnceGridResult GetTable(TViewModel viewModel)
{
return Activator.CreateInstance<TController>().GetTable(viewModel);
}
}