public void Add(Guid key, EntityBase value)
 {
     if (this.entities.ContainsKey(key))
         this.entities[key] = value;
     else
         this.entities.Add(key, value);
 }
예제 #2
0
 protected override void Update(EntityBase entity)
 {
     throw new NotSupportedException();
 }
예제 #3
0
 protected virtual void OnLoad(Guid id, EntityBase entity)
 {
 }
예제 #4
0
 protected abstract void Update(EntityBase entity);
예제 #5
0
 protected abstract void Insert(EntityBase entity);
예제 #6
0
 protected abstract void Delete(EntityBase entity);
예제 #7
0
 void IMapper.Update(EntityBase entity)
 {
     this.Update(entity);
 }
예제 #8
0
 void IMapper.Insert(EntityBase entity)
 {
     this.Insert(entity);
 }
예제 #9
0
 void IMapper.Delete(EntityBase entity)
 {
     this.Delete(entity);
 }