Git Product home page Git Product logo

edmxsourcegenerator's People

Contributors

arahaan avatar

Stargazers

 avatar

Watchers

 avatar

edmxsourcegenerator's Issues

Add support for generating metadata interfaces.

Sometimes people create special interfaces for specific types to get those specific get only (or sometimes get & set) that basically forwards database mapped columns to an alias or even other use cases as well.

Goals:

  • The generated code would then now define the interfaces for the user inside of MetaData.yml provided in the user's project file.
  • That generated code can then optionally be added to the classes defined in MetaData.yml under a new section (Inherits) that will add such interfaces.
  • The interfaces do not have to be generated either, for example if one has in their MetaData.yml file for an "Account" one can use the ASP.NET Identity IUser<T> interface as well (where T is the type of the primary key in the database).

Pros:

  • People who place said Metadata attributes on database types generated by the source generator would no longer need a dedicated C# code file specifically for that freeing up some of the burden of manually maintaining said code.
  • No longer need to manually write any metadata for any future database entries either.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.