C# Class SQLBuilder.Extensions.SqlBuilderExtensions

SqlBuilderCore扩展类
Afficher le fichier Open project: zqlovejyc/SQLBuilder

Méthodes publiques

Méthode 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

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

分页

Method Details

Execute() public static méthode

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

ExecuteAsync() public static méthode

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

ToEntity() public static méthode

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

ToEntity() public static méthode

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

ToEntityAsync() public static méthode

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

ToEntityAsync() public static méthode

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

ToList() public static méthode

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

ToList() public static méthode

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

ToListAsync() public static méthode

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

ToListAsync() public static méthode

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

ToObject() public static méthode

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

ToObjectAsync() public static méthode

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