internal EngineBase(Type recordType, Encoding encoding) { if (recordType == null) throw new BadUsageException("The record type can't be null"); if (recordType.IsValueType) throw new BadUsageException("The record type must be a class not a struct."); mRecordType = recordType; mRecordInfo = new RecordInfo(recordType); mEncoding = encoding; }
internal FixedRecordOptions(RecordInfo info) : base(info) { }
/// <summary>Creates an instance of this class.</summary> protected DataStorage(Type recordClass) { mRecordType = recordClass; mRecordInfo = new RecordInfo(recordClass); }
/// <summary>Must Return the records from the DataSource (DB, Excel, etc)</summary> /// <returns>The extracted records.</returns> public DataTable ExtractRecordsAsDT() { var ri = new RecordInfo(RecordType); return ri.RecordsToDataTable(ExtractRecords()); }
internal EngineBase(RecordInfo ri) { mRecordType = ri.mRecordType; mRecordInfo = ri; }
internal RecordConditionInfo(RecordInfo ri) { mRecordInfo = ri; }
internal RecordOptions(RecordInfo info) { mRecordInfo = info; mRecordConditionInfo = new RecordConditionInfo(info); mIgnoreCommentInfo = new IgnoreCommentInfo(info); }
internal IgnoreCommentInfo(RecordInfo ri) { mRecordInfo = ri; }
internal DelimitedRecordOptions(RecordInfo info) : base(info) { }