Inflatable 5.0.25

dotnet add package Inflatable --version 5.0.25
                    
NuGet\Install-Package Inflatable -Version 5.0.25
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Inflatable" Version="5.0.25" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Inflatable" Version="5.0.25" />
                    
Directory.Packages.props
<PackageReference Include="Inflatable" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Inflatable --version 5.0.25
                    
#r "nuget: Inflatable, 5.0.25"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Inflatable&version=5.0.25
                    
Install Inflatable as a Cake Addin
#tool nuget:?package=Inflatable&version=5.0.25
                    
Install Inflatable as a Cake Tool

Inflatable

Build status

Inflatable is a feature-rich ORM (Object-Relational Mapping) library for .NET applications. It provides seamless integration with your data access layer, allowing you to interact with your database using a convenient and expressive API.

Getting Started

To use Inflatable, you need to wire it up with you ServiceCollection. Follow the steps below to configure your application:

  1. Install the Inflatable package from NuGet.

  2. In your application's startup code, add the following lines to configure Canister:

    var services = new ServiceCollection();
    services.AddCanisterModules();
    // ...
    

    The AddCanisterModules() extension method registers Inflatable with the IoC container.

  3. With these steps completed, Inflatable is ready to be used within your application.

Basic Usage

The primary class of interest in Inflatable is the DbContext class, which provides a rich set of features for querying and interacting with your database.

Querying Data

To retrieve data from the database, use the DbContext<T> class with the CreateQuery() method:

var results = DbContext<MyPoco>.CreateQuery().Where(x => x.MyProperty == 12).ToList();

The CreateQuery() method returns an IQueryable<T>, allowing you to chain additional query operations such as Where, Select, OrderBy, Distinct, First, Single, Take, and their variations. Please note that functions like GroupBy, Union, and Include are not currently implemented.

For more complex queries or when you need to execute raw SQL, you can use the ExecuteAsync() method:

var results = await DbContext<MyPoco>.ExecuteAsync("SELECT * FROM MyTable", CommandType.Text, "MyConnectionString");

Saving and Deleting Objects

To save or delete an object, you need to create an instance of DbContext or a Session object:

await new DbContext<MyPoco>().Save(myObject).ExecuteAsync();

Alternatively, you can resolve the DbContext from the service provider in your application.

Documentation

For detailed information on using Inflatable and its advanced features, refer to the documentation available on the project's website.

Contributing

