| | |
| | | { typeof(Guid),SqlDbTypeName.UniqueIdentifier} |
| | | }; |
| | | |
| | | public static List<(bool, string, object)> ValidationValueForDbType(this PropertyInfo propertyInfo, params object[] values) |
| | | { |
| | | List<(bool, string, object)> result = new List<(bool, string, object)>(); |
| | | foreach (object value in values) |
| | | { |
| | | result.Add(propertyInfo.ValidationVal(value)); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | public static string GetProperWithDbType(this PropertyInfo propertyInfo) |
| | | { |
| | | bool result = ProperWithDbType.TryGetValue(propertyInfo.PropertyType, out string value); |