Entity Framework Power Tools Beta 4

Free

Preview of useful design-time features for DbContext. When right-clicking on a C# project, the following context menu function is supported: 1) Reverse Engineer Code First - Generates POCO classes, derived DbContext and Code First mapping for an existing database. When righ...

(152) Review
Visual Studio
2013, 2012, 2010
Download (282,859)
10/11/2013
0.9.0.0
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (152)
Sign in to write a review
Sort by:

by germ13 | December 06 2012

Not working!
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.DbContextPackage.Extensions.ProjectExtensions.InstallPackage(Project project, String packageId)
at Microsoft.DbContextPackage.Handlers.ReverseEngineerCodeFirstHandler.ReverseEngineerCodeFirst(Project project)

One or more errors occurred while processing template 'Entity.tt'.
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\Entity Framework Tools\Templates\Includes\EF.Utility.CS.ttinclude(1,4) : error : A processor named 'T4VSHost' could not be found for the directive named 'CleanupBehavior'. The transformation will not be run. The following Exception was thrown:
System.InvalidOperationException: Cannot find processor for directive 'T4VSHost'.
at Microsoft.DbContextPackage.Utilities.EfTextTemplateHost.Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost.ResolveDirectiveProcessor(String processorName)
at Microsoft.VisualStudio.TextTemplating.Engine.ProcessCustomDirectives(ITextTemplatingEngineHost host, TemplateProcessingSession session, IEnumerable`1 directivesToBeProcessed)

by Sergio.Farias | December 06 2012

Does not work!
One or more errors occurred while processing template 'Entity.tt'.
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\Entity Framework Tools\Templates\Includes\EF.Utility.CS.ttinclude(1,4) : error : A processor named 'T4VSHost' could not be found for the directive named 'CleanupBehavior'. The transformation will not be run. The following Exception was thrown:
System.InvalidOperationException: Cannot find processor for directive 'T4VSHost'.

by Georgia Tsirigotaki | December 05 2012

Error occured:

One or more errors occurred while processing template 'Entity.tt'.
C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\Entity Framework Tools\Templates\Includes\EF.Utility.CS.ttinclude(1,4) : error : A processor named 'T4VSHost' could not be found for the directive named 'CleanupBehavior'. The transformation will not be run. The following Exception was thrown:
System.InvalidOperationException: Cannot find processor for directive 'T4VSHost'.
at Microsoft.DbContextPackage.Utilities.EfTextTemplateHost.Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost.ResolveDirectiveProcessor(String processorName)
at Microsoft.VisualStudio.TextTemplating.Engine.ProcessCustomDirectives(ITextTemplatingEngineHost host, TemplateProcessingSession session, IEnumerable`1 directivesToBeProcessed)

by dng_online | December 02 2012

1) Varchar(MAX) is throwing runtime error due to length issue.

2) Critical Issue: On taking recent VS.Net 2012 Update 1, I am receiving this error.

One or more errors occurred while processing template 'Entity.tt'.
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\Entity Framework Tools\Templates\Includes\EF.Utility.CS.ttinclude(1,4) : error : A processor named 'T4VSHost' could not be found for the directive named 'CleanupBehavior'. The transformation will not be run. The following Exception was thrown:
System.InvalidOperationException: Cannot find processor for directive 'T4VSHost'.
at Microsoft.DbContextPackage.Utilities.EfTextTemplateHost.Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost.ResolveDirectiveProcessor(String processorName)
at Microsoft.VisualStudio.TextTemplating.Engine.ProcessCustomDirectives(ITextTemplatingEngineHost host, TemplateProcessingSession session, IEnumerable`1 directivesToBeProcessed)

by L Cooper | November 29 2012


One or more errors occurred while processing template 'Entity.tt'.
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\Entity Framework Tools\Templates\Includes\EF.Utility.CS.ttinclude(1,4) : error : A processor named 'T4VSHost' could not be found for the directive named 'CleanupBehavior'. The transformation will not be run. The following Exception was thrown:
System.InvalidOperationException: Cannot find processor for directive 'T4VSHost'.
at Microsoft.DbContextPackage.Utilities.EfTextTemplateHost.Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHost.ResolveDirectiveProcessor(String processorName)
at Microsoft.VisualStudio.TextTemplating.Engine.ProcessCustomDirectives(ITextTemplatingEngineHost host, TemplateProcessingSession session, IEnumerable`1 directivesToBeProcessed)

