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.

41 lines
1.9 KiB

2 years ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Dynamic;
  4. namespace SqlSugar
  5. {
  6. internal static class UtilConstants
  7. {
  8. public const string Dot = ".";
  9. public const char DotChar = '.';
  10. internal const string Space = " ";
  11. internal const char SpaceChar =' ';
  12. internal const string AssemblyName = nameof(SqlSugar);
  13. internal const string ReplaceKey = "{662E689B-17A1-4D06-9D27-F29EAB8BC3D6}";
  14. internal static Type IntType = typeof(int);
  15. internal static Type LongType = typeof(long);
  16. internal static Type GuidType = typeof(Guid);
  17. internal static Type BoolType = typeof(bool);
  18. internal static Type ByteType = typeof(Byte);
  19. internal static Type ObjType = typeof(object);
  20. internal static Type DobType = typeof(double);
  21. internal static Type FloatType = typeof(float);
  22. internal static Type ShortType = typeof(short);
  23. internal static Type DecType = typeof(decimal);
  24. internal static Type StringType = typeof(string);
  25. internal static Type DateType = typeof(DateTime);
  26. internal static Type ByteArrayType = typeof(byte[]);
  27. internal static Type ModelType= typeof(ModelContext);
  28. internal static Type DynamicType = typeof(ExpandoObject);
  29. internal static Type Dicii = typeof(KeyValuePair<int, int>);
  30. internal static Type DicIS = typeof(KeyValuePair<int, string>);
  31. internal static Type DicSi = typeof(KeyValuePair<string, int>);
  32. internal static Type DicSS = typeof(KeyValuePair<string, string>);
  33. internal static Type DicOO = typeof(KeyValuePair<object, object>);
  34. internal static Type DicSo = typeof(KeyValuePair<string, object>);
  35. internal static Type DicArraySS = typeof(Dictionary<string, string>);
  36. internal static Type DicArraySO = typeof(Dictionary<string, object>);
  37. public static Type SugarType = typeof(SqlSugarClient);
  38. }
  39. }