public DataMapperFactory(Type type, object dataSource) { _type = type; if (null != dataSource) { DataSource = new DataSource(dataSource); } }
public DataMapperFactory(Type type, object[] dataSource) { _type = type; DataSource = new DataSource(dataSource); }