Skip to content
sdrapkin edited this page Feb 11, 2017 · 2 revisions

Signature:

QueryInfo QB.Delete(
    string tableName = null,
    string whereSql = null,
    TParamType whereParam = null
)

Getting the tableName from an existing class name:

public class Person { ... }

string tableName = typeof(Person).Name.AsSqlName(); // .AsSqlName() is an extension method