C# Class LightDataAccess.CommandBuilder

ファイルを表示 Open project: antonsamarsky/emitmapper-tools

Public Methods

Method Description
BuildInsertCommand ( this cmd, object obj, string tableName, DbSettings dbSettings ) : DbCommand
BuildInsertCommand ( this cmd, object obj, string tableName, DbSettings dbSettings, string includeFields, string excludeFields ) : DbCommand
BuildUpdateCommand ( this cmd, object obj, string tableName, IEnumerable idFieldNames, IEnumerable includeFields, IEnumerable excludeFields, ObjectsChangeTracker changeTracker, DbSettings dbSettings ) : bool
BuildUpdateOperator ( this cmd, object obj, string tableName, string idFieldNames, DbSettings dbSettings ) : bool

Method Details

BuildInsertCommand() public static method

public static BuildInsertCommand ( this cmd, object obj, string tableName, DbSettings dbSettings ) : DbCommand
cmd this
obj object
tableName string
dbSettings DbSettings
return System.Data.Common.DbCommand

BuildInsertCommand() public static method

public static BuildInsertCommand ( this cmd, object obj, string tableName, DbSettings dbSettings, string includeFields, string excludeFields ) : DbCommand
cmd this
obj object
tableName string
dbSettings DbSettings
includeFields string
excludeFields string
return System.Data.Common.DbCommand

BuildUpdateCommand() public static method

public static BuildUpdateCommand ( this cmd, object obj, string tableName, IEnumerable idFieldNames, IEnumerable includeFields, IEnumerable excludeFields, ObjectsChangeTracker changeTracker, DbSettings dbSettings ) : bool
cmd this
obj object
tableName string
idFieldNames IEnumerable
includeFields IEnumerable
excludeFields IEnumerable
changeTracker ObjectsChangeTracker
dbSettings DbSettings
return bool

BuildUpdateOperator() public static method

public static BuildUpdateOperator ( this cmd, object obj, string tableName, string idFieldNames, DbSettings dbSettings ) : bool
cmd this
obj object
tableName string
idFieldNames string
dbSettings DbSettings
return bool