packages/Dapper.SimpleCRUD.2.0.0/lib/netstandard2.0/Dapper.SimpleCRUD.xml

(开头部分) 35KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?xml version="1.0"?>
<doc>
    <assembly>
        <name>Dapper.SimpleCRUD</name>
    </assembly>
    <members>
        <member name="T:Dapper.SimpleCRUD">
            <summary>
            Main class for Dapper.SimpleCRUD extensions
            </summary>
            <summary>
            Main class for Dapper.SimpleCRUD extensions
            </summary>
        </member>
        <member name="M:Dapper.SimpleCRUD.GetDialect">
            <summary>
            Returns the current dialect name
            </summary>
            <returns></returns>
        </member>
        <member name="M:Dapper.SimpleCRUD.SetDialect(Dapper.SimpleCRUD.Dialect)">
            <summary>
            Sets the database dialect 
            </summary>
            <param name="dialect"></param>
        </member>
        <member name="M:Dapper.SimpleCRUD.SetTableNameResolver(Dapper.SimpleCRUD.ITableNameResolver)">
            <summary>
            Sets the table name resolver
            </summary>
            <param name="resolver">The resolver to use when requesting the format of a table name</param>
        </member>
        <member name="M:Dapper.SimpleCRUD.SetColumnNameResolver(Dapper.SimpleCRUD.IColumnNameResolver)">
            <summary>
            Sets the column name resolver
            </summary>
            <param name="resolver">The resolver to use when requesting the format of a column name</param>
        </member>
        <member name="M:Dapper.SimpleCRUD.Get``1(System.Data.IDbConnection,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32})">
            <summary>
            <para>By default queries the table matching the class name</para>
            <para>-Table name can be overridden by adding an attribute on your class [Table("YourTableName")]</para>
            <para>By default filters on the Id column</para>
            <para>-Id column name can be overridden by adding an attribute on your primary key property [Key]</para>
            <para>Supports transaction and command timeout</para>
            <para>Returns a single entity by a single id from table T</para>
            </summary>
            <typeparam name="T"></typeparam>
            <param name="connection"></param>
            <param name="id"></param>
            <param name="transaction"></param>
            <param name="commandTimeout"></param>
            <returns>Returns a single entity by a single id from table T.</returns>
        </member>
        <member name="M:Dapper.SimpleCRUD.GetList``1(System.Data.IDbConnection,System.Object,System.Data.IDbTransaction,System.Nullable{System.Int32})">
            <summary>
            <para>By default queries the table matching the class name</para>
            <para>-Table name can be overridden by adding an attribute on your class [Table("YourTableName")]</para>
            <para>whereConditions is an anonymous type to filter the results ex: new {Category = 1, SubCategory=2}</para>
            <para>Supports transaction and command timeout</para>
后面还有 548 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。