Inflatable 4.0.218

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

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

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.  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. 
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 95 a month ago
5.0.24 87 a month ago
5.0.23 85 a month ago
5.0.22 78 a month ago
5.0.21 87 a month ago
5.0.20 80 a month ago
5.0.19 85 a month ago
5.0.18 85 2 months ago
5.0.17 76 2 months ago
5.0.16 55 2 months ago
5.0.15 60 2 months ago
5.0.14 62 2 months ago
5.0.13 65 2 months ago
5.0.12 111 3 months ago
5.0.11 99 3 months ago
5.0.10 99 3 months ago
5.0.9 87 3 months ago
5.0.8 78 3 months ago
5.0.7 105 3 months ago
5.0.6 110 3 months ago
5.0.5 92 3 months ago
5.0.4 90 3 months ago
5.0.3 87 3 months ago
5.0.2 96 3 months ago
4.0.244 103 4 months ago
4.0.243 110 4 months ago
4.0.242 148 5 months ago
4.0.241 116 5 months ago
4.0.240 121 6 months ago
4.0.239 113 6 months ago
4.0.238 145 6 months ago
4.0.237 129 6 months ago
4.0.236 144 6 months ago
4.0.235 141 6 months ago
4.0.234 122 6 months ago
4.0.233 126 7 months ago
4.0.232 93 7 months ago
4.0.231 102 7 months ago
4.0.230 112 7 months ago
4.0.229 114 8 months ago
4.0.228 105 8 months ago
4.0.227 133 8 months ago
4.0.226 122 8 months ago
4.0.225 116 8 months ago
4.0.224 121 8 months ago
4.0.223 109 8 months ago
4.0.222 112 8 months ago
4.0.220 122 8 months ago
4.0.219 121 8 months ago
4.0.218 120 9 months ago
4.0.217 130 9 months ago
4.0.216 120 9 months ago
4.0.215 134 9 months ago
4.0.214 125 9 months ago
4.0.213 122 9 months ago
4.0.212 123 9 months ago
4.0.211 132 9 months ago
4.0.210 121 10 months ago
4.0.209 119 10 months ago
4.0.208 148 10 months ago
4.0.207 150 10 months ago
4.0.206 133 10 months ago
4.0.205 106 5/3/2024
4.0.204 93 5/2/2024
4.0.203 90 5/2/2024
4.0.202 89 5/2/2024
4.0.201 105 5/2/2024
4.0.198 135 5/1/2024
4.0.197 141 4/30/2024
4.0.196 133 4/29/2024
4.0.195 121 4/29/2024
4.0.194 135 4/25/2024
4.0.193 146 4/15/2024
4.0.192 128 4/12/2024
4.0.191 123 4/12/2024
4.0.190 140 4/11/2024
4.0.189 132 4/9/2024
4.0.188 137 4/2/2024
4.0.187 150 4/1/2024
4.0.186 130 3/29/2024
4.0.185 155 3/22/2024
4.0.184 132 3/19/2024
4.0.183 131 3/18/2024
4.0.182 138 3/15/2024
4.0.181 143 3/14/2024
4.0.180 139 3/12/2024
4.0.179 146 3/11/2024
4.0.178 154 3/8/2024
4.0.177 139 3/7/2024
4.0.176 122 3/6/2024
4.0.175 146 3/5/2024
4.0.174 120 3/4/2024
4.0.173 134 3/4/2024
4.0.172 148 3/1/2024
4.0.171 129 2/29/2024
4.0.170 131 2/28/2024
4.0.169 141 2/27/2024
4.0.168 130 2/26/2024
4.0.167 137 2/23/2024
4.0.166 122 2/22/2024
4.0.165 139 2/21/2024
4.0.164 136 2/20/2024
4.0.163 146 2/19/2024
4.0.162 131 2/19/2024
4.0.161 140 2/16/2024
4.0.160 126 2/16/2024
4.0.159 149 2/15/2024
4.0.158 141 2/14/2024
4.0.157 125 2/13/2024
4.0.156 123 2/12/2024
4.0.155 144 2/9/2024
4.0.154 131 2/8/2024
4.0.153 140 2/7/2024
4.0.152 123 2/7/2024
4.0.151 127 2/6/2024
4.0.150 111 2/5/2024
4.0.149 115 2/2/2024
4.0.148 117 2/1/2024
4.0.147 124 2/1/2024
4.0.146 132 1/31/2024
4.0.145 108 1/30/2024
4.0.144 123 1/29/2024
4.0.143 133 1/26/2024
4.0.142 117 1/25/2024
4.0.141 115 1/24/2024
4.0.140 125 1/23/2024
4.0.139 116 1/19/2024
4.0.138 130 1/19/2024
4.0.137 134 1/18/2024
4.0.136 136 1/17/2024
4.0.135 128 1/16/2024
4.0.134 138 1/16/2024
4.0.133 140 1/15/2024
4.0.132 135 1/12/2024
4.0.131 126 1/11/2024
4.0.130 124 1/10/2024
4.0.129 145 1/9/2024
4.0.128 150 1/8/2024
4.0.127 156 1/5/2024
4.0.126 168 12/29/2023
4.0.125 161 12/28/2023
4.0.124 162 12/27/2023
4.0.123 126 12/26/2023
4.0.122 160 12/26/2023
4.0.121 148 12/25/2023
4.0.120 123 12/25/2023
4.0.119 150 12/22/2023
4.0.118 138 12/21/2023
4.0.117 149 12/20/2023
4.0.116 125 12/19/2023
4.0.115 131 12/18/2023
4.0.114 121 12/15/2023
4.0.113 128 12/14/2023
4.0.112 104 12/14/2023
4.0.111 141 12/13/2023
4.0.106 159 12/8/2023
4.0.105 124 12/7/2023
4.0.104 142 12/6/2023
4.0.103 147 12/6/2023
4.0.102 142 12/5/2023
4.0.101 126 12/5/2023
4.0.100 146 11/27/2023
4.0.99 139 11/24/2023
4.0.98 143 11/22/2023
4.0.97 140 11/21/2023
4.0.96 156 11/20/2023
4.0.95 141 11/20/2023
4.0.94 548 11/17/2023
4.0.93 134 11/16/2023
4.0.92 135 11/14/2023
4.0.91 125 11/13/2023
4.0.90 141 11/10/2023
4.0.89 139 11/9/2023
4.0.88 138 11/9/2023
4.0.87 133 11/8/2023
4.0.86 127 11/7/2023
4.0.85 121 11/6/2023
4.0.84 154 11/5/2023
4.0.83 127 11/3/2023
4.0.82 130 11/3/2023
4.0.81 132 11/2/2023
4.0.80 127 11/1/2023
4.0.77 135 10/31/2023
4.0.76 157 10/30/2023
4.0.75 137 10/27/2023
4.0.74 158 10/26/2023
4.0.73 160 10/18/2023
4.0.72 142 10/17/2023
4.0.71 151 10/17/2023
4.0.70 163 10/16/2023
4.0.69 167 10/13/2023
4.0.68 145 10/13/2023
4.0.67 137 10/12/2023
4.0.66 165 10/6/2023
4.0.65 140 10/5/2023
4.0.64 132 9/27/2023
4.0.63 133 9/26/2023
4.0.62 142 9/25/2023
4.0.61 141 9/21/2023
4.0.60 139 9/20/2023
4.0.59 146 9/19/2023
4.0.58 145 9/18/2023
4.0.55 155 9/15/2023
4.0.54 145 9/14/2023
4.0.53 143 9/13/2023
4.0.52 198 9/12/2023
4.0.51 160 9/11/2023
4.0.50 179 9/11/2023
4.0.49 160 9/11/2023
4.0.48 219 9/8/2023
4.0.47 153 9/7/2023
4.0.46 190 9/6/2023
4.0.45 150 9/5/2023
4.0.44 142 9/5/2023
4.0.43 154 9/4/2023
4.0.42 187 9/1/2023
4.0.41 176 8/31/2023
4.0.40 180 8/30/2023
4.0.39 156 8/30/2023
4.0.38 158 8/29/2023
4.0.37 198 8/28/2023
4.0.36 186 8/25/2023
4.0.35 169 8/24/2023
4.0.34 175 8/23/2023
4.0.33 146 8/21/2023
4.0.32 137 8/18/2023
4.0.31 171 8/17/2023
4.0.30 134 8/17/2023
4.0.29 158 8/17/2023
4.0.28 165 8/17/2023
4.0.27 184 8/11/2023
4.0.26 182 8/10/2023
4.0.25 179 8/9/2023
4.0.24 139 8/8/2023
4.0.23 181 8/8/2023
4.0.22 243 8/8/2023
4.0.21 172 8/7/2023
4.0.20 173 8/4/2023
4.0.19 178 8/3/2023
4.0.18 192 7/27/2023
4.0.17 198 7/26/2023
4.0.16 217 7/21/2023
4.0.15 186 7/20/2023
4.0.14 194 7/19/2023
4.0.13 182 7/18/2023
4.0.12 181 7/18/2023
4.0.11 166 7/18/2023
4.0.10 186 7/18/2023
4.0.9 203 7/17/2023
4.0.7 300 2/10/2023
4.0.6 311 2/6/2023
4.0.5 334 1/30/2023
4.0.4 338 1/30/2023
4.0.3 306 1/27/2023
4.0.2 326 12/13/2022
4.0.1 361 12/13/2022
3.0.111 544 9/17/2022
3.0.110 515 8/11/2022
3.0.109 551 6/10/2022
3.0.107 593 4/20/2022
3.0.106 528 1/11/2022
3.0.105 477 1/10/2022
3.0.104 365 12/7/2021
3.0.103 467 10/27/2021
3.0.102 466 6/17/2021
3.0.100 511 6/17/2021
3.0.95 520 6/16/2021
3.0.91 488 1/14/2021
3.0.90 509 1/7/2021
3.0.89 548 12/16/2020
3.0.88 513 12/15/2020
3.0.87 595 12/10/2020
3.0.86 529 12/7/2020
3.0.84 552 12/7/2020
3.0.80 607 10/2/2020
3.0.79 699 10/1/2020
3.0.78 599 9/29/2020
3.0.77 609 9/13/2020
3.0.76 608 6/19/2020
3.0.75 598 6/8/2020
3.0.74 595 6/1/2020
3.0.73 632 5/13/2020
3.0.72 615 5/13/2020
3.0.70 624 5/12/2020
3.0.69 588 5/12/2020
3.0.68 613 5/12/2020
3.0.67 620 5/12/2020
3.0.41 633 4/28/2020
3.0.40 596 4/24/2020
3.0.39 602 4/16/2020
3.0.38 628 4/16/2020
3.0.37 619 4/15/2020
3.0.36 620 4/15/2020
3.0.34 682 4/11/2020
3.0.33 668 4/10/2020
3.0.32 657 4/7/2020
3.0.31 654 4/6/2020
3.0.30 669 4/5/2020
3.0.29 693 4/5/2020
3.0.28 775 4/5/2020
3.0.27 689 4/2/2020
3.0.24 650 4/1/2020
3.0.23 675 3/29/2020
3.0.22 627 3/26/2020
3.0.21 622 3/26/2020
3.0.20 568 3/25/2020
3.0.19 657 3/25/2020
3.0.18 704 3/22/2020
3.0.16 714 3/21/2020
3.0.15 641 3/16/2020
3.0.14 662 3/14/2020
3.0.13 727 3/14/2020
3.0.11 618 3/13/2020
3.0.10 638 3/13/2020
3.0.8 656 3/5/2020
3.0.7 613 2/28/2020
3.0.6 656 2/28/2020
3.0.5 664 2/22/2020
3.0.4 674 2/6/2020
3.0.3 648 2/6/2020
3.0.1 694 1/10/2020
3.0.0 682 12/26/2019
2.0.34 750 4/17/2019
2.0.33 705 4/17/2019
2.0.32 737 3/14/2019
2.0.31 815 2/22/2019
2.0.30 937 11/1/2018
2.0.29 939 10/11/2018
2.0.27 909 10/5/2018
2.0.26 925 10/2/2018
2.0.25 921 9/25/2018
2.0.24 896 9/19/2018
2.0.23 945 9/19/2018
2.0.22 957 9/18/2018
2.0.21 1,011 9/13/2018
2.0.20 1,016 8/7/2018
2.0.19 941 8/1/2018
2.0.18 992 8/1/2018
2.0.17 1,093 7/3/2018
2.0.16 1,169 6/26/2018
2.0.15 1,125 6/26/2018
2.0.14 1,078 6/14/2018
2.0.13 1,136 5/31/2018
2.0.11 1,055 5/22/2018
2.0.10 1,139 5/21/2018
2.0.9 1,257 5/21/2018
2.0.8 1,208 5/11/2018
2.0.7 1,286 2/15/2018
2.0.6 1,229 2/15/2018
2.0.5 1,247 2/13/2018
2.0.4 1,194 1/24/2018
2.0.3 1,228 1/8/2018
2.0.2 1,253 1/2/2018
1.0.83 1,240 12/15/2017
1.0.82 1,137 12/1/2017
1.0.81 1,069 11/22/2017
1.0.80 1,049 11/21/2017
1.0.79 1,110 11/21/2017
1.0.78 1,077 11/21/2017
1.0.76 1,033 11/17/2017
1.0.72 1,112 11/17/2017
1.0.71 1,050 11/17/2017
1.0.67 1,076 11/16/2017
1.0.66 1,089 11/16/2017
1.0.65 1,121 11/14/2017
1.0.63 1,068 11/14/2017
1.0.62 1,073 11/14/2017
1.0.61 1,101 11/13/2017
1.0.60 1,138 11/13/2017
1.0.55 1,146 11/13/2017
1.0.53 1,144 11/13/2017
1.0.52 1,089 11/13/2017
1.0.50 1,088 11/6/2017
1.0.49 1,076 10/24/2017
1.0.48 1,073 10/24/2017
1.0.44 1,070 10/19/2017
1.0.42 1,080 10/19/2017
1.0.40 1,052 10/18/2017
1.0.39 1,097 10/13/2017
1.0.34 1,096 10/12/2017
1.0.32 1,126 10/12/2017
1.0.31 1,044 10/11/2017
1.0.26 1,079 10/2/2017
1.0.24 1,121 9/29/2017
1.0.21 1,091 9/26/2017
1.0.19 1,073 9/25/2017
1.0.16 1,074 9/23/2017
1.0.15 1,078 9/22/2017
1.0.11 1,060 9/22/2017
1.0.10 1,080 9/22/2017
1.0.8 1,093 9/21/2017
1.0.7 1,112 9/21/2017
1.0.5 1,128 9/21/2017