public DatabaseTable <T> Update(string tableName, Expression <Func <T, string[]> > setColumn, object[] values) { m_command = new UpdateCommand <T>(m_connection, typeof(T), tableName); (m_command as UpdateCommand <T>).Set(setColumn, values); return(this); }
public DatabaseTable <T> Insert(string tableName, T obj) { m_command = new InsertCommand <T>(m_connection, typeof(T), obj, tableName); ExecuteCommand(); return(this); }
public DatabaseTable <T> Drop(string tableName = null) { m_command = new DropTableCommand(m_connection, typeof(T), tableName); ExecuteCommand(); return(this); }
public DatabaseTable <T> Select(string tableName) { m_command = new SelectCommand(m_connection, typeof(T), tableName); return(this); }
public DatabaseTable <T> Create(string tableName) { m_command = new CreateTableCommand(m_connection, typeof(T), tableName); ExecuteCommand(); return(this); }