public string CreateSql <T>(object obj) { StringBuilder sb = new StringBuilder(); sb.Append("select * from "); sb.Append(typeof(T).Name); sb.Append(" where "); sb.Append(CommonFunc.GetSql <T>(obj)); return(sb.ToString()); }
public string CreateSql <T>(List <T> t) { return(CommonFunc.GetSql <T>(t, this)); }