Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make SqlBuilder.cs a standalone file #30

Closed
iyilm4z opened this issue Dec 31, 2014 · 1 comment
Closed

Make SqlBuilder.cs a standalone file #30

iyilm4z opened this issue Dec 31, 2014 · 1 comment
Assignees
Milestone

Comments

@iyilm4z
Copy link

iyilm4z commented Dec 31, 2014

Dear Max Toro,
I use Dapper as my Micro ORM Tool as you already familiar with it. After a while it made me bored to build raw sql queries also i wanted to do something better with building Sql queries and thats why i looked for a Sql Builder Framework and i found your implementation as best Sql Builder. My problem is i just want to use your SqlBuilder.cs file by importing it to my project as file not using nuget package, because i want to see whats going on behind the scenes by debugging. I copied and pasted your SqlBuilder.cs class to my project and i realized that it has dependencies on another class which you named DbExtentions.cs. SqlBuilder.cs class needs Mapper class in DbExtentions.cs like below code line

internal static IEnumerable Map(Func<SqlBuilder, IDbCommand> queryToCommand, SqlBuilder query, Mapper mapper, TextWriter logger)

I actually want you to make SqlBuilder.cs class has no dependecies and can be useable like Dapper as single file. Also i dont wanna import classes that i dont need to use like other classes(wish i could but its a bit late) Its actually possible to copy and paste the scripts from DbExtentions.cs class to SqlBuilder.cs class but i thought maybe you have better solution because you are the professionel and i'm just a copy-paste master:)

Thanks for sharing your this perfect codes with us..

@maxtoroq maxtoroq changed the title Not An Issue Just A Request Make SqlBuilder.cs a standalone file Dec 31, 2014
@iyilm4z
Copy link
Author

iyilm4z commented Jan 1, 2015

Dear Sir,
Thanks for fast reply, I am really appreciated, now it's just an awesome framework, keep making us happier..:)

@maxtoroq maxtoroq added this to the vNext milestone Jan 17, 2015
@maxtoroq maxtoroq self-assigned this Jan 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants