{"id":7,"date":"2013-06-04T09:10:00","date_gmt":"2013-06-04T09:10:00","guid":{"rendered":"https:\/\/pjgcreations.co.uk\/wordpress\/?p=7"},"modified":"2013-06-04T09:10:00","modified_gmt":"2013-06-04T09:10:00","slug":"adding-ef-poco-classes-to-tfs-source-control","status":"publish","type":"post","link":"https:\/\/www.pjgcreations.co.uk\/adding-ef-poco-classes-to-tfs-source-control\/","title":{"rendered":"Adding EF POCO Classes to TFS Source Control"},"content":{"rendered":"

I have various projects which included Entity Framework POCO (Plain Old CLR Object) Classes. By default, these are not automatically included in TFS Source Control.<\/p>\n

To add these classes in VS2012;<\/p>\n

    \n
  1. Open the Team Explorer Window using View>Team Explorer <\/li>\n
  2. You will see a list of shortcuts… My Work, Pending Changes and so on; <\/li>\n
  3. Under “Pending Changes” is a link to “Source Control Explorer” <\/li>\n
  4. Click this link, to open the Source Control Explorer Window <\/li>\n
  5. Navigate through your solution to the Project containing your edmx file <\/li>\n
  6. Above the “Source Location” will be a toolbar <\/li>\n
  7. The fourth icon from the left is “Add Items To Folder” <\/li>\n
  8. Clicking this icon will bring up the “Add to Source Control” Dialog, showing all the files in this project which aren’t<\/strong> currently under Source Control. <\/li>\n
  9. Select all the files you wish to now include under Source Control <\/li>\n
  10. Press Next, then Finish<\/li>\n<\/ol>\n

    Now Check In your Solution again, and your POCO’s should now be included.<\/p>\n","protected":false},"excerpt":{"rendered":"

    I have various projects which included Entity Framework POCO (Plain Old CLR Object) Classes. By default, these are not automatically included in TFS Source Control. To add these classes in VS2012; Open the Team Explorer Window using View>Team Explorer You will see a list of shortcuts… My Work, Pending Changes and so on; Under “Pending […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[97,77,98,96,73],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.pjgcreations.co.uk\/wp-json\/wp\/v2\/posts\/7"}],"collection":[{"href":"https:\/\/www.pjgcreations.co.uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pjgcreations.co.uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pjgcreations.co.uk\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pjgcreations.co.uk\/wp-json\/wp\/v2\/comments?post=7"}],"version-history":[{"count":0,"href":"https:\/\/www.pjgcreations.co.uk\/wp-json\/wp\/v2\/posts\/7\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.pjgcreations.co.uk\/wp-json\/wp\/v2\/media?parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pjgcreations.co.uk\/wp-json\/wp\/v2\/categories?post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pjgcreations.co.uk\/wp-json\/wp\/v2\/tags?post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}