Class DataTableToSql
Inheritance
DataTableToSql
Assembly: DotNetHelper.ObjectToSql.dll
Syntax
public class DataTableToSql
Constructors
|
Improve this Doc
View Source
DataTableToSql(DataBaseType, Boolean)
Declaration
public DataTableToSql(DataBaseType type, bool alwaysUseParamerizedSql = true)
Parameters
Properties
|
Improve this Doc
View Source
AlwaysCreateParamaterizedSql
Declaration
public bool AlwaysCreateParamaterizedSql { get; set; }
Property Value
|
Improve this Doc
View Source
DatabaseType
Declaration
public DataBaseType DatabaseType { get; }
Property Value
|
Improve this Doc
View Source
SqlSyntaxHelper
Declaration
public SqlSyntaxHelper SqlSyntaxHelper { get; }
Property Value
Methods
|
Improve this Doc
View Source
BuildDbParameterList<T>(DataRow, Func<String, Object, T>)
Builds the SQL parameter list.
Declaration
public List<T> BuildDbParameterList<T>(DataRow row, Func<string, object, T> getNewParameter)
where T : DbParameter
Parameters
Returns
Type |
Description |
List<T> |
List<DbParameter>.
|
Type Parameters
|
Improve this Doc
View Source
BuildQuery(DataTable, ActionType)
Declaration
public string BuildQuery(DataTable dataTable, ActionType actionType)
Parameters
Returns
|
Improve this Doc
View Source
BuildQuery(DataTable, ActionType, String)
Declaration
public string BuildQuery(DataTable dataTable, ActionType actionType, string tableName)
Parameters
Returns
|
Improve this Doc
View Source
BuildQueryFromRowState(DataRow)
Declaration
public string BuildQueryFromRowState(DataRow dataRow)
Parameters
Type |
Name |
Description |
DataRow |
dataRow |
|
Returns
|
Improve this Doc
View Source
BuildQueryFromRowState(DataRow, String)
Declaration
public string BuildQueryFromRowState(DataRow dataRow, string tableName)
Parameters
Returns