Inflatable 4.0.216

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

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

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.12 40 12/18/2024
5.0.11 71 12/17/2024
5.0.10 80 12/11/2024
5.0.9 72 12/10/2024
5.0.8 62 12/9/2024
5.0.7 79 12/6/2024
5.0.6 97 11/27/2024
5.0.5 79 11/27/2024
5.0.4 77 11/26/2024
5.0.3 74 11/25/2024
5.0.2 83 11/24/2024
4.0.244 90 10/29/2024
4.0.243 97 10/25/2024
4.0.242 140 9/27/2024
4.0.241 108 9/23/2024
4.0.240 115 9/6/2024
4.0.239 107 8/29/2024
4.0.238 137 8/27/2024
4.0.237 125 8/26/2024
4.0.236 138 8/22/2024
4.0.235 135 8/21/2024
4.0.234 118 8/20/2024
4.0.233 120 8/15/2024
4.0.232 85 8/5/2024
4.0.231 96 8/1/2024
4.0.230 106 7/25/2024
4.0.229 107 7/11/2024
4.0.228 96 7/10/2024
4.0.227 126 7/10/2024
4.0.226 115 7/5/2024
4.0.225 110 6/27/2024
4.0.224 114 6/26/2024
4.0.223 103 6/25/2024
4.0.222 107 6/24/2024
4.0.220 109 6/21/2024
4.0.219 115 6/19/2024
4.0.218 113 6/18/2024
4.0.217 123 6/17/2024
4.0.216 117 6/14/2024
4.0.215 131 6/13/2024
4.0.214 122 5/31/2024
4.0.213 119 5/30/2024
4.0.212 120 5/27/2024
4.0.211 127 5/23/2024
4.0.210 116 5/17/2024
4.0.209 116 5/16/2024
4.0.208 143 5/8/2024
4.0.207 144 5/7/2024
4.0.206 129 5/6/2024
4.0.205 103 5/3/2024
4.0.204 85 5/2/2024
4.0.203 85 5/2/2024
4.0.202 84 5/2/2024
4.0.201 102 5/2/2024
4.0.198 130 5/1/2024
4.0.197 138 4/30/2024
4.0.196 127 4/29/2024
4.0.195 116 4/29/2024
4.0.194 126 4/25/2024
4.0.193 139 4/15/2024
4.0.192 119 4/12/2024
4.0.191 115 4/12/2024
4.0.190 135 4/11/2024
4.0.189 127 4/9/2024
4.0.188 134 4/2/2024
4.0.187 147 4/1/2024
4.0.186 124 3/29/2024
4.0.185 152 3/22/2024
4.0.184 127 3/19/2024
4.0.183 126 3/18/2024
4.0.182 135 3/15/2024
4.0.181 138 3/14/2024
4.0.180 132 3/12/2024
4.0.179 141 3/11/2024
4.0.178 151 3/8/2024
4.0.177 136 3/7/2024
4.0.176 119 3/6/2024
4.0.175 143 3/5/2024
4.0.174 117 3/4/2024
4.0.173 129 3/4/2024
4.0.172 142 3/1/2024
4.0.171 124 2/29/2024
4.0.170 126 2/28/2024
4.0.169 136 2/27/2024
4.0.168 125 2/26/2024
4.0.167 132 2/23/2024
4.0.166 118 2/22/2024
4.0.165 134 2/21/2024
4.0.164 127 2/20/2024
4.0.163 138 2/19/2024
4.0.162 122 2/19/2024
4.0.161 128 2/16/2024
4.0.160 119 2/16/2024
4.0.159 140 2/15/2024
4.0.158 134 2/14/2024
4.0.157 122 2/13/2024
4.0.156 120 2/12/2024
4.0.155 141 2/9/2024
4.0.154 126 2/8/2024
4.0.153 134 2/7/2024
4.0.152 120 2/7/2024
4.0.151 122 2/6/2024
4.0.150 108 2/5/2024
4.0.149 112 2/2/2024
4.0.148 114 2/1/2024
4.0.147 115 2/1/2024
4.0.146 129 1/31/2024
4.0.145 105 1/30/2024
4.0.144 120 1/29/2024
4.0.143 130 1/26/2024
4.0.142 114 1/25/2024
4.0.141 112 1/24/2024
4.0.140 122 1/23/2024
4.0.139 113 1/19/2024
4.0.138 127 1/19/2024
4.0.137 131 1/18/2024
4.0.136 133 1/17/2024
4.0.135 125 1/16/2024
4.0.134 135 1/16/2024
4.0.133 137 1/15/2024
4.0.132 131 1/12/2024
4.0.131 123 1/11/2024
4.0.130 121 1/10/2024
4.0.129 142 1/9/2024
4.0.128 146 1/8/2024
4.0.127 153 1/5/2024
4.0.126 165 12/29/2023
4.0.125 158 12/28/2023
4.0.124 159 12/27/2023
4.0.123 121 12/26/2023
4.0.122 157 12/26/2023
4.0.121 142 12/25/2023
4.0.120 118 12/25/2023
4.0.119 141 12/22/2023
4.0.118 135 12/21/2023
4.0.117 146 12/20/2023
4.0.116 120 12/19/2023
4.0.115 126 12/18/2023
4.0.114 114 12/15/2023
4.0.113 123 12/14/2023
4.0.112 99 12/14/2023
4.0.111 136 12/13/2023
4.0.106 156 12/8/2023
4.0.105 119 12/7/2023
4.0.104 137 12/6/2023
4.0.103 144 12/6/2023
4.0.102 139 12/5/2023
4.0.101 121 12/5/2023
4.0.100 141 11/27/2023
4.0.99 134 11/24/2023
4.0.98 137 11/22/2023
4.0.97 135 11/21/2023
4.0.96 148 11/20/2023
4.0.95 138 11/20/2023
4.0.94 450 11/17/2023
4.0.93 129 11/16/2023
4.0.92 132 11/14/2023
4.0.91 120 11/13/2023
4.0.90 136 11/10/2023
4.0.89 131 11/9/2023
4.0.88 132 11/9/2023
4.0.87 125 11/8/2023
4.0.86 122 11/7/2023
4.0.85 116 11/6/2023
4.0.84 149 11/5/2023
4.0.83 120 11/3/2023
4.0.82 125 11/3/2023
4.0.81 127 11/2/2023
4.0.80 122 11/1/2023
4.0.77 130 10/31/2023
4.0.76 154 10/30/2023
4.0.75 131 10/27/2023
4.0.74 153 10/26/2023
4.0.73 157 10/18/2023
4.0.72 137 10/17/2023
4.0.71 146 10/17/2023
4.0.70 158 10/16/2023
4.0.69 159 10/13/2023
4.0.68 140 10/13/2023
4.0.67 132 10/12/2023
4.0.66 160 10/6/2023
4.0.65 137 10/5/2023
4.0.64 127 9/27/2023
4.0.63 130 9/26/2023
4.0.62 137 9/25/2023
4.0.61 138 9/21/2023
4.0.60 134 9/20/2023
4.0.59 141 9/19/2023
4.0.58 142 9/18/2023
4.0.55 150 9/15/2023
4.0.54 140 9/14/2023
4.0.53 138 9/13/2023
4.0.52 193 9/12/2023
4.0.51 152 9/11/2023
4.0.50 161 9/11/2023
4.0.49 157 9/11/2023
4.0.48 213 9/8/2023
4.0.47 148 9/7/2023
4.0.46 187 9/6/2023
4.0.45 144 9/5/2023
4.0.44 137 9/5/2023
4.0.43 149 9/4/2023
4.0.42 184 9/1/2023
4.0.41 171 8/31/2023
4.0.40 175 8/30/2023
4.0.39 152 8/30/2023
4.0.38 155 8/29/2023
4.0.37 195 8/28/2023
4.0.36 181 8/25/2023
4.0.35 166 8/24/2023
4.0.34 172 8/23/2023
4.0.33 141 8/21/2023
4.0.32 132 8/18/2023
4.0.31 166 8/17/2023
4.0.30 126 8/17/2023
4.0.29 151 8/17/2023
4.0.28 160 8/17/2023
4.0.27 178 8/11/2023
4.0.26 177 8/10/2023
4.0.25 174 8/9/2023
4.0.24 135 8/8/2023
4.0.23 175 8/8/2023
4.0.22 239 8/8/2023
4.0.21 165 8/7/2023
4.0.20 166 8/4/2023
4.0.19 173 8/3/2023
4.0.18 188 7/27/2023
4.0.17 193 7/26/2023
4.0.16 212 7/21/2023
4.0.15 181 7/20/2023
4.0.14 189 7/19/2023
4.0.13 179 7/18/2023
4.0.12 176 7/18/2023
4.0.11 160 7/18/2023
4.0.10 180 7/18/2023
4.0.9 198 7/17/2023
4.0.7 290 2/10/2023
4.0.6 301 2/6/2023
4.0.5 324 1/30/2023
4.0.4 330 1/30/2023
4.0.3 298 1/27/2023
4.0.2 315 12/13/2022
4.0.1 352 12/13/2022
3.0.111 532 9/17/2022
3.0.110 505 8/11/2022
3.0.109 541 6/10/2022
3.0.107 583 4/20/2022
3.0.106 515 1/11/2022
3.0.105 467 1/10/2022
3.0.104 354 12/7/2021
3.0.103 454 10/27/2021
3.0.102 454 6/17/2021
3.0.100 499 6/17/2021
3.0.95 507 6/16/2021
3.0.91 474 1/14/2021
3.0.90 493 1/7/2021
3.0.89 533 12/16/2020
3.0.88 497 12/15/2020
3.0.87 579 12/10/2020
3.0.86 513 12/7/2020
3.0.84 536 12/7/2020
3.0.80 592 10/2/2020
3.0.79 685 10/1/2020
3.0.78 587 9/29/2020
3.0.77 596 9/13/2020
3.0.76 593 6/19/2020
3.0.75 582 6/8/2020
3.0.74 578 6/1/2020
3.0.73 618 5/13/2020
3.0.72 599 5/13/2020
3.0.70 608 5/12/2020
3.0.69 571 5/12/2020
3.0.68 596 5/12/2020
3.0.67 603 5/12/2020
3.0.41 616 4/28/2020
3.0.40 580 4/24/2020
3.0.39 586 4/16/2020
3.0.38 612 4/16/2020
3.0.37 604 4/15/2020
3.0.36 604 4/15/2020
3.0.34 664 4/11/2020
3.0.33 650 4/10/2020
3.0.32 640 4/7/2020
3.0.31 633 4/6/2020
3.0.30 653 4/5/2020
3.0.29 677 4/5/2020
3.0.28 762 4/5/2020
3.0.27 674 4/2/2020
3.0.24 634 4/1/2020
3.0.23 659 3/29/2020
3.0.22 611 3/26/2020
3.0.21 606 3/26/2020
3.0.20 554 3/25/2020
3.0.19 643 3/25/2020
3.0.18 690 3/22/2020
3.0.16 698 3/21/2020
3.0.15 625 3/16/2020
3.0.14 646 3/14/2020
3.0.13 710 3/14/2020
3.0.11 602 3/13/2020
3.0.10 621 3/13/2020
3.0.8 640 3/5/2020
3.0.7 597 2/28/2020
3.0.6 640 2/28/2020
3.0.5 648 2/22/2020
3.0.4 660 2/6/2020
3.0.3 632 2/6/2020
3.0.1 678 1/10/2020
3.0.0 666 12/26/2019
2.0.34 731 4/17/2019
2.0.33 688 4/17/2019
2.0.32 722 3/14/2019
2.0.31 799 2/22/2019
2.0.30 916 11/1/2018
2.0.29 918 10/11/2018
2.0.27 887 10/5/2018
2.0.26 905 10/2/2018
2.0.25 898 9/25/2018
2.0.24 876 9/19/2018
2.0.23 922 9/19/2018
2.0.22 937 9/18/2018
2.0.21 989 9/13/2018
2.0.20 982 8/7/2018
2.0.19 907 8/1/2018
2.0.18 956 8/1/2018
2.0.17 1,040 7/3/2018
2.0.16 1,114 6/26/2018
2.0.15 1,071 6/26/2018
2.0.14 1,023 6/14/2018
2.0.13 1,080 5/31/2018
2.0.11 1,000 5/22/2018
2.0.10 1,084 5/21/2018
2.0.9 1,204 5/21/2018
2.0.8 1,145 5/11/2018
2.0.7 1,223 2/15/2018
2.0.6 1,166 2/15/2018
2.0.5 1,184 2/13/2018
2.0.4 1,127 1/24/2018
2.0.3 1,161 1/8/2018
2.0.2 1,186 1/2/2018
1.0.83 1,169 12/15/2017
1.0.82 1,091 12/1/2017
1.0.81 1,022 11/22/2017
1.0.80 1,003 11/21/2017
1.0.79 1,063 11/21/2017
1.0.78 1,031 11/21/2017
1.0.76 985 11/17/2017
1.0.72 1,066 11/17/2017
1.0.71 1,004 11/17/2017
1.0.67 1,030 11/16/2017
1.0.66 1,043 11/16/2017
1.0.65 1,075 11/14/2017
1.0.63 1,022 11/14/2017
1.0.62 1,027 11/14/2017
1.0.61 1,055 11/13/2017
1.0.60 1,092 11/13/2017
1.0.55 1,100 11/13/2017
1.0.53 1,098 11/13/2017
1.0.52 1,043 11/13/2017
1.0.50 1,042 11/6/2017
1.0.49 1,030 10/24/2017
1.0.48 1,027 10/24/2017
1.0.44 1,024 10/19/2017
1.0.42 1,032 10/19/2017
1.0.40 1,006 10/18/2017
1.0.39 1,051 10/13/2017
1.0.34 1,048 10/12/2017
1.0.32 1,080 10/12/2017
1.0.31 998 10/11/2017
1.0.26 1,033 10/2/2017
1.0.24 1,075 9/29/2017
1.0.21 1,045 9/26/2017
1.0.19 1,027 9/25/2017
1.0.16 1,028 9/23/2017
1.0.15 1,031 9/22/2017
1.0.11 1,014 9/22/2017
1.0.10 1,034 9/22/2017
1.0.8 1,047 9/21/2017
1.0.7 1,066 9/21/2017
1.0.5 1,081 9/21/2017