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 160 2/4/2025
5.0.24 107 1/31/2025
5.0.23 106 1/30/2025
5.0.22 100 1/29/2025
5.0.21 110 1/27/2025
5.0.20 104 1/24/2025
5.0.19 105 1/23/2025
5.0.18 103 1/17/2025
5.0.17 94 1/16/2025
5.0.16 74 1/15/2025
5.0.15 82 1/14/2025
5.0.14 83 1/13/2025
5.0.13 84 1/10/2025
5.0.12 126 12/18/2024
5.0.11 115 12/17/2024
5.0.10 116 12/11/2024
5.0.9 109 12/10/2024
5.0.8 99 12/9/2024
5.0.7 123 12/6/2024
5.0.6 127 11/27/2024
5.0.5 110 11/27/2024
5.0.4 107 11/26/2024
5.0.3 106 11/25/2024
5.0.2 119 11/24/2024
4.0.244 119 10/29/2024
4.0.243 128 10/25/2024
4.0.242 164 9/27/2024
4.0.241 131 9/23/2024
4.0.240 137 9/6/2024
4.0.239 136 8/29/2024
4.0.238 160 8/27/2024
4.0.237 150 8/26/2024
4.0.236 158 8/22/2024
4.0.235 158 8/21/2024
4.0.234 139 8/20/2024
4.0.233 142 8/15/2024
4.0.232 109 8/5/2024
4.0.231 118 8/1/2024
4.0.230 128 7/25/2024
4.0.229 129 7/11/2024
4.0.228 123 7/10/2024
4.0.227 149 7/10/2024
4.0.226 139 7/5/2024
4.0.225 136 6/27/2024
4.0.224 137 6/26/2024
4.0.223 123 6/25/2024
4.0.222 126 6/24/2024
4.0.220 143 6/21/2024
4.0.219 136 6/19/2024
4.0.218 136 6/18/2024
4.0.217 146 6/17/2024
4.0.216 134 6/14/2024
4.0.215 156 6/13/2024
4.0.214 143 5/31/2024
4.0.213 137 5/30/2024
4.0.212 136 5/27/2024
4.0.211 151 5/23/2024
4.0.210 136 5/17/2024
4.0.209 132 5/16/2024
4.0.208 163 5/8/2024
4.0.207 165 5/7/2024
4.0.206 148 5/6/2024
4.0.205 123 5/3/2024
4.0.204 113 5/2/2024
4.0.203 109 5/2/2024
4.0.202 109 5/2/2024
4.0.201 124 5/2/2024
4.0.198 155 5/1/2024
4.0.197 157 4/30/2024
4.0.196 147 4/29/2024
4.0.195 135 4/29/2024
4.0.194 157 4/25/2024
4.0.193 160 4/15/2024
4.0.192 143 4/12/2024
4.0.191 139 4/12/2024
4.0.190 157 4/11/2024
4.0.189 150 4/9/2024
4.0.188 154 4/2/2024
4.0.187 175 4/1/2024
4.0.186 145 3/29/2024
4.0.185 174 3/22/2024
4.0.184 148 3/19/2024
4.0.183 148 3/18/2024
4.0.182 154 3/15/2024
4.0.181 160 3/14/2024
4.0.180 157 3/12/2024
4.0.179 164 3/11/2024
4.0.178 173 3/8/2024
4.0.177 157 3/7/2024
4.0.176 143 3/6/2024
4.0.175 162 3/5/2024
4.0.174 137 3/4/2024
4.0.173 152 3/4/2024
4.0.172 164 3/1/2024
4.0.171 148 2/29/2024
4.0.170 151 2/28/2024
4.0.169 164 2/27/2024
4.0.168 147 2/26/2024
4.0.167 156 2/23/2024
4.0.166 142 2/22/2024
4.0.165 160 2/21/2024
4.0.164 152 2/20/2024
4.0.163 162 2/19/2024
4.0.162 147 2/19/2024
4.0.161 154 2/16/2024
4.0.160 139 2/16/2024
4.0.159 164 2/15/2024
4.0.158 156 2/14/2024
4.0.157 139 2/13/2024
4.0.156 137 2/12/2024
4.0.155 158 2/9/2024
4.0.154 146 2/8/2024
4.0.153 155 2/7/2024
4.0.152 136 2/7/2024
4.0.151 141 2/6/2024
4.0.150 125 2/5/2024
4.0.149 130 2/2/2024
4.0.148 132 2/1/2024
4.0.147 140 2/1/2024
4.0.146 148 1/31/2024
4.0.145 122 1/30/2024
4.0.144 137 1/29/2024
4.0.143 148 1/26/2024
4.0.142 132 1/25/2024
4.0.141 132 1/24/2024
4.0.140 141 1/23/2024
4.0.139 130 1/19/2024
4.0.138 143 1/19/2024
4.0.137 148 1/18/2024
4.0.136 152 1/17/2024
4.0.135 142 1/16/2024
4.0.134 153 1/16/2024
4.0.133 157 1/15/2024
4.0.132 149 1/12/2024
4.0.131 141 1/11/2024
4.0.130 138 1/10/2024
4.0.129 159 1/9/2024
4.0.128 164 1/8/2024
4.0.127 170 1/5/2024
4.0.126 184 12/29/2023
4.0.125 174 12/28/2023
4.0.124 177 12/27/2023
4.0.123 142 12/26/2023
4.0.122 177 12/26/2023
4.0.121 163 12/25/2023
4.0.120 137 12/25/2023
4.0.119 166 12/22/2023
4.0.118 154 12/21/2023
4.0.117 163 12/20/2023
4.0.116 140 12/19/2023
4.0.115 149 12/18/2023
4.0.114 137 12/15/2023
4.0.113 144 12/14/2023
4.0.112 118 12/14/2023
4.0.111 154 12/13/2023
4.0.106 175 12/8/2023
4.0.105 139 12/7/2023
4.0.104 145 12/6/2023
4.0.103 151 12/6/2023
4.0.102 145 12/5/2023
4.0.101 130 12/5/2023
4.0.100 152 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 163 11/20/2023
4.0.95 144 11/20/2023
4.0.94 638 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 145 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 141 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 160 9/15/2023
4.0.54 151 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 200 9/6/2023
4.0.45 157 9/5/2023
4.0.44 150 9/5/2023
4.0.43 162 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 174 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 200 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 573 6/10/2022
3.0.107 621 4/20/2022
3.0.106 558 1/11/2022
3.0.105 508 1/10/2022
3.0.104 395 12/7/2021
3.0.103 498 10/27/2021
3.0.102 497 6/17/2021
3.0.100 541 6/17/2021
3.0.95 550 6/16/2021
3.0.91 522 1/14/2021
3.0.90 544 1/7/2021
3.0.89 583 12/16/2020
3.0.88 548 12/15/2020
3.0.87 630 12/10/2020
3.0.86 567 12/7/2020
3.0.84 587 12/7/2020
3.0.80 642 10/2/2020
3.0.79 735 10/1/2020
3.0.78 635 9/29/2020
3.0.77 643 9/13/2020
3.0.76 643 6/19/2020
3.0.75 632 6/8/2020
3.0.74 632 6/1/2020
3.0.73 672 5/13/2020
3.0.72 654 5/13/2020
3.0.70 665 5/12/2020
3.0.69 627 5/12/2020
3.0.68 652 5/12/2020
3.0.67 660 5/12/2020
3.0.41 672 4/28/2020
3.0.40 635 4/24/2020
3.0.39 643 4/16/2020
3.0.38 668 4/16/2020
3.0.37 659 4/15/2020
3.0.36 660 4/15/2020
3.0.34 721 4/11/2020
3.0.33 708 4/10/2020
3.0.32 696 4/7/2020
3.0.31 695 4/6/2020
3.0.30 708 4/5/2020
3.0.29 732 4/5/2020
3.0.28 818 4/5/2020
3.0.27 728 4/2/2020
3.0.24 690 4/1/2020
3.0.23 716 3/29/2020
3.0.22 667 3/26/2020
3.0.21 662 3/26/2020
3.0.20 609 3/25/2020
3.0.19 697 3/25/2020
3.0.18 744 3/22/2020
3.0.16 753 3/21/2020
3.0.15 682 3/16/2020
3.0.14 702 3/14/2020
3.0.13 767 3/14/2020
3.0.11 657 3/13/2020
3.0.10 679 3/13/2020
3.0.8 696 3/5/2020
3.0.7 652 2/28/2020
3.0.6 696 2/28/2020
3.0.5 705 2/22/2020
3.0.4 714 2/6/2020
3.0.3 688 2/6/2020
3.0.1 734 1/10/2020
3.0.0 721 12/26/2019
2.0.34 792 4/17/2019
2.0.33 749 4/17/2019
2.0.32 782 3/14/2019
2.0.31 859 2/22/2019
2.0.30 989 11/1/2018
2.0.29 991 10/11/2018
2.0.27 964 10/5/2018
2.0.26 979 10/2/2018
2.0.25 974 9/25/2018
2.0.24 952 9/19/2018
2.0.23 1,000 9/19/2018
2.0.22 1,010 9/18/2018
2.0.21 1,067 9/13/2018
2.0.20 1,111 8/7/2018
2.0.19 1,035 8/1/2018
2.0.18 1,086 8/1/2018
2.0.17 1,234 7/3/2018
2.0.16 1,311 6/26/2018
2.0.15 1,268 6/26/2018
2.0.14 1,221 6/14/2018
2.0.13 1,279 5/31/2018
2.0.11 1,196 5/22/2018
2.0.10 1,283 5/21/2018
2.0.9 1,400 5/21/2018
2.0.8 1,352 5/11/2018
2.0.7 1,427 2/15/2018
2.0.6 1,371 2/15/2018
2.0.5 1,388 2/13/2018
2.0.4 1,337 1/24/2018
2.0.3 1,371 1/8/2018
2.0.2 1,397 1/2/2018
1.0.83 1,384 12/15/2017
1.0.82 1,230 12/1/2017
1.0.81 1,162 11/22/2017
1.0.80 1,144 11/21/2017
1.0.79 1,205 11/21/2017
1.0.78 1,172 11/21/2017
1.0.76 1,127 11/17/2017
1.0.72 1,206 11/17/2017
1.0.71 1,146 11/17/2017
1.0.67 1,171 11/16/2017
1.0.66 1,184 11/16/2017
1.0.65 1,214 11/14/2017
1.0.63 1,161 11/14/2017
1.0.62 1,166 11/14/2017
1.0.61 1,196 11/13/2017
1.0.60 1,232 11/13/2017
1.0.55 1,241 11/13/2017
1.0.53 1,238 11/13/2017
1.0.52 1,179 11/13/2017
1.0.50 1,181 11/6/2017
1.0.49 1,170 10/24/2017
1.0.48 1,166 10/24/2017
1.0.44 1,165 10/19/2017
1.0.42 1,173 10/19/2017
1.0.40 1,145 10/18/2017
1.0.39 1,192 10/13/2017
1.0.34 1,192 10/12/2017
1.0.32 1,222 10/12/2017
1.0.31 1,137 10/11/2017
1.0.26 1,172 10/2/2017
1.0.24 1,215 9/29/2017
1.0.21 1,184 9/26/2017
1.0.19 1,169 9/25/2017
1.0.16 1,169 9/23/2017
1.0.15 1,171 9/22/2017
1.0.11 1,155 9/22/2017
1.0.10 1,173 9/22/2017
1.0.8 1,186 9/21/2017
1.0.7 1,205 9/21/2017
1.0.5 1,221 9/21/2017