packages/Dapper.Contrib.1.50.4/lib/net451/Dapper.Contrib.xml
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0"?>
<doc>
<assembly>
<name>Dapper.Contrib</name>
</assembly>
<members>
<member name="T:Dapper.Contrib.Extensions.SqlMapperExtensions">
<summary>
The Dapper.Contrib extensions for Dapper
</summary>
</member>
<member name="M:Dapper.Contrib.Extensions.SqlMapperExtensions.GetAsync``1(System.Data.IDbConnection,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32})">
<summary>
Returns a single entity by a single id from table "Ts" asynchronously using .NET 4.5 Task. T must be of interface type.
Id must be marked with [Key] attribute.
Created entity is tracked/intercepted for changes and used by the Update() extension.
</summary>
<typeparam name="T">Interface type to create and populate</typeparam>
<param name="connection">Open SqlConnection</param>
<param name="id">Id of the entity to get, must be marked with [Key] attribute</param>
<param name="transaction">The transaction to run under, null (the default) if none</param>
<param name="commandTimeout">Number of seconds before command execution timeout</param>
<returns>Entity of T</returns>
</member>
<member name="M:Dapper.Contrib.Extensions.SqlMapperExtensions.GetAllAsync``1(System.Data.IDbConnection,System.Data.IDbTransaction,System.Nullable{System.Int32})">
<summary>
Returns a list of entites from table "Ts".
Id of T must be marked with [Key] attribute.
Entities created from interfaces are tracked/intercepted for changes and used by the Update() extension
for optimal performance.
</summary>
<typeparam name="T">Interface or type to create and populate</typeparam>
<param name="connection">Open SqlConnection</param>
<param name="transaction">The transaction to run under, null (the default) if none</param>
<param name="commandTimeout">Number of seconds before command execution timeout</param>
<returns>Entity of T</returns>
</member>
<member name="M:Dapper.Contrib.Extensions.SqlMapperExtensions.InsertAsync``1(System.Data.IDbConnection,``0,System.Data.IDbTransaction,System.Nullable{System.Int32},ISqlAdapter)">
<summary>
Inserts an entity into table "Ts" asynchronously using .NET 4.5 Task and returns identity id.
</summary>
<typeparam name="T">The type being inserted.</typeparam>
<param name="connection">Open SqlConnection</param>
<param name="entityToInsert">Entity to insert</param>
<param name="transaction">The transaction to run under, null (the default) if none</param>
<param name="commandTimeout">Number of seconds before command execution timeout</param>
<param name="sqlAdapter">The specific ISqlAdapter to use, auto-detected based on connection if null</param>
<returns>Identity of inserted entity</returns>
</member>
<member name="M:Dapper.Contrib.Extensions.SqlMapperExtensions.UpdateAsync``1(System.Data.IDbConnection,``0,System.Data.IDbTransaction,System.Nullable{System.Int32})">
<summary>
Updates entity in table "Ts" asynchronously using .NET 4.5 Task, checks if the entity is modified if the entity is tracked by the Get() extension.
</summary>
<typeparam name="T">Type to be updated</typeparam>
<param name="connection">Open SqlConnection</param>
<param name="entityToUpdate">Entity to be updated</param>
<param name="transaction">The transaction to run under, null (the default) if none</param>
<param name="commandTimeout">Number of seconds before command execution timeout</param>
<returns>true if updated, false if not found or not modified (tracked entities)</returns>
</member>
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
