Git Product home page Git Product logo

Comments (10)

natiki avatar natiki commented on July 19, 2024 1

How is it on the backlog when this case is closed? :-)

from querybuilder.

ahmad-moussawi avatar ahmad-moussawi commented on July 19, 2024

Hi, do you have any suggestion on what needed exactly ?

from querybuilder.

natiki avatar natiki commented on July 19, 2024

Hi @ahmad-moussawi,

  • Support for both SP's that don't return results, do return results, return multiple datasets as part of their results
  • Ability to easily compose a stored proc call which mainly comprises adding parameters and values so something like:
var fastCarsStoredProc = new StoredProc("usp_FastCars")
    .Param("Param1", 120)
    .Param("Param2", 120, dirOut)   //Enum for directionality of params

Perhaps taking some insights from https://github.com/StackExchange/Dapper#stored-procedures

from querybuilder.

ahmad-moussawi avatar ahmad-moussawi commented on July 19, 2024

Now you can execute stored procedure using the QueryFactory.Statement method

db.Statement("exec procname ?", new object[] {"param1"});

from querybuilder.

natiki avatar natiki commented on July 19, 2024

@ahmad-moussawi Ummmm that will work, but is basic string replace ;-). So you are planning to add proper support for Stored Procs?

from querybuilder.

ahmad-moussawi avatar ahmad-moussawi commented on July 19, 2024

@natiki, sorry my experience with Stored Procedure is limited, can you lists the features that you want to be added ? if yes do you a PR for them ?

from querybuilder.

natiki avatar natiki commented on July 19, 2024

@ahmad-moussawi see #52 (comment) and my suggestion to use the Dapper approach for the API.

from querybuilder.

natiki avatar natiki commented on July 19, 2024

@ahmad-moussawi This really needs to be added back as a feature..... Being able to execute stored procedures, functions is a must have to make this library useful ;-)

from querybuilder.

ahmad-moussawi avatar ahmad-moussawi commented on July 19, 2024

@natiki, thanks for your feedback, but currently it's not on the priority list, I will keep it in the BackLog for now

from querybuilder.

chadkuehn avatar chadkuehn commented on July 19, 2024

Listed in the docs now.

from querybuilder.

Related Issues (20)

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.