예제 #1
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (_unitWork != null)
                {
                    _unitWork.Dispose();

                    _unitWork = null;
                }
            }
        }
예제 #2
0
 public Repository(IEntityframeworkContext unitWork) : base(unitWork)
 {
     _unitWork = (EntityframeworkContext)unitWork;
 }