C# Class SQLBuilder.Extensions.SqlBuilderExtensions

SqlBuilderCore扩展类
Mostrar archivo Open project: zqlovejyc/SQLBuilder

Public Methods

Method Description
Execute ( SqlBuilderCore @this, IRepository repository ) : int

执行Sql

ExecuteAsync ( SqlBuilderCore @this, IRepository repository ) : Task

执行Sql

ToEntity ( SqlBuilderCore @this, IRepository repository ) : TReturn

查询单个实体

ToEntity ( SqlBuilderCore @this, IRepository repository ) : TEntity

查询单个实体

ToEntityAsync ( SqlBuilderCore @this, IRepository repository ) : Task

查询单个实体

ToEntityAsync ( SqlBuilderCore @this, IRepository repository ) : Task

查询单个实体

ToList ( SqlBuilderCore @this, IRepository repository ) : List

查询集合

ToList ( SqlBuilderCore @this, IRepository repository ) : List

查询集合

ToListAsync ( SqlBuilderCore @this, IRepository repository ) : Task>

查询集合

ToListAsync ( SqlBuilderCore @this, IRepository repository ) : Task>

查询集合

ToObject ( SqlBuilderCore @this, IRepository repository ) : object

查询单个对象

ToObjectAsync ( SqlBuilderCore @this, IRepository repository ) : Task

查询单个对象

Private Methods

Method Description
this ( SqlBuilderCore @this, IRepository repository, string orderField, bool isAscending, int pageSize, int pageIndex ) : ToPage(

分页

Method Details

Execute() public static method

执行Sql
public static Execute ( SqlBuilderCore @this, IRepository repository ) : int
@this SqlBuilderCore
repository IRepository
return int

ExecuteAsync() public static method

执行Sql
public static ExecuteAsync ( SqlBuilderCore @this, IRepository repository ) : Task
@this SqlBuilderCore
repository IRepository
return Task

ToEntity() public static method

查询单个实体
public static ToEntity ( SqlBuilderCore @this, IRepository repository ) : TReturn
@this SqlBuilderCore
repository IRepository
return TReturn

ToEntity() public static method

查询单个实体
public static ToEntity ( SqlBuilderCore @this, IRepository repository ) : TEntity
@this SqlBuilderCore
repository IRepository
return TEntity

ToEntityAsync() public static method

查询单个实体
public static ToEntityAsync ( SqlBuilderCore @this, IRepository repository ) : Task
@this SqlBuilderCore
repository IRepository
return Task

ToEntityAsync() public static method

查询单个实体
public static ToEntityAsync ( SqlBuilderCore @this, IRepository repository ) : Task
@this SqlBuilderCore
repository IRepository
return Task

ToList() public static method

查询集合
public static ToList ( SqlBuilderCore @this, IRepository repository ) : List
@this SqlBuilderCore
repository IRepository
return List

ToList() public static method

查询集合
public static ToList ( SqlBuilderCore @this, IRepository repository ) : List
@this SqlBuilderCore
repository IRepository
return List

ToListAsync() public static method

查询集合
public static ToListAsync ( SqlBuilderCore @this, IRepository repository ) : Task>
@this SqlBuilderCore
repository IRepository
return Task>

ToListAsync() public static method

查询集合
public static ToListAsync ( SqlBuilderCore @this, IRepository repository ) : Task>
@this SqlBuilderCore
repository IRepository
return Task>

ToObject() public static method

查询单个对象
public static ToObject ( SqlBuilderCore @this, IRepository repository ) : object
@this SqlBuilderCore
repository IRepository
return object

ToObjectAsync() public static method

查询单个对象
public static ToObjectAsync ( SqlBuilderCore @this, IRepository repository ) : Task
@this SqlBuilderCore
repository IRepository
return Task