Discriminator Field

  • Hi

    could anyone tell me whya discriminator column would be added to a table?

    what is a discriminator column? what is it used for?

    thanks in advance

  • One possible reason for a discriminator column is implementing the Table-Per-Hierarchy (TPH) pattern using Entity Framework (EF). In TPH, an entire class hierachy is stored in a single table, and the discriminator column is used to indicate which specific class the record holds.

    For more information, check out this... http://msdn.microsoft.com/en-us/data/jj618292 ...Entity Framework page.

    Thanks,
    MKE Data Guy

  • thats iot mate thanks a lot

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply