19 lines
383 B
C#
19 lines
383 B
C#
using System.Linq;
|
|
using zero.Core.Entities;
|
|
|
|
namespace zero.Core.Database.Indexes
|
|
{
|
|
public class zero_RecycledEntities : ZeroIndex<RecycledEntity>
|
|
{
|
|
protected override void Create()
|
|
{
|
|
Map = items => items.Select(item => new
|
|
{
|
|
Group = item.Group,
|
|
OperationId = item.OperationId,
|
|
CreatedDate = item.CreatedDate
|
|
});
|
|
}
|
|
}
|
|
}
|