c# - Can entity framework 6.1 work with object type -


i find out how can work object type entity framework 6.1 (code first, migration).

lets have 3 objects: page, article , blog.

i have in database 1 main table: page.

article , blog tables contain id page table.

when have list of pages should able check type of each object - article , blogs.

when save article object database, should saved on page table article type in database (page record article record , ids between them).

any advice propitiated

thank you

ori


Comments

Popular posts from this blog

java - Could not locate OpenAL library -

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

sorting - opencl Bitonic sort with 64 bits keys -