JsonSqlModels.cs 579 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace SqlSugar
  5. {
  6. public class SqlObjectResult
  7. {
  8. public SqlObjectResult(KeyValuePair<string, List<SugarParameter>> keyValuePair, JsonProviderType jsonSqlType)
  9. {
  10. this.Sql = keyValuePair.Key;
  11. this.Parameters = keyValuePair.Value;
  12. this.JsonSqlType = jsonSqlType;
  13. }
  14. public JsonProviderType JsonSqlType { get; set; }
  15. public string Sql { get; set; }
  16. public List<SugarParameter> Parameters { get; set; }
  17. }
  18. }