Example #1
0
        public void AddRange(IEnumerable <TModel> models)
        {
            var mapper = new RecordMapper();

            foreach (TModel model in models)
            {
                _store.InsertRecord(mapper.MapToFields(model));
            }
        }
Example #2
0
        public void Add(TModel model)
        {
            var mapper = new RecordMapper();

            _store.InsertRecord(mapper.MapToFields(model));
        }