public long AddLog(EquinoxeExtend.Shared.Object.Log.Log iLog) { if (iLog == null) { throw new NullReferenceException(); } var logEntity = new T_E_Log(); logEntity.Merge(iLog); return(DBLogDataService.AddLog(logEntity)); }