/// <summary> /// Adds the specified item. /// </summary> /// <param name="item">The item.</param> public virtual void Add(T item) { if (item != (T)null) { uow.Add(item); //GetObjectSet().AddObject(item); // add new item in this set } else { iPow.Infrastructure.Data.LoggerReopsitoryManager.AddLogInfo(1, 0, string.Empty, string.Empty, "add object is null " + typeof(T).ToString(), string.Empty, string.Empty); } }