コード例 #1
0
        public void AddInBatch <T>(T entity, IBatch batch)
        {
            var command = RepositoryContext.GetTable <T>()
                          .Insert(entity);

            batch.Append(command);
        }