public static DataTable GetListDataTableID(ref BaseEntity Base, String SqlCommandString, Int64 idplanilla) { DataTable ListDetails = new DataTable(); if (!String.IsNullOrEmpty(SqlCommandString)) { ListDetails = BaseDao.GetListDataTableID(ref Base, SqlCommandString, idplanilla); } else { Base.Errors.Add(new BaseEntity.ListError(new Exception(), "SQL Command String esta vacio o es nullo")); } return(ListDetails); }