public virtual RelationalTypeMapping GetDefaultMapping(Type clrType) { Check.NotNull(clrType, nameof(clrType)); RelationalTypeMapping mapping; if (SimpleMappings.TryGetValue(clrType.UnwrapEnumType(), out mapping)) { return(mapping); } throw new NotSupportedException(Strings.UnsupportedType(clrType.Name)); }
protected virtual RelationalTypeMapping GetCustomMapping([NotNull] IProperty property) { Check.NotNull(property, nameof(property)); throw new NotSupportedException(Strings.UnsupportedType(property.ClrType.Name)); }