コード例 #1
0
 /// <summary>
 /// Generates an instance of <see cref="SqlStatement{TMapped}"/>.
 /// </summary>
 /// <typeparam name="TMapped"></typeparam>
 /// <param name="statementType"></param>
 /// <param name="resultType"></param>
 /// <param name="map"></param>
 /// <param name="filter"></param>
 /// <param name="customQuery"></param>
 /// <returns></returns>
 public static SqlStatement <TMapped> GenerateSqlStatment <TMapped>(DMLStatementType statementType, SqlStatementResultCardinality resultType, DataMap <TMapped> map, DataQuery <TMapped> filter, string customQuery) where TMapped : new()
 {
     return(GenerateSqlStatment(statementType, resultType, map, filter, customQuery, default, false));
コード例 #2
0
 /// <summary>
 /// Creates a new instance of <see cref="SqlStatement{TMapped}"/>.
 /// </summary>
 /// <param name="dmlStatement"></param>
 /// <param name="resultCardinality"></param>
 public SqlStatement(DMLStatementType dmlStatement, SqlStatementResultCardinality resultCardinality)
 {
     DMLStatement      = dmlStatement;
     ResultCardinality = resultCardinality;
 }