An open API service indexing awesome lists of open source software.

https://github.com/lord-turmoil/fluentapidemo

Repository for the article Thoughts on Building Fluent API
https://github.com/lord-turmoil/fluentapidemo

fluent-api tutorial tutorial-code

Last synced: 11 months ago
JSON representation

Repository for the article Thoughts on Building Fluent API

Awesome Lists containing this project

README

          

# FluentApiDemo

> Copyright © Tony's Studio 2024

---

Repository for [Thoughts on Building Fluent API](https://blog.tonys-studio.top/posts/Thoughts-on-Building-Fluent-API/) ([Backup](https://lord-turmoil.github.io/posts/Thoughts-on-Building-Fluent-API/)).

This is a demo of building Fluent API in C#. Here we have a simple example a SQL table builder.

In "Basic/", we have a basic implementation of a table builder, but it will allow you to build invalid tables which has no column.

In "Advanced/", we have an advanced implementation of a table builder, which will prevent you from building invalid tables.

The Test project contains tests for both implementations.

Enjoy! :)