GitXplorerGitXplorer
r

DapperPlus

public
0 stars
0 forks
1 issues

Commits

List of commits on branch main.
Verified
3acc57d7009cacf7597ec77fa86751d060ff480a

Update README.md

rraminrahimzada committed 4 years ago
Verified
699f2da55d4d7a1be1c199d8bcc77850b8ffbb2b

first commit

rraminrahimzada committed 4 years ago

README

The README file for this repository.

This is my fun project

The main purpose of this project is to write something like that

 public interface IUserService
    {
        [Sql("select * from Users where Id=@id")]
        UserDTO GetUser(Guid id);
        
        [Sql("select * from Users")]
        IEnumerable<UserDTO> GetUsers();

        [Sql("insert into Users values (@Id,@Name)")]
        void NewUser(UserDTO user);
    }

and in compile time library should generate its implementations without asking me anything

//This  class should be generated on compile time
public partial class UserServiceImplementation : IUserService
{
  ...

Project is still development. You can see currently generated code in here

Feel free to suggest anything interesting