public Recordset(object dataSource, RecordsetType recordsetType, IDataConverter dataConverter) { RecordsetType = recordsetType; _wrapper = BuildSetWrapper(recordsetType, dataSource); InternalData = new InternalData(); if (dataConverter != null) { _dataConverter = dataConverter; } }
private static ISetWrapper BuildSetWrapper(RecordsetType recordsetType, object dataSource = null) { IFactory <ISetWrapper> factory = new SetWrapperFactory(); var parameter = dataSource == null ? null : new SetWrapperFactoryProduceParameter() { DataSource = dataSource }; switch (recordsetType) { case RecordsetType.DataSet: return(factory.Produce <DataSetWrapper>(() => parameter)); } return(null); }
public Recordset _30_OpenRecordset(RecordsetType type, RecordsetOption options) { return new Recordset(qd._30_OpenRecordset(type, options)); }
public Recordset _30_OpenRecordset(RecordsetType type) { return new Recordset(qd._30_OpenRecordset(type, System.Type.Missing)); }
public Recordset _OpenRecordset(RecordsetType type, RecordsetOption options, LockType lockedits) { return new Recordset(qd._OpenRecordset(type, options, lockedits)); }
public Recordset _OpenRecordset(RecordsetType type, RecordsetOption options) { return new Recordset(qd._OpenRecordset(type, options, System.Type.Missing)); }
public Recordset(RecordsetType recordsetType) : this(recordsetType, null) { }
public Recordset(RecordsetType recordsetType, IDataConverter dataConverter) : this(null, recordsetType, dataConverter) { }
public Recordset OpenRecordset(RecordsetType type) { return new Recordset(rs.OpenRecordset(type, System.Type.Missing)); }
public Recordset OpenRecordset(RecordsetType type, RecordsetOption options) { return new Recordset(rs.OpenRecordset(type, options)); }
public Recordset _30_OpenRecordset(string source, RecordsetType type, RecordsetOption options) { return new Recordset(db._30_OpenRecordset(source, type, options)); }
public Recordset OpenRecordset(string source, RecordsetType type, RecordsetOption options, LockType lockedits) { return new Recordset(db.OpenRecordset(source, type, options, lockedits)); }
public Recordset OpenRecordset(string source, RecordsetType type, RecordsetOption options) { return new Recordset(db.OpenRecordset(source, type, options, Type.Missing)); }
public Recordset OpenRecordset(string source, RecordsetType type) { return new Recordset(db.OpenRecordset(source, type, Type.Missing, Type.Missing)); }
public Recordset OpenRecordset(RecordsetType type) { return new Recordset(td.OpenRecordset(type, Type.Missing)); }