You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.4 KiB

2 years ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Data;
  4. namespace SqlSugar
  5. {
  6. public partial interface ISqlBuilder
  7. {
  8. SqlSugarClient Context { get; set; }
  9. CommandType CommandType { get; set; }
  10. String AppendWhereOrAnd(bool isWhere, string sqlString);
  11. string AppendHaving(string sqlString);
  12. SqlQueryBuilder SqlQueryBuilder { get; set; }
  13. QueryBuilder QueryBuilder { get; set; }
  14. InsertBuilder InsertBuilder { get; set; }
  15. DeleteBuilder DeleteBuilder { get; set; }
  16. UpdateBuilder UpdateBuilder { get; set; }
  17. string SqlParameterKeyWord { get; }
  18. string SqlFalse { get; }
  19. string SqlDateNow { get; }
  20. string FullSqlDateNow { get; }
  21. string SqlTranslationLeft { get; }
  22. string SqlTranslationRight { get; }
  23. string SqlSelectAll { get; }
  24. string GetTranslationTableName(string name);
  25. string GetTranslationColumnName(string entityName, string propertyName);
  26. string GetTranslationColumnName(string propertyName);
  27. string GetNoTranslationColumnName(string name);
  28. string GetPackTable(string sql,string shortName);
  29. string GetDefaultShortName();
  30. string GetUnionAllSql(List<string> sqlList);
  31. void RepairReplicationParameters(ref string appendSql, SugarParameter[] parameters, int addIndex);
  32. }
  33. }