Questions tagged [edmgen]
25 questions
0
votes
1 answer
Illegal characters in class names
Possible Duplicate:
What characters are allowed in C# class name?
I'm using edmgen to dynamically create classes from my database. But it seems like some of the characters in table names are considered illegal and are converted to _ (e.g. table…

Kamyar
- 18,639
- 9
- 97
- 171
0
votes
0 answers
EdmGen not supporting .Net Framework version 4.7.2
EdmGen.exe is not supporting targetversion 4.7.2.
Exception thrown as "error 7025: Only .NET Framework version 4 and 4.5 are supported. To use another version use the tools that shipped with that version."
To the best of my knowledge there is…

Rajesh P
- 11
- 1
- 3
0
votes
0 answers
How to generate dbContext and entities without visual studio for Postgres and MSSQL?
I need to generate dbContext and entities without visual studio for Postgres and MSSQL.
I tried to use edmgen.exe, but it's create ObjectContext, not DbContext. And it's not work with Postgres.
How I can do it?

gado
- 33
- 1
- 7
0
votes
0 answers
.Net api for generating entity framework models from database
Does the entity framework provides an API for .net (c#) to generate models from an existing database? I don't want to use EdmGen.exe, because a direct integration would be nice.
Maybe even the code which is used by the EdmGen.exe provides some…

BendEg
- 20,098
- 17
- 57
- 131
0
votes
1 answer
Error reached after genereated entity framework classes by edmgen tool
First I read this question, but this knowledge did not help to solve my problems.
In initial I've created edmx file by Visual Studio. Generated files with names:
uqsModel.Designer.cs
uqsModel.edmx
This files are located on App_Code folder.
And my…

loviji
- 12,620
- 17
- 63
- 94
0
votes
1 answer
EF6 don't use pre-generated views
I've pregenerated views using this instruction: http://msdn.microsoft.com/en-us/library/vstudio/bb896240(v=vs.100).aspx
and already have Model.Views.cs file in my project with my context and all entities.
The problem is that these views are not used…

astef
- 8,575
- 4
- 56
- 95
0
votes
2 answers
Process.Start() edmgen
after clicking on button in asp.net application process.start() runs edmgen tool with arguments. And I catch error :
var cs =ConfigurationManager.ConnectionStrings["ApplicationServices"].ConnectionString;
string myArgs="/mode:fullgeneration…

loviji
- 12,620
- 17
- 63
- 94
0
votes
1 answer
generate only objectLayer of Entity Framework Model by edmgen tool
How to generate only objectLayer by edmgen tool, without generating csdl, ssdl and views ?
"%windir%\Microsoft.NET\Framework\v4.0.30319\edmgen.exe"
/mode:fullgeneration /c:"Data
Source=.\sqlexpress; Initial
Catalog=uqs; Integrated…

loviji
- 12,620
- 17
- 63
- 94
0
votes
2 answers
generate EF model by System.Diagnostics.Process
after read this article i tried generate EF model by System.Diagnostics.Process:
Process myProcess = new Process();
var cs = "Data Source=.\\SQLEXPRESS; Initial Catalog=uqs; Integrated Security=SSPI";
myProcess.StartInfo.FileName =…

loviji
- 12,620
- 17
- 63
- 94
0
votes
1 answer
"Update Model" Wizard does not work with Npgsql and visual studio 2013 EntityFramework
Presently we use Visual Studio 2012, EF 5.0 and Npgsql 2.0.12.0.
I'd like to upgrade to Visual Studio 2013 and Npgsql 2.0.14.3 (I'm fine with EF 5.0 for now).
Presently we use the "Update Model" wizard which takes any changes in the schema and feeds…

sevzas
- 701
- 2
- 5
- 13