Is it possible to do it programmatically instead of designer? For example, I am using the following codes to join two tables without FK relations?
Dim rel As New EntityRelation(RelationType.ManyToMany)
rel.AddEntityFieldPair(New Address().Fields(AddressFieldIndex.ZipCode), New ZipCode().Fields(ZipCodeFieldIndex.ZipCode))
rel.AddEntityFieldPair(New Address().Fields(AddressFieldIndex.City), New ZipCode().Fields(ZipCodeFieldIndex.City))
bucket.Relations.Add(rel, JoinHint.Inner)
I want to do something similar for the table/view join.
Thanks.