Inflatable 4.0.136

There is a newer version of this package available.
See the version list below for details.
dotnet add package Inflatable --version 4.0.136                
NuGet\Install-Package Inflatable -Version 4.0.136                
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="4.0.136" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Inflatable --version 4.0.136                
#r "nuget: Inflatable, 4.0.136"                
#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.
// Install Inflatable as a Cake Addin
#addin nuget:?package=Inflatable&version=4.0.136

// Install Inflatable as a Cake Tool
#tool nuget:?package=Inflatable&version=4.0.136                

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 net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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. 
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.2 34 11/24/2024
4.0.244 79 10/29/2024
4.0.243 85 10/25/2024
4.0.242 131 9/27/2024
4.0.241 98 9/23/2024
4.0.240 106 9/6/2024
4.0.239 96 8/29/2024
4.0.238 126 8/27/2024
4.0.237 113 8/26/2024
4.0.236 127 8/22/2024
4.0.235 125 8/21/2024
4.0.234 109 8/20/2024
4.0.233 112 8/15/2024
4.0.232 77 8/5/2024
4.0.231 85 8/1/2024
4.0.230 93 7/25/2024
4.0.229 96 7/11/2024
4.0.228 85 7/10/2024
4.0.227 118 7/10/2024
4.0.226 106 7/5/2024
4.0.225 99 6/27/2024
4.0.224 107 6/26/2024
4.0.223 94 6/25/2024
4.0.222 94 6/24/2024
4.0.220 99 6/21/2024
4.0.219 104 6/19/2024
4.0.218 102 6/18/2024
4.0.217 114 6/17/2024
4.0.216 106 6/14/2024
4.0.215 117 6/13/2024
4.0.214 113 5/31/2024
4.0.213 108 5/30/2024
4.0.212 110 5/27/2024
4.0.211 118 5/23/2024
4.0.210 106 5/17/2024
4.0.209 107 5/16/2024
4.0.208 134 5/8/2024
4.0.207 135 5/7/2024
4.0.206 121 5/6/2024
4.0.205 97 5/3/2024
4.0.204 78 5/2/2024
4.0.203 77 5/2/2024
4.0.202 79 5/2/2024
4.0.201 86 5/2/2024
4.0.198 121 5/1/2024
4.0.197 127 4/30/2024
4.0.196 117 4/29/2024
4.0.195 108 4/29/2024
4.0.194 120 4/25/2024
4.0.193 131 4/15/2024
4.0.192 111 4/12/2024
4.0.191 109 4/12/2024
4.0.190 124 4/11/2024
4.0.189 118 4/9/2024
4.0.188 128 4/2/2024
4.0.187 140 4/1/2024
4.0.186 115 3/29/2024
4.0.185 140 3/22/2024
4.0.184 119 3/19/2024
4.0.183 118 3/18/2024
4.0.182 126 3/15/2024
4.0.181 131 3/14/2024
4.0.180 126 3/12/2024
4.0.179 134 3/11/2024
4.0.178 141 3/8/2024
4.0.177 130 3/7/2024
4.0.176 109 3/6/2024
4.0.175 137 3/5/2024
4.0.174 109 3/4/2024
4.0.173 121 3/4/2024
4.0.172 135 3/1/2024
4.0.171 114 2/29/2024
4.0.170 119 2/28/2024
4.0.169 127 2/27/2024
4.0.168 118 2/26/2024
4.0.167 126 2/23/2024
4.0.166 112 2/22/2024
4.0.165 126 2/21/2024
4.0.164 121 2/20/2024
4.0.163 128 2/19/2024
4.0.162 115 2/19/2024
4.0.161 122 2/16/2024
4.0.160 110 2/16/2024
4.0.159 134 2/15/2024
4.0.158 127 2/14/2024
4.0.157 115 2/13/2024
4.0.156 108 2/12/2024
4.0.155 130 2/9/2024
4.0.154 116 2/8/2024
4.0.153 126 2/7/2024
4.0.152 114 2/7/2024
4.0.151 113 2/6/2024
4.0.150 104 2/5/2024
4.0.149 105 2/2/2024
4.0.148 107 2/1/2024
4.0.147 109 2/1/2024
4.0.146 122 1/31/2024
4.0.145 97 1/30/2024
4.0.144 111 1/29/2024
4.0.143 122 1/26/2024
4.0.142 105 1/25/2024
4.0.141 105 1/24/2024
4.0.140 114 1/23/2024
4.0.139 105 1/19/2024
4.0.138 120 1/19/2024
4.0.137 126 1/18/2024
4.0.136 128 1/17/2024
4.0.135 118 1/16/2024
4.0.134 129 1/16/2024
4.0.133 130 1/15/2024
4.0.132 122 1/12/2024
4.0.131 117 1/11/2024
4.0.130 114 1/10/2024
4.0.129 136 1/9/2024
4.0.128 141 1/8/2024
4.0.127 145 1/5/2024
4.0.126 160 12/29/2023
4.0.125 150 12/28/2023
4.0.124 151 12/27/2023
4.0.123 114 12/26/2023
4.0.122 150 12/26/2023
4.0.121 138 12/25/2023
4.0.120 114 12/25/2023
4.0.119 135 12/22/2023
4.0.118 127 12/21/2023
4.0.117 139 12/20/2023
4.0.116 114 12/19/2023
4.0.115 121 12/18/2023
4.0.114 109 12/15/2023
4.0.113 117 12/14/2023
4.0.112 95 12/14/2023
4.0.111 132 12/13/2023
4.0.106 145 12/8/2023
4.0.105 115 12/7/2023
4.0.104 133 12/6/2023
4.0.103 137 12/6/2023
4.0.102 133 12/5/2023
4.0.101 117 12/5/2023
4.0.100 138 11/27/2023
4.0.99 127 11/24/2023
4.0.98 126 11/22/2023
4.0.97 128 11/21/2023
4.0.96 141 11/20/2023
4.0.95 129 11/20/2023
4.0.94 411 11/17/2023
4.0.93 121 11/16/2023
4.0.92 125 11/14/2023
4.0.91 117 11/13/2023
4.0.90 132 11/10/2023
4.0.89 124 11/9/2023
4.0.88 123 11/9/2023
4.0.87 118 11/8/2023
4.0.86 118 11/7/2023
4.0.85 113 11/6/2023
4.0.84 144 11/5/2023
4.0.83 115 11/3/2023
4.0.82 120 11/3/2023
4.0.81 120 11/2/2023
4.0.80 118 11/1/2023
4.0.77 125 10/31/2023
4.0.76 142 10/30/2023
4.0.75 127 10/27/2023
4.0.74 149 10/26/2023
4.0.73 150 10/18/2023
4.0.72 133 10/17/2023
4.0.71 142 10/17/2023
4.0.70 153 10/16/2023
4.0.69 155 10/13/2023
4.0.68 136 10/13/2023
4.0.67 125 10/12/2023
4.0.66 156 10/6/2023
4.0.65 131 10/5/2023
4.0.64 121 9/27/2023
4.0.63 124 9/26/2023
4.0.62 131 9/25/2023
4.0.61 132 9/21/2023
4.0.60 128 9/20/2023
4.0.59 136 9/19/2023
4.0.58 136 9/18/2023
4.0.55 147 9/15/2023
4.0.54 136 9/14/2023
4.0.53 134 9/13/2023
4.0.52 189 9/12/2023
4.0.51 146 9/11/2023
4.0.50 154 9/11/2023
4.0.49 151 9/11/2023
4.0.48 204 9/8/2023
4.0.47 139 9/7/2023
4.0.46 182 9/6/2023
4.0.45 135 9/5/2023
4.0.44 134 9/5/2023
4.0.43 145 9/4/2023
4.0.42 176 9/1/2023
4.0.41 167 8/31/2023
4.0.40 171 8/30/2023
4.0.39 144 8/30/2023
4.0.38 151 8/29/2023
4.0.37 190 8/28/2023
4.0.36 177 8/25/2023
4.0.35 158 8/24/2023
4.0.34 167 8/23/2023
4.0.33 137 8/21/2023
4.0.32 129 8/18/2023
4.0.31 161 8/17/2023
4.0.30 122 8/17/2023
4.0.29 146 8/17/2023
4.0.28 156 8/17/2023
4.0.27 174 8/11/2023
4.0.26 171 8/10/2023
4.0.25 168 8/9/2023
4.0.24 127 8/8/2023
4.0.23 168 8/8/2023
4.0.22 233 8/8/2023
4.0.21 154 8/7/2023
4.0.20 163 8/4/2023
4.0.19 169 8/3/2023
4.0.18 182 7/27/2023
4.0.17 189 7/26/2023
4.0.16 209 7/21/2023
4.0.15 177 7/20/2023
4.0.14 183 7/19/2023
4.0.13 170 7/18/2023
4.0.12 172 7/18/2023
4.0.11 153 7/18/2023
4.0.10 176 7/18/2023
4.0.9 194 7/17/2023
4.0.7 286 2/10/2023
4.0.6 296 2/6/2023
4.0.5 318 1/30/2023
4.0.4 324 1/30/2023
4.0.3 293 1/27/2023
4.0.2 309 12/13/2022
4.0.1 346 12/13/2022
3.0.111 526 9/17/2022
3.0.110 500 8/11/2022
3.0.109 536 6/10/2022
3.0.107 575 4/20/2022
3.0.106 511 1/11/2022
3.0.105 461 1/10/2022
3.0.104 349 12/7/2021
3.0.103 450 10/27/2021
3.0.102 451 6/17/2021
3.0.100 492 6/17/2021
3.0.95 505 6/16/2021
3.0.91 468 1/14/2021
3.0.90 488 1/7/2021
3.0.89 529 12/16/2020
3.0.88 493 12/15/2020
3.0.87 575 12/10/2020
3.0.86 509 12/7/2020
3.0.84 531 12/7/2020
3.0.80 585 10/2/2020
3.0.79 678 10/1/2020
3.0.78 579 9/29/2020
3.0.77 587 9/13/2020
3.0.76 584 6/19/2020
3.0.75 574 6/8/2020
3.0.74 570 6/1/2020
3.0.73 611 5/13/2020
3.0.72 591 5/13/2020
3.0.70 601 5/12/2020
3.0.69 564 5/12/2020
3.0.68 589 5/12/2020
3.0.67 597 5/12/2020
3.0.41 611 4/28/2020
3.0.40 572 4/24/2020
3.0.39 579 4/16/2020
3.0.38 604 4/16/2020
3.0.37 600 4/15/2020
3.0.36 597 4/15/2020
3.0.34 657 4/11/2020
3.0.33 643 4/10/2020
3.0.32 631 4/7/2020
3.0.31 627 4/6/2020
3.0.30 647 4/5/2020
3.0.29 670 4/5/2020
3.0.28 754 4/5/2020
3.0.27 666 4/2/2020
3.0.24 628 4/1/2020
3.0.23 649 3/29/2020
3.0.22 604 3/26/2020
3.0.21 599 3/26/2020
3.0.20 548 3/25/2020
3.0.19 635 3/25/2020
3.0.18 682 3/22/2020
3.0.16 691 3/21/2020
3.0.15 618 3/16/2020
3.0.14 640 3/14/2020
3.0.13 704 3/14/2020
3.0.11 596 3/13/2020
3.0.10 615 3/13/2020
3.0.8 631 3/5/2020
3.0.7 591 2/28/2020
3.0.6 633 2/28/2020
3.0.5 641 2/22/2020
3.0.4 652 2/6/2020
3.0.3 623 2/6/2020
3.0.1 672 1/10/2020
3.0.0 660 12/26/2019
2.0.34 725 4/17/2019
2.0.33 682 4/17/2019
2.0.32 715 3/14/2019
2.0.31 794 2/22/2019
2.0.30 903 11/1/2018
2.0.29 906 10/11/2018
2.0.27 872 10/5/2018
2.0.26 888 10/2/2018
2.0.25 883 9/25/2018
2.0.24 862 9/19/2018
2.0.23 908 9/19/2018
2.0.22 919 9/18/2018
2.0.21 975 9/13/2018
2.0.20 965 8/7/2018
2.0.19 889 8/1/2018
2.0.18 944 8/1/2018
2.0.17 1,025 7/3/2018
2.0.16 1,101 6/26/2018
2.0.15 1,059 6/26/2018
2.0.14 1,011 6/14/2018
2.0.13 1,068 5/31/2018
2.0.11 983 5/22/2018
2.0.10 1,071 5/21/2018
2.0.9 1,194 5/21/2018
2.0.8 1,131 5/11/2018
2.0.7 1,212 2/15/2018
2.0.6 1,152 2/15/2018
2.0.5 1,173 2/13/2018
2.0.4 1,114 1/24/2018
2.0.3 1,150 1/8/2018
2.0.2 1,174 1/2/2018
1.0.83 1,161 12/15/2017
1.0.82 1,078 12/1/2017
1.0.81 1,010 11/22/2017
1.0.80 992 11/21/2017
1.0.79 1,050 11/21/2017
1.0.78 1,019 11/21/2017
1.0.76 975 11/17/2017
1.0.72 1,056 11/17/2017
1.0.71 993 11/17/2017
1.0.67 1,019 11/16/2017
1.0.66 1,035 11/16/2017
1.0.65 1,066 11/14/2017
1.0.63 1,011 11/14/2017
1.0.62 1,019 11/14/2017
1.0.61 1,043 11/13/2017
1.0.60 1,081 11/13/2017
1.0.55 1,087 11/13/2017
1.0.53 1,088 11/13/2017
1.0.52 1,032 11/13/2017
1.0.50 1,027 11/6/2017
1.0.49 1,017 10/24/2017
1.0.48 1,015 10/24/2017
1.0.44 1,013 10/19/2017
1.0.42 1,019 10/19/2017
1.0.40 995 10/18/2017
1.0.39 1,038 10/13/2017
1.0.34 1,039 10/12/2017
1.0.32 1,070 10/12/2017
1.0.31 986 10/11/2017
1.0.26 1,020 10/2/2017
1.0.24 1,063 9/29/2017
1.0.21 1,036 9/26/2017
1.0.19 1,016 9/25/2017
1.0.16 1,018 9/23/2017
1.0.15 1,020 9/22/2017
1.0.11 1,004 9/22/2017
1.0.10 1,021 9/22/2017
1.0.8 1,038 9/21/2017
1.0.7 1,055 9/21/2017
1.0.5 1,071 9/21/2017