예제 #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (!this.disposed)
     {
         if (disposing)
         {
             _dbSet             = null;
             _soulstoneEntities = null;
         }
     }
     this.disposed = true;
 }
예제 #2
0
 public BaseRepository(SoulstoneEntities soulstoneEntities)
 {
     _soulstoneEntities = soulstoneEntities;
     _dbSet             = _soulstoneEntities.Set <TEntity>();
 }