<commit_before># DataMigrations

Code First Data Migrations - Allowing you to generate SQL to insert, update, and delete data which can be used as part of you're Code First Migrations

# Generating SQL

Data migrations allows you to generate SQL using a fluent syntax.

## Inserts

```csharp
// Fluent Interface
var sql = Insert

    // Set Table Name<commit_msg>Added ToC<commit_after># DataMigrations

Code First Data Migrations - Allowing you to generate SQL to insert, update, and delete data which can be used as part of you're Code First Migrations

# Table of Contents

<!-- TOC depthFrom:1 depthTo:6 withLinks:1 updateOnSave:1 orderedList:0 -->

- [DataMigrations](#datamigrations)
- [Table of Contents](#table-of-contents)
- [Generating SQL](#generating-sql)
	- [Inserts](#inserts)
	- [Updates](#updates)
	- [Deletes](#deletes)
- [Converting C# Values to SQL](#converting-c-values-to-sql)
	- [Default converters](#default-converters)
	- [Custom Converters](#custom-converters)

<!-- /TOC -->

# Generating SQL

Data migrations allows you to generate SQL using a fluent syntax.

## Inserts

```csharp
// Fluent Interface
var sql = Insert

    // Set Table Name
{'fraction_non_alphanumeric': 0.10702054794520548, 'fraction_numerical': 0.004280821917808219, 'mean_word_length': 4.21875, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4239680', 'n_tokens_mistral': 383, 'n_tokens_neox': 358, 'n_words': 130}