c# - Dapper Dynamic binding -


so far here's have done

  public void create(t entity)     {         using (idbconnection cn = connection)         {             var parameters = (object)mapping(entity);             cn.open();             entity.id = cn.insert<guid>(_tablename, parameters);         }     } 

and want way auto map passing entity properties sql parameters

thanks


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -