ConnMoreSettings.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace SqlSugar
  6. {
  7. public class ConnMoreSettings
  8. {
  9. public bool IsAutoRemoveDataCache { get; set; }
  10. public bool IsWithNoLockQuery { get; set; }
  11. public bool IsWithNoLockSubquery { get; set; }
  12. public bool DisableNvarchar { get; set; }
  13. public bool DisableMillisecond { get; set; }
  14. public bool PgSqlIsAutoToLower { get; set; } = true;
  15. public bool PgSqlIsAutoToLowerCodeFirst { get; set; } = true;
  16. public bool IsAutoToUpper { get; set; } = true;
  17. public int DefaultCacheDurationInSeconds { get; set; }
  18. public bool? TableEnumIsString { get; set; }
  19. public DateTime? DbMinDate { get; set; } = Convert.ToDateTime("1900-01-01");
  20. public bool IsNoReadXmlDescription { get; set; }
  21. public bool SqlServerCodeFirstNvarchar { get; set; }
  22. public bool SqliteCodeFirstEnableDefaultValue { get; set; }
  23. public bool SqliteCodeFirstEnableDescription { get; set; }
  24. public bool IsAutoUpdateQueryFilter { get; set; }
  25. public bool IsAutoDeleteQueryFilter { get; set; }
  26. public bool EnableModelFuncMappingColumn { get; set; }
  27. public bool EnableOracleIdentity { get; set; }
  28. public bool EnableCodeFirstUpdatePrecision { get; set; }
  29. public bool SqliteCodeFirstEnableDropColumn { get; set; }
  30. public bool IsCorrectErrorSqlParameterName { get; set; }
  31. public int MaxParameterNameLength { get; set; }
  32. public bool DisableQueryWhereColumnRemoveTrim { get; set; }
  33. }
  34. }