Dapper.How can the query be taken from external source -


in dapper orm when write sql query can possible take query external source xml file.

query or sp dapper run time parameter, can fetched of relevant source, xml files, config file, database or other relevant source, let's assume config file

string sql = configurationmanager.appsettings["querykey"].tostring()

use sql dapper execution

conn.query<t>(sql) 

Comments

Popular posts from this blog

1111. appearing after print sequence - php -

node.js - Express and Redis - If session exists for this user, don't allow access -

excel - I can't get the attachement of the email PHP -