private List <PropertyInfo> GetAutoJoin() { List <PropertyInfo> autoJoins = new List <PropertyInfo>(); PropertyInfo[] properties = GetPropriedades().Where(x => Valida.AutoJoin(x) != null).ToArray(); foreach (var prop in properties) { autoJoins.Add(prop); } return(autoJoins); }