GitXplorerGitXplorer
r

DapperPlus

public
0 stars
0 forks
1 issues

Commits

List of commits on branch main.

No commits found

There are no commits on branch main.

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