GithubHelp home page GithubHelp logo

Comments (6)

phnx47 avatar phnx47 commented on May 13, 2024

Yes, of course. What are the specific issues? I can send my code examples.

from dapper-repositories.

tiandao-dongguan avatar tiandao-dongguan commented on May 13, 2024

first ,thank you very much for replay , in my application, there are many oracle storeprocedure and sqlserver storeprocedure. most oracle storeprocedure return sys_refcursor with output,another storeprocedure is crud operation . I find some code in github ,like this :
public T ProcQuery(string procName, OracleDynamicParameters parameters)
{
using (var sqlConnection = new OracleConnection(connectionString))
{
sqlConnection.Open();
return sqlConnection.Query(procName, parameters, commandType: CommandType.StoredProcedure).FirstOrDefault();
}
}
I want to use MicroOrm.Dapper.Repositories,but I don't konw how to implement it .if you can give some example with MicroOrm.Dapper.Repositories,I think this is very dood.

from dapper-repositories.

phnx47 avatar phnx47 commented on May 13, 2024

Right now I don't support stored procedures for CRUD. I use my SqlGenerator. But you can extend or ovverride my methods. Next week, I'll try to come up with something for procedures

from dapper-repositories.

tiandao-dongguan avatar tiandao-dongguan commented on May 13, 2024

OK,thank you very much for replay.

from dapper-repositories.

BootsShu avatar BootsShu commented on May 13, 2024

现在我不支持CRUD的存储过程。我使用我的SqlGenerator。但是你可以扩展或改变我的方法。下周,我会尝试为程序提出一些建议

Does the current dapper repository support the execution of stored procedures?
This dapper warehouse is great. I like it very much!
Hail to the great author!

from dapper-repositories.

phnx47 avatar phnx47 commented on May 13, 2024

@BootsShu Not any plans with stored procedures. Use Dapper directly for this

from dapper-repositories.

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.