protected virtual IClassMapper GetClassMapper(Type type, IDapperExtensionConfiguration configuration) { IClassMapper map = configuration.GetMap(type); if (map == null) { throw new NullReferenceException(string.Format("Map was not found for {0}", type)); } return(map); }
public SqlGeneratorImpl(IDapperExtensionConfiguration configuration, DataBaseType dbType) { Configuration = configuration; DbType = dbType; }