Browse Source
Merge pull request #2900 from abpframework/maliming/patch-2
Audited*WithUser generic type wrong constraint.
pull/2912/head
Halil İbrahim Kalkan
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
6 additions and
6 deletions
-
framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Auditing/AuditedAggregateRootWithUser.cs
-
framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Auditing/AuditedEntityWithUser.cs
-
framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Auditing/FullAuditedEntityWithUser.cs
|
|
|
@ -9,7 +9,7 @@ namespace Volo.Abp.Domain.Entities.Auditing |
|
|
|
/// <typeparam name="TUser">Type of the user</typeparam>
|
|
|
|
[Serializable] |
|
|
|
public abstract class AuditedAggregateRootWithUser<TUser> : AuditedAggregateRoot, IAuditedObject<TUser> |
|
|
|
where TUser : IEntity<long> |
|
|
|
where TUser : IEntity<Guid> |
|
|
|
{ |
|
|
|
/// <inheritdoc />
|
|
|
|
public virtual TUser Creator { get; set; } |
|
|
|
@ -25,7 +25,7 @@ namespace Volo.Abp.Domain.Entities.Auditing |
|
|
|
/// <typeparam name="TUser">Type of the user</typeparam>
|
|
|
|
[Serializable] |
|
|
|
public abstract class AuditedAggregateRootWithUser<TKey, TUser> : AuditedAggregateRoot<TKey>, IAuditedObject<TUser> |
|
|
|
where TUser : IEntity<long> |
|
|
|
where TUser : IEntity<Guid> |
|
|
|
{ |
|
|
|
/// <inheritdoc />
|
|
|
|
public virtual TUser Creator { get; set; } |
|
|
|
|
|
|
|
@ -9,7 +9,7 @@ namespace Volo.Abp.Domain.Entities.Auditing |
|
|
|
/// <typeparam name="TUser">Type of the user</typeparam>
|
|
|
|
[Serializable] |
|
|
|
public abstract class AuditedEntityWithUser<TUser> : AuditedEntity, IAuditedObject<TUser> |
|
|
|
where TUser : IEntity<long> |
|
|
|
where TUser : IEntity<Guid> |
|
|
|
{ |
|
|
|
/// <inheritdoc />
|
|
|
|
public virtual TUser Creator { get; set; } |
|
|
|
@ -25,7 +25,7 @@ namespace Volo.Abp.Domain.Entities.Auditing |
|
|
|
/// <typeparam name="TUser">Type of the user</typeparam>
|
|
|
|
[Serializable] |
|
|
|
public abstract class AuditedEntityWithUser<TKey, TUser> : AuditedEntity<TKey>, IAuditedObject<TUser> |
|
|
|
where TUser : IEntity<long> |
|
|
|
where TUser : IEntity<Guid> |
|
|
|
{ |
|
|
|
/// <inheritdoc />
|
|
|
|
public virtual TUser Creator { get; set; } |
|
|
|
|
|
|
|
@ -9,7 +9,7 @@ namespace Volo.Abp.Domain.Entities.Auditing |
|
|
|
/// <typeparam name="TUser">Type of the user</typeparam>
|
|
|
|
[Serializable] |
|
|
|
public abstract class FullAuditedEntityWithUser<TUser> : FullAuditedEntity, IFullAuditedObject<TUser> |
|
|
|
where TUser : IEntity<long> |
|
|
|
where TUser : IEntity<Guid> |
|
|
|
{ |
|
|
|
/// <inheritdoc />
|
|
|
|
public virtual TUser Deleter { get; set; } |
|
|
|
@ -28,7 +28,7 @@ namespace Volo.Abp.Domain.Entities.Auditing |
|
|
|
/// <typeparam name="TUser">Type of the user</typeparam>
|
|
|
|
[Serializable] |
|
|
|
public abstract class FullAuditedEntityWithUser<TKey, TUser> : FullAuditedEntity<TKey>, IFullAuditedObject<TUser> |
|
|
|
where TUser : IEntity<long> |
|
|
|
where TUser : IEntity<Guid> |
|
|
|
{ |
|
|
|
/// <inheritdoc />
|
|
|
|
public virtual TUser Deleter { get; set; } |
|
|
|
|