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
- Host: GitHub
- URL: https://github.com/lord-turmoil/fluentapidemo
- Owner: Lord-Turmoil
- License: mit
- Created: 2024-04-01T03:09:59.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-12T04:30:32.000Z (about 1 year ago)
- Last Synced: 2025-01-23T06:32:11.970Z (about 1 year ago)
- Topics: fluent-api, tutorial, tutorial-code
- Language: C#
- Homepage: https://blog.tonys-studio.top/posts/Thoughts-on-Building-Fluent-API/
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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! :)