Santosh Sasupalli

Santosh Sasupalli

  • NA
  • 181
  • 25.2k

database usin dapper

Sep 7 2016 4:47 AM
List&lt;AgentTypeEntity&gt; A = new List&lt;AgentTypeEntity&gt;();<br /> <br /> try<br /> {<br /> A.AddRange(con.Query&lt;AgentTypeEntity&gt;("GetAgentTypes", param: null, commandType: CommandType.StoredProcedure).AsList());<br /><div> }</div><div>&nbsp;</div><div>&nbsp;</div><div>&nbsp;</div><div>inthat above code any wrong... inlist A have null value how to read using dapper</div><div>thanks in advance</div>

Answers (2)