question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Proposal: Can we have an Identical Tool that is not bound to EF?

See original GitHub issue

Hi @ErikEJ , hope your day went well. The tools you developed is very awesome and thank you for this. It is a great help to the community.

You know, I am also an OSS contributor and is maintaining a Micro-ORM that is open for .NET Community and such tool is an alternative to EF as we speak. Though, I am also thinking to build the similar tools you had created for the EF Core, but it seems appropriate to just instead tap you and collaborate with you the desired tools we are trying to build.

It is also an option to combine the knowledge to develop such tools.

Proposal

We would like to propose if you can create a tool that is dedicated to an ORM that is of micro-ORM kind. Such tool should address the case if the .NET community uses the Dapper or RepoDB ORM as an alternative to EF. We saw that there is a lot of users who will gonna use such tool. In the case of Dapper, see the statistics of the downloads here. This is a testament that the .NET community has a lot of use-case outside the coverage of EF itself.

Therefore, I am personally thinking that, it is good if YOU can cover this well.

Disclaimer

The current tool you had develop can also address the use-case, but the end-user needs to tweak the template by using the handle bars and simply eliminating all the EF related stuffs.

Benefits

It much easier and direct to the end-users if the tool is not bound to EF, in the case of users that are using the other ORM. The tool you developed has the code base that is well tested and might be easy to port to a new Project/Solution and create such new thing - with a different target users. We can leverage on that maturity and well-tested functionality by the community.

How Should It Be?

To start with:

There should be an additional context menu like below.

PowerTools -> Generate Schema/Reverse Engineer

Keeping it as simple as possible, you can just eliminate all the DbContext related thing.

image

Connection Screen:

Just an enhancement, not really needed. There should be remove button on this page.

image

Selection Screen:

It is good if we can as well consider the columns?

image

Generate Screen:

In the generate screen, only the following is present.

  • Namespace
  • Entity Types
  • Sub-Namespaces
  • What to Generate (EntityTypes = Table, Views)
    • It is also good if there is an option to select the columns to generate per table (only if needed)
  • Data annotation attributes
  • Connection string

image

Note: The relationship must also be an option, though this can be done via template as well. But it is really good if we can control it in UI.

Advance Screen:

The following should only be present.

  • Map spatial types
  • Map Noda Time types

image

When OK is clicked:

The following folders will be created.

  • EntityType

image

All of the the DB Contexts related thing will be eliminated on the generation.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:26 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
ErikEJcommented, Jan 20, 2021

I will implement both, and add two options for now.

1reaction
sm15455commented, Jan 20, 2021

@sm15455 #692 is related to this, I guess?

Yes. Waiting for the end of the month to start working on that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Conformational Changes of Elongation Factor G on the ...
The universally conserved GTPase elongation factor G (EF-G) catalyzes the translocation of transfer RNA (tRNA) and messenger RNA (mRNA) on the ribosome ...
Read more >
EF Core 2.1 vs NHibernate 5.1: DDD perspective
The current implementation (2.1) relies on dynamic proxies, just as EF4, EF5, EF6, and NHibernate do. Which means the underlying class is not...
Read more >
EXECUTIVE FUNCTION MAPPING PROJECT
Understanding EF and regulation-related skills according to their complexity helps stakeholders to design programs and strategies that support the development ...
Read more >
Proposal & Award Policies & Procedures Guide
This certification will be included in both SciENcv and the. NSF fillable format for proposals submitted or due on or after January 30,...
Read more >
On the relation between theory of mind and executive ...
Theory of mind (ToM) and executive functioning (EF) show marked interrelatedness across childhood, and developmental psychologists have long ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found