94 results found
-
Generate LinQ Code out of SQL Statement
Having the posibility to Enter "normal" SQL Code and out of this, generate the right LinQ Code.
3 votes -
"Recreate Database Tables"
I develop model first with Entity Developer. When starting a new project, its nice to use the "Recreate Database Tables" option in the "Update to database wizard". But, when the program is live, this option is DANGEROUS and can delete the tables in the database.
It would be nice, at some point, to go to the model settings and disable this checkbox so that it cannot accidently be clicked out of habit.
Aaron
3 votes -
Ability to use custom types as template extended properties
I created a class to use as a property type in my template. When used as template property:
<#@ property name="TestProp" type="MyPropType"#>
everything is fine. But if I use it as extended property:
<#@ extended name="TestProp" type="MyPropType" owner="Class" #>
it doesn't work. I can see the property in property inspector, but it's not functional.Example property type:
[TypeConverter(typeof(ExpandableObjectConverter)), DataContract] public class MyPropType: NotifiedPropertyObjectBase {......
[Browsable(true), DefaultValue(true), RefreshProperties(RefreshProperties.Repaint), DisplayName("Write"), Description("Read.")]
public bool Write { get; set; }....
3 votes -
EntitySet Pluralization: Add suffix
Add option 'Add suffix' to 'EntitySet Pluralization'
3 votes -
2 votes
-
Generate sql to multiple dbms
It would be nice to be able to generate SQL script from the model for multiple databases. Currently it is possible to replace the models connection, but having the option of choosing a target "dbms type" upon generation would allow us to discard external modelling tools.
The ideal solution would contain multiple relational models to control type mappings etc, but it would probably suffice with an option as described above.
2 votes -
Add support for organization based on name space in Entity Developer and Visual Studio integration
As the entity model grows, it makes it more difficult to see the namespace organization of the classes in both Entity Developer and Visual Studio. Add support for:
a) a namespace visual hierachy in Entity Developer. This can be either in the existing Class tree view or another tree view called Namespaces.
b) Generating and presenting CSharp code in visual studio based on the namespace hierarchy. This includes both the files on disk and the visual presentation under the hbml (or other) file in Visual Studio.
c) Knowing the root namespace defined in the model properties and organizing classes relative…2 votes -
Auto assign Version=true for NHibernate
I think it can be easy for the software, when using the NHibernate templaes, to automatically recognize if a property is the "version" for a table when the db field is named "version" and its type is "int".
2 votes -
Default NHibernate filter
I think it would be really useful to implement a property to set a default NHibernate filter for all the classes,
maybe just below the "Filters" under the "General" section of the "Classes" node or maybe directly in the "Filters
editor" dialog.2 votes -
Use current context transaction if exist for methods
When methods are generated within a C# context, SqlCommand is created without using its current context transaction if existing.
While it is possible manually change this in the template, should it not be either defaulted, or optional with a property set on the method in Entity Developer?using (DbCommand cmd = connection.CreateCommand())
{
if (this.Database.GetCommandTimeout().HasValue)
cmd.CommandTimeout = this.Database.GetCommandTimeout().Value;
cmd.CommandType = CommandType.StoredProcedure;
cmd.CommandText = @"...";DbTransaction currentTransaction = this.Database.CurrentTransaction?.GetDbTransaction(); if (currentTransaction != null) { // The command is now explicitly enlisted in the DbContext's active transaction. cmd.Transaction = currentTransaction; }...
1 vote -
Support generating EF Core & EF 6 from same model
As EF Core gains traction there must be millions of developers out there faced with migrating EF frameworks while supporting existing .NET Framework projects. To be able to define a data model and then generate both EF Core and EF 6 configuration & contexts would be amazing.
1 vote -
Associations duplicates
When there is a duplicity in an association
FKTableATableB (TableBId = TableBId)
FKTableATableB_Another (TableBId = TableBId)It doesn't have an impact but the Entity Developer could change for the error to be fixed.
1 vote -
1 vote
-
All changing the appsettings.json filename where the connection string is saved
At a minimum allow us to specify something other than appsettings.json. In the case where multiple projects have hardcoded references to appsettings conflicts occur. (In regards to any .NET EF project).
1 vote -
enable to Filter by Stacktrace and/or Thread in DbMonitor
Debugging a multithreaded Ado.NET/EntityFramework application with DbMonitor is easier than without, but threads get mixed in the log and it's not possible to filter for a given thread (or I don't know how).
One of the (or probably both) following features would help to make this much easier:
1) Allow to Filter by StackTrace content: If I know which thread I am interested in I usually know the entrypoint method, which is a line in the stacktrace. As DbMonitor knows the stacktrace of any line t logs, filtering by stacktrace content would help to support this and probably additional usecases…
1 vote -
displayName-attribute for extended properties in code generator
If I define an extended property with name "GetAllEntitiesControllerAllowedForRoles" this is shown in IDE as "Get All Entities Controller Allowed For Roles" but I would like it to be shown as "GetAllEntities-Controller allowed for which roles". So it would be nice to have a displayName-attribute like in "normal" properties.
1 vote -
Customise private properties in generated classes
My company uses a standard naming convention for private variables in classes which is different to the format produced by your product. It appears one cannot change this format from the layout eg '_MyPrivateVariable' to 'myPrivateVariable'. We use camel case for private variable declarations. I notice that there isn't an option for camel case at all. My recourse at the moment is to hand edit all the class files or develop a script to do this.
1 vote -
Improve the most-recently-used file list
Currently, there are two things missing from the most recently used file list.
1. You cannot remove an entry without modifying the Windows Registry. In Visual Studio you can right-click and remove.- It is missing duplicate checking. If I open the same file twice, I get two copies in the list.
1 vote -
Create (materialized) Views via Entity Developer/Model
A View in Database Terms is a predefined, "constant" query generating something that behaves nearly identical to a table.
In contrast what Entity Developer calls a "view" is a query that is hard-coded into the Client side application code, sent to the database repeatingly and interpreted from scratch each time the applications accesses the database using that view.
This brings a few drawbacks:
1) A view query may be quite complex. A Database Engine might keep track of executions of that query and optimize it. This might be easier or even possible on views as the view is a known,…1 vote -
Attribute designer
The Attribute Dialog (where you can add and edit custom attributes for Entities or fields) Shows value Editors as single-line Input field only. For longer values a multi-line Input field would be great to have to be able to see the complete Content.
1 vote
- Don't see your idea?