by tjzfg | November 17 2012

error occured..

by khaled afifi | November 16 2012

Great work.
but it will be better if table's schama added to the namespace of its class. for ex. if my table is "Account" and its schema was "GL", the generated class would be mynamespace.GL.Account.

by Its Peter | November 10 2012

When I install this nothing appears to happen. No errors, nothing showing in VS. Any ideas?

by hocino | November 10 2012

I have the same error : incorrect argument HRESULT 0x080070057 E_INVALIDARG.

I use VS2010...

by JayBeeOh | November 08 2012

I'm using VS 2010 and the latest power tools. When trying to reverse engineer a database I keep getting the error "HRESULT 0x80070057 E_INVALIDARG". Test connection was successful, though.
Any ideas how to fix this?

by ben555 | October 24 2012

Just get the error: "Sequence contains no matching element".

by RambleC | October 18 2012

I'm unable to reverse engineer against a database that (very sadly) has a hyphenated name. I keep getting the error "The modelEntityContainerName parameter 'xxx-xxxContext' contains characters that are not valid". Is there any way to fix this? I sure could get some use out of this tool if there was! Oh, and believe me, I'm not the one who hyphenated the database name originally! Thanks, Landon

by KorLibrary | October 14 2012

Until this product supports Visual Basic projects, it is pointless to make it available.

To the Entity Framework Team:

The squiggly character crowd are not the only people developing applications out here. A huge swath of us are VB.Net developers.

Stop ignoring us!

PLEASE provide tools which support Visual Basic FIRST. Then...maybe (MAYBE!)...one or more of the squiggly character languages.

by Vairam V | October 11 2012

Generate Views: Generates select statements with Pluralized table name inspite of setting Plurarlize New Objects = false in Model First.

In Code First: Ignored the fact that the entities where reverse engineered from singular named tables and generates in view with pluralized tables.

also reverse engineer mapping template code line
storeProp.TypeUsage.Facets.SingleOrDefault(f => f.Name == "StoreGeneratedPattern") always returns null and hence identity columns are not marked as identity.
This libraries preview ctp came out around may 2011 and it is 1 1/2 years and is still in beta, doesn't support entities based on view and buggy.

by Heribert Pfeiffer | October 08 2012

by joeLopez | October 03 2012

Only problem I have is the inability to select the tables for which to generate POCO classes. All tables are processed so you have to delete the ones you don't want.

by YallaYalla | October 01 2012

Keep getting "The modelEntityContainerName parameter '162753-mydbContext' contains characters that are not valid."

by JLSF | October 01 2012

Visual Studio 2012 with nuget installed Power tools.

from Context menu over the class generated inherited from DBContext the option "View entity Data model" gives:

a no implemented exception

Tx

by zmbq17 | September 27 2012

I've installed Beta 2 on a Windows 7 64-bit machine with Visual Studio 2010 SP1 and SQL Server 2012. After installation, the Server Explorer couldn't connect to the database, complaining that only versions up to SQL Server 2008 are supported.

Uninstalling PowerTools solved the problem, but left me without PowerTools...

by saber soleymani | September 26 2012

Eugenio,
I've same problem:
System.InvalidOperationException: This operation requires a connection to the 'master' database. Unable to create a connection to the 'master' database because the original database connection has been opened and credentials have been removed from the connection string. Supply an unopened connection. ---> System.Data.SqlClient.SqlException: Login failed for user 'sa'.

And I'm sure the Login info for 'sa' is correct, because in connection wizard, Test Connection is OK.

UPDATE
-----------------
found the solution here:
http://stackoverflow.com/questions/4324052/ef4-code-first-causes-invalidoperationexception

In connection wizard, Advanced should be clicked and the value of Persist Security Info should be True.

101 - 120 of 152 Items