public EntityStateWrapperContainer ModifyEntity(object entity, int batchId = int.MaxValue)
        {
            var wrapper = new EntityStateWrapper <object>(State.Modified, entity)
            {
                BatchId = batchId
            };

            _Entities.Add(wrapper);
            return(this);
        }
 public void AddEntityStateWrapper(EntityStateWrapper <object> entityWrapper)
 {
     _Entities.Add(entityWrapper);
 }