Are these tables "derived" from the actual tables in the Entity Model? How to do this?

I am trying to recreate a sample project (WPF with Entity Framework) that I believe was using EF4 - the Context.Template.cs file shows ObjectContext being used instead of DBContext.  The sample project contains its own Employee.mdf/Employee.ldf files
and uses the VS server to connect to Employee DB.  The original sample project runs fine if I don't tamper with anything. I attached the Employee mdf to my Sql Server 2008 R2 and changed the connection string in the project, but the
project would not run -- error 'd out on startup.  Then I attached the Employee mdf to sql server 2012 express, and it error 'd out with that too.  So I want to create a new project from scratch (and use EF5 or EF6), but I want to get the same
layout in the Entity model as the original project  Here is a picture of the .edmx file from the original project.   The tables in the red circle do not exist in the Employee DB, but they contain some of the fields from the three actual
tables (in the blue circle).  Are these called "derived" tables?   How is this being done?
Rich P

Hello Rich,
>> Where can I learn more about the innerds of Entity Framework?
The channel 9 is a good site for learning about the Entity Framework, there are lots of deep topics introduced by the team members:
https://channel9.msdn.com/Tags/entity+framework
You could also download
source code of Entity Framework so that you could know how the Entity Framework provider works.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • My iPad 2 only keeps a set number of emails for me to view eventually deleting from the screen. How do stop this as it syncs with my phone and mac book pro neither of which do this?

    My iPad 2 only keeps a set number of emails for me to view eventually deleting from the screen. How do stop this as it syncs with my phone and mac book pro neither of which do this?

    Thanks for that. Much more constructive than the last comment. It's only the restriction code I can't recall, not the access passcode. So I can currently access the device, just not age restricted content. Does that's make a difference? I also wondered if anyone knew how many attempts you get to try to get it right. Now tried 21 times and so far nothing bad has happened but I am concerned I'll eventually be completely locked out of the device. That doesn't seem in the spirit of things though. Surely it's foreseeable that a child could repeatedly try to guess the code so I can't see that it would be right to lock the device down completely in that circumstance, particularly if the access code is being typed in correctly every time.
    Thanks

  • Source MV is NULL (from the FIM Portal), How to flow this without the destination attribute being deleted?

    Hi all. I had a quick search but couldn't find what I was looking for.
    Easy question.
    I've setup the following flows:
    FIM MA
    (FIM)employeeEndDate  -> (MV)employeeEndDate
    AD MA
    (MV)employeeEndDate  ->(AD)accountExpire (I have a rule extension to convert it to a UTC etc)
    If I enter an enddate on a person object in the FIM portal it will flow to the MV and then flow to AD (via the AD CS/MA). 
    But (as with all attributes, this is just an example) if I remove the enddate on the person object in the FIM portal it will in turn delete the attribute (AD)accountExpire in the CS of AD. 
    This is normal and expected... My question is. How do I flow a NULL and still have the CS attribute retain a value?
    I'm not wanting to flow a NULL to the destination but I am taking a NULL in as a source (I am working with rule extensions, I have tried a 'ispresent' but as there's no longer a 'space' to flow to it does nothing, I'm stuck with between flow NULL or do nothing,
    depending on if I allow NULLs to flow). 
    The reason is the AD attribute accountExpire is never NULL, but either a date or "0" or "9223372036854775807"(Taken from the MSDN page: )
    I had thought of using a RE on the import rule of the FIM MA but you can't use RE there.
    I hope I've made the question clear, thank you for any help or tips in advanced. 

    Try adding a second attribute for your rules extension when exporting from the MV that always has a value (Ctrl + click the other attribute). This will ensure that the rules extension is always fired, something like this:
    (MV) accountName
    (MV) employeeEndDate --> (AD) accountExpires
    From there you should be able to use .IsPresent to check for a value, and flow out the correct value in your rules extension. 

  • I reacenty just got a mac book pro and i want to downloads a software for the internet {noteworthy }and when I say open software it says WARNING THIS A PRODUT THAT YOU ARE ABOUT TO OPEN FROM THE INTERNET I'm not sure if that means that i will jail break

    i recenty got a mac and i want to dowloand note worthy frow the internet but when i want to open it it says WARINIG THIS A SOFTWARE THAT YOU ARE ABOUT TO OPEN FROM THE INTERNET me quetion is will this jail break my mac and if so how will this efect me

    ace9001000 wrote:
    so you mean i can get stuf like minecraft and note wothy with out it hurting my mac
    You've already been told that the message you got is a standard feature of Lion, so stop worrying about it.

  • TS2446 A email account that was used is now not in use and songs that were purchased and added are bound to this old account from the same computer how do I the purchaser of these songs reclaim the authorization to play and use in my new account

    A email account that was used is now not in use and songs that were purchased and added are bound to this old account from the same computer how do I the purchaser of these songs reclaim the authorization to play and use in my new account. even though account name may have been changed.

    Just authorize the computer and retreive them.
    Go here -> https://iforgot.apple.com/cgi-bin/WebObjects/DSiForgot.woa/wa/iforgot .
    FYI: you should have simply updated the AppleID with new info and continued to use it instead of creating a new one.

  • IPod updates 2 touch with the new software, and from the update they are not connected with Time phase. They appear calling but never they enter the calls. I make calls with other users and if one connects but in these two not from the update

    iPod updates 2 touch with the new software, and from the update they are not connected with Time phase. They appear calling but never they enter the calls. I make calls with other users and if one connects but in these two not from the update

    I use Firefox 95% of the time, and there's no problem with flash content (and I'm still at .55 - downloaded .64 last week but I haven't got round to making the change yet). At the rate they've been changing it recently it may well be out of date already .
    I've been trying it in Safari, too with no problems apart from You Tube, but that's because I'm blocking Google cookies.
    One thought does occur - if your Flash preferences are set to block all Local Storage, it may be that the problem site is trying to use Flash cookies (LSOs). I had this problem recently with the BBC iPlayer streaming content. Little Snitch notified an attempt to connect to a new URL - emp.bbci.co.uk.
    If I disallowed it, no streaming; when I allowed the connection, it still wouldn't stream, so I did a bit of digging and came to the conclusion that it was trying to set a Flash cookie. When I unblocked, lo and behold - streaming resumed as normal.
    I now have LSOs blocked in a more subtle way that lets the site think it's being set (but it ain't) and the streaming still works.
    As for permissions repair - always repair from local; the permissions on the original disc will have been superceded by updates and new installations of Apple software.
    DU needs to be reading the packages on the HD, not the (now out of date) install disc.
    The recurring repair messages are normal and don't mean anything's wrong. As long as the final message is 'repair complete' there's no need to dwell on it.
    http://support.apple.com/kb/TS1448 (for Leopard and Snow Leopard - Lion no doubt has it's own set).

  • Another partner function is derived from the partner types than was entered

    Hi Dear SRM Experts,
    I am sending  Purchase Requisition to SRM and it gives the error on SRM side Transaction SLG1
    "Another partner function is derived from the partner types than was entered from external source"
    Experts please reply me iIt is very urgent.please suggest any ideas.
    Regards
    Ilhan Ertas

    Hello,
    Check:
    A. RFC user has been assigned to Local Purchase org & local purchase group.
    B. RFC user is consistent in BBP_ATTR_CHECK.
    C. Plants have been replicated properly into SRM and have been assigned the proper GUID's.Check table BBP_LOCMAP for this.
    D. Also check the SRM RFC destinations and the SRM RFC user assigned in both the Systems.
    SAP Note might be useful. 801133 - Interface used to transfer external requirements is adjusted
    Thanks
    Ashutosh

  • HT204406 Hello,  I have songs that show they are "Waiting" for download from the cloud but they are greyed out.  Some songs in one album are done others in the same album will not download. It is not a time function because i have been working on this for

    Hello,  I have songs that show they are "Waiting" for download from the cloud but they are greyed out.  Some songs in one album are done others in the same album will not download. It is not a time function because i have been working on this for weeks. I have allowed my compter to run for days and the songs are still not accessible.  I have a Match subscription and Match is working.  If I click on the "Genre" link the greyed out songs show that they are ready for download from the cloud but I cannot download them.  I have downloaded over 1500 other songs, so I am trying to understand what is going on here. I would appreciate any help anyone can give me.
    Thanks

    I did think about that and if I have to I will do that, however there are about 50 songs. I have closed and reopened iTunes several times and I am sure that I have the latest version. It fails right away but I can click on the cloud download icon and download the song that it failed on ... therefore it is not that song "or any one song" causing the issue. Any ideas?

  • HT1386 I am unable to synch photo albums from ipad 3 to itunes on my windows pc. In addition to camera roll and ipod cache albums, i have 6 other albums made from pix derived from the camera roll. I have trawled the net for the last 8 hrs in vain!

    Dear Community members,
    I am unable to synch photo albums from iPad 3 to iTunes on my Windows 7 pc.
    In addition to Camera roll and iPod cache default albums, I have 6 other albums made from pix derived from the camera roll. Eg -  Family pix in a folder, Office pix in another, Plant pixs in another, House architecture pix in another.......all also exist in the camera roll.
    I have trawled the net for the last 8 hrs in vain!
    I have ios5 on Ipad 3 and the latest Itunes on Windows PC.
    As a precaution, I have used the windows "add pictures from...." to keep a copy in a separate folder in the windows desktop, but again it has all the pics mixed up together and not sorted as per the various albums in the ipad!
    How to replicate the albums in the windows PC???
    Regards
    Sohal NS

    Sync the photos back to the iPad using iTunes. You have to place the photos into a folder from which you sync photos. All photos that you want to sync to the device must be included in the main photos folder and selected to sync each time that you sync.
    Connect the iPad to the PC and launch iTunes.
    Click on the iPad name on the left side under devices.
    Click on the Photos Tab on the right.
    Click on the Sync Photos From heading in order to select it.
    Select the photos folder that you want to sync from.
    Select all of the albums or photos within the folder that you want to sync.
    Click on Apply in the lower right corner of iTunes
    You can read more here.
    http://support.apple.com/kb/HT4236

  • Are these suggestions speficic to the Windows version of Firefox? Because on my Mac version (31.0) there is no "options" in the Tool menu

    Are these suggestions speficic to the Windows version of Firefox? Because on my Mac version (31.0) there is no "options" in the Tool menu.
    I'm trying to figure out why Firefox has no spellcheck. I suspect it needs dictionaries installed, but it's a bit of a mystery. I had to reste FF as it kept crashing after I updated to V31.0

    Yes Options is for Windows.
    On Mac you use "Firefox > Preferences" or the Preferences button in the "3-bar" Firefox menu button drop-down list.
    You can see which dictionary is selected if you right-click in a text area and open the Languages submenu.
    At least one dictionary should be installed and have a check mark to indicate that it is selected.
    *Open the "Add Dictionaries" link to install a dictionary if you do not have one.
    *Make sure that [X] "Check Spelling" in the right-click context menu is check-marked.
    You can enable or disable spell checking globally:
    *Firefox > Preferences > Advanced : General: Browsing: "Check my spelling as I type"
    You can look here for dictionaries:
    *https://addons.mozilla.org/firefox/language-tools/
    Were you able to stop the crashes?

  • I have a large number of contacts in my Outlook account.  As long as that account is active on the iPhone (6 ) the contact are available on the phone but disappear when that account is removed from the phone.  How do I transfer the contacts?

    I have a large number of contacts in my Outlook account.  As long as that account is active on the iPhone (6 ) the contact are available on the phone but disappear when that account is removed from the phone.  How do I transfer the contacts permanently to the phone?

    Archive the contacts you have in Address book, then delete them, they will be removed from iCloud as well. Restore the archive

  • Having synced my ipod, there are certain artists missing from the list on the ipod, but the tracks are there under the songs list.  Any reason why and how do i correct this.  Thanks.

    Having synced my ipod, there are certain artists missing from the list on the ipod, but the tracks are there under the songs list.  Any reason why and how do i correct this.  Thanks.

    We'll assume for now, that all the songs and albums in your iTunes Library are correctly labelled (dangerous assumption, by the way!), and that a Compilation album is one with songs by different artists. Unfortunately, the music industry (bless their little cotton socks!) often mark an album by one artist, that has a collection of their songs from old albums, as a compilation! iTunes doesn't think it is!
    The missing artists will be those who only appear on Compilation albums. For example, if you have one song by Fleetwood Mac in your Library, and it's on a multi-artist Compilation album, then Fleetwood Mac will not be listed in the Artists menu. But, if you then import a Fleetwood Mac album (or even a Fleetwood Mac single) into your Library, then not only will Fleetwood Mac appear under Artists, but the song by them in the Compilation album will also be listed.
    One way to sort this out is to remove the Compilations option from the Main Menu and the Music Menu on your iPod. To do this, go to Settings/Main Menu/Compilations and press the Select (centre) button to turn off the tick. Then repeat this in the Settings/Music Menu/Compilations.
    You should now find the missing artists listed in the Artists menu.
    By the way, I now routinely check all albums I import from CD into my iTunes Library. Before I start the import procedure, I make sure that Compilation CD is turned on (highlight the album in the import window and right-click/Compilation CD) if it really is a multi-artist CD - and off if it's a single artist CD. Once imported, I manually change the album info to; (highlight album and select ) File/Get Info/Info/Album Artist has "Various Artists" in the box. Make sure it's the Album Artist box, not the Artist box.

  • I have two ipod nanos.  And i have 2 itunes accounts and we are accessing both accounts from the same PC.  One of my ipod works fine, it gets detected as a device and sync fine.  The other one does not.  Need help.

    I have two ipod nanos.  And i have 2 itunes accounts and we are accessing both accounts from the same PC.  One of my ipod works fine, it gets detected as a device and sync fine.  The other one does not.  Anyone knows what this may be?

    The music sync is one way - computer to ipod.  The only exception is ituens purchases.  The ipod is not a backup device.
    Copy everything from the old computer or your backup copy of your old computer, to the new one.

  • Trying to transfer photos from iPhone to computer and it is showing 0 photos on the device.   There are hundreds of photos on the device so how do I transfer them?

    Trying to transfer photos from iPhone to computer and it is showing 0 photos on the device.   There are hundreds of photos on the device so how do I transfer the photos?

    What photos?
    Pics synced from computer to iphone are synced one way only - computer to iphone.

  • HT1657 We just downloaded a movie from Itunes but the picture is completely scrambled. Audio is fine but all you can see are funny color pixels on the screen..how do we fix this?e

    We just downloaded a movie from Itunes but the picture is completely scrambled. Audio is fine but all you can see are funny color pixels on the screen..how do we fix this?

    The movie is from iTunes.   You would think that a download from iTunes to a MacBook could be watched on an HDTV using Apple TV without any headaches bit this does not appear to be the case. 

Maybe you are looking for