cheers Walaa,
I am using a typedList.I now find that I need to use a relation to another table.I have looked and I don't think that it's possible to create the relation via the designer.
I don't know if it's possible to use the relations with typedLists, but that's what i'd like to do.
(please stop me if it isn't possible)
The typeList is made up of:
1) fields from the "cskStoreProduct" table
2) a mapped field in "cskStoreImage" table "imageFile"
cskStoreProduct
productId PK
cskStoreImage
image ID PK
productId FK
I want to grab the "imageFile" field from the cskStoreImage table and use it as if it is part of the original typedList.
dalHamilton.TypedListClasses.TListPromoProductsTypedList tListPromoProducts = new TListPromoProductsTypedList();
tListPromoProducts.Fill() ;
RelationCollection relationsToUse = new RelationCollection();
relationsToUse.Add(dalHamilton.EntityClasses.CskStoreProductEntity.Relations.CskStoreImageEntityUsingProductId);
Is the above possible?
Please let me know if I can clarify anything.
cheers,
yogi