Contributions are welcome! If you have any bug reports, feature requests, or would like to contribute to the project, please check out the contribution guidelines.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.0.25 135 2/4/2025
5.0.24 105 1/31/2025
5.0.23 104 1/30/2025
5.0.22 98 1/29/2025
5.0.21 107 1/27/2025
5.0.20 101 1/24/2025
5.0.19 103 1/23/2025
5.0.18 101 1/17/2025
5.0.17 92 1/16/2025
5.0.16 72 1/15/2025
5.0.15 79 1/14/2025
5.0.14 80 1/13/2025
5.0.13 82 1/10/2025
5.0.12 124 12/18/2024
5.0.11 113 12/17/2024
5.0.10 114 12/11/2024
5.0.9 106 12/10/2024
5.0.8 97 12/9/2024
5.0.7 121 12/6/2024
5.0.6 124 11/27/2024
5.0.5 108 11/27/2024
5.0.4 105 11/26/2024
5.0.3 104 11/25/2024
5.0.2 115 11/24/2024
4.0.244 117 10/29/2024
4.0.243 126 10/25/2024
4.0.242 162 9/27/2024
4.0.241 129 9/23/2024
4.0.240 135 9/6/2024
4.0.239 133 8/29/2024
4.0.238 158 8/27/2024
4.0.237 147 8/26/2024
4.0.236 156 8/22/2024
4.0.235 156 8/21/2024
4.0.234 137 8/20/2024
4.0.233 140 8/15/2024
4.0.232 107 8/5/2024
4.0.231 115 8/1/2024
4.0.230 126 7/25/2024
4.0.229 126 7/11/2024
4.0.228 121 7/10/2024
4.0.227 147 7/10/2024
4.0.226 137 7/5/2024
4.0.225 134 6/27/2024
4.0.224 134 6/26/2024
4.0.223 121 6/25/2024
4.0.222 124 6/24/2024
4.0.220 135 6/21/2024
4.0.219 134 6/19/2024
4.0.218 134 6/18/2024
4.0.217 143 6/17/2024
4.0.216 132 6/14/2024
4.0.215 153 6/13/2024
4.0.214 141 5/31/2024
4.0.213 135 5/30/2024
4.0.212 134 5/27/2024
4.0.211 149 5/23/2024
4.0.210 134 5/17/2024
4.0.209 130 5/16/2024
4.0.208 161 5/8/2024
4.0.207 163 5/7/2024
4.0.206 146 5/6/2024
4.0.205 121 5/3/2024
4.0.204 110 5/2/2024
4.0.203 107 5/2/2024
4.0.202 107 5/2/2024
4.0.201 122 5/2/2024
4.0.198 153 5/1/2024
4.0.197 155 4/30/2024
4.0.196 144 4/29/2024
4.0.195 133 4/29/2024
4.0.194 155 4/25/2024
4.0.193 158 4/15/2024
4.0.192 141 4/12/2024
4.0.191 137 4/12/2024
4.0.190 155 4/11/2024
4.0.189 148 4/9/2024
4.0.188 152 4/2/2024
4.0.187 163 4/1/2024
4.0.186 143 3/29/2024
4.0.185 172 3/22/2024
4.0.184 146 3/19/2024
4.0.183 146 3/18/2024
4.0.182 152 3/15/2024
4.0.181 158 3/14/2024
4.0.180 155 3/12/2024
4.0.179 162 3/11/2024
4.0.178 171 3/8/2024
4.0.177 155 3/7/2024
4.0.176 141 3/6/2024
4.0.175 160 3/5/2024
4.0.174 135 3/4/2024
4.0.173 150 3/4/2024
4.0.172 162 3/1/2024
4.0.171 144 2/29/2024
4.0.170 147 2/28/2024
4.0.169 160 2/27/2024
4.0.168 145 2/26/2024
4.0.167 154 2/23/2024
4.0.166 140 2/22/2024
4.0.165 158 2/21/2024
4.0.164 150 2/20/2024
4.0.163 160 2/19/2024
4.0.162 145 2/19/2024
4.0.161 152 2/16/2024
4.0.160 137 2/16/2024
4.0.159 162 2/15/2024
4.0.158 154 2/14/2024
4.0.157 137 2/13/2024
4.0.156 135 2/12/2024
4.0.155 156 2/9/2024
4.0.154 144 2/8/2024
4.0.153 152 2/7/2024
4.0.152 134 2/7/2024
4.0.151 139 2/6/2024
4.0.150 123 2/5/2024
4.0.149 127 2/2/2024
4.0.148 130 2/1/2024
4.0.147 138 2/1/2024
4.0.146 146 1/31/2024
4.0.145 120 1/30/2024
4.0.144 135 1/29/2024
4.0.143 146 1/26/2024
4.0.142 130 1/25/2024
4.0.141 130 1/24/2024
4.0.140 138 1/23/2024
4.0.139 128 1/19/2024
4.0.138 141 1/19/2024
4.0.137 146 1/18/2024
4.0.136 150 1/17/2024
4.0.135 140 1/16/2024
4.0.134 151 1/16/2024
4.0.133 154 1/15/2024
4.0.132 147 1/12/2024
4.0.131 139 1/11/2024
4.0.130 136 1/10/2024
4.0.129 156 1/9/2024
4.0.128 162 1/8/2024
4.0.127 168 1/5/2024
4.0.126 182 12/29/2023
4.0.125 172 12/28/2023
4.0.124 175 12/27/2023
4.0.123 140 12/26/2023
4.0.122 175 12/26/2023
4.0.121 161 12/25/2023
4.0.120 134 12/25/2023
4.0.119 163 12/22/2023
4.0.118 152 12/21/2023
4.0.117 161 12/20/2023
4.0.116 138 12/19/2023
4.0.115 146 12/18/2023
4.0.114 135 12/15/2023
4.0.113 142 12/14/2023
4.0.112 116 12/14/2023
4.0.111 152 12/13/2023
4.0.106 172 12/8/2023
4.0.105 136 12/7/2023
4.0.104 145 12/6/2023
4.0.103 150 12/6/2023
4.0.102 145 12/5/2023
4.0.101 130 12/5/2023
4.0.100 151 11/27/2023
4.0.99 143 11/24/2023
4.0.98 146 11/22/2023
4.0.97 143 11/21/2023
4.0.96 160 11/20/2023
4.0.95 144 11/20/2023
4.0.94 636 11/17/2023
4.0.93 138 11/16/2023
4.0.92 138 11/14/2023
4.0.91 128 11/13/2023
4.0.90 144 11/10/2023
4.0.89 144 11/9/2023
4.0.88 143 11/9/2023
4.0.87 139 11/8/2023
4.0.86 130 11/7/2023
4.0.85 124 11/6/2023
4.0.84 158 11/5/2023
4.0.83 130 11/3/2023
4.0.82 135 11/3/2023
4.0.81 136 11/2/2023
4.0.80 139 11/1/2023
4.0.77 138 10/31/2023
4.0.76 162 10/30/2023
4.0.75 140 10/27/2023
4.0.74 161 10/26/2023
4.0.73 163 10/18/2023
4.0.72 145 10/17/2023
4.0.71 155 10/17/2023
4.0.70 167 10/16/2023
4.0.69 170 10/13/2023
4.0.68 149 10/13/2023
4.0.67 140 10/12/2023
4.0.66 168 10/6/2023
4.0.65 143 10/5/2023
4.0.64 135 9/27/2023
4.0.63 136 9/26/2023
4.0.62 146 9/25/2023
4.0.61 144 9/21/2023
4.0.60 142 9/20/2023
4.0.59 150 9/19/2023
4.0.58 149 9/18/2023
4.0.55 159 9/15/2023
4.0.54 150 9/14/2023
4.0.53 147 9/13/2023
4.0.52 204 9/12/2023
4.0.51 167 9/11/2023
4.0.50 187 9/11/2023
4.0.49 167 9/11/2023
4.0.48 226 9/8/2023
4.0.47 159 9/7/2023
4.0.46 199 9/6/2023
4.0.45 157 9/5/2023
4.0.44 150 9/5/2023
4.0.43 161 9/4/2023
4.0.42 193 9/1/2023
4.0.41 182 8/31/2023
4.0.40 186 8/30/2023
4.0.39 162 8/30/2023
4.0.38 165 8/29/2023
4.0.37 205 8/28/2023
4.0.36 192 8/25/2023
4.0.35 175 8/24/2023
4.0.34 181 8/23/2023
4.0.33 154 8/21/2023
4.0.32 145 8/18/2023
4.0.31 179 8/17/2023
4.0.30 141 8/17/2023
4.0.29 166 8/17/2023
4.0.28 172 8/17/2023
4.0.27 192 8/11/2023
4.0.26 190 8/10/2023
4.0.25 187 8/9/2023
4.0.24 147 8/8/2023
4.0.23 190 8/8/2023
4.0.22 251 8/8/2023
4.0.21 181 8/7/2023
4.0.20 180 8/4/2023
4.0.19 186 8/3/2023
4.0.18 199 7/27/2023
4.0.17 206 7/26/2023
4.0.16 226 7/21/2023
4.0.15 194 7/20/2023
4.0.14 204 7/19/2023
4.0.13 191 7/18/2023
4.0.12 189 7/18/2023
4.0.11 174 7/18/2023
4.0.10 194 7/18/2023
4.0.9 213 7/17/2023
4.0.7 311 2/10/2023
4.0.6 323 2/6/2023
4.0.5 347 1/30/2023
4.0.4 351 1/30/2023
4.0.3 319 1/27/2023
4.0.2 340 12/13/2022
4.0.1 375 12/13/2022
3.0.111 559 9/17/2022
3.0.110 531 8/11/2022
3.0.109 568 6/10/2022
3.0.107 617 4/20/2022
3.0.106 554 1/11/2022
3.0.105 503 1/10/2022
3.0.104 391 12/7/2021
3.0.103 494 10/27/2021
3.0.102 493 6/17/2021
3.0.100 537 6/17/2021
3.0.95 546 6/16/2021
3.0.91 518 1/14/2021
3.0.90 539 1/7/2021
3.0.89 579 12/16/2020
3.0.88 544 12/15/2020
3.0.87 626 12/10/2020
3.0.86 563 12/7/2020
3.0.84 583 12/7/2020
3.0.80 638 10/2/2020
3.0.79 731 10/1/2020
3.0.78 631 9/29/2020
3.0.77 639 9/13/2020
3.0.76 639 6/19/2020
3.0.75 628 6/8/2020
3.0.74 628 6/1/2020
3.0.73 668 5/13/2020
3.0.72 650 5/13/2020
3.0.70 661 5/12/2020
3.0.69 623 5/12/2020
3.0.68 648 5/12/2020
3.0.67 656 5/12/2020
3.0.41 668 4/28/2020
3.0.40 631 4/24/2020
3.0.39 639 4/16/2020
3.0.38 664 4/16/2020
3.0.37 655 4/15/2020
3.0.36 656 4/15/2020
3.0.34 717 4/11/2020
3.0.33 704 4/10/2020
3.0.32 692 4/7/2020
3.0.31 690 4/6/2020
3.0.30 704 4/5/2020
3.0.29 728 4/5/2020
3.0.28 814 4/5/2020
3.0.27 724 4/2/2020
3.0.24 686 4/1/2020
3.0.23 712 3/29/2020
3.0.22 663 3/26/2020
3.0.21 658 3/26/2020
3.0.20 605 3/25/2020
3.0.19 693 3/25/2020
3.0.18 740 3/22/2020
3.0.16 749 3/21/2020
3.0.15 678 3/16/2020
3.0.14 698 3/14/2020
3.0.13 763 3/14/2020
3.0.11 653 3/13/2020
3.0.10 674 3/13/2020
3.0.8 692 3/5/2020
3.0.7 648 2/28/2020
3.0.6 692 2/28/2020
3.0.5 701 2/22/2020
3.0.4 710 2/6/2020
3.0.3 684 2/6/2020
3.0.1 730 1/10/2020
3.0.0 717 12/26/2019
2.0.34 788 4/17/2019
2.0.33 745 4/17/2019
2.0.32 778 3/14/2019
2.0.31 854 2/22/2019
2.0.30 982 11/1/2018
2.0.29 984 10/11/2018
2.0.27 955 10/5/2018
2.0.26 971 10/2/2018
2.0.25 966 9/25/2018
2.0.24 944 9/19/2018
2.0.23 992 9/19/2018
2.0.22 1,002 9/18/2018
2.0.21 1,059 9/13/2018
2.0.20 1,099 8/7/2018
2.0.19 1,023 8/1/2018
2.0.18 1,074 8/1/2018
2.0.17 1,214 7/3/2018
2.0.16 1,291 6/26/2018
2.0.15 1,248 6/26/2018
2.0.14 1,201 6/14/2018
2.0.13 1,259 5/31/2018
2.0.11 1,176 5/22/2018
2.0.10 1,263 5/21/2018
2.0.9 1,380 5/21/2018
2.0.8 1,332 5/11/2018
2.0.7 1,407 2/15/2018
2.0.6 1,351 2/15/2018
2.0.5 1,368 2/13/2018
2.0.4 1,317 1/24/2018
2.0.3 1,351 1/8/2018
2.0.2 1,376 1/2/2018
1.0.83 1,364 12/15/2017
1.0.82 1,218 12/1/2017
1.0.81 1,150 11/22/2017
1.0.80 1,132 11/21/2017
1.0.79 1,193 11/21/2017
1.0.78 1,160 11/21/2017
1.0.76 1,114 11/17/2017
1.0.72 1,194 11/17/2017
1.0.71 1,134 11/17/2017
1.0.67 1,159 11/16/2017
1.0.66 1,172 11/16/2017
1.0.65 1,202 11/14/2017
1.0.63 1,149 11/14/2017
1.0.62 1,154 11/14/2017
1.0.61 1,184 11/13/2017
1.0.60 1,220 11/13/2017
1.0.55 1,229 11/13/2017
1.0.53 1,226 11/13/2017
1.0.52 1,167 11/13/2017
1.0.50 1,169 11/6/2017
1.0.49 1,158 10/24/2017
1.0.48 1,154 10/24/2017
1.0.44 1,153 10/19/2017
1.0.42 1,161 10/19/2017
1.0.40 1,133 10/18/2017
1.0.39 1,180 10/13/2017
1.0.34 1,180 10/12/2017
1.0.32 1,210 10/12/2017
1.0.31 1,125 10/11/2017
1.0.26 1,160 10/2/2017
1.0.24 1,203 9/29/2017
1.0.21 1,172 9/26/2017
1.0.19 1,157 9/25/2017
1.0.16 1,157 9/23/2017
1.0.15 1,159 9/22/2017
1.0.11 1,143 9/22/2017
1.0.10 1,161 9/22/2017
1.0.8 1,174 9/21/2017
1.0.7 1,193 9/21/2017
1.0.5 1,209 9/21/2017