public void AddRange(IEnumerable <TModel> models) { var mapper = new RecordMapper(); foreach (TModel model in models) { _store.InsertRecord(mapper.MapToFields(model)); } }
public void Add(TModel model) { var mapper = new RecordMapper(); _store.InsertRecord(mapper.MapToFields(model)); }