Dapper.xml 161 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690
  1. <?xml version="1.0"?>
  2. <doc>
  3. <assembly>
  4. <name>Dapper</name>
  5. </assembly>
  6. <members>
  7. <member name="T:Dapper.CommandDefinition">
  8. <summary>
  9. Represents the key aspects of a sql operation
  10. </summary>
  11. </member>
  12. <member name="P:Dapper.CommandDefinition.CommandText">
  13. <summary>
  14. The command (sql or a stored-procedure name) to execute
  15. </summary>
  16. </member>
  17. <member name="P:Dapper.CommandDefinition.Parameters">
  18. <summary>
  19. The parameters associated with the command
  20. </summary>
  21. </member>
  22. <member name="P:Dapper.CommandDefinition.Transaction">
  23. <summary>
  24. The active transaction for the command
  25. </summary>
  26. </member>
  27. <member name="P:Dapper.CommandDefinition.CommandTimeout">
  28. <summary>
  29. The effective timeout for the command
  30. </summary>
  31. </member>
  32. <member name="P:Dapper.CommandDefinition.CommandType">
  33. <summary>
  34. The type of command that the command-text represents
  35. </summary>
  36. </member>
  37. <member name="P:Dapper.CommandDefinition.Buffered">
  38. <summary>
  39. Should data be buffered before returning?
  40. </summary>
  41. </member>
  42. <member name="P:Dapper.CommandDefinition.AddToCache">
  43. <summary>
  44. Should the plan for this query be cached?
  45. </summary>
  46. </member>
  47. <member name="P:Dapper.CommandDefinition.Flags">
  48. <summary>
  49. Additional state flags against this command
  50. </summary>
  51. </member>
  52. <member name="P:Dapper.CommandDefinition.Pipelined">
  53. <summary>
  54. Can async queries be pipelined?
  55. </summary>
  56. </member>
  57. <member name="M:Dapper.CommandDefinition.#ctor(System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType},Dapper.CommandFlags,System.Threading.CancellationToken)">
  58. <summary>
  59. Initialize the command definition
  60. </summary>
  61. <param name="commandText">The text for this command.</param>
  62. <param name="parameters">The parameters for this command.</param>
  63. <param name="transaction">The transaction for this command to participate in.</param>
  64. <param name="commandTimeout">The timeout (in seconds) for this command.</param>
  65. <param name="commandType">The <see cref="P:Dapper.CommandDefinition.CommandType"/> for this command.</param>
  66. <param name="flags">The behavior flags for this command.</param>
  67. <param name="cancellationToken">The cancellation token for this command.</param>
  68. </member>
  69. <member name="P:Dapper.CommandDefinition.CancellationToken">
  70. <summary>
  71. For asynchronous operations, the cancellation-token
  72. </summary>
  73. </member>
  74. <member name="T:Dapper.CommandFlags">
  75. <summary>
  76. Additional state flags that control command behaviour
  77. </summary>
  78. </member>
  79. <member name="F:Dapper.CommandFlags.None">
  80. <summary>
  81. No additional flags
  82. </summary>
  83. </member>
  84. <member name="F:Dapper.CommandFlags.Buffered">
  85. <summary>
  86. Should data be buffered before returning?
  87. </summary>
  88. </member>
  89. <member name="F:Dapper.CommandFlags.Pipelined">
  90. <summary>
  91. Can async queries be pipelined?
  92. </summary>
  93. </member>
  94. <member name="F:Dapper.CommandFlags.NoCache">
  95. <summary>
  96. Should the plan cache be bypassed?
  97. </summary>
  98. </member>
  99. <member name="T:Dapper.CustomPropertyTypeMap">
  100. <summary>
  101. Implements custom property mapping by user provided criteria (usually presence of some custom attribute with column to member mapping)
  102. </summary>
  103. </member>
  104. <member name="M:Dapper.CustomPropertyTypeMap.#ctor(System.Type,System.Func{System.Type,System.String,System.Reflection.PropertyInfo})">
  105. <summary>
  106. Creates custom property mapping
  107. </summary>
  108. <param name="type">Target entity type</param>
  109. <param name="propertySelector">Property selector based on target type and DataReader column name</param>
  110. </member>
  111. <member name="M:Dapper.CustomPropertyTypeMap.FindConstructor(System.String[],System.Type[])">
  112. <summary>
  113. Always returns default constructor
  114. </summary>
  115. <param name="names">DataReader column names</param>
  116. <param name="types">DataReader column types</param>
  117. <returns>Default constructor</returns>
  118. </member>
  119. <member name="M:Dapper.CustomPropertyTypeMap.FindExplicitConstructor">
  120. <summary>
  121. Always returns null
  122. </summary>
  123. <returns></returns>
  124. </member>
  125. <member name="M:Dapper.CustomPropertyTypeMap.GetConstructorParameter(System.Reflection.ConstructorInfo,System.String)">
  126. <summary>
  127. Not implemented as far as default constructor used for all cases
  128. </summary>
  129. <param name="constructor"></param>
  130. <param name="columnName"></param>
  131. <returns></returns>
  132. </member>
  133. <member name="M:Dapper.CustomPropertyTypeMap.GetMember(System.String)">
  134. <summary>
  135. Returns property based on selector strategy
  136. </summary>
  137. <param name="columnName">DataReader column name</param>
  138. <returns>Poperty member map</returns>
  139. </member>
  140. <member name="T:Dapper.DbString">
  141. <summary>
  142. This class represents a SQL string, it can be used if you need to denote your parameter is a Char vs VarChar vs nVarChar vs nChar
  143. </summary>
  144. </member>
  145. <member name="P:Dapper.DbString.IsAnsiDefault">
  146. <summary>
  147. Default value for IsAnsi.
  148. </summary>
  149. </member>
  150. <member name="F:Dapper.DbString.DefaultLength">
  151. <summary>
  152. A value to set the default value of strings
  153. going through Dapper. Default is 4000, any value larger than this
  154. field will not have the default value applied.
  155. </summary>
  156. </member>
  157. <member name="M:Dapper.DbString.#ctor">
  158. <summary>
  159. Create a new DbString
  160. </summary>
  161. </member>
  162. <member name="P:Dapper.DbString.IsAnsi">
  163. <summary>
  164. Ansi vs Unicode
  165. </summary>
  166. </member>
  167. <member name="P:Dapper.DbString.IsFixedLength">
  168. <summary>
  169. Fixed length
  170. </summary>
  171. </member>
  172. <member name="P:Dapper.DbString.Length">
  173. <summary>
  174. Length of the string -1 for max
  175. </summary>
  176. </member>
  177. <member name="P:Dapper.DbString.Value">
  178. <summary>
  179. The value of the string
  180. </summary>
  181. </member>
  182. <member name="M:Dapper.DbString.AddParameter(System.Data.IDbCommand,System.String)">
  183. <summary>
  184. Add the parameter to the command... internal use only
  185. </summary>
  186. <param name="command"></param>
  187. <param name="name"></param>
  188. </member>
  189. <member name="T:Dapper.DefaultTypeMap">
  190. <summary>
  191. Represents default type mapping strategy used by Dapper
  192. </summary>
  193. </member>
  194. <member name="M:Dapper.DefaultTypeMap.#ctor(System.Type)">
  195. <summary>
  196. Creates default type map
  197. </summary>
  198. <param name="type">Entity type</param>
  199. </member>
  200. <member name="M:Dapper.DefaultTypeMap.FindConstructor(System.String[],System.Type[])">
  201. <summary>
  202. Finds best constructor
  203. </summary>
  204. <param name="names">DataReader column names</param>
  205. <param name="types">DataReader column types</param>
  206. <returns>Matching constructor or default one</returns>
  207. </member>
  208. <member name="M:Dapper.DefaultTypeMap.FindExplicitConstructor">
  209. <summary>
  210. Returns the constructor, if any, that has the ExplicitConstructorAttribute on it.
  211. </summary>
  212. </member>
  213. <member name="M:Dapper.DefaultTypeMap.GetConstructorParameter(System.Reflection.ConstructorInfo,System.String)">
  214. <summary>
  215. Gets mapping for constructor parameter
  216. </summary>
  217. <param name="constructor">Constructor to resolve</param>
  218. <param name="columnName">DataReader column name</param>
  219. <returns>Mapping implementation</returns>
  220. </member>
  221. <member name="M:Dapper.DefaultTypeMap.GetMember(System.String)">
  222. <summary>
  223. Gets member mapping for column
  224. </summary>
  225. <param name="columnName">DataReader column name</param>
  226. <returns>Mapping implementation</returns>
  227. </member>
  228. <member name="P:Dapper.DefaultTypeMap.MatchNamesWithUnderscores">
  229. <summary>
  230. Should column names like User_Id be allowed to match properties/fields like UserId ?
  231. </summary>
  232. </member>
  233. <member name="P:Dapper.DefaultTypeMap.Properties">
  234. <summary>
  235. The settable properties for this typemap
  236. </summary>
  237. </member>
  238. <member name="T:Dapper.DynamicParameters">
  239. <summary>
  240. A bag of parameters that can be passed to the Dapper Query and Execute methods
  241. </summary>
  242. </member>
  243. <member name="M:Dapper.DynamicParameters.#ctor">
  244. <summary>
  245. construct a dynamic parameter bag
  246. </summary>
  247. </member>
  248. <member name="M:Dapper.DynamicParameters.#ctor(System.Object)">
  249. <summary>
  250. construct a dynamic parameter bag
  251. </summary>
  252. <param name="template">can be an anonymous type or a DynamicParameters bag</param>
  253. </member>
  254. <member name="M:Dapper.DynamicParameters.AddDynamicParams(System.Object)">
  255. <summary>
  256. Append a whole object full of params to the dynamic
  257. EG: AddDynamicParams(new {A = 1, B = 2}) // will add property A and B to the dynamic
  258. </summary>
  259. <param name="param"></param>
  260. </member>
  261. <member name="M:Dapper.DynamicParameters.Add(System.String,System.Object,System.Nullable{System.Data.DbType},System.Nullable{System.Data.ParameterDirection},System.Nullable{System.Int32})">
  262. <summary>
  263. Add a parameter to this dynamic parameter list.
  264. </summary>
  265. <param name="name">The name of the parameter.</param>
  266. <param name="value">The value of the parameter.</param>
  267. <param name="dbType">The type of the parameter.</param>
  268. <param name="direction">The in or out direction of the parameter.</param>
  269. <param name="size">The size of the parameter.</param>
  270. </member>
  271. <member name="M:Dapper.DynamicParameters.Add(System.String,System.Object,System.Nullable{System.Data.DbType},System.Nullable{System.Data.ParameterDirection},System.Nullable{System.Int32},System.Nullable{System.Byte},System.Nullable{System.Byte})">
  272. <summary>
  273. Add a parameter to this dynamic parameter list.
  274. </summary>
  275. <param name="name">The name of the parameter.</param>
  276. <param name="value">The value of the parameter.</param>
  277. <param name="dbType">The type of the parameter.</param>
  278. <param name="direction">The in or out direction of the parameter.</param>
  279. <param name="size">The size of the parameter.</param>
  280. <param name="precision">The precision of the parameter.</param>
  281. <param name="scale">The scale of the parameter.</param>
  282. </member>
  283. <member name="P:Dapper.DynamicParameters.RemoveUnused">
  284. <summary>
  285. If true, the command-text is inspected and only values that are clearly used are included on the connection
  286. </summary>
  287. </member>
  288. <member name="M:Dapper.DynamicParameters.AddParameters(System.Data.IDbCommand,Dapper.SqlMapper.Identity)">
  289. <summary>
  290. Add all the parameters needed to the command just before it executes
  291. </summary>
  292. <param name="command">The raw command prior to execution</param>
  293. <param name="identity">Information about the query</param>
  294. </member>
  295. <member name="P:Dapper.DynamicParameters.ParameterNames">
  296. <summary>
  297. All the names of the param in the bag, use Get to yank them out
  298. </summary>
  299. </member>
  300. <member name="M:Dapper.DynamicParameters.Get``1(System.String)">
  301. <summary>
  302. Get the value of a parameter
  303. </summary>
  304. <typeparam name="T"></typeparam>
  305. <param name="name"></param>
  306. <returns>The value, note DBNull.Value is not returned, instead the value is returned as null</returns>
  307. </member>
  308. <member name="M:Dapper.DynamicParameters.Output``1(``0,System.Linq.Expressions.Expression{System.Func{``0,System.Object}},System.Nullable{System.Data.DbType},System.Nullable{System.Int32})">
  309. <summary>
  310. Allows you to automatically populate a target property/field from output parameters. It actually
  311. creates an InputOutput parameter, so you can still pass data in.
  312. </summary>
  313. <typeparam name="T"></typeparam>
  314. <param name="target">The object whose property/field you wish to populate.</param>
  315. <param name="expression">A MemberExpression targeting a property/field of the target (or descendant thereof.)</param>
  316. <param name="dbType"></param>
  317. <param name="size">The size to set on the parameter. Defaults to 0, or DbString.DefaultLength in case of strings.</param>
  318. <returns>The DynamicParameters instance</returns>
  319. </member>
  320. <member name="T:Dapper.ExplicitConstructorAttribute">
  321. <summary>
  322. Tell Dapper to use an explicit constructor, passing nulls or 0s for all parameters
  323. </summary>
  324. </member>
  325. <member name="T:Dapper.FeatureSupport">
  326. <summary>
  327. Handles variances in features per DBMS
  328. </summary>
  329. </member>
  330. <member name="M:Dapper.FeatureSupport.Get(System.Data.IDbConnection)">
  331. <summary>
  332. Gets the feature set based on the passed connection
  333. </summary>
  334. <param name="connection">The connection to get supported features for.</param>
  335. </member>
  336. <member name="P:Dapper.FeatureSupport.Arrays">
  337. <summary>
  338. True if the db supports array columns e.g. Postgresql
  339. </summary>
  340. </member>
  341. <member name="T:Dapper.SimpleMemberMap">
  342. <summary>
  343. Represents simple member map for one of target parameter or property or field to source DataReader column
  344. </summary>
  345. </member>
  346. <member name="M:Dapper.SimpleMemberMap.#ctor(System.String,System.Reflection.PropertyInfo)">
  347. <summary>
  348. Creates instance for simple property mapping
  349. </summary>
  350. <param name="columnName">DataReader column name</param>
  351. <param name="property">Target property</param>
  352. </member>
  353. <member name="M:Dapper.SimpleMemberMap.#ctor(System.String,System.Reflection.FieldInfo)">
  354. <summary>
  355. Creates instance for simple field mapping
  356. </summary>
  357. <param name="columnName">DataReader column name</param>
  358. <param name="field">Target property</param>
  359. </member>
  360. <member name="M:Dapper.SimpleMemberMap.#ctor(System.String,System.Reflection.ParameterInfo)">
  361. <summary>
  362. Creates instance for simple constructor parameter mapping
  363. </summary>
  364. <param name="columnName">DataReader column name</param>
  365. <param name="parameter">Target constructor parameter</param>
  366. </member>
  367. <member name="P:Dapper.SimpleMemberMap.ColumnName">
  368. <summary>
  369. DataReader column name
  370. </summary>
  371. </member>
  372. <member name="P:Dapper.SimpleMemberMap.MemberType">
  373. <summary>
  374. Target member type
  375. </summary>
  376. </member>
  377. <member name="P:Dapper.SimpleMemberMap.Property">
  378. <summary>
  379. Target property
  380. </summary>
  381. </member>
  382. <member name="P:Dapper.SimpleMemberMap.Field">
  383. <summary>
  384. Target field
  385. </summary>
  386. </member>
  387. <member name="P:Dapper.SimpleMemberMap.Parameter">
  388. <summary>
  389. Target constructor parameter
  390. </summary>
  391. </member>
  392. <member name="T:Dapper.SqlDataRecordListTVPParameter">
  393. <summary>
  394. Used to pass a IEnumerable&lt;SqlDataRecord&gt; as a SqlDataRecordListTVPParameter
  395. </summary>
  396. </member>
  397. <member name="M:Dapper.SqlDataRecordListTVPParameter.#ctor(System.Collections.Generic.IEnumerable{Microsoft.SqlServer.Server.SqlDataRecord},System.String)">
  398. <summary>
  399. Create a new instance of <see cref="T:Dapper.SqlDataRecordListTVPParameter"/>.
  400. </summary>
  401. <param name="data">The data records to convert into TVPs.</param>
  402. <param name="typeName">The parameter type name.</param>
  403. </member>
  404. <member name="T:Dapper.SqlMapper">
  405. <summary>
  406. Dapper, a light weight object mapper for ADO.NET
  407. </summary>
  408. </member>
  409. <member name="M:Dapper.SqlMapper.QueryAsync(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  410. <summary>
  411. Execute a query asynchronously using .NET 4.5 Task.
  412. </summary>
  413. <param name="cnn">The connection to query on.</param>
  414. <param name="sql">The SQL to execute for the query.</param>
  415. <param name="param">The parameters to pass, if any.</param>
  416. <param name="transaction">The transaction to use, if any.</param>
  417. <param name="commandTimeout">The command timeout (in seconds).</param>
  418. <param name="commandType">The type of command to execute.</param>
  419. <remarks>Note: each row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</remarks>
  420. </member>
  421. <member name="M:Dapper.SqlMapper.QueryAsync(System.Data.IDbConnection,Dapper.CommandDefinition)">
  422. <summary>
  423. Execute a query asynchronously using .NET 4.5 Task.
  424. </summary>
  425. <param name="cnn">The connection to query on.</param>
  426. <param name="command">The command used to query on this connection.</param>
  427. <remarks>Note: each row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</remarks>
  428. </member>
  429. <member name="M:Dapper.SqlMapper.QueryFirstAsync(System.Data.IDbConnection,Dapper.CommandDefinition)">
  430. <summary>
  431. Execute a single-row query asynchronously using .NET 4.5 Task.
  432. </summary>
  433. <param name="cnn">The connection to query on.</param>
  434. <param name="command">The command used to query on this connection.</param>
  435. <remarks>Note: the row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</remarks>
  436. </member>
  437. <member name="M:Dapper.SqlMapper.QueryFirstOrDefaultAsync(System.Data.IDbConnection,Dapper.CommandDefinition)">
  438. <summary>
  439. Execute a single-row query asynchronously using .NET 4.5 Task.
  440. </summary>
  441. <param name="cnn">The connection to query on.</param>
  442. <param name="command">The command used to query on this connection.</param>
  443. <remarks>Note: the row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</remarks>
  444. </member>
  445. <member name="M:Dapper.SqlMapper.QuerySingleAsync(System.Data.IDbConnection,Dapper.CommandDefinition)">
  446. <summary>
  447. Execute a single-row query asynchronously using .NET 4.5 Task.
  448. </summary>
  449. <param name="cnn">The connection to query on.</param>
  450. <param name="command">The command used to query on this connection.</param>
  451. <remarks>Note: the row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</remarks>
  452. </member>
  453. <member name="M:Dapper.SqlMapper.QuerySingleOrDefaultAsync(System.Data.IDbConnection,Dapper.CommandDefinition)">
  454. <summary>
  455. Execute a single-row query asynchronously using .NET 4.5 Task.
  456. </summary>
  457. <param name="cnn">The connection to query on.</param>
  458. <param name="command">The command used to query on this connection.</param>
  459. <remarks>Note: the row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</remarks>
  460. </member>
  461. <member name="M:Dapper.SqlMapper.QueryAsync``1(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  462. <summary>
  463. Execute a query asynchronously using .NET 4.5 Task.
  464. </summary>
  465. <typeparam name="T">The type of results to return.</typeparam>
  466. <param name="cnn">The connection to query on.</param>
  467. <param name="sql">The SQL to execute for the query.</param>
  468. <param name="param">The parameters to pass, if any.</param>
  469. <param name="transaction">The transaction to use, if any.</param>
  470. <param name="commandTimeout">The command timeout (in seconds).</param>
  471. <param name="commandType">The type of command to execute.</param>
  472. <returns>
  473. A sequence of data of <typeparamref name="T"/>; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
  474. created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
  475. </returns>
  476. </member>
  477. <member name="M:Dapper.SqlMapper.QueryFirstAsync``1(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  478. <summary>
  479. Execute a single-row query asynchronously using .NET 4.5 Task.
  480. </summary>
  481. <typeparam name="T">The type of result to return.</typeparam>
  482. <param name="cnn">The connection to query on.</param>
  483. <param name="sql">The SQL to execute for the query.</param>
  484. <param name="param">The parameters to pass, if any.</param>
  485. <param name="transaction">The transaction to use, if any.</param>
  486. <param name="commandTimeout">The command timeout (in seconds).</param>
  487. <param name="commandType">The type of command to execute.</param>
  488. </member>
  489. <member name="M:Dapper.SqlMapper.QueryFirstOrDefaultAsync``1(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  490. <summary>
  491. Execute a single-row query asynchronously using .NET 4.5 Task.
  492. </summary>
  493. <typeparam name="T">The type of result to return.</typeparam>
  494. <param name="cnn">The connection to query on.</param>
  495. <param name="sql">The SQL to execute for the query.</param>
  496. <param name="param">The parameters to pass, if any.</param>
  497. <param name="transaction">The transaction to use, if any.</param>
  498. <param name="commandTimeout">The command timeout (in seconds).</param>
  499. <param name="commandType">The type of command to execute.</param>
  500. </member>
  501. <member name="M:Dapper.SqlMapper.QuerySingleAsync``1(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  502. <summary>
  503. Execute a single-row query asynchronously using .NET 4.5 Task.
  504. </summary>
  505. <typeparam name="T">The type of result to return.</typeparam>
  506. <param name="cnn">The connection to query on.</param>
  507. <param name="sql">The SQL to execute for the query.</param>
  508. <param name="param">The parameters to pass, if any.</param>
  509. <param name="transaction">The transaction to use, if any.</param>
  510. <param name="commandTimeout">The command timeout (in seconds).</param>
  511. <param name="commandType">The type of command to execute.</param>
  512. </member>
  513. <member name="M:Dapper.SqlMapper.QuerySingleOrDefaultAsync``1(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  514. <summary>
  515. Execute a single-row query asynchronously using .NET 4.5 Task.
  516. </summary>
  517. <typeparam name="T">The type to return.</typeparam>
  518. <param name="cnn">The connection to query on.</param>
  519. <param name="sql">The SQL to execute for the query.</param>
  520. <param name="param">The parameters to pass, if any.</param>
  521. <param name="transaction">The transaction to use, if any.</param>
  522. <param name="commandTimeout">The command timeout (in seconds).</param>
  523. <param name="commandType">The type of command to execute.</param>
  524. </member>
  525. <member name="M:Dapper.SqlMapper.QueryFirstAsync(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  526. <summary>
  527. Execute a single-row query asynchronously using .NET 4.5 Task.
  528. </summary>
  529. <param name="cnn">The connection to query on.</param>
  530. <param name="sql">The SQL to execute for the query.</param>
  531. <param name="param">The parameters to pass, if any.</param>
  532. <param name="transaction">The transaction to use, if any.</param>
  533. <param name="commandTimeout">The command timeout (in seconds).</param>
  534. <param name="commandType">The type of command to execute.</param>
  535. </member>
  536. <member name="M:Dapper.SqlMapper.QueryFirstOrDefaultAsync(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  537. <summary>
  538. Execute a single-row query asynchronously using .NET 4.5 Task.
  539. </summary>
  540. <param name="cnn">The connection to query on.</param>
  541. <param name="sql">The SQL to execute for the query.</param>
  542. <param name="param">The parameters to pass, if any.</param>
  543. <param name="transaction">The transaction to use, if any.</param>
  544. <param name="commandTimeout">The command timeout (in seconds).</param>
  545. <param name="commandType">The type of command to execute.</param>
  546. </member>
  547. <member name="M:Dapper.SqlMapper.QuerySingleAsync(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  548. <summary>
  549. Execute a single-row query asynchronously using .NET 4.5 Task.
  550. </summary>
  551. <param name="cnn">The connection to query on.</param>
  552. <param name="sql">The SQL to execute for the query.</param>
  553. <param name="param">The parameters to pass, if any.</param>
  554. <param name="transaction">The transaction to use, if any.</param>
  555. <param name="commandTimeout">The command timeout (in seconds).</param>
  556. <param name="commandType">The type of command to execute.</param>
  557. </member>
  558. <member name="M:Dapper.SqlMapper.QuerySingleOrDefaultAsync(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  559. <summary>
  560. Execute a single-row query asynchronously using .NET 4.5 Task.
  561. </summary>
  562. <param name="cnn">The connection to query on.</param>
  563. <param name="sql">The SQL to execute for the query.</param>
  564. <param name="param">The parameters to pass, if any.</param>
  565. <param name="transaction">The transaction to use, if any.</param>
  566. <param name="commandTimeout">The command timeout (in seconds).</param>
  567. <param name="commandType">The type of command to execute.</param>
  568. </member>
  569. <member name="M:Dapper.SqlMapper.QueryAsync(System.Data.IDbConnection,System.Type,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  570. <summary>
  571. Execute a query asynchronously using .NET 4.5 Task.
  572. </summary>
  573. <param name="cnn">The connection to query on.</param>
  574. <param name="type">The type to return.</param>
  575. <param name="sql">The SQL to execute for the query.</param>
  576. <param name="param">The parameters to pass, if any.</param>
  577. <param name="transaction">The transaction to use, if any.</param>
  578. <param name="commandTimeout">The command timeout (in seconds).</param>
  579. <param name="commandType">The type of command to execute.</param>
  580. <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
  581. </member>
  582. <member name="M:Dapper.SqlMapper.QueryFirstAsync(System.Data.IDbConnection,System.Type,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  583. <summary>
  584. Execute a single-row query asynchronously using .NET 4.5 Task.
  585. </summary>
  586. <param name="cnn">The connection to query on.</param>
  587. <param name="type">The type to return.</param>
  588. <param name="sql">The SQL to execute for the query.</param>
  589. <param name="param">The parameters to pass, if any.</param>
  590. <param name="transaction">The transaction to use, if any.</param>
  591. <param name="commandTimeout">The command timeout (in seconds).</param>
  592. <param name="commandType">The type of command to execute.</param>
  593. <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
  594. </member>
  595. <member name="M:Dapper.SqlMapper.QueryFirstOrDefaultAsync(System.Data.IDbConnection,System.Type,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  596. <summary>
  597. Execute a single-row query asynchronously using .NET 4.5 Task.
  598. </summary>
  599. <param name="cnn">The connection to query on.</param>
  600. <param name="type">The type to return.</param>
  601. <param name="sql">The SQL to execute for the query.</param>
  602. <param name="param">The parameters to pass, if any.</param>
  603. <param name="transaction">The transaction to use, if any.</param>
  604. <param name="commandTimeout">The command timeout (in seconds).</param>
  605. <param name="commandType">The type of command to execute.</param>
  606. <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
  607. </member>
  608. <member name="M:Dapper.SqlMapper.QuerySingleAsync(System.Data.IDbConnection,System.Type,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  609. <summary>
  610. Execute a single-row query asynchronously using .NET 4.5 Task.
  611. </summary>
  612. <param name="cnn">The connection to query on.</param>
  613. <param name="type">The type to return.</param>
  614. <param name="sql">The SQL to execute for the query.</param>
  615. <param name="param">The parameters to pass, if any.</param>
  616. <param name="transaction">The transaction to use, if any.</param>
  617. <param name="commandTimeout">The command timeout (in seconds).</param>
  618. <param name="commandType">The type of command to execute.</param>
  619. <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
  620. </member>
  621. <member name="M:Dapper.SqlMapper.QuerySingleOrDefaultAsync(System.Data.IDbConnection,System.Type,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  622. <summary>
  623. Execute a single-row query asynchronously using .NET 4.5 Task.
  624. </summary>
  625. <param name="cnn">The connection to query on.</param>
  626. <param name="type">The type to return.</param>
  627. <param name="sql">The SQL to execute for the query.</param>
  628. <param name="param">The parameters to pass, if any.</param>
  629. <param name="transaction">The transaction to use, if any.</param>
  630. <param name="commandTimeout">The command timeout (in seconds).</param>
  631. <param name="commandType">The type of command to execute.</param>
  632. <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
  633. </member>
  634. <member name="M:Dapper.SqlMapper.QueryAsync``1(System.Data.IDbConnection,Dapper.CommandDefinition)">
  635. <summary>
  636. Execute a query asynchronously using .NET 4.5 Task.
  637. </summary>
  638. <typeparam name="T">The type to return.</typeparam>
  639. <param name="cnn">The connection to query on.</param>
  640. <param name="command">The command used to query on this connection.</param>
  641. <returns>
  642. A sequence of data of <typeparamref name="T"/>; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
  643. created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
  644. </returns>
  645. </member>
  646. <member name="M:Dapper.SqlMapper.QueryAsync(System.Data.IDbConnection,System.Type,Dapper.CommandDefinition)">
  647. <summary>
  648. Execute a query asynchronously using .NET 4.5 Task.
  649. </summary>
  650. <param name="cnn">The connection to query on.</param>
  651. <param name="type">The type to return.</param>
  652. <param name="command">The command used to query on this connection.</param>
  653. </member>
  654. <member name="M:Dapper.SqlMapper.QueryFirstAsync(System.Data.IDbConnection,System.Type,Dapper.CommandDefinition)">
  655. <summary>
  656. Execute a single-row query asynchronously using .NET 4.5 Task.
  657. </summary>
  658. <param name="cnn">The connection to query on.</param>
  659. <param name="type">The type to return.</param>
  660. <param name="command">The command used to query on this connection.</param>
  661. </member>
  662. <member name="M:Dapper.SqlMapper.QueryFirstAsync``1(System.Data.IDbConnection,Dapper.CommandDefinition)">
  663. <summary>
  664. Execute a single-row query asynchronously using .NET 4.5 Task.
  665. </summary>
  666. <typeparam name="T">The type to return.</typeparam>
  667. <param name="cnn">The connection to query on.</param>
  668. <param name="command">The command used to query on this connection.</param>
  669. </member>
  670. <member name="M:Dapper.SqlMapper.QueryFirstOrDefaultAsync(System.Data.IDbConnection,System.Type,Dapper.CommandDefinition)">
  671. <summary>
  672. Execute a single-row query asynchronously using .NET 4.5 Task.
  673. </summary>
  674. <param name="cnn">The connection to query on.</param>
  675. <param name="type">The type to return.</param>
  676. <param name="command">The command used to query on this connection.</param>
  677. </member>
  678. <member name="M:Dapper.SqlMapper.QueryFirstOrDefaultAsync``1(System.Data.IDbConnection,Dapper.CommandDefinition)">
  679. <summary>
  680. Execute a single-row query asynchronously using .NET 4.5 Task.
  681. </summary>
  682. <typeparam name="T">The type to return.</typeparam>
  683. <param name="cnn">The connection to query on.</param>
  684. <param name="command">The command used to query on this connection.</param>
  685. </member>
  686. <member name="M:Dapper.SqlMapper.QuerySingleAsync(System.Data.IDbConnection,System.Type,Dapper.CommandDefinition)">
  687. <summary>
  688. Execute a single-row query asynchronously using .NET 4.5 Task.
  689. </summary>
  690. <param name="cnn">The connection to query on.</param>
  691. <param name="type">The type to return.</param>
  692. <param name="command">The command used to query on this connection.</param>
  693. </member>
  694. <member name="M:Dapper.SqlMapper.QuerySingleAsync``1(System.Data.IDbConnection,Dapper.CommandDefinition)">
  695. <summary>
  696. Execute a single-row query asynchronously using .NET 4.5 Task.
  697. </summary>
  698. <typeparam name="T">The type to return.</typeparam>
  699. <param name="cnn">The connection to query on.</param>
  700. <param name="command">The command used to query on this connection.</param>
  701. </member>
  702. <member name="M:Dapper.SqlMapper.QuerySingleOrDefaultAsync(System.Data.IDbConnection,System.Type,Dapper.CommandDefinition)">
  703. <summary>
  704. Execute a single-row query asynchronously using .NET 4.5 Task.
  705. </summary>
  706. <param name="cnn">The connection to query on.</param>
  707. <param name="type">The type to return.</param>
  708. <param name="command">The command used to query on this connection.</param>
  709. </member>
  710. <member name="M:Dapper.SqlMapper.QuerySingleOrDefaultAsync``1(System.Data.IDbConnection,Dapper.CommandDefinition)">
  711. <summary>
  712. Execute a single-row query asynchronously using .NET 4.5 Task.
  713. </summary>
  714. <typeparam name="T">The type to return.</typeparam>
  715. <param name="cnn">The connection to query on.</param>
  716. <param name="command">The command used to query on this connection.</param>
  717. </member>
  718. <member name="M:Dapper.SqlMapper.TryOpenAsync(System.Data.IDbConnection,System.Threading.CancellationToken)">
  719. <summary>
  720. Attempts to open a connection asynchronously, with a better error message for unsupported usages.
  721. </summary>
  722. </member>
  723. <member name="M:Dapper.SqlMapper.TrySetupAsyncCommand(Dapper.CommandDefinition,System.Data.IDbConnection,System.Action{System.Data.IDbCommand,System.Object})">
  724. <summary>
  725. Attempts setup a <see cref="T:System.Data.Common.DbCommand"/> on a <see cref="T:System.Data.Common.DbConnection"/>, with a better error message for unsupported usages.
  726. </summary>
  727. </member>
  728. <member name="M:Dapper.SqlMapper.ExecuteAsync(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  729. <summary>
  730. Execute a command asynchronously using .NET 4.5 Task.
  731. </summary>
  732. <param name="cnn">The connection to query on.</param>
  733. <param name="sql">The SQL to execute for this query.</param>
  734. <param name="param">The parameters to use for this query.</param>
  735. <param name="transaction">The transaction to use for this query.</param>
  736. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  737. <param name="commandType">Is it a stored proc or a batch?</param>
  738. <returns>The number of rows affected.</returns>
  739. </member>
  740. <member name="M:Dapper.SqlMapper.ExecuteAsync(System.Data.IDbConnection,Dapper.CommandDefinition)">
  741. <summary>
  742. Execute a command asynchronously using .NET 4.5 Task.
  743. </summary>
  744. <param name="cnn">The connection to execute on.</param>
  745. <param name="command">The command to execute on this connection.</param>
  746. <returns>The number of rows affected.</returns>
  747. </member>
  748. <member name="M:Dapper.SqlMapper.QueryAsync``3(System.Data.IDbConnection,System.String,System.Func{``0,``1,``2},System.Object,System.Data.IDbTransaction,System.Boolean,System.String,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  749. <summary>
  750. Perform a asynchronous multi-mapping query with 2 input types.
  751. This returns a single type, combined from the raw types via <paramref name="map"/>.
  752. </summary>
  753. <typeparam name="TFirst">The first type in the recordset.</typeparam>
  754. <typeparam name="TSecond">The second type in the recordset.</typeparam>
  755. <typeparam name="TReturn">The combined type to return.</typeparam>
  756. <param name="cnn">The connection to query on.</param>
  757. <param name="sql">The SQL to execute for this query.</param>
  758. <param name="map">The function to map row types to the return type.</param>
  759. <param name="param">The parameters to use for this query.</param>
  760. <param name="transaction">The transaction to use for this query.</param>
  761. <param name="buffered">Whether to buffer the results in memory.</param>
  762. <param name="splitOn">The field we should split and read the second object from (default: "Id").</param>
  763. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  764. <param name="commandType">Is it a stored proc or a batch?</param>
  765. <returns>An enumerable of <typeparamref name="TReturn"/>.</returns>
  766. </member>
  767. <member name="M:Dapper.SqlMapper.QueryAsync``3(System.Data.IDbConnection,Dapper.CommandDefinition,System.Func{``0,``1,``2},System.String)">
  768. <summary>
  769. Perform a asynchronous multi-mapping query with 2 input types.
  770. This returns a single type, combined from the raw types via <paramref name="map"/>.
  771. </summary>
  772. <typeparam name="TFirst">The first type in the recordset.</typeparam>
  773. <typeparam name="TSecond">The second type in the recordset.</typeparam>
  774. <typeparam name="TReturn">The combined type to return.</typeparam>
  775. <param name="cnn">The connection to query on.</param>
  776. <param name="splitOn">The field we should split and read the second object from (default: "Id").</param>
  777. <param name="command">The command to execute.</param>
  778. <param name="map">The function to map row types to the return type.</param>
  779. <returns>An enumerable of <typeparamref name="TReturn"/>.</returns>
  780. </member>
  781. <member name="M:Dapper.SqlMapper.QueryAsync``4(System.Data.IDbConnection,System.String,System.Func{``0,``1,``2,``3},System.Object,System.Data.IDbTransaction,System.Boolean,System.String,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  782. <summary>
  783. Perform a asynchronous multi-mapping query with 3 input types.
  784. This returns a single type, combined from the raw types via <paramref name="map"/>.
  785. </summary>
  786. <typeparam name="TFirst">The first type in the recordset.</typeparam>
  787. <typeparam name="TSecond">The second type in the recordset.</typeparam>
  788. <typeparam name="TThird">The third type in the recordset.</typeparam>
  789. <typeparam name="TReturn">The combined type to return.</typeparam>
  790. <param name="cnn">The connection to query on.</param>
  791. <param name="sql">The SQL to execute for this query.</param>
  792. <param name="map">The function to map row types to the return type.</param>
  793. <param name="param">The parameters to use for this query.</param>
  794. <param name="transaction">The transaction to use for this query.</param>
  795. <param name="buffered">Whether to buffer the results in memory.</param>
  796. <param name="splitOn">The field we should split and read the second object from (default: "Id").</param>
  797. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  798. <param name="commandType">Is it a stored proc or a batch?</param>
  799. <returns>An enumerable of <typeparamref name="TReturn"/>.</returns>
  800. </member>
  801. <member name="M:Dapper.SqlMapper.QueryAsync``4(System.Data.IDbConnection,Dapper.CommandDefinition,System.Func{``0,``1,``2,``3},System.String)">
  802. <summary>
  803. Perform a asynchronous multi-mapping query with 3 input types.
  804. This returns a single type, combined from the raw types via <paramref name="map"/>.
  805. </summary>
  806. <typeparam name="TFirst">The first type in the recordset.</typeparam>
  807. <typeparam name="TSecond">The second type in the recordset.</typeparam>
  808. <typeparam name="TThird">The third type in the recordset.</typeparam>
  809. <typeparam name="TReturn">The combined type to return.</typeparam>
  810. <param name="cnn">The connection to query on.</param>
  811. <param name="splitOn">The field we should split and read the second object from (default: "Id").</param>
  812. <param name="command">The command to execute.</param>
  813. <param name="map">The function to map row types to the return type.</param>
  814. <returns>An enumerable of <typeparamref name="TReturn"/>.</returns>
  815. </member>
  816. <member name="M:Dapper.SqlMapper.QueryAsync``5(System.Data.IDbConnection,System.String,System.Func{``0,``1,``2,``3,``4},System.Object,System.Data.IDbTransaction,System.Boolean,System.String,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  817. <summary>
  818. Perform a asynchronous multi-mapping query with 4 input types.
  819. This returns a single type, combined from the raw types via <paramref name="map"/>.
  820. </summary>
  821. <typeparam name="TFirst">The first type in the recordset.</typeparam>
  822. <typeparam name="TSecond">The second type in the recordset.</typeparam>
  823. <typeparam name="TThird">The third type in the recordset.</typeparam>
  824. <typeparam name="TFourth">The fourth type in the recordset.</typeparam>
  825. <typeparam name="TReturn">The combined type to return.</typeparam>
  826. <param name="cnn">The connection to query on.</param>
  827. <param name="sql">The SQL to execute for this query.</param>
  828. <param name="map">The function to map row types to the return type.</param>
  829. <param name="param">The parameters to use for this query.</param>
  830. <param name="transaction">The transaction to use for this query.</param>
  831. <param name="buffered">Whether to buffer the results in memory.</param>
  832. <param name="splitOn">The field we should split and read the second object from (default: "Id").</param>
  833. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  834. <param name="commandType">Is it a stored proc or a batch?</param>
  835. <returns>An enumerable of <typeparamref name="TReturn"/>.</returns>
  836. </member>
  837. <member name="M:Dapper.SqlMapper.QueryAsync``5(System.Data.IDbConnection,Dapper.CommandDefinition,System.Func{``0,``1,``2,``3,``4},System.String)">
  838. <summary>
  839. Perform a asynchronous multi-mapping query with 4 input types.
  840. This returns a single type, combined from the raw types via <paramref name="map"/>.
  841. </summary>
  842. <typeparam name="TFirst">The first type in the recordset.</typeparam>
  843. <typeparam name="TSecond">The second type in the recordset.</typeparam>
  844. <typeparam name="TThird">The third type in the recordset.</typeparam>
  845. <typeparam name="TFourth">The fourth type in the recordset.</typeparam>
  846. <typeparam name="TReturn">The combined type to return.</typeparam>
  847. <param name="cnn">The connection to query on.</param>
  848. <param name="splitOn">The field we should split and read the second object from (default: "Id").</param>
  849. <param name="command">The command to execute.</param>
  850. <param name="map">The function to map row types to the return type.</param>
  851. <returns>An enumerable of <typeparamref name="TReturn"/>.</returns>
  852. </member>
  853. <member name="M:Dapper.SqlMapper.QueryAsync``6(System.Data.IDbConnection,System.String,System.Func{``0,``1,``2,``3,``4,``5},System.Object,System.Data.IDbTransaction,System.Boolean,System.String,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  854. <summary>
  855. Perform a asynchronous multi-mapping query with 5 input types.
  856. This returns a single type, combined from the raw types via <paramref name="map"/>.
  857. </summary>
  858. <typeparam name="TFirst">The first type in the recordset.</typeparam>
  859. <typeparam name="TSecond">The second type in the recordset.</typeparam>
  860. <typeparam name="TThird">The third type in the recordset.</typeparam>
  861. <typeparam name="TFourth">The fourth type in the recordset.</typeparam>
  862. <typeparam name="TFifth">The fifth type in the recordset.</typeparam>
  863. <typeparam name="TReturn">The combined type to return.</typeparam>
  864. <param name="cnn">The connection to query on.</param>
  865. <param name="sql">The SQL to execute for this query.</param>
  866. <param name="map">The function to map row types to the return type.</param>
  867. <param name="param">The parameters to use for this query.</param>
  868. <param name="transaction">The transaction to use for this query.</param>
  869. <param name="buffered">Whether to buffer the results in memory.</param>
  870. <param name="splitOn">The field we should split and read the second object from (default: "Id").</param>
  871. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  872. <param name="commandType">Is it a stored proc or a batch?</param>
  873. <returns>An enumerable of <typeparamref name="TReturn"/>.</returns>
  874. </member>
  875. <member name="M:Dapper.SqlMapper.QueryAsync``6(System.Data.IDbConnection,Dapper.CommandDefinition,System.Func{``0,``1,``2,``3,``4,``5},System.String)">
  876. <summary>
  877. Perform a asynchronous multi-mapping query with 5 input types.
  878. This returns a single type, combined from the raw types via <paramref name="map"/>.
  879. </summary>
  880. <typeparam name="TFirst">The first type in the recordset.</typeparam>
  881. <typeparam name="TSecond">The second type in the recordset.</typeparam>
  882. <typeparam name="TThird">The third type in the recordset.</typeparam>
  883. <typeparam name="TFourth">The fourth type in the recordset.</typeparam>
  884. <typeparam name="TFifth">The fifth type in the recordset.</typeparam>
  885. <typeparam name="TReturn">The combined type to return.</typeparam>
  886. <param name="cnn">The connection to query on.</param>
  887. <param name="splitOn">The field we should split and read the second object from (default: "Id").</param>
  888. <param name="command">The command to execute.</param>
  889. <param name="map">The function to map row types to the return type.</param>
  890. <returns>An enumerable of <typeparamref name="TReturn"/>.</returns>
  891. </member>
  892. <member name="M:Dapper.SqlMapper.QueryAsync``7(System.Data.IDbConnection,System.String,System.Func{``0,``1,``2,``3,``4,``5,``6},System.Object,System.Data.IDbTransaction,System.Boolean,System.String,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  893. <summary>
  894. Perform a asynchronous multi-mapping query with 6 input types.
  895. This returns a single type, combined from the raw types via <paramref name="map"/>.
  896. </summary>
  897. <typeparam name="TFirst">The first type in the recordset.</typeparam>
  898. <typeparam name="TSecond">The second type in the recordset.</typeparam>
  899. <typeparam name="TThird">The third type in the recordset.</typeparam>
  900. <typeparam name="TFourth">The fourth type in the recordset.</typeparam>
  901. <typeparam name="TFifth">The fifth type in the recordset.</typeparam>
  902. <typeparam name="TSixth">The sixth type in the recordset.</typeparam>
  903. <typeparam name="TReturn">The combined type to return.</typeparam>
  904. <param name="cnn">The connection to query on.</param>
  905. <param name="sql">The SQL to execute for this query.</param>
  906. <param name="map">The function to map row types to the return type.</param>
  907. <param name="param">The parameters to use for this query.</param>
  908. <param name="transaction">The transaction to use for this query.</param>
  909. <param name="buffered">Whether to buffer the results in memory.</param>
  910. <param name="splitOn">The field we should split and read the second object from (default: "Id").</param>
  911. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  912. <param name="commandType">Is it a stored proc or a batch?</param>
  913. <returns>An enumerable of <typeparamref name="TReturn"/>.</returns>
  914. </member>
  915. <member name="M:Dapper.SqlMapper.QueryAsync``7(System.Data.IDbConnection,Dapper.CommandDefinition,System.Func{``0,``1,``2,``3,``4,``5,``6},System.String)">
  916. <summary>
  917. Perform a asynchronous multi-mapping query with 6 input types.
  918. This returns a single type, combined from the raw types via <paramref name="map"/>.
  919. </summary>
  920. <typeparam name="TFirst">The first type in the recordset.</typeparam>
  921. <typeparam name="TSecond">The second type in the recordset.</typeparam>
  922. <typeparam name="TThird">The third type in the recordset.</typeparam>
  923. <typeparam name="TFourth">The fourth type in the recordset.</typeparam>
  924. <typeparam name="TFifth">The fifth type in the recordset.</typeparam>
  925. <typeparam name="TSixth">The sixth type in the recordset.</typeparam>
  926. <typeparam name="TReturn">The combined type to return.</typeparam>
  927. <param name="cnn">The connection to query on.</param>
  928. <param name="splitOn">The field we should split and read the second object from (default: "Id").</param>
  929. <param name="command">The command to execute.</param>
  930. <param name="map">The function to map row types to the return type.</param>
  931. <returns>An enumerable of <typeparamref name="TReturn"/>.</returns>
  932. </member>
  933. <member name="M:Dapper.SqlMapper.QueryAsync``8(System.Data.IDbConnection,System.String,System.Func{``0,``1,``2,``3,``4,``5,``6,``7},System.Object,System.Data.IDbTransaction,System.Boolean,System.String,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  934. <summary>
  935. Perform a asynchronous multi-mapping query with 7 input types.
  936. This returns a single type, combined from the raw types via <paramref name="map"/>.
  937. </summary>
  938. <typeparam name="TFirst">The first type in the recordset.</typeparam>
  939. <typeparam name="TSecond">The second type in the recordset.</typeparam>
  940. <typeparam name="TThird">The third type in the recordset.</typeparam>
  941. <typeparam name="TFourth">The fourth type in the recordset.</typeparam>
  942. <typeparam name="TFifth">The fifth type in the recordset.</typeparam>
  943. <typeparam name="TSixth">The sixth type in the recordset.</typeparam>
  944. <typeparam name="TSeventh">The seventh type in the recordset.</typeparam>
  945. <typeparam name="TReturn">The combined type to return.</typeparam>
  946. <param name="cnn">The connection to query on.</param>
  947. <param name="sql">The SQL to execute for this query.</param>
  948. <param name="map">The function to map row types to the return type.</param>
  949. <param name="param">The parameters to use for this query.</param>
  950. <param name="transaction">The transaction to use for this query.</param>
  951. <param name="buffered">Whether to buffer the results in memory.</param>
  952. <param name="splitOn">The field we should split and read the second object from (default: "Id").</param>
  953. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  954. <param name="commandType">Is it a stored proc or a batch?</param>
  955. <returns>An enumerable of <typeparamref name="TReturn"/>.</returns>
  956. </member>
  957. <member name="M:Dapper.SqlMapper.QueryAsync``8(System.Data.IDbConnection,Dapper.CommandDefinition,System.Func{``0,``1,``2,``3,``4,``5,``6,``7},System.String)">
  958. <summary>
  959. Perform an asynchronous multi-mapping query with 7 input types.
  960. This returns a single type, combined from the raw types via <paramref name="map"/>.
  961. </summary>
  962. <typeparam name="TFirst">The first type in the recordset.</typeparam>
  963. <typeparam name="TSecond">The second type in the recordset.</typeparam>
  964. <typeparam name="TThird">The third type in the recordset.</typeparam>
  965. <typeparam name="TFourth">The fourth type in the recordset.</typeparam>
  966. <typeparam name="TFifth">The fifth type in the recordset.</typeparam>
  967. <typeparam name="TSixth">The sixth type in the recordset.</typeparam>
  968. <typeparam name="TSeventh">The seventh type in the recordset.</typeparam>
  969. <typeparam name="TReturn">The combined type to return.</typeparam>
  970. <param name="cnn">The connection to query on.</param>
  971. <param name="splitOn">The field we should split and read the second object from (default: "Id").</param>
  972. <param name="command">The command to execute.</param>
  973. <param name="map">The function to map row types to the return type.</param>
  974. <returns>An enumerable of <typeparamref name="TReturn"/>.</returns>
  975. </member>
  976. <member name="M:Dapper.SqlMapper.QueryAsync``1(System.Data.IDbConnection,System.String,System.Type[],System.Func{System.Object[],``0},System.Object,System.Data.IDbTransaction,System.Boolean,System.String,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  977. <summary>
  978. Perform a asynchronous multi-mapping query with an arbitrary number of input types.
  979. This returns a single type, combined from the raw types via <paramref name="map"/>.
  980. </summary>
  981. <typeparam name="TReturn">The combined type to return.</typeparam>
  982. <param name="cnn">The connection to query on.</param>
  983. <param name="sql">The SQL to execute for this query.</param>
  984. <param name="types">Array of types in the recordset.</param>
  985. <param name="map">The function to map row types to the return type.</param>
  986. <param name="param">The parameters to use for this query.</param>
  987. <param name="transaction">The transaction to use for this query.</param>
  988. <param name="buffered">Whether to buffer the results in memory.</param>
  989. <param name="splitOn">The field we should split and read the second object from (default: "Id").</param>
  990. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  991. <param name="commandType">Is it a stored proc or a batch?</param>
  992. <returns>An enumerable of <typeparamref name="TReturn"/>.</returns>
  993. </member>
  994. <member name="M:Dapper.SqlMapper.QueryMultipleAsync(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  995. <summary>
  996. Execute a command that returns multiple result sets, and access each in turn.
  997. </summary>
  998. <param name="cnn">The connection to query on.</param>
  999. <param name="sql">The SQL to execute for this query.</param>
  1000. <param name="param">The parameters to use for this query.</param>
  1001. <param name="transaction">The transaction to use for this query.</param>
  1002. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  1003. <param name="commandType">Is it a stored proc or a batch?</param>
  1004. </member>
  1005. <member name="M:Dapper.SqlMapper.QueryMultipleAsync(System.Data.IDbConnection,Dapper.CommandDefinition)">
  1006. <summary>
  1007. Execute a command that returns multiple result sets, and access each in turn.
  1008. </summary>
  1009. <param name="cnn">The connection to query on.</param>
  1010. <param name="command">The command to execute for this query.</param>
  1011. </member>
  1012. <member name="M:Dapper.SqlMapper.ExecuteReaderAsync(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1013. <summary>
  1014. Execute parameterized SQL and return an <see cref="T:System.Data.IDataReader"/>.
  1015. </summary>
  1016. <param name="cnn">The connection to execute on.</param>
  1017. <param name="sql">The SQL to execute.</param>
  1018. <param name="param">The parameters to use for this command.</param>
  1019. <param name="transaction">The transaction to use for this command.</param>
  1020. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  1021. <param name="commandType">Is it a stored proc or a batch?</param>
  1022. <returns>An <see cref="T:System.Data.IDataReader"/> that can be used to iterate over the results of the SQL query.</returns>
  1023. <remarks>
  1024. This is typically used when the results of a query are not processed by Dapper, for example, used to fill a <see cref="T:System.Data.DataTable"/>
  1025. or <see cref="T:DataSet"/>.
  1026. </remarks>
  1027. <example>
  1028. <code>
  1029. <![CDATA[
  1030. DataTable table = new DataTable("MyTable");
  1031. using (var reader = ExecuteReader(cnn, sql, param))
  1032. {
  1033. table.Load(reader);
  1034. }
  1035. ]]>
  1036. </code>
  1037. </example>
  1038. </member>
  1039. <member name="M:Dapper.SqlMapper.ExecuteReaderAsync(System.Data.IDbConnection,Dapper.CommandDefinition)">
  1040. <summary>
  1041. Execute parameterized SQL and return an <see cref="T:System.Data.IDataReader"/>.
  1042. </summary>
  1043. <param name="cnn">The connection to execute on.</param>
  1044. <param name="command">The command to execute.</param>
  1045. <returns>An <see cref="T:System.Data.IDataReader"/> that can be used to iterate over the results of the SQL query.</returns>
  1046. <remarks>
  1047. This is typically used when the results of a query are not processed by Dapper, for example, used to fill a <see cref="T:System.Data.DataTable"/>
  1048. or <see cref="T:DataSet"/>.
  1049. </remarks>
  1050. </member>
  1051. <member name="M:Dapper.SqlMapper.ExecuteReaderAsync(System.Data.IDbConnection,Dapper.CommandDefinition,System.Data.CommandBehavior)">
  1052. <summary>
  1053. Execute parameterized SQL and return an <see cref="T:System.Data.IDataReader"/>.
  1054. </summary>
  1055. <param name="cnn">The connection to execute on.</param>
  1056. <param name="command">The command to execute.</param>
  1057. <param name="commandBehavior">The <see cref="T:System.Data.CommandBehavior"/> flags for this reader.</param>
  1058. <returns>An <see cref="T:System.Data.IDataReader"/> that can be used to iterate over the results of the SQL query.</returns>
  1059. <remarks>
  1060. This is typically used when the results of a query are not processed by Dapper, for example, used to fill a <see cref="T:System.Data.DataTable"/>
  1061. or <see cref="T:DataSet"/>.
  1062. </remarks>
  1063. </member>
  1064. <member name="M:Dapper.SqlMapper.ExecuteScalarAsync(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1065. <summary>
  1066. Execute parameterized SQL that selects a single value.
  1067. </summary>
  1068. <param name="cnn">The connection to execute on.</param>
  1069. <param name="sql">The SQL to execute.</param>
  1070. <param name="param">The parameters to use for this command.</param>
  1071. <param name="transaction">The transaction to use for this command.</param>
  1072. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  1073. <param name="commandType">Is it a stored proc or a batch?</param>
  1074. <returns>The first cell returned, as <see cref="T:System.Object"/>.</returns>
  1075. </member>
  1076. <member name="M:Dapper.SqlMapper.ExecuteScalarAsync``1(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1077. <summary>
  1078. Execute parameterized SQL that selects a single value.
  1079. </summary>
  1080. <typeparam name="T">The type to return.</typeparam>
  1081. <param name="cnn">The connection to execute on.</param>
  1082. <param name="sql">The SQL to execute.</param>
  1083. <param name="param">The parameters to use for this command.</param>
  1084. <param name="transaction">The transaction to use for this command.</param>
  1085. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  1086. <param name="commandType">Is it a stored proc or a batch?</param>
  1087. <returns>The first cell returned, as <typeparamref name="T"/>.</returns>
  1088. </member>
  1089. <member name="M:Dapper.SqlMapper.ExecuteScalarAsync(System.Data.IDbConnection,Dapper.CommandDefinition)">
  1090. <summary>
  1091. Execute parameterized SQL that selects a single value.
  1092. </summary>
  1093. <param name="cnn">The connection to execute on.</param>
  1094. <param name="command">The command to execute.</param>
  1095. <returns>The first cell selected as <see cref="T:System.Object"/>.</returns>
  1096. </member>
  1097. <member name="M:Dapper.SqlMapper.ExecuteScalarAsync``1(System.Data.IDbConnection,Dapper.CommandDefinition)">
  1098. <summary>
  1099. Execute parameterized SQL that selects a single value
  1100. </summary>
  1101. <typeparam name="T">The type to return.</typeparam>
  1102. <param name="cnn">The connection to execute on.</param>
  1103. <param name="command">The command to execute.</param>
  1104. <returns>The first cell selected as <typeparamref name="T"/>.</returns>
  1105. </member>
  1106. <member name="E:Dapper.SqlMapper.QueryCachePurged">
  1107. <summary>
  1108. Called if the query cache is purged via PurgeQueryCache
  1109. </summary>
  1110. </member>
  1111. <member name="M:Dapper.SqlMapper.PurgeQueryCache">
  1112. <summary>
  1113. Purge the query cache
  1114. </summary>
  1115. </member>
  1116. <member name="M:Dapper.SqlMapper.GetCachedSQLCount">
  1117. <summary>
  1118. Return a count of all the cached queries by Dapper
  1119. </summary>
  1120. <returns></returns>
  1121. </member>
  1122. <member name="M:Dapper.SqlMapper.GetCachedSQL(System.Int32)">
  1123. <summary>
  1124. Return a list of all the queries cached by Dapper
  1125. </summary>
  1126. <param name="ignoreHitCountAbove"></param>
  1127. <returns></returns>
  1128. </member>
  1129. <member name="M:Dapper.SqlMapper.GetHashCollissions">
  1130. <summary>
  1131. Deep diagnostics only: find any hash collisions in the cache
  1132. </summary>
  1133. <returns></returns>
  1134. </member>
  1135. <member name="M:Dapper.SqlMapper.ResetTypeHandlers">
  1136. <summary>
  1137. Clear the registered type handlers.
  1138. </summary>
  1139. </member>
  1140. <member name="M:Dapper.SqlMapper.AddTypeMap(System.Type,System.Data.DbType)">
  1141. <summary>
  1142. Configure the specified type to be mapped to a given db-type.
  1143. </summary>
  1144. <param name="type">The type to map from.</param>
  1145. <param name="dbType">The database type to map to.</param>
  1146. </member>
  1147. <member name="M:Dapper.SqlMapper.RemoveTypeMap(System.Type)">
  1148. <summary>
  1149. Removes the specified type from the Type/DbType mapping table.
  1150. </summary>
  1151. <param name="type">The type to remove from the current map.</param>
  1152. </member>
  1153. <member name="M:Dapper.SqlMapper.AddTypeHandler(System.Type,Dapper.SqlMapper.ITypeHandler)">
  1154. <summary>
  1155. Configure the specified type to be processed by a custom handler.
  1156. </summary>
  1157. <param name="type">The type to handle.</param>
  1158. <param name="handler">The handler to process the <paramref name="type"/>.</param>
  1159. </member>
  1160. <member name="M:Dapper.SqlMapper.AddTypeHandlerImpl(System.Type,Dapper.SqlMapper.ITypeHandler,System.Boolean)">
  1161. <summary>
  1162. Configure the specified type to be processed by a custom handler.
  1163. </summary>
  1164. <param name="type">The type to handle.</param>
  1165. <param name="handler">The handler to process the <paramref name="type"/>.</param>
  1166. <param name="clone">Whether to clone the current type handler map.</param>
  1167. </member>
  1168. <member name="M:Dapper.SqlMapper.AddTypeHandler``1(Dapper.SqlMapper.TypeHandler{``0})">
  1169. <summary>
  1170. Configure the specified type to be processed by a custom handler.
  1171. </summary>
  1172. <typeparam name="T">The type to handle.</typeparam>
  1173. <param name="handler">The handler for the type <typeparamref name="T"/>.</param>
  1174. </member>
  1175. <member name="M:Dapper.SqlMapper.GetDbType(System.Object)">
  1176. <summary>
  1177. Get the DbType that maps to a given value.
  1178. </summary>
  1179. <param name="value">The object to get a corresponding database type for.</param>
  1180. </member>
  1181. <member name="M:Dapper.SqlMapper.LookupDbType(System.Type,System.String,System.Boolean,Dapper.SqlMapper.ITypeHandler@)">
  1182. <summary>
  1183. OBSOLETE: For internal usage only. Lookup the DbType and handler for a given Type and member
  1184. </summary>
  1185. <param name="type">The type to lookup.</param>
  1186. <param name="name">The name (for error messages).</param>
  1187. <param name="demand">Whether to demand a value (throw if missing).</param>
  1188. <param name="handler">The handler for <paramref name="type"/>.</param>
  1189. </member>
  1190. <member name="M:Dapper.SqlMapper.AsList``1(System.Collections.Generic.IEnumerable{``0})">
  1191. <summary>
  1192. Obtains the data as a list; if it is *already* a list, the original object is returned without
  1193. any duplication; otherwise, ToList() is invoked.
  1194. </summary>
  1195. <typeparam name="T">The type of element in the list.</typeparam>
  1196. <param name="source">The enumerable to return as a list.</param>
  1197. </member>
  1198. <member name="M:Dapper.SqlMapper.Execute(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1199. <summary>
  1200. Execute parameterized SQL.
  1201. </summary>
  1202. <param name="cnn">The connection to query on.</param>
  1203. <param name="sql">The SQL to execute for this query.</param>
  1204. <param name="param">The parameters to use for this query.</param>
  1205. <param name="transaction">The transaction to use for this query.</param>
  1206. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  1207. <param name="commandType">Is it a stored proc or a batch?</param>
  1208. <returns>The number of rows affected.</returns>
  1209. </member>
  1210. <member name="M:Dapper.SqlMapper.Execute(System.Data.IDbConnection,Dapper.CommandDefinition)">
  1211. <summary>
  1212. Execute parameterized SQL.
  1213. </summary>
  1214. <param name="cnn">The connection to execute on.</param>
  1215. <param name="command">The command to execute on this connection.</param>
  1216. <returns>The number of rows affected.</returns>
  1217. </member>
  1218. <member name="M:Dapper.SqlMapper.ExecuteScalar(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1219. <summary>
  1220. Execute parameterized SQL that selects a single value.
  1221. </summary>
  1222. <param name="cnn">The connection to execute on.</param>
  1223. <param name="sql">The SQL to execute.</param>
  1224. <param name="param">The parameters to use for this command.</param>
  1225. <param name="transaction">The transaction to use for this command.</param>
  1226. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  1227. <param name="commandType">Is it a stored proc or a batch?</param>
  1228. <returns>The first cell selected as <see cref="T:System.Object"/>.</returns>
  1229. </member>
  1230. <member name="M:Dapper.SqlMapper.ExecuteScalar``1(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1231. <summary>
  1232. Execute parameterized SQL that selects a single value.
  1233. </summary>
  1234. <typeparam name="T">The type to return.</typeparam>
  1235. <param name="cnn">The connection to execute on.</param>
  1236. <param name="sql">The SQL to execute.</param>
  1237. <param name="param">The parameters to use for this command.</param>
  1238. <param name="transaction">The transaction to use for this command.</param>
  1239. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  1240. <param name="commandType">Is it a stored proc or a batch?</param>
  1241. <returns>The first cell returned, as <typeparamref name="T"/>.</returns>
  1242. </member>
  1243. <member name="M:Dapper.SqlMapper.ExecuteScalar(System.Data.IDbConnection,Dapper.CommandDefinition)">
  1244. <summary>
  1245. Execute parameterized SQL that selects a single value.
  1246. </summary>
  1247. <param name="cnn">The connection to execute on.</param>
  1248. <param name="command">The command to execute.</param>
  1249. <returns>The first cell selected as <see cref="T:System.Object"/>.</returns>
  1250. </member>
  1251. <member name="M:Dapper.SqlMapper.ExecuteScalar``1(System.Data.IDbConnection,Dapper.CommandDefinition)">
  1252. <summary>
  1253. Execute parameterized SQL that selects a single value.
  1254. </summary>
  1255. <typeparam name="T">The type to return.</typeparam>
  1256. <param name="cnn">The connection to execute on.</param>
  1257. <param name="command">The command to execute.</param>
  1258. <returns>The first cell selected as <typeparamref name="T"/>.</returns>
  1259. </member>
  1260. <member name="M:Dapper.SqlMapper.ExecuteReader(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1261. <summary>
  1262. Execute parameterized SQL and return an <see cref="T:System.Data.IDataReader"/>.
  1263. </summary>
  1264. <param name="cnn">The connection to execute on.</param>
  1265. <param name="sql">The SQL to execute.</param>
  1266. <param name="param">The parameters to use for this command.</param>
  1267. <param name="transaction">The transaction to use for this command.</param>
  1268. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  1269. <param name="commandType">Is it a stored proc or a batch?</param>
  1270. <returns>An <see cref="T:System.Data.IDataReader"/> that can be used to iterate over the results of the SQL query.</returns>
  1271. <remarks>
  1272. This is typically used when the results of a query are not processed by Dapper, for example, used to fill a <see cref="T:System.Data.DataTable"/>
  1273. or <see cref="T:DataSet"/>.
  1274. </remarks>
  1275. <example>
  1276. <code>
  1277. <![CDATA[
  1278. DataTable table = new DataTable("MyTable");
  1279. using (var reader = ExecuteReader(cnn, sql, param))
  1280. {
  1281. table.Load(reader);
  1282. }
  1283. ]]>
  1284. </code>
  1285. </example>
  1286. </member>
  1287. <member name="M:Dapper.SqlMapper.ExecuteReader(System.Data.IDbConnection,Dapper.CommandDefinition)">
  1288. <summary>
  1289. Execute parameterized SQL and return an <see cref="T:System.Data.IDataReader"/>.
  1290. </summary>
  1291. <param name="cnn">The connection to execute on.</param>
  1292. <param name="command">The command to execute.</param>
  1293. <returns>An <see cref="T:System.Data.IDataReader"/> that can be used to iterate over the results of the SQL query.</returns>
  1294. <remarks>
  1295. This is typically used when the results of a query are not processed by Dapper, for example, used to fill a <see cref="T:System.Data.DataTable"/>
  1296. or <see cref="T:DataSet"/>.
  1297. </remarks>
  1298. </member>
  1299. <member name="M:Dapper.SqlMapper.ExecuteReader(System.Data.IDbConnection,Dapper.CommandDefinition,System.Data.CommandBehavior)">
  1300. <summary>
  1301. Execute parameterized SQL and return an <see cref="T:System.Data.IDataReader"/>.
  1302. </summary>
  1303. <param name="cnn">The connection to execute on.</param>
  1304. <param name="command">The command to execute.</param>
  1305. <param name="commandBehavior">The <see cref="T:System.Data.CommandBehavior"/> flags for this reader.</param>
  1306. <returns>An <see cref="T:System.Data.IDataReader"/> that can be used to iterate over the results of the SQL query.</returns>
  1307. <remarks>
  1308. This is typically used when the results of a query are not processed by Dapper, for example, used to fill a <see cref="T:System.Data.DataTable"/>
  1309. or <see cref="T:DataSet"/>.
  1310. </remarks>
  1311. </member>
  1312. <member name="M:Dapper.SqlMapper.Query(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Boolean,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1313. <summary>
  1314. Return a sequence of dynamic objects with properties matching the columns.
  1315. </summary>
  1316. <param name="cnn">The connection to query on.</param>
  1317. <param name="sql">The SQL to execute for the query.</param>
  1318. <param name="param">The parameters to pass, if any.</param>
  1319. <param name="transaction">The transaction to use, if any.</param>
  1320. <param name="buffered">Whether to buffer the results in memory.</param>
  1321. <param name="commandTimeout">The command timeout (in seconds).</param>
  1322. <param name="commandType">The type of command to execute.</param>
  1323. <remarks>Note: each row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</remarks>
  1324. </member>
  1325. <member name="M:Dapper.SqlMapper.QueryFirst(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1326. <summary>
  1327. Return a dynamic object with properties matching the columns.
  1328. </summary>
  1329. <param name="cnn">The connection to query on.</param>
  1330. <param name="sql">The SQL to execute for the query.</param>
  1331. <param name="param">The parameters to pass, if any.</param>
  1332. <param name="transaction">The transaction to use, if any.</param>
  1333. <param name="commandTimeout">The command timeout (in seconds).</param>
  1334. <param name="commandType">The type of command to execute.</param>
  1335. <remarks>Note: the row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</remarks>
  1336. </member>
  1337. <member name="M:Dapper.SqlMapper.QueryFirstOrDefault(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1338. <summary>
  1339. Return a dynamic object with properties matching the columns.
  1340. </summary>
  1341. <param name="cnn">The connection to query on.</param>
  1342. <param name="sql">The SQL to execute for the query.</param>
  1343. <param name="param">The parameters to pass, if any.</param>
  1344. <param name="transaction">The transaction to use, if any.</param>
  1345. <param name="commandTimeout">The command timeout (in seconds).</param>
  1346. <param name="commandType">The type of command to execute.</param>
  1347. <remarks>Note: the row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</remarks>
  1348. </member>
  1349. <member name="M:Dapper.SqlMapper.QuerySingle(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1350. <summary>
  1351. Return a dynamic object with properties matching the columns.
  1352. </summary>
  1353. <param name="cnn">The connection to query on.</param>
  1354. <param name="sql">The SQL to execute for the query.</param>
  1355. <param name="param">The parameters to pass, if any.</param>
  1356. <param name="transaction">The transaction to use, if any.</param>
  1357. <param name="commandTimeout">The command timeout (in seconds).</param>
  1358. <param name="commandType">The type of command to execute.</param>
  1359. <remarks>Note: the row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</remarks>
  1360. </member>
  1361. <member name="M:Dapper.SqlMapper.QuerySingleOrDefault(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1362. <summary>
  1363. Return a dynamic object with properties matching the columns.
  1364. </summary>
  1365. <param name="cnn">The connection to query on.</param>
  1366. <param name="sql">The SQL to execute for the query.</param>
  1367. <param name="param">The parameters to pass, if any.</param>
  1368. <param name="transaction">The transaction to use, if any.</param>
  1369. <param name="commandTimeout">The command timeout (in seconds).</param>
  1370. <param name="commandType">The type of command to execute.</param>
  1371. <remarks>Note: the row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</remarks>
  1372. </member>
  1373. <member name="M:Dapper.SqlMapper.Query``1(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Boolean,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1374. <summary>
  1375. Executes a query, returning the data typed as <typeparamref name="T"/>.
  1376. </summary>
  1377. <typeparam name="T">The type of results to return.</typeparam>
  1378. <param name="cnn">The connection to query on.</param>
  1379. <param name="sql">The SQL to execute for the query.</param>
  1380. <param name="param">The parameters to pass, if any.</param>
  1381. <param name="transaction">The transaction to use, if any.</param>
  1382. <param name="buffered">Whether to buffer results in memory.</param>
  1383. <param name="commandTimeout">The command timeout (in seconds).</param>
  1384. <param name="commandType">The type of command to execute.</param>
  1385. <returns>
  1386. A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
  1387. created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
  1388. </returns>
  1389. </member>
  1390. <member name="M:Dapper.SqlMapper.QueryFirst``1(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1391. <summary>
  1392. Executes a single-row query, returning the data typed as <typeparamref name="T"/>.
  1393. </summary>
  1394. <typeparam name="T">The type of result to return.</typeparam>
  1395. <param name="cnn">The connection to query on.</param>
  1396. <param name="sql">The SQL to execute for the query.</param>
  1397. <param name="param">The parameters to pass, if any.</param>
  1398. <param name="transaction">The transaction to use, if any.</param>
  1399. <param name="commandTimeout">The command timeout (in seconds).</param>
  1400. <param name="commandType">The type of command to execute.</param>
  1401. <returns>
  1402. A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
  1403. created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
  1404. </returns>
  1405. </member>
  1406. <member name="M:Dapper.SqlMapper.QueryFirstOrDefault``1(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1407. <summary>
  1408. Executes a single-row query, returning the data typed as <typeparamref name="T"/>.
  1409. </summary>
  1410. <typeparam name="T">The type of result to return.</typeparam>
  1411. <param name="cnn">The connection to query on.</param>
  1412. <param name="sql">The SQL to execute for the query.</param>
  1413. <param name="param">The parameters to pass, if any.</param>
  1414. <param name="transaction">The transaction to use, if any.</param>
  1415. <param name="commandTimeout">The command timeout (in seconds).</param>
  1416. <param name="commandType">The type of command to execute.</param>
  1417. <returns>
  1418. A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
  1419. created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
  1420. </returns>
  1421. </member>
  1422. <member name="M:Dapper.SqlMapper.QuerySingle``1(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1423. <summary>
  1424. Executes a single-row query, returning the data typed as <typeparamref name="T"/>.
  1425. </summary>
  1426. <typeparam name="T">The type of result to return.</typeparam>
  1427. <param name="cnn">The connection to query on.</param>
  1428. <param name="sql">The SQL to execute for the query.</param>
  1429. <param name="param">The parameters to pass, if any.</param>
  1430. <param name="transaction">The transaction to use, if any.</param>
  1431. <param name="commandTimeout">The command timeout (in seconds).</param>
  1432. <param name="commandType">The type of command to execute.</param>
  1433. <returns>
  1434. A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
  1435. created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
  1436. </returns>
  1437. </member>
  1438. <member name="M:Dapper.SqlMapper.QuerySingleOrDefault``1(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1439. <summary>
  1440. Executes a single-row query, returning the data typed as <typeparamref name="T"/>.
  1441. </summary>
  1442. <typeparam name="T">The type of result to return.</typeparam>
  1443. <param name="cnn">The connection to query on.</param>
  1444. <param name="sql">The SQL to execute for the query.</param>
  1445. <param name="param">The parameters to pass, if any.</param>
  1446. <param name="transaction">The transaction to use, if any.</param>
  1447. <param name="commandTimeout">The command timeout (in seconds).</param>
  1448. <param name="commandType">The type of command to execute.</param>
  1449. <returns>
  1450. A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
  1451. created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
  1452. </returns>
  1453. </member>
  1454. <member name="M:Dapper.SqlMapper.Query(System.Data.IDbConnection,System.Type,System.String,System.Object,System.Data.IDbTransaction,System.Boolean,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1455. <summary>
  1456. Executes a single-row query, returning the data typed as <paramref name="type"/>.
  1457. </summary>
  1458. <param name="cnn">The connection to query on.</param>
  1459. <param name="type">The type to return.</param>
  1460. <param name="sql">The SQL to execute for the query.</param>
  1461. <param name="param">The parameters to pass, if any.</param>
  1462. <param name="transaction">The transaction to use, if any.</param>
  1463. <param name="buffered">Whether to buffer results in memory.</param>
  1464. <param name="commandTimeout">The command timeout (in seconds).</param>
  1465. <param name="commandType">The type of command to execute.</param>
  1466. <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
  1467. <returns>
  1468. A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
  1469. created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
  1470. </returns>
  1471. </member>
  1472. <member name="M:Dapper.SqlMapper.QueryFirst(System.Data.IDbConnection,System.Type,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1473. <summary>
  1474. Executes a single-row query, returning the data typed as <paramref name="type"/>.
  1475. </summary>
  1476. <param name="cnn">The connection to query on.</param>
  1477. <param name="type">The type to return.</param>
  1478. <param name="sql">The SQL to execute for the query.</param>
  1479. <param name="param">The parameters to pass, if any.</param>
  1480. <param name="transaction">The transaction to use, if any.</param>
  1481. <param name="commandTimeout">The command timeout (in seconds).</param>
  1482. <param name="commandType">The type of command to execute.</param>
  1483. <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
  1484. <returns>
  1485. A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
  1486. created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
  1487. </returns>
  1488. </member>
  1489. <member name="M:Dapper.SqlMapper.QueryFirstOrDefault(System.Data.IDbConnection,System.Type,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1490. <summary>
  1491. Executes a single-row query, returning the data typed as <paramref name="type"/>.
  1492. </summary>
  1493. <param name="cnn">The connection to query on.</param>
  1494. <param name="type">The type to return.</param>
  1495. <param name="sql">The SQL to execute for the query.</param>
  1496. <param name="param">The parameters to pass, if any.</param>
  1497. <param name="transaction">The transaction to use, if any.</param>
  1498. <param name="commandTimeout">The command timeout (in seconds).</param>
  1499. <param name="commandType">The type of command to execute.</param>
  1500. <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
  1501. <returns>
  1502. A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
  1503. created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
  1504. </returns>
  1505. </member>
  1506. <member name="M:Dapper.SqlMapper.QuerySingle(System.Data.IDbConnection,System.Type,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1507. <summary>
  1508. Executes a single-row query, returning the data typed as <paramref name="type"/>.
  1509. </summary>
  1510. <param name="cnn">The connection to query on.</param>
  1511. <param name="type">The type to return.</param>
  1512. <param name="sql">The SQL to execute for the query.</param>
  1513. <param name="param">The parameters to pass, if any.</param>
  1514. <param name="transaction">The transaction to use, if any.</param>
  1515. <param name="commandTimeout">The command timeout (in seconds).</param>
  1516. <param name="commandType">The type of command to execute.</param>
  1517. <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
  1518. <returns>
  1519. A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
  1520. created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
  1521. </returns>
  1522. </member>
  1523. <member name="M:Dapper.SqlMapper.QuerySingleOrDefault(System.Data.IDbConnection,System.Type,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1524. <summary>
  1525. Executes a single-row query, returning the data typed as <paramref name="type"/>.
  1526. </summary>
  1527. <param name="cnn">The connection to query on.</param>
  1528. <param name="type">The type to return.</param>
  1529. <param name="sql">The SQL to execute for the query.</param>
  1530. <param name="param">The parameters to pass, if any.</param>
  1531. <param name="transaction">The transaction to use, if any.</param>
  1532. <param name="commandTimeout">The command timeout (in seconds).</param>
  1533. <param name="commandType">The type of command to execute.</param>
  1534. <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
  1535. <returns>
  1536. A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
  1537. created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
  1538. </returns>
  1539. </member>
  1540. <member name="M:Dapper.SqlMapper.Query``1(System.Data.IDbConnection,Dapper.CommandDefinition)">
  1541. <summary>
  1542. Executes a query, returning the data typed as <typeparamref name="T"/>.
  1543. </summary>
  1544. <typeparam name="T">The type of results to return.</typeparam>
  1545. <param name="cnn">The connection to query on.</param>
  1546. <param name="command">The command used to query on this connection.</param>
  1547. <returns>
  1548. A sequence of data of <typeparamref name="T"/>; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
  1549. created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
  1550. </returns>
  1551. </member>
  1552. <member name="M:Dapper.SqlMapper.QueryFirst``1(System.Data.IDbConnection,Dapper.CommandDefinition)">
  1553. <summary>
  1554. Executes a query, returning the data typed as <typeparamref name="T"/>.
  1555. </summary>
  1556. <typeparam name="T">The type of results to return.</typeparam>
  1557. <param name="cnn">The connection to query on.</param>
  1558. <param name="command">The command used to query on this connection.</param>
  1559. <returns>
  1560. A single instance or null of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
  1561. created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
  1562. </returns>
  1563. </member>
  1564. <member name="M:Dapper.SqlMapper.QueryFirstOrDefault``1(System.Data.IDbConnection,Dapper.CommandDefinition)">
  1565. <summary>
  1566. Executes a query, returning the data typed as <typeparamref name="T"/>.
  1567. </summary>
  1568. <typeparam name="T">The type of results to return.</typeparam>
  1569. <param name="cnn">The connection to query on.</param>
  1570. <param name="command">The command used to query on this connection.</param>
  1571. <returns>
  1572. A single or null instance of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
  1573. created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
  1574. </returns>
  1575. </member>
  1576. <member name="M:Dapper.SqlMapper.QuerySingle``1(System.Data.IDbConnection,Dapper.CommandDefinition)">
  1577. <summary>
  1578. Executes a query, returning the data typed as <typeparamref name="T"/>.
  1579. </summary>
  1580. <typeparam name="T">The type of results to return.</typeparam>
  1581. <param name="cnn">The connection to query on.</param>
  1582. <param name="command">The command used to query on this connection.</param>
  1583. <returns>
  1584. A single instance of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
  1585. created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
  1586. </returns>
  1587. </member>
  1588. <member name="M:Dapper.SqlMapper.QuerySingleOrDefault``1(System.Data.IDbConnection,Dapper.CommandDefinition)">
  1589. <summary>
  1590. Executes a query, returning the data typed as <typeparamref name="T"/>.
  1591. </summary>
  1592. <typeparam name="T">The type of results to return.</typeparam>
  1593. <param name="cnn">The connection to query on.</param>
  1594. <param name="command">The command used to query on this connection.</param>
  1595. <returns>
  1596. A single instance of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
  1597. created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
  1598. </returns>
  1599. </member>
  1600. <member name="M:Dapper.SqlMapper.QueryMultiple(System.Data.IDbConnection,System.String,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1601. <summary>
  1602. Execute a command that returns multiple result sets, and access each in turn.
  1603. </summary>
  1604. <param name="cnn">The connection to query on.</param>
  1605. <param name="sql">The SQL to execute for this query.</param>
  1606. <param name="param">The parameters to use for this query.</param>
  1607. <param name="transaction">The transaction to use for this query.</param>
  1608. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  1609. <param name="commandType">Is it a stored proc or a batch?</param>
  1610. </member>
  1611. <member name="M:Dapper.SqlMapper.QueryMultiple(System.Data.IDbConnection,Dapper.CommandDefinition)">
  1612. <summary>
  1613. Execute a command that returns multiple result sets, and access each in turn.
  1614. </summary>
  1615. <param name="cnn">The connection to query on.</param>
  1616. <param name="command">The command to execute for this query.</param>
  1617. </member>
  1618. <member name="M:Dapper.SqlMapper.Query``3(System.Data.IDbConnection,System.String,System.Func{``0,``1,``2},System.Object,System.Data.IDbTransaction,System.Boolean,System.String,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1619. <summary>
  1620. Perform a multi-mapping query with 2 input types.
  1621. This returns a single type, combined from the raw types via <paramref name="map"/>.
  1622. </summary>
  1623. <typeparam name="TFirst">The first type in the recordset.</typeparam>
  1624. <typeparam name="TSecond">The second type in the recordset.</typeparam>
  1625. <typeparam name="TReturn">The combined type to return.</typeparam>
  1626. <param name="cnn">The connection to query on.</param>
  1627. <param name="sql">The SQL to execute for this query.</param>
  1628. <param name="map">The function to map row types to the return type.</param>
  1629. <param name="param">The parameters to use for this query.</param>
  1630. <param name="transaction">The transaction to use for this query.</param>
  1631. <param name="buffered">Whether to buffer the results in memory.</param>
  1632. <param name="splitOn">The field we should split and read the second object from (default: "Id").</param>
  1633. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  1634. <param name="commandType">Is it a stored proc or a batch?</param>
  1635. <returns>An enumerable of <typeparamref name="TReturn"/>.</returns>
  1636. </member>
  1637. <member name="M:Dapper.SqlMapper.Query``4(System.Data.IDbConnection,System.String,System.Func{``0,``1,``2,``3},System.Object,System.Data.IDbTransaction,System.Boolean,System.String,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1638. <summary>
  1639. Perform a multi-mapping query with 3 input types.
  1640. This returns a single type, combined from the raw types via <paramref name="map"/>.
  1641. </summary>
  1642. <typeparam name="TFirst">The first type in the recordset.</typeparam>
  1643. <typeparam name="TSecond">The second type in the recordset.</typeparam>
  1644. <typeparam name="TThird">The third type in the recordset.</typeparam>
  1645. <typeparam name="TReturn">The combined type to return.</typeparam>
  1646. <param name="cnn">The connection to query on.</param>
  1647. <param name="sql">The SQL to execute for this query.</param>
  1648. <param name="map">The function to map row types to the return type.</param>
  1649. <param name="param">The parameters to use for this query.</param>
  1650. <param name="transaction">The transaction to use for this query.</param>
  1651. <param name="buffered">Whether to buffer the results in memory.</param>
  1652. <param name="splitOn">The field we should split and read the second object from (default: "Id").</param>
  1653. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  1654. <param name="commandType">Is it a stored proc or a batch?</param>
  1655. <returns>An enumerable of <typeparamref name="TReturn"/>.</returns>
  1656. </member>
  1657. <member name="M:Dapper.SqlMapper.Query``5(System.Data.IDbConnection,System.String,System.Func{``0,``1,``2,``3,``4},System.Object,System.Data.IDbTransaction,System.Boolean,System.String,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1658. <summary>
  1659. Perform a multi-mapping query with 4 input types.
  1660. This returns a single type, combined from the raw types via <paramref name="map"/>.
  1661. </summary>
  1662. <typeparam name="TFirst">The first type in the recordset.</typeparam>
  1663. <typeparam name="TSecond">The second type in the recordset.</typeparam>
  1664. <typeparam name="TThird">The third type in the recordset.</typeparam>
  1665. <typeparam name="TFourth">The fourth type in the recordset.</typeparam>
  1666. <typeparam name="TReturn">The combined type to return.</typeparam>
  1667. <param name="cnn">The connection to query on.</param>
  1668. <param name="sql">The SQL to execute for this query.</param>
  1669. <param name="map">The function to map row types to the return type.</param>
  1670. <param name="param">The parameters to use for this query.</param>
  1671. <param name="transaction">The transaction to use for this query.</param>
  1672. <param name="buffered">Whether to buffer the results in memory.</param>
  1673. <param name="splitOn">The field we should split and read the second object from (default: "Id").</param>
  1674. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  1675. <param name="commandType">Is it a stored proc or a batch?</param>
  1676. <returns>An enumerable of <typeparamref name="TReturn"/>.</returns>
  1677. </member>
  1678. <member name="M:Dapper.SqlMapper.Query``6(System.Data.IDbConnection,System.String,System.Func{``0,``1,``2,``3,``4,``5},System.Object,System.Data.IDbTransaction,System.Boolean,System.String,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1679. <summary>
  1680. Perform a multi-mapping query with 5 input types.
  1681. This returns a single type, combined from the raw types via <paramref name="map"/>.
  1682. </summary>
  1683. <typeparam name="TFirst">The first type in the recordset.</typeparam>
  1684. <typeparam name="TSecond">The second type in the recordset.</typeparam>
  1685. <typeparam name="TThird">The third type in the recordset.</typeparam>
  1686. <typeparam name="TFourth">The fourth type in the recordset.</typeparam>
  1687. <typeparam name="TFifth">The fifth type in the recordset.</typeparam>
  1688. <typeparam name="TReturn">The combined type to return.</typeparam>
  1689. <param name="cnn">The connection to query on.</param>
  1690. <param name="sql">The SQL to execute for this query.</param>
  1691. <param name="map">The function to map row types to the return type.</param>
  1692. <param name="param">The parameters to use for this query.</param>
  1693. <param name="transaction">The transaction to use for this query.</param>
  1694. <param name="buffered">Whether to buffer the results in memory.</param>
  1695. <param name="splitOn">The field we should split and read the second object from (default: "Id").</param>
  1696. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  1697. <param name="commandType">Is it a stored proc or a batch?</param>
  1698. <returns>An enumerable of <typeparamref name="TReturn"/>.</returns>
  1699. </member>
  1700. <member name="M:Dapper.SqlMapper.Query``7(System.Data.IDbConnection,System.String,System.Func{``0,``1,``2,``3,``4,``5,``6},System.Object,System.Data.IDbTransaction,System.Boolean,System.String,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1701. <summary>
  1702. Perform a multi-mapping query with 6 input types.
  1703. This returns a single type, combined from the raw types via <paramref name="map"/>.
  1704. </summary>
  1705. <typeparam name="TFirst">The first type in the recordset.</typeparam>
  1706. <typeparam name="TSecond">The second type in the recordset.</typeparam>
  1707. <typeparam name="TThird">The third type in the recordset.</typeparam>
  1708. <typeparam name="TFourth">The fourth type in the recordset.</typeparam>
  1709. <typeparam name="TFifth">The fifth type in the recordset.</typeparam>
  1710. <typeparam name="TSixth">The sixth type in the recordset.</typeparam>
  1711. <typeparam name="TReturn">The combined type to return.</typeparam>
  1712. <param name="cnn">The connection to query on.</param>
  1713. <param name="sql">The SQL to execute for this query.</param>
  1714. <param name="map">The function to map row types to the return type.</param>
  1715. <param name="param">The parameters to use for this query.</param>
  1716. <param name="transaction">The transaction to use for this query.</param>
  1717. <param name="buffered">Whether to buffer the results in memory.</param>
  1718. <param name="splitOn">The field we should split and read the second object from (default: "Id").</param>
  1719. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  1720. <param name="commandType">Is it a stored proc or a batch?</param>
  1721. <returns>An enumerable of <typeparamref name="TReturn"/>.</returns>
  1722. </member>
  1723. <member name="M:Dapper.SqlMapper.Query``8(System.Data.IDbConnection,System.String,System.Func{``0,``1,``2,``3,``4,``5,``6,``7},System.Object,System.Data.IDbTransaction,System.Boolean,System.String,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1724. <summary>
  1725. Perform a multi-mapping query with 7 input types. If you need more types -> use Query with Type[] parameter.
  1726. This returns a single type, combined from the raw types via <paramref name="map"/>.
  1727. </summary>
  1728. <typeparam name="TFirst">The first type in the recordset.</typeparam>
  1729. <typeparam name="TSecond">The second type in the recordset.</typeparam>
  1730. <typeparam name="TThird">The third type in the recordset.</typeparam>
  1731. <typeparam name="TFourth">The fourth type in the recordset.</typeparam>
  1732. <typeparam name="TFifth">The fifth type in the recordset.</typeparam>
  1733. <typeparam name="TSixth">The sixth type in the recordset.</typeparam>
  1734. <typeparam name="TSeventh">The seventh type in the recordset.</typeparam>
  1735. <typeparam name="TReturn">The combined type to return.</typeparam>
  1736. <param name="cnn">The connection to query on.</param>
  1737. <param name="sql">The SQL to execute for this query.</param>
  1738. <param name="map">The function to map row types to the return type.</param>
  1739. <param name="param">The parameters to use for this query.</param>
  1740. <param name="transaction">The transaction to use for this query.</param>
  1741. <param name="buffered">Whether to buffer the results in memory.</param>
  1742. <param name="splitOn">The field we should split and read the second object from (default: "Id").</param>
  1743. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  1744. <param name="commandType">Is it a stored proc or a batch?</param>
  1745. <returns>An enumerable of <typeparamref name="TReturn"/>.</returns>
  1746. </member>
  1747. <member name="M:Dapper.SqlMapper.Query``1(System.Data.IDbConnection,System.String,System.Type[],System.Func{System.Object[],``0},System.Object,System.Data.IDbTransaction,System.Boolean,System.String,System.Nullable{System.Int32},System.Nullable{System.Data.CommandType})">
  1748. <summary>
  1749. Perform a multi-mapping query with an arbitrary number of input types.
  1750. This returns a single type, combined from the raw types via <paramref name="map"/>.
  1751. </summary>
  1752. <typeparam name="TReturn">The combined type to return.</typeparam>
  1753. <param name="cnn">The connection to query on.</param>
  1754. <param name="sql">The SQL to execute for this query.</param>
  1755. <param name="types">Array of types in the recordset.</param>
  1756. <param name="map">The function to map row types to the return type.</param>
  1757. <param name="param">The parameters to use for this query.</param>
  1758. <param name="transaction">The transaction to use for this query.</param>
  1759. <param name="buffered">Whether to buffer the results in memory.</param>
  1760. <param name="splitOn">The field we should split and read the second object from (default: "Id").</param>
  1761. <param name="commandTimeout">Number of seconds before command execution timeout.</param>
  1762. <param name="commandType">Is it a stored proc or a batch?</param>
  1763. <returns>An enumerable of <typeparamref name="TReturn"/>.</returns>
  1764. </member>
  1765. <member name="M:Dapper.SqlMapper.ReadChar(System.Object)">
  1766. <summary>
  1767. Internal use only.
  1768. </summary>
  1769. <param name="value">The object to convert to a character.</param>
  1770. </member>
  1771. <member name="M:Dapper.SqlMapper.ReadNullableChar(System.Object)">
  1772. <summary>
  1773. Internal use only.
  1774. </summary>
  1775. <param name="value">The object to convert to a character.</param>
  1776. </member>
  1777. <member name="M:Dapper.SqlMapper.FindOrAddParameter(System.Data.IDataParameterCollection,System.Data.IDbCommand,System.String)">
  1778. <summary>
  1779. Internal use only.
  1780. </summary>
  1781. <param name="parameters">The parameter collection to search in.</param>
  1782. <param name="command">The command for this fetch.</param>
  1783. <param name="name">The name of the parameter to get.</param>
  1784. </member>
  1785. <member name="M:Dapper.SqlMapper.PackListParameters(System.Data.IDbCommand,System.String,System.Object)">
  1786. <summary>
  1787. Internal use only.
  1788. </summary>
  1789. <param name="command">The command to pack parameters for.</param>
  1790. <param name="namePrefix">The name prefix for these parameters.</param>
  1791. <param name="value">The parameter value can be an <see cref="T:System.Collections.Generic.IEnumerable`1"/></param>
  1792. </member>
  1793. <member name="M:Dapper.SqlMapper.SanitizeParameterValue(System.Object)">
  1794. <summary>
  1795. OBSOLETE: For internal usage only. Sanitizes the paramter value with proper type casting.
  1796. </summary>
  1797. <param name="value">The value to sanitize.</param>
  1798. </member>
  1799. <member name="M:Dapper.SqlMapper.ReplaceLiterals(Dapper.SqlMapper.IParameterLookup,System.Data.IDbCommand)">
  1800. <summary>
  1801. Replace all literal tokens with their text form.
  1802. </summary>
  1803. <param name="parameters">The parameter lookup to do replacements with.</param>
  1804. <param name="command">The command to repalce parameters in.</param>
  1805. </member>
  1806. <member name="M:Dapper.SqlMapper.Format(System.Object)">
  1807. <summary>
  1808. Convert numeric values to their string form for SQL literal purposes.
  1809. </summary>
  1810. <param name="value">The value to get a string for.</param>
  1811. </member>
  1812. <member name="M:Dapper.SqlMapper.CreateParamInfoGenerator(Dapper.SqlMapper.Identity,System.Boolean,System.Boolean)">
  1813. <summary>
  1814. Internal use only.
  1815. </summary>
  1816. <param name="identity">The identity of the generator.</param>
  1817. <param name="checkForDuplicates">Whether to check for duplicates.</param>
  1818. <param name="removeUnused">Whether to remove unused parameters.</param>
  1819. </member>
  1820. <member name="F:Dapper.SqlMapper.TypeMapProvider">
  1821. <summary>
  1822. Gets type-map for the given type
  1823. </summary>
  1824. <returns>Type map instance, default is to create new instance of DefaultTypeMap</returns>
  1825. </member>
  1826. <member name="M:Dapper.SqlMapper.GetTypeMap(System.Type)">
  1827. <summary>
  1828. Gets type-map for the given <see cref="T:System.Type"/>.
  1829. </summary>
  1830. <param name="type">The type to get a map for.</param>
  1831. <returns>Type map implementation, DefaultTypeMap instance if no override present</returns>
  1832. </member>
  1833. <member name="M:Dapper.SqlMapper.SetTypeMap(System.Type,Dapper.SqlMapper.ITypeMap)">
  1834. <summary>
  1835. Set custom mapping for type deserializers
  1836. </summary>
  1837. <param name="type">Entity type to override</param>
  1838. <param name="map">Mapping rules impementation, null to remove custom map</param>
  1839. </member>
  1840. <member name="M:Dapper.SqlMapper.GetTypeDeserializer(System.Type,System.Data.IDataReader,System.Int32,System.Int32,System.Boolean)">
  1841. <summary>
  1842. Internal use only
  1843. </summary>
  1844. <param name="type"></param>
  1845. <param name="reader"></param>
  1846. <param name="startBound"></param>
  1847. <param name="length"></param>
  1848. <param name="returnNullIfFirstMissing"></param>
  1849. <returns></returns>
  1850. </member>
  1851. <member name="M:Dapper.SqlMapper.ThrowDataException(System.Exception,System.Int32,System.Data.IDataReader,System.Object)">
  1852. <summary>
  1853. Throws a data exception, only used internally
  1854. </summary>
  1855. <param name="ex">The exception to throw.</param>
  1856. <param name="index">The index the exception occured at.</param>
  1857. <param name="reader">The reader the exception occured in.</param>
  1858. <param name="value">The value that caused the exception.</param>
  1859. </member>
  1860. <member name="P:Dapper.SqlMapper.ConnectionStringComparer">
  1861. <summary>
  1862. How should connection strings be compared for equivalence? Defaults to StringComparer.Ordinal.
  1863. Providing a custom implementation can be useful for allowing multi-tenancy databases with identical
  1864. schema to share strategies. Note that usual equivalence rules apply: any equivalent connection strings
  1865. <b>MUST</b> yield the same hash-code.
  1866. </summary>
  1867. </member>
  1868. <member name="F:Dapper.SqlMapper.DataTableTypeNameKey">
  1869. <summary>
  1870. Key used to indicate the type name associated with a DataTable.
  1871. </summary>
  1872. </member>
  1873. <member name="M:Dapper.SqlMapper.AsTableValuedParameter(System.Data.DataTable,System.String)">
  1874. <summary>
  1875. Used to pass a DataTable as a <see cref="T:Dapper.TableValuedParameter"/>.
  1876. </summary>
  1877. <param name="table">The <see cref="T:System.Data.DataTable"/> to create this parameter for.</param>
  1878. <param name="typeName">The name of the type this parameter is for.</param>
  1879. </member>
  1880. <member name="M:Dapper.SqlMapper.SetTypeName(System.Data.DataTable,System.String)">
  1881. <summary>
  1882. Associate a DataTable with a type name.
  1883. </summary>
  1884. <param name="table">The <see cref="T:System.Data.DataTable"/> that does with the <paramref name="typeName"/>.</param>
  1885. <param name="typeName">The name of the type this table is for.</param>
  1886. </member>
  1887. <member name="M:Dapper.SqlMapper.GetTypeName(System.Data.DataTable)">
  1888. <summary>
  1889. Fetch the type name associated with a <see cref="T:System.Data.DataTable"/>.
  1890. </summary>
  1891. <param name="table">The <see cref="T:System.Data.DataTable"/> that has a type name associated with it.</param>
  1892. </member>
  1893. <member name="M:Dapper.SqlMapper.AsTableValuedParameter(System.Collections.Generic.IEnumerable{Microsoft.SqlServer.Server.SqlDataRecord},System.String)">
  1894. <summary>
  1895. Used to pass a IEnumerable&lt;SqlDataRecord&gt; as a TableValuedParameter.
  1896. </summary>
  1897. <param name="list">The list of records to convert to TVPs.</param>
  1898. <param name="typeName">The sql parameter type name.</param>
  1899. </member>
  1900. <member name="T:Dapper.SqlMapper.DontMap">
  1901. <summary>
  1902. Dummy type for excluding from multi-map
  1903. </summary>
  1904. </member>
  1905. <member name="T:Dapper.SqlMapper.GridReader">
  1906. <summary>
  1907. The grid reader provides interfaces for reading multiple result sets from a Dapper query
  1908. </summary>
  1909. </member>
  1910. <member name="M:Dapper.SqlMapper.GridReader.ReadAsync(System.Boolean)">
  1911. <summary>
  1912. Read the next grid of results, returned as a dynamic object
  1913. </summary>
  1914. <remarks>Note: each row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</remarks>
  1915. <param name="buffered">Whether to buffer the results.</param>
  1916. </member>
  1917. <member name="M:Dapper.SqlMapper.GridReader.ReadFirstAsync">
  1918. <summary>
  1919. Read an individual row of the next grid of results, returned as a dynamic object
  1920. </summary>
  1921. <remarks>Note: the row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</remarks>
  1922. </member>
  1923. <member name="M:Dapper.SqlMapper.GridReader.ReadFirstOrDefaultAsync">
  1924. <summary>
  1925. Read an individual row of the next grid of results, returned as a dynamic object
  1926. </summary>
  1927. <remarks>Note: the row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</remarks>
  1928. </member>
  1929. <member name="M:Dapper.SqlMapper.GridReader.ReadSingleAsync">
  1930. <summary>
  1931. Read an individual row of the next grid of results, returned as a dynamic object
  1932. </summary>
  1933. <remarks>Note: the row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</remarks>
  1934. </member>
  1935. <member name="M:Dapper.SqlMapper.GridReader.ReadSingleOrDefaultAsync">
  1936. <summary>
  1937. Read an individual row of the next grid of results, returned as a dynamic object
  1938. </summary>
  1939. <remarks>Note: the row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</remarks>
  1940. </member>
  1941. <member name="M:Dapper.SqlMapper.GridReader.ReadAsync(System.Type,System.Boolean)">
  1942. <summary>
  1943. Read the next grid of results
  1944. </summary>
  1945. <param name="type">The type to read.</param>
  1946. <param name="buffered">Whether to buffer the results.</param>
  1947. <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
  1948. </member>
  1949. <member name="M:Dapper.SqlMapper.GridReader.ReadFirstAsync(System.Type)">
  1950. <summary>
  1951. Read an individual row of the next grid of results
  1952. </summary>
  1953. <param name="type">The type to read.</param>
  1954. <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
  1955. </member>
  1956. <member name="M:Dapper.SqlMapper.GridReader.ReadFirstOrDefaultAsync(System.Type)">
  1957. <summary>
  1958. Read an individual row of the next grid of results.
  1959. </summary>
  1960. <param name="type">The type to read.</param>
  1961. <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
  1962. </member>
  1963. <member name="M:Dapper.SqlMapper.GridReader.ReadSingleAsync(System.Type)">
  1964. <summary>
  1965. Read an individual row of the next grid of results.
  1966. </summary>
  1967. <param name="type">The type to read.</param>
  1968. <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
  1969. </member>
  1970. <member name="M:Dapper.SqlMapper.GridReader.ReadSingleOrDefaultAsync(System.Type)">
  1971. <summary>
  1972. Read an individual row of the next grid of results.
  1973. </summary>
  1974. <param name="type">The type to read.</param>
  1975. <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
  1976. </member>
  1977. <member name="M:Dapper.SqlMapper.GridReader.ReadAsync``1(System.Boolean)">
  1978. <summary>
  1979. Read the next grid of results.
  1980. </summary>
  1981. <typeparam name="T">The type to read.</typeparam>
  1982. <param name="buffered">Whether the results should be buffered in memory.</param>
  1983. </member>
  1984. <member name="M:Dapper.SqlMapper.GridReader.ReadFirstAsync``1">
  1985. <summary>
  1986. Read an individual row of the next grid of results.
  1987. </summary>
  1988. <typeparam name="T">The type to read.</typeparam>
  1989. </member>
  1990. <member name="M:Dapper.SqlMapper.GridReader.ReadFirstOrDefaultAsync``1">
  1991. <summary>
  1992. Read an individual row of the next grid of results.
  1993. </summary>
  1994. <typeparam name="T">The type to read.</typeparam>
  1995. </member>
  1996. <member name="M:Dapper.SqlMapper.GridReader.ReadSingleAsync``1">
  1997. <summary>
  1998. Read an individual row of the next grid of results.
  1999. </summary>
  2000. <typeparam name="T">The type to read.</typeparam>
  2001. </member>
  2002. <member name="M:Dapper.SqlMapper.GridReader.ReadSingleOrDefaultAsync``1">
  2003. <summary>
  2004. Read an individual row of the next grid of results.
  2005. </summary>
  2006. <typeparam name="T">The type to read.</typeparam>
  2007. </member>
  2008. <member name="M:Dapper.SqlMapper.GridReader.Read(System.Boolean)">
  2009. <summary>
  2010. Read the next grid of results, returned as a dynamic object.
  2011. </summary>
  2012. <param name="buffered">Whether the results should be buffered in memory.</param>
  2013. <remarks>Note: each row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</remarks>
  2014. </member>
  2015. <member name="M:Dapper.SqlMapper.GridReader.ReadFirst">
  2016. <summary>
  2017. Read an individual row of the next grid of results, returned as a dynamic object.
  2018. </summary>
  2019. <remarks>Note: the row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</remarks>
  2020. </member>
  2021. <member name="M:Dapper.SqlMapper.GridReader.ReadFirstOrDefault">
  2022. <summary>
  2023. Read an individual row of the next grid of results, returned as a dynamic object.
  2024. </summary>
  2025. <remarks>Note: the row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</remarks>
  2026. </member>
  2027. <member name="M:Dapper.SqlMapper.GridReader.ReadSingle">
  2028. <summary>
  2029. Read an individual row of the next grid of results, returned as a dynamic object.
  2030. </summary>
  2031. <remarks>Note: the row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</remarks>
  2032. </member>
  2033. <member name="M:Dapper.SqlMapper.GridReader.ReadSingleOrDefault">
  2034. <summary>
  2035. Read an individual row of the next grid of results, returned as a dynamic object.
  2036. </summary>
  2037. <remarks>Note: the row can be accessed via "dynamic", or by casting to an IDictionary&lt;string,object&gt;</remarks>
  2038. </member>
  2039. <member name="M:Dapper.SqlMapper.GridReader.Read``1(System.Boolean)">
  2040. <summary>
  2041. Read the next grid of results.
  2042. </summary>
  2043. <typeparam name="T">The type to read.</typeparam>
  2044. <param name="buffered">Whether the results should be buffered in memory.</param>
  2045. </member>
  2046. <member name="M:Dapper.SqlMapper.GridReader.ReadFirst``1">
  2047. <summary>
  2048. Read an individual row of the next grid of results.
  2049. </summary>
  2050. <typeparam name="T">The type to read.</typeparam>
  2051. </member>
  2052. <member name="M:Dapper.SqlMapper.GridReader.ReadFirstOrDefault``1">
  2053. <summary>
  2054. Read an individual row of the next grid of results.
  2055. </summary>
  2056. <typeparam name="T">The type to read.</typeparam>
  2057. </member>
  2058. <member name="M:Dapper.SqlMapper.GridReader.ReadSingle``1">
  2059. <summary>
  2060. Read an individual row of the next grid of results.
  2061. </summary>
  2062. <typeparam name="T">The type to read.</typeparam>
  2063. </member>
  2064. <member name="M:Dapper.SqlMapper.GridReader.ReadSingleOrDefault``1">
  2065. <summary>
  2066. Read an individual row of the next grid of results.
  2067. </summary>
  2068. <typeparam name="T">The type to read.</typeparam>
  2069. </member>
  2070. <member name="M:Dapper.SqlMapper.GridReader.Read(System.Type,System.Boolean)">
  2071. <summary>
  2072. Read the next grid of results.
  2073. </summary>
  2074. <param name="type">The type to read.</param>
  2075. <param name="buffered">Whether to buffer the results.</param>
  2076. <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
  2077. </member>
  2078. <member name="M:Dapper.SqlMapper.GridReader.ReadFirst(System.Type)">
  2079. <summary>
  2080. Read an individual row of the next grid of results.
  2081. </summary>
  2082. <param name="type">The type to read.</param>
  2083. <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
  2084. </member>
  2085. <member name="M:Dapper.SqlMapper.GridReader.ReadFirstOrDefault(System.Type)">
  2086. <summary>
  2087. Read an individual row of the next grid of results.
  2088. </summary>
  2089. <param name="type">The type to read.</param>
  2090. <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
  2091. </member>
  2092. <member name="M:Dapper.SqlMapper.GridReader.ReadSingle(System.Type)">
  2093. <summary>
  2094. Read an individual row of the next grid of results.
  2095. </summary>
  2096. <param name="type">The type to read.</param>
  2097. <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
  2098. </member>
  2099. <member name="M:Dapper.SqlMapper.GridReader.ReadSingleOrDefault(System.Type)">
  2100. <summary>
  2101. Read an individual row of the next grid of results.
  2102. </summary>
  2103. <param name="type">The type to read.</param>
  2104. <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
  2105. </member>
  2106. <member name="M:Dapper.SqlMapper.GridReader.Read``3(System.Func{``0,``1,``2},System.String,System.Boolean)">
  2107. <summary>
  2108. Read multiple objects from a single record set on the grid.
  2109. </summary>
  2110. <typeparam name="TFirst">The first type in the record set.</typeparam>
  2111. <typeparam name="TSecond">The second type in the record set.</typeparam>
  2112. <typeparam name="TReturn">The type to return from the record set.</typeparam>
  2113. <param name="func">The mapping function from the read types to the return type.</param>
  2114. <param name="splitOn">The field(s) we should split and read the second object from (defaults to "id")</param>
  2115. <param name="buffered">Whether to buffer results in memory.</param>
  2116. </member>
  2117. <member name="M:Dapper.SqlMapper.GridReader.Read``4(System.Func{``0,``1,``2,``3},System.String,System.Boolean)">
  2118. <summary>
  2119. Read multiple objects from a single record set on the grid.
  2120. </summary>
  2121. <typeparam name="TFirst">The first type in the record set.</typeparam>
  2122. <typeparam name="TSecond">The second type in the record set.</typeparam>
  2123. <typeparam name="TThird">The third type in the record set.</typeparam>
  2124. <typeparam name="TReturn">The type to return from the record set.</typeparam>
  2125. <param name="func">The mapping function from the read types to the return type.</param>
  2126. <param name="splitOn">The field(s) we should split and read the second object from (defaults to "id")</param>
  2127. <param name="buffered">Whether to buffer results in memory.</param>
  2128. </member>
  2129. <member name="M:Dapper.SqlMapper.GridReader.Read``5(System.Func{``0,``1,``2,``3,``4},System.String,System.Boolean)">
  2130. <summary>
  2131. Read multiple objects from a single record set on the grid
  2132. </summary>
  2133. <typeparam name="TFirst">The first type in the record set.</typeparam>
  2134. <typeparam name="TSecond">The second type in the record set.</typeparam>
  2135. <typeparam name="TThird">The third type in the record set.</typeparam>
  2136. <typeparam name="TFourth">The fourth type in the record set.</typeparam>
  2137. <typeparam name="TReturn">The type to return from the record set.</typeparam>
  2138. <param name="func">The mapping function from the read types to the return type.</param>
  2139. <param name="splitOn">The field(s) we should split and read the second object from (defaults to "id")</param>
  2140. <param name="buffered">Whether to buffer results in memory.</param>
  2141. </member>
  2142. <member name="M:Dapper.SqlMapper.GridReader.Read``6(System.Func{``0,``1,``2,``3,``4,``5},System.String,System.Boolean)">
  2143. <summary>
  2144. Read multiple objects from a single record set on the grid
  2145. </summary>
  2146. <typeparam name="TFirst">The first type in the record set.</typeparam>
  2147. <typeparam name="TSecond">The second type in the record set.</typeparam>
  2148. <typeparam name="TThird">The third type in the record set.</typeparam>
  2149. <typeparam name="TFourth">The fourth type in the record set.</typeparam>
  2150. <typeparam name="TFifth">The fifth type in the record set.</typeparam>
  2151. <typeparam name="TReturn">The type to return from the record set.</typeparam>
  2152. <param name="func">The mapping function from the read types to the return type.</param>
  2153. <param name="splitOn">The field(s) we should split and read the second object from (defaults to "id")</param>
  2154. <param name="buffered">Whether to buffer results in memory.</param>
  2155. </member>
  2156. <member name="M:Dapper.SqlMapper.GridReader.Read``7(System.Func{``0,``1,``2,``3,``4,``5,``6},System.String,System.Boolean)">
  2157. <summary>
  2158. Read multiple objects from a single record set on the grid
  2159. </summary>
  2160. <typeparam name="TFirst">The first type in the record set.</typeparam>
  2161. <typeparam name="TSecond">The second type in the record set.</typeparam>
  2162. <typeparam name="TThird">The third type in the record set.</typeparam>
  2163. <typeparam name="TFourth">The fourth type in the record set.</typeparam>
  2164. <typeparam name="TFifth">The fifth type in the record set.</typeparam>
  2165. <typeparam name="TSixth">The sixth type in the record set.</typeparam>
  2166. <typeparam name="TReturn">The type to return from the record set.</typeparam>
  2167. <param name="func">The mapping function from the read types to the return type.</param>
  2168. <param name="splitOn">The field(s) we should split and read the second object from (defaults to "id")</param>
  2169. <param name="buffered">Whether to buffer results in memory.</param>
  2170. </member>
  2171. <member name="M:Dapper.SqlMapper.GridReader.Read``8(System.Func{``0,``1,``2,``3,``4,``5,``6,``7},System.String,System.Boolean)">
  2172. <summary>
  2173. Read multiple objects from a single record set on the grid
  2174. </summary>
  2175. <typeparam name="TFirst">The first type in the record set.</typeparam>
  2176. <typeparam name="TSecond">The second type in the record set.</typeparam>
  2177. <typeparam name="TThird">The third type in the record set.</typeparam>
  2178. <typeparam name="TFourth">The fourth type in the record set.</typeparam>
  2179. <typeparam name="TFifth">The fifth type in the record set.</typeparam>
  2180. <typeparam name="TSixth">The sixth type in the record set.</typeparam>
  2181. <typeparam name="TSeventh">The seventh type in the record set.</typeparam>
  2182. <typeparam name="TReturn">The type to return from the record set.</typeparam>
  2183. <param name="func">The mapping function from the read types to the return type.</param>
  2184. <param name="splitOn">The field(s) we should split and read the second object from (defaults to "id")</param>
  2185. <param name="buffered">Whether to buffer results in memory.</param>
  2186. </member>
  2187. <member name="M:Dapper.SqlMapper.GridReader.Read``1(System.Type[],System.Func{System.Object[],``0},System.String,System.Boolean)">
  2188. <summary>
  2189. Read multiple objects from a single record set on the grid
  2190. </summary>
  2191. <typeparam name="TReturn">The type to return from the record set.</typeparam>
  2192. <param name="types">The types to read from the result set.</param>
  2193. <param name="map">The mapping function from the read types to the return type.</param>
  2194. <param name="splitOn">The field(s) we should split and read the second object from (defaults to "id")</param>
  2195. <param name="buffered">Whether to buffer results in memory.</param>
  2196. </member>
  2197. <member name="P:Dapper.SqlMapper.GridReader.IsConsumed">
  2198. <summary>
  2199. Has the underlying reader been consumed?
  2200. </summary>
  2201. </member>
  2202. <member name="P:Dapper.SqlMapper.GridReader.Command">
  2203. <summary>
  2204. The command associated with the reader
  2205. </summary>
  2206. </member>
  2207. <member name="M:Dapper.SqlMapper.GridReader.Dispose">
  2208. <summary>
  2209. Dispose the grid, closing and disposing both the underlying reader and command.
  2210. </summary>
  2211. </member>
  2212. <member name="T:Dapper.SqlMapper.ICustomQueryParameter">
  2213. <summary>
  2214. Implement this interface to pass an arbitrary db specific parameter to Dapper
  2215. </summary>
  2216. </member>
  2217. <member name="M:Dapper.SqlMapper.ICustomQueryParameter.AddParameter(System.Data.IDbCommand,System.String)">
  2218. <summary>
  2219. Add the parameter needed to the command before it executes
  2220. </summary>
  2221. <param name="command">The raw command prior to execution</param>
  2222. <param name="name">Parameter name</param>
  2223. </member>
  2224. <member name="M:Dapper.SqlMapper.Parse``1(System.Data.IDataReader)">
  2225. <summary>
  2226. Parses a data reader to a sequence of data of the supplied type. Used for deserializing a reader without a connection, etc.
  2227. </summary>
  2228. <typeparam name="T">The type to parse from the <paramref name="reader"/>.</typeparam>
  2229. <param name="reader">The data reader to parse results from.</param>
  2230. </member>
  2231. <member name="M:Dapper.SqlMapper.Parse(System.Data.IDataReader,System.Type)">
  2232. <summary>
  2233. Parses a data reader to a sequence of data of the supplied type (as object). Used for deserializing a reader without a connection, etc.
  2234. </summary>
  2235. <param name="reader">The data reader to parse results from.</param>
  2236. <param name="type">The type to parse from the <paramref name="reader"/>.</param>
  2237. </member>
  2238. <member name="M:Dapper.SqlMapper.Parse(System.Data.IDataReader)">
  2239. <summary>
  2240. Parses a data reader to a sequence of dynamic. Used for deserializing a reader without a connection, etc.
  2241. </summary>
  2242. <param name="reader">The data reader to parse results from.</param>
  2243. </member>
  2244. <member name="M:Dapper.SqlMapper.GetRowParser(System.Data.IDataReader,System.Type,System.Int32,System.Int32,System.Boolean)">
  2245. <summary>
  2246. Gets the row parser for a specific row on a data reader. This allows for type switching every row based on, for example, a TypeId column.
  2247. You could return a collection of the base type but have each more specific.
  2248. </summary>
  2249. <param name="reader">The data reader to get the parser for the current row from</param>
  2250. <param name="type">The type to get the parser for</param>
  2251. <param name="startIndex">The start column index of the object (default 0)</param>
  2252. <param name="length">The length of columns to read (default -1 = all fields following startIndex)</param>
  2253. <param name="returnNullIfFirstMissing">Return null if we can't find the first column? (default false)</param>
  2254. <returns>A parser for this specific object from this row.</returns>
  2255. </member>
  2256. <member name="M:Dapper.SqlMapper.GetRowParser``1(System.Data.IDataReader,System.Type,System.Int32,System.Int32,System.Boolean)">
  2257. <summary>
  2258. Gets the row parser for a specific row on a data reader. This allows for type switching every row based on, for example, a TypeId column.
  2259. You could return a collection of the base type but have each more specific.
  2260. </summary>
  2261. <typeparam name="T">The type of results to return.</typeparam>
  2262. <param name="reader">The data reader to get the parser for the current row from.</param>
  2263. <param name="concreteType">The type to get the parser for.</param>
  2264. <param name="startIndex">The start column index of the object (default: 0).</param>
  2265. <param name="length">The length of columns to read (default: -1 = all fields following startIndex).</param>
  2266. <param name="returnNullIfFirstMissing">Return null if we can't find the first column? (default: false).</param>
  2267. <returns>A parser for this specific object from this row.</returns>
  2268. <example>
  2269. var result = new List&lt;BaseType&gt;();
  2270. using (var reader = connection.ExecuteReader(@"
  2271. select 'abc' as Name, 1 as Type, 3.0 as Value
  2272. union all
  2273. select 'def' as Name, 2 as Type, 4.0 as Value"))
  2274. {
  2275. if (reader.Read())
  2276. {
  2277. var toFoo = reader.GetRowParser&lt;BaseType&gt;(typeof(Foo));
  2278. var toBar = reader.GetRowParser&lt;BaseType&gt;(typeof(Bar));
  2279. var col = reader.GetOrdinal("Type");
  2280. do
  2281. {
  2282. switch (reader.GetInt32(col))
  2283. {
  2284. case 1:
  2285. result.Add(toFoo(reader));
  2286. break;
  2287. case 2:
  2288. result.Add(toBar(reader));
  2289. break;
  2290. }
  2291. } while (reader.Read());
  2292. }
  2293. }
  2294. abstract class BaseType
  2295. {
  2296. public abstract int Type { get; }
  2297. }
  2298. class Foo : BaseType
  2299. {
  2300. public string Name { get; set; }
  2301. public override int Type =&gt; 1;
  2302. }
  2303. class Bar : BaseType
  2304. {
  2305. public float Value { get; set; }
  2306. public override int Type =&gt; 2;
  2307. }
  2308. </example>
  2309. </member>
  2310. <member name="T:Dapper.SqlMapper.Identity">
  2311. <summary>
  2312. Identity of a cached query in Dapper, used for extensibility.
  2313. </summary>
  2314. </member>
  2315. <member name="M:Dapper.SqlMapper.Identity.ForDynamicParameters(System.Type)">
  2316. <summary>
  2317. Create an identity for use with DynamicParameters, internal use only.
  2318. </summary>
  2319. <param name="type">The parameters type to create an <see cref="T:Dapper.SqlMapper.Identity"/> for.</param>
  2320. <returns></returns>
  2321. </member>
  2322. <member name="M:Dapper.SqlMapper.Identity.Equals(System.Object)">
  2323. <summary>
  2324. Whether this <see cref="T:Dapper.SqlMapper.Identity"/> equals another.
  2325. </summary>
  2326. <param name="obj">The other <see cref="T:System.Object"/> to compare to.</param>
  2327. </member>
  2328. <member name="F:Dapper.SqlMapper.Identity.sql">
  2329. <summary>
  2330. The raw SQL command.
  2331. </summary>
  2332. </member>
  2333. <member name="F:Dapper.SqlMapper.Identity.commandType">
  2334. <summary>
  2335. The SQL command type.
  2336. </summary>
  2337. </member>
  2338. <member name="F:Dapper.SqlMapper.Identity.hashCode">
  2339. <summary>
  2340. The hash code of this Identity.
  2341. </summary>
  2342. </member>
  2343. <member name="F:Dapper.SqlMapper.Identity.gridIndex">
  2344. <summary>
  2345. The grid index (position in the reader) of this Identity.
  2346. </summary>
  2347. </member>
  2348. <member name="F:Dapper.SqlMapper.Identity.type">
  2349. <summary>
  2350. This <see cref="T:System.Type"/> of this Identity.
  2351. </summary>
  2352. </member>
  2353. <member name="F:Dapper.SqlMapper.Identity.connectionString">
  2354. <summary>
  2355. The connection string for this Identity.
  2356. </summary>
  2357. </member>
  2358. <member name="F:Dapper.SqlMapper.Identity.parametersType">
  2359. <summary>
  2360. The type of the parameters object for this Identity.
  2361. </summary>
  2362. </member>
  2363. <member name="M:Dapper.SqlMapper.Identity.GetHashCode">
  2364. <summary>
  2365. Gets the hash code for this identity.
  2366. </summary>
  2367. <returns></returns>
  2368. </member>
  2369. <member name="M:Dapper.SqlMapper.Identity.Equals(Dapper.SqlMapper.Identity)">
  2370. <summary>
  2371. Compare 2 Identity objects
  2372. </summary>
  2373. <param name="other">The other <see cref="T:Dapper.SqlMapper.Identity"/> object to compare.</param>
  2374. <returns>Whether the two are equal</returns>
  2375. </member>
  2376. <member name="T:Dapper.SqlMapper.IDynamicParameters">
  2377. <summary>
  2378. Implement this interface to pass an arbitrary db specific set of parameters to Dapper
  2379. </summary>
  2380. </member>
  2381. <member name="M:Dapper.SqlMapper.IDynamicParameters.AddParameters(System.Data.IDbCommand,Dapper.SqlMapper.Identity)">
  2382. <summary>
  2383. Add all the parameters needed to the command just before it executes
  2384. </summary>
  2385. <param name="command">The raw command prior to execution</param>
  2386. <param name="identity">Information about the query</param>
  2387. </member>
  2388. <member name="T:Dapper.SqlMapper.IMemberMap">
  2389. <summary>
  2390. Implements this interface to provide custom member mapping
  2391. </summary>
  2392. </member>
  2393. <member name="P:Dapper.SqlMapper.IMemberMap.ColumnName">
  2394. <summary>
  2395. Source DataReader column name
  2396. </summary>
  2397. </member>
  2398. <member name="P:Dapper.SqlMapper.IMemberMap.MemberType">
  2399. <summary>
  2400. Target member type
  2401. </summary>
  2402. </member>
  2403. <member name="P:Dapper.SqlMapper.IMemberMap.Property">
  2404. <summary>
  2405. Target property
  2406. </summary>
  2407. </member>
  2408. <member name="P:Dapper.SqlMapper.IMemberMap.Field">
  2409. <summary>
  2410. Target field
  2411. </summary>
  2412. </member>
  2413. <member name="P:Dapper.SqlMapper.IMemberMap.Parameter">
  2414. <summary>
  2415. Target constructor parameter
  2416. </summary>
  2417. </member>
  2418. <member name="T:Dapper.SqlMapper.IParameterCallbacks">
  2419. <summary>
  2420. Extends IDynamicParameters with facilities for executing callbacks after commands have completed
  2421. </summary>
  2422. </member>
  2423. <member name="M:Dapper.SqlMapper.IParameterCallbacks.OnCompleted">
  2424. <summary>
  2425. Invoked when the command has executed
  2426. </summary>
  2427. </member>
  2428. <member name="T:Dapper.SqlMapper.IParameterLookup">
  2429. <summary>
  2430. Extends IDynamicParameters providing by-name lookup of parameter values
  2431. </summary>
  2432. </member>
  2433. <member name="P:Dapper.SqlMapper.IParameterLookup.Item(System.String)">
  2434. <summary>
  2435. Get the value of the specified parameter (return null if not found)
  2436. </summary>
  2437. <param name="name">The name of the parameter to get.</param>
  2438. </member>
  2439. <member name="T:Dapper.SqlMapper.ITypeHandler">
  2440. <summary>
  2441. Implement this interface to perform custom type-based parameter handling and value parsing
  2442. </summary>
  2443. </member>
  2444. <member name="M:Dapper.SqlMapper.ITypeHandler.SetValue(System.Data.IDbDataParameter,System.Object)">
  2445. <summary>
  2446. Assign the value of a parameter before a command executes
  2447. </summary>
  2448. <param name="parameter">The parameter to configure</param>
  2449. <param name="value">Parameter value</param>
  2450. </member>
  2451. <member name="M:Dapper.SqlMapper.ITypeHandler.Parse(System.Type,System.Object)">
  2452. <summary>
  2453. Parse a database value back to a typed value
  2454. </summary>
  2455. <param name="value">The value from the database</param>
  2456. <param name="destinationType">The type to parse to</param>
  2457. <returns>The typed value</returns>
  2458. </member>
  2459. <member name="T:Dapper.SqlMapper.ITypeMap">
  2460. <summary>
  2461. Implement this interface to change default mapping of reader columns to type members
  2462. </summary>
  2463. </member>
  2464. <member name="M:Dapper.SqlMapper.ITypeMap.FindConstructor(System.String[],System.Type[])">
  2465. <summary>
  2466. Finds best constructor
  2467. </summary>
  2468. <param name="names">DataReader column names</param>
  2469. <param name="types">DataReader column types</param>
  2470. <returns>Matching constructor or default one</returns>
  2471. </member>
  2472. <member name="M:Dapper.SqlMapper.ITypeMap.FindExplicitConstructor">
  2473. <summary>
  2474. Returns a constructor which should *always* be used.
  2475. Parameters will be default values, nulls for reference types and zero'd for value types.
  2476. Use this class to force object creation away from parameterless constructors you don't control.
  2477. </summary>
  2478. </member>
  2479. <member name="M:Dapper.SqlMapper.ITypeMap.GetConstructorParameter(System.Reflection.ConstructorInfo,System.String)">
  2480. <summary>
  2481. Gets mapping for constructor parameter
  2482. </summary>
  2483. <param name="constructor">Constructor to resolve</param>
  2484. <param name="columnName">DataReader column name</param>
  2485. <returns>Mapping implementation</returns>
  2486. </member>
  2487. <member name="M:Dapper.SqlMapper.ITypeMap.GetMember(System.String)">
  2488. <summary>
  2489. Gets member mapping for column
  2490. </summary>
  2491. <param name="columnName">DataReader column name</param>
  2492. <returns>Mapping implementation</returns>
  2493. </member>
  2494. <member name="T:Dapper.SqlMapper.Link`2">
  2495. <summary>
  2496. This is a micro-cache; suitable when the number of terms is controllable (a few hundred, for example),
  2497. and strictly append-only; you cannot change existing values. All key matches are on **REFERENCE**
  2498. equality. The type is fully thread-safe.
  2499. </summary>
  2500. <typeparam name="TKey">The type to cache.</typeparam>
  2501. <typeparam name="TValue">The value type of the cache.</typeparam>
  2502. </member>
  2503. <member name="T:Dapper.SqlMapper.LiteralToken">
  2504. <summary>
  2505. Represents a placeholder for a value that should be replaced as a literal value in the resulting sql
  2506. </summary>
  2507. </member>
  2508. <member name="P:Dapper.SqlMapper.LiteralToken.Token">
  2509. <summary>
  2510. The text in the original command that should be replaced
  2511. </summary>
  2512. </member>
  2513. <member name="P:Dapper.SqlMapper.LiteralToken.Member">
  2514. <summary>
  2515. The name of the member referred to by the token
  2516. </summary>
  2517. </member>
  2518. <member name="T:Dapper.SqlMapper.Settings">
  2519. <summary>
  2520. Permits specifying certain SqlMapper values globally.
  2521. </summary>
  2522. </member>
  2523. <member name="P:Dapper.SqlMapper.Settings.UseSingleResultOptimization">
  2524. <summary>
  2525. Gets or sets whether Dapper should use the CommandBehavior.SingleResult optimization
  2526. </summary>
  2527. <remarks>Note that a consequence of enabling this option is that errors that happen <b>after</b> the first select may not be reported</remarks>
  2528. </member>
  2529. <member name="P:Dapper.SqlMapper.Settings.UseSingleRowOptimization">
  2530. <summary>
  2531. Gets or sets whether Dapper should use the CommandBehavior.SingleRow optimization
  2532. </summary>
  2533. <remarks>Note that on some DB providers this optimization can have adverse performance impact</remarks>
  2534. </member>
  2535. <member name="M:Dapper.SqlMapper.Settings.SetDefaults">
  2536. <summary>
  2537. Resets all Settings to their default values
  2538. </summary>
  2539. </member>
  2540. <member name="P:Dapper.SqlMapper.Settings.CommandTimeout">
  2541. <summary>
  2542. Specifies the default Command Timeout for all Queries
  2543. </summary>
  2544. </member>
  2545. <member name="P:Dapper.SqlMapper.Settings.ApplyNullValues">
  2546. <summary>
  2547. Indicates whether nulls in data are silently ignored (default) vs actively applied and assigned to members
  2548. </summary>
  2549. </member>
  2550. <member name="P:Dapper.SqlMapper.Settings.PadListExpansions">
  2551. <summary>
  2552. Should list expansions be padded with null-valued parameters, to prevent query-plan saturation? For example,
  2553. an 'in @foo' expansion with 7, 8 or 9 values will be sent as a list of 10 values, with 3, 2 or 1 of them null.
  2554. The padding size is relative to the size of the list; "next 10" under 150, "next 50" under 500,
  2555. "next 100" under 1500, etc.
  2556. </summary>
  2557. <remarks>
  2558. Caution: this should be treated with care if your DB provider (or the specific configuration) allows for null
  2559. equality (aka "ansi nulls off"), as this may change the intent of your query; as such, this is disabled by
  2560. default and must be enabled.
  2561. </remarks>
  2562. </member>
  2563. <member name="P:Dapper.SqlMapper.Settings.InListStringSplitCount">
  2564. <summary>
  2565. If set (non-negative), when performing in-list expansions of integer types ("where id in @ids", etc), switch to a string_split based
  2566. operation if there are more than this many elements. Note that this feautre requires SQL Server 2016 / compatibility level 130 (or above).
  2567. </summary>
  2568. </member>
  2569. <member name="T:Dapper.SqlMapper.TypeHandler`1">
  2570. <summary>
  2571. Base-class for simple type-handlers
  2572. </summary>
  2573. <typeparam name="T">This <see cref="T:System.Type"/> this handler is for.</typeparam>
  2574. </member>
  2575. <member name="M:Dapper.SqlMapper.TypeHandler`1.SetValue(System.Data.IDbDataParameter,`0)">
  2576. <summary>
  2577. Assign the value of a parameter before a command executes
  2578. </summary>
  2579. <param name="parameter">The parameter to configure</param>
  2580. <param name="value">Parameter value</param>
  2581. </member>
  2582. <member name="M:Dapper.SqlMapper.TypeHandler`1.Parse(System.Object)">
  2583. <summary>
  2584. Parse a database value back to a typed value
  2585. </summary>
  2586. <param name="value">The value from the database</param>
  2587. <returns>The typed value</returns>
  2588. </member>
  2589. <member name="T:Dapper.SqlMapper.StringTypeHandler`1">
  2590. <summary>
  2591. Base-class for simple type-handlers that are based around strings
  2592. </summary>
  2593. <typeparam name="T">This <see cref="T:System.Type"/> this handler is for.</typeparam>
  2594. </member>
  2595. <member name="M:Dapper.SqlMapper.StringTypeHandler`1.Parse(System.String)">
  2596. <summary>
  2597. Parse a string into the expected type (the string will never be null)
  2598. </summary>
  2599. <param name="xml">The string to parse.</param>
  2600. </member>
  2601. <member name="M:Dapper.SqlMapper.StringTypeHandler`1.Format(`0)">
  2602. <summary>
  2603. Format an instace into a string (the instance will never be null)
  2604. </summary>
  2605. <param name="xml">The string to format.</param>
  2606. </member>
  2607. <member name="M:Dapper.SqlMapper.StringTypeHandler`1.SetValue(System.Data.IDbDataParameter,`0)">
  2608. <summary>
  2609. Assign the value of a parameter before a command executes
  2610. </summary>
  2611. <param name="parameter">The parameter to configure</param>
  2612. <param name="value">Parameter value</param>
  2613. </member>
  2614. <member name="M:Dapper.SqlMapper.StringTypeHandler`1.Parse(System.Object)">
  2615. <summary>
  2616. Parse a database value back to a typed value
  2617. </summary>
  2618. <param name="value">The value from the database</param>
  2619. <returns>The typed value</returns>
  2620. </member>
  2621. <member name="T:Dapper.SqlMapper.TypeHandlerCache`1">
  2622. <summary>
  2623. Not intended for direct usage
  2624. </summary>
  2625. <typeparam name="T">The type to have a cache for.</typeparam>
  2626. </member>
  2627. <member name="M:Dapper.SqlMapper.TypeHandlerCache`1.Parse(System.Object)">
  2628. <summary>
  2629. Not intended for direct usage.
  2630. </summary>
  2631. <param name="value">The object to parse.</param>
  2632. </member>
  2633. <member name="M:Dapper.SqlMapper.TypeHandlerCache`1.SetValue(System.Data.IDbDataParameter,System.Object)">
  2634. <summary>
  2635. Not intended for direct usage.
  2636. </summary>
  2637. <param name="parameter">The parameter to set a value for.</param>
  2638. <param name="value">The value to set.</param>
  2639. </member>
  2640. <member name="T:Dapper.SqlMapper.UdtTypeHandler">
  2641. <summary>
  2642. A type handler for data-types that are supported by the underlying provider, but which need
  2643. a well-known UdtTypeName to be specified
  2644. </summary>
  2645. </member>
  2646. <member name="M:Dapper.SqlMapper.UdtTypeHandler.#ctor(System.String)">
  2647. <summary>
  2648. Creates a new instance of UdtTypeHandler with the specified <see cref="T:Dapper.SqlMapper.UdtTypeHandler"/>.
  2649. </summary>
  2650. <param name="udtTypeName">The user defined type name.</param>
  2651. </member>
  2652. <member name="T:Dapper.TableValuedParameter">
  2653. <summary>
  2654. Used to pass a DataTable as a TableValuedParameter
  2655. </summary>
  2656. </member>
  2657. <member name="M:Dapper.TableValuedParameter.#ctor(System.Data.DataTable)">
  2658. <summary>
  2659. Create a new instance of <see cref="T:Dapper.TableValuedParameter"/>.
  2660. </summary>
  2661. <param name="table">The <see cref="T:System.Data.DataTable"/> to create this parameter for</param>
  2662. </member>
  2663. <member name="M:Dapper.TableValuedParameter.#ctor(System.Data.DataTable,System.String)">
  2664. <summary>
  2665. Create a new instance of <see cref="T:Dapper.TableValuedParameter"/>.
  2666. </summary>
  2667. <param name="table">The <see cref="T:System.Data.DataTable"/> to create this parameter for.</param>
  2668. <param name="typeName">The name of the type this parameter is for.</param>
  2669. </member>
  2670. <member name="T:Dapper.IWrappedDataReader">
  2671. <summary>
  2672. Describes a reader that controls the lifetime of both a command and a reader,
  2673. exposing the downstream command/reader as properties.
  2674. </summary>
  2675. </member>
  2676. <member name="P:Dapper.IWrappedDataReader.Reader">
  2677. <summary>
  2678. Obtain the underlying reader
  2679. </summary>
  2680. </member>
  2681. <member name="P:Dapper.IWrappedDataReader.Command">
  2682. <summary>
  2683. Obtain the underlying command
  2684. </summary>
  2685. </member>
  2686. </members>
  2687. </doc>