public IQueryBuilderValues InsertInto <T>(Expression <Func <T, object> > lambda) { var type = typeof(T); var tableAliasKey = type.Name; TableInto = new KeyValuePair <string, Type>(tableAliasKey, type); _translator.AddTable(type, TableInto.Key); Columns.AddRange(_translator.Translate(typeof(T), lambda, null)); return(this); }
public IQueryBuilderSelectOrWhere SelectAll <T>(string tableAlias = null) => SkipIfError(() => SelectClauses.Add(_translator.Translate(typeof(T), "*", tableAlias)) );