Creating additional references on a FK RRS feed

  • Question

  • I have a few tables which I have dragged onto my dbml UI.


    It has a few references to a table ( LookupTable ) . This lookup table has 3 tables that are using a discriminator.





    Where DocumentType class is based on a CategoryCode of 'DOCU'. dataContext.LookupTable.OfType<DocumentType>


    But, my main table that references the lookup table I would like to reference the DocumentType directly, so when I query the object isalready created.

    Can someone tell me how I should define this property on my main table?

    Wednesday, June 8, 2011 2:32 PM


All replies