Questions tagged [ef-power-tools]

For issues relating to the EF Power Tools.

EF Power Tools is used for reverse engineering and generating read-only entity data model for code-first.

Resources:

67 questions
2
votes
1 answer

ef power tools beta 4 not showing entityframework context menu

I have installed entity framework power tools beta 4 but can't see the entity framework in context menu after right clicking on project. I have Visual Studio 2013 Web Express Edition installed. Please advise if someone faced a similar…
krishnakumar
  • 617
  • 1
  • 6
  • 22
2
votes
0 answers

EF Power Tools Beta 4 documentation

I can't seem to find much documentation for the code that Power Tools Beta 4 generates. I'm particularly interested in how to modify the code when new table fields are added, and how to add relationships. Where can I find a description of all the…
cmh2001
  • 23
  • 1
  • 7
2
votes
2 answers

Adding another t4 template to Reverse Engineer Code First process

I'm using Entity Framework Power Tools Reverse Engineer Code First to generate my poco classes, mapping files, and context from the database. I would also like for this process to create my base partial Validation classes for each entity. I am fine…
Mike Cole
  • 14,474
  • 28
  • 114
  • 194
2
votes
1 answer

PowerTools Beta 3 fails

I was trying to generate "views" to enhance the performance of my application. The application is Silverlight 4 linked with RIA services to the Server. The server application started with EF 4.1 + RIA Services. I installed "EF Power Tools Beta 3…
Kefir
  • 21
  • 1
2
votes
1 answer

Start-up Performance Issues with Entity Framework, SQL Server CE 4.0 and Code First

I am using Entity Framework (EF) 5.0, Code First approach, and SQL Server CE 4.0 database in my application. However, I am facing a major performance problem on application start-up. I searched on the Internet and found this article which explains…
1
vote
2 answers

.NET 7 console application using EF Core 7 why no OnConfiguring?

I built a database first .NET 7 and EF Core 7 application and used the EF Power Tools to create the context and model classes. I keep reading about OnConfiguring() being in the context class. I only have OnModelCreating()? What did I do…
AeroClassics
  • 1,074
  • 9
  • 19
1
vote
0 answers

EF Core Power Tools: Missing setter for collections

Is there a way to have the EF Core Power Tools create setters for collections, like so: class Parent { // ... public virtual ICollection Children { get; } // Setter is missing } The setter would be extremely useful with…
1
vote
1 answer

How can i use SQL Server Functions with EF Core Power Tools

I am using EF Core Power Tools in my asp.net web application. After using it for a long time for my models and procedures, I wanted to use it for my existing database functions. I loaded the functions in the same way as the procedures and models in…
1
vote
1 answer

Can't install powertools on RHEL 8.5

I'm new to Linux and I'm trying to setup my RHEL 8.5 VM machine. NAME="Red Hat Enterprise Linux VERSION="8.5 (Ootpa) I'm trying to install some scripts for course, and it is giving an error that PowerTools can't be found No matching repo to modify:…
Ashraf Fouad
  • 65
  • 1
  • 8
1
vote
0 answers

How to downgrade EF power tools?

I had EF power tool extension installed in VS 2019. Recently it was auto upgraded to latest version to 2.5.649. I have .NET Core 2.2 application that is using microsoft.entityframeworkcore.sqlserver 2.2.6 I am trying to use reverse engineering to…
LP13
  • 30,567
  • 53
  • 217
  • 400
1
vote
0 answers

EF Core Power Tools generate models in a different project

I'm working with a gigantic database and have my Entities in a project of its own, separate from the DB Project. EF Core Power Tools gives the option of naming the place where your models will be added to once generated, is there any way that it…
Tony
  • 11
  • 4
1
vote
1 answer

Entity Framework Core 5 tries to insert value for computed column

Using Entity Framework 5 and EF Core Power Tools (whith the setting to generate ef 5 code enabled) we get something like the following code generated for each computed column: ...HasComputedColumnSql("([LastName]+isnull(' '+[FirstName],''))",…
1
vote
1 answer

EF Core Power Tools Reverse engineer create different attributes on model on different SQL servers

I'm using EF Core Power Tools to generate my model by choosing EF Core Power Tools -> Reverse Enegineer within Visual Studio .Net. I'm still using EF Core 2.x, so I remove the checkmark from the first dialog where you can choose to use EF Core…
Brian B.
  • 13
  • 1
  • 5
1
vote
1 answer

Reverse engineer my models using EF Core Power tools issues

I am creating an app and deciding to use EF 6. I've only used EF Core up until now. I want to do database first and use the EF 6 power tools. However, when I download the EF 6 power tools and install it, I see an entry in Visual Studio showing EF…
mo_maat
  • 2,110
  • 12
  • 44
  • 72
1
vote
0 answers

Uninstalling EF Powertools from VS 15

How can I uninstall EF Powertools from Visual Studio 15? I wanted to do this because I cant view entity framework menu when I right clicked. So I thought of installing EF Power tools again
Rao Adnan
  • 1,597
  • 12
  • 19