Browse Source

Entity moved to other file

pull/1/head
Sebastian 9 years ago
parent
commit
be2b71b352
  1. 21
      src/Squidex.Infrastructure/CQRS/Commands/EntityCreatedResult_T.cs

21
src/Squidex.Infrastructure/CQRS/Commands/EntityCreatedResult_T.cs

@ -0,0 +1,21 @@
// ==========================================================================
// EntityCreatedResult_T.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// ==========================================================================
namespace Squidex.Infrastructure.CQRS.Commands
{
public sealed class EntityCreatedResult<T> : EntitySavedResult
{
public T IdOrValue { get; }
public EntityCreatedResult(T idOrValue, long version)
: base(version)
{
IdOrValue = idOrValue;
}
}
}
Loading…
Cancel
Save