init
This commit is contained in:
22
KretaWeb/Classes/ExtendedDataSourceResult.cs
Normal file
22
KretaWeb/Classes/ExtendedDataSourceResult.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System.Collections.Generic;
|
||||
using Kendo.Mvc.UI;
|
||||
|
||||
namespace Kreta.Web.Classes
|
||||
{
|
||||
public class ExtendedDataSourceResult : DataSourceResult
|
||||
{
|
||||
|
||||
public ExtendedDataSourceResult() { }
|
||||
|
||||
public ExtendedDataSourceResult(DataSourceResult dataSourceResult)
|
||||
{
|
||||
AggregateResults = dataSourceResult.AggregateResults;
|
||||
Data = dataSourceResult.Data;
|
||||
Errors = dataSourceResult.Errors;
|
||||
Total = dataSourceResult.Total;
|
||||
}
|
||||
|
||||
public Dictionary<string, object> ExtendedProperties { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user