IBaseEntityTracker.cs 509 Bytes
Newer Older
1
2
using System;
using System.Collections.Generic;
Andres Käver's avatar
nuget    
Andres Käver committed
3
using com.akaver.sportmap.Contracts.Domain;
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

namespace Contracts.DAL.Base
{
    public interface IBaseEntityTracker : IBaseEntityTracker<Guid>
    {
        
    }
    
    public interface IBaseEntityTracker<TKey>
    where TKey: IEquatable<TKey>
    {
        //Dictionary<IDomainEntityId<TKey>, IDomainEntityId<TKey>> EntityTracker { get;  }
        void AddToEntityTracker(IDomainEntityId<TKey> internalEntity, IDomainEntityId<TKey> externalEntity);
    }
}