Inflatable 4.0.236

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

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

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
4.0.244 70 10/29/2024
4.0.243 77 10/25/2024
4.0.242 128 9/27/2024
4.0.241 95 9/23/2024
4.0.240 102 9/6/2024
4.0.239 93 8/29/2024
4.0.238 123 8/27/2024
4.0.237 110 8/26/2024
4.0.236 122 8/22/2024
4.0.235 122 8/21/2024
4.0.234 106 8/20/2024
4.0.233 109 8/15/2024
4.0.232 74 8/5/2024
4.0.231 82 8/1/2024
4.0.230 90 7/25/2024
4.0.229 93 7/11/2024
4.0.228 82 7/10/2024
4.0.227 115 7/10/2024
4.0.226 103 7/5/2024
4.0.225 96 6/27/2024
4.0.224 104 6/26/2024
4.0.223 91 6/25/2024
4.0.222 91 6/24/2024
4.0.220 96 6/21/2024
4.0.219 101 6/19/2024
4.0.218 99 6/18/2024
4.0.217 111 6/17/2024
4.0.216 103 6/14/2024
4.0.215 114 6/13/2024
4.0.214 110 5/31/2024
4.0.213 103 5/30/2024
4.0.212 107 5/27/2024
4.0.211 115 5/23/2024
4.0.210 103 5/17/2024
4.0.209 104 5/16/2024
4.0.208 131 5/8/2024
4.0.207 132 5/7/2024
4.0.206 116 5/6/2024
4.0.205 94 5/3/2024
4.0.204 75 5/2/2024
4.0.203 74 5/2/2024
4.0.202 76 5/2/2024
4.0.201 83 5/2/2024
4.0.198 118 5/1/2024
4.0.197 124 4/30/2024
4.0.196 114 4/29/2024
4.0.195 105 4/29/2024
4.0.194 117 4/25/2024
4.0.193 128 4/15/2024
4.0.192 108 4/12/2024
4.0.191 106 4/12/2024
4.0.190 121 4/11/2024
4.0.189 115 4/9/2024
4.0.188 123 4/2/2024
4.0.187 137 4/1/2024
4.0.186 112 3/29/2024
4.0.185 135 3/22/2024
4.0.184 114 3/19/2024
4.0.183 113 3/18/2024
4.0.182 121 3/15/2024
4.0.181 126 3/14/2024
4.0.180 123 3/12/2024
4.0.179 131 3/11/2024
4.0.178 138 3/8/2024
4.0.177 123 3/7/2024
4.0.176 106 3/6/2024
4.0.175 132 3/5/2024
4.0.174 106 3/4/2024
4.0.173 118 3/4/2024
4.0.172 132 3/1/2024
4.0.171 111 2/29/2024
4.0.170 116 2/28/2024
4.0.169 124 2/27/2024
4.0.168 115 2/26/2024
4.0.167 123 2/23/2024
4.0.166 109 2/22/2024
4.0.165 123 2/21/2024
4.0.164 118 2/20/2024
4.0.163 125 2/19/2024
4.0.162 110 2/19/2024
4.0.161 119 2/16/2024
4.0.160 107 2/16/2024
4.0.159 131 2/15/2024
4.0.158 124 2/14/2024
4.0.157 112 2/13/2024
4.0.156 105 2/12/2024
4.0.155 125 2/9/2024
4.0.154 113 2/8/2024
4.0.153 121 2/7/2024
4.0.152 111 2/7/2024
4.0.151 108 2/6/2024
4.0.150 99 2/5/2024
4.0.149 102 2/2/2024
4.0.148 104 2/1/2024
4.0.147 106 2/1/2024
4.0.146 119 1/31/2024
4.0.145 92 1/30/2024
4.0.144 106 1/29/2024
4.0.143 119 1/26/2024
4.0.142 102 1/25/2024
4.0.141 100 1/24/2024
4.0.140 111 1/23/2024
4.0.139 102 1/19/2024
4.0.138 117 1/19/2024
4.0.137 123 1/18/2024
4.0.136 123 1/17/2024
4.0.135 115 1/16/2024
4.0.134 126 1/16/2024
4.0.133 127 1/15/2024
4.0.132 115 1/12/2024
4.0.131 114 1/11/2024
4.0.130 111 1/10/2024
4.0.129 133 1/9/2024
4.0.128 138 1/8/2024
4.0.127 140 1/5/2024
4.0.126 157 12/29/2023
4.0.125 147 12/28/2023
4.0.124 148 12/27/2023
4.0.123 111 12/26/2023
4.0.122 147 12/26/2023
4.0.121 135 12/25/2023
4.0.120 111 12/25/2023
4.0.119 132 12/22/2023
4.0.118 124 12/21/2023
4.0.117 136 12/20/2023
4.0.116 111 12/19/2023
4.0.115 118 12/18/2023
4.0.114 106 12/15/2023
4.0.113 112 12/14/2023
4.0.112 92 12/14/2023
4.0.111 129 12/13/2023
4.0.106 142 12/8/2023
4.0.105 112 12/7/2023
4.0.104 130 12/6/2023
4.0.103 134 12/6/2023
4.0.102 130 12/5/2023
4.0.101 114 12/5/2023
4.0.100 135 11/27/2023
4.0.99 124 11/24/2023
4.0.98 123 11/22/2023
4.0.97 125 11/21/2023
4.0.96 138 11/20/2023
4.0.95 126 11/20/2023
4.0.94 396 11/17/2023
4.0.93 118 11/16/2023
4.0.92 122 11/14/2023
4.0.91 114 11/13/2023
4.0.90 129 11/10/2023
4.0.89 121 11/9/2023
4.0.88 120 11/9/2023
4.0.87 115 11/8/2023
4.0.86 115 11/7/2023
4.0.85 110 11/6/2023
4.0.84 141 11/5/2023
4.0.83 110 11/3/2023
4.0.82 115 11/3/2023
4.0.81 117 11/2/2023
4.0.80 115 11/1/2023
4.0.77 122 10/31/2023
4.0.76 139 10/30/2023
4.0.75 124 10/27/2023
4.0.74 146 10/26/2023
4.0.73 147 10/18/2023
4.0.72 130 10/17/2023
4.0.71 139 10/17/2023
4.0.70 150 10/16/2023
4.0.69 150 10/13/2023
4.0.68 133 10/13/2023
4.0.67 122 10/12/2023
4.0.66 153 10/6/2023
4.0.65 128 10/5/2023
4.0.64 118 9/27/2023
4.0.63 121 9/26/2023
4.0.62 128 9/25/2023
4.0.61 129 9/21/2023
4.0.60 125 9/20/2023
4.0.59 131 9/19/2023
4.0.58 133 9/18/2023
4.0.55 144 9/15/2023
4.0.54 133 9/14/2023
4.0.53 131 9/13/2023
4.0.52 186 9/12/2023
4.0.51 143 9/11/2023
4.0.50 151 9/11/2023
4.0.49 148 9/11/2023
4.0.48 201 9/8/2023
4.0.47 136 9/7/2023
4.0.46 179 9/6/2023
4.0.45 132 9/5/2023
4.0.44 131 9/5/2023
4.0.43 142 9/4/2023
4.0.42 173 9/1/2023
4.0.41 164 8/31/2023
4.0.40 168 8/30/2023
4.0.39 141 8/30/2023
4.0.38 148 8/29/2023
4.0.37 187 8/28/2023
4.0.36 174 8/25/2023
4.0.35 155 8/24/2023
4.0.34 164 8/23/2023
4.0.33 134 8/21/2023
4.0.32 126 8/18/2023
4.0.31 158 8/17/2023
4.0.30 119 8/17/2023
4.0.29 143 8/17/2023
4.0.28 153 8/17/2023
4.0.27 171 8/11/2023
4.0.26 168 8/10/2023
4.0.25 165 8/9/2023
4.0.24 124 8/8/2023
4.0.23 165 8/8/2023
4.0.22 230 8/8/2023
4.0.21 151 8/7/2023
4.0.20 160 8/4/2023
4.0.19 166 8/3/2023
4.0.18 179 7/27/2023
4.0.17 186 7/26/2023
4.0.16 206 7/21/2023
4.0.15 174 7/20/2023
4.0.14 180 7/19/2023
4.0.13 167 7/18/2023
4.0.12 169 7/18/2023
4.0.11 150 7/18/2023
4.0.10 173 7/18/2023
4.0.9 191 7/17/2023
4.0.7 283 2/10/2023
4.0.6 293 2/6/2023
4.0.5 315 1/30/2023
4.0.4 321 1/30/2023
4.0.3 290 1/27/2023
4.0.2 306 12/13/2022
4.0.1 343 12/13/2022
3.0.111 523 9/17/2022
3.0.110 497 8/11/2022
3.0.109 533 6/10/2022
3.0.107 572 4/20/2022
3.0.106 508 1/11/2022
3.0.105 458 1/10/2022
3.0.104 346 12/7/2021
3.0.103 447 10/27/2021
3.0.102 448 6/17/2021
3.0.100 489 6/17/2021
3.0.95 502 6/16/2021
3.0.91 465 1/14/2021
3.0.90 485 1/7/2021
3.0.89 526 12/16/2020
3.0.88 490 12/15/2020
3.0.87 572 12/10/2020
3.0.86 506 12/7/2020
3.0.84 528 12/7/2020
3.0.80 582 10/2/2020
3.0.79 675 10/1/2020
3.0.78 576 9/29/2020
3.0.77 584 9/13/2020
3.0.76 581 6/19/2020
3.0.75 571 6/8/2020
3.0.74 567 6/1/2020
3.0.73 608 5/13/2020
3.0.72 588 5/13/2020
3.0.70 598 5/12/2020
3.0.69 561 5/12/2020
3.0.68 586 5/12/2020
3.0.67 594 5/12/2020
3.0.41 608 4/28/2020
3.0.40 569 4/24/2020
3.0.39 576 4/16/2020
3.0.38 601 4/16/2020
3.0.37 597 4/15/2020
3.0.36 594 4/15/2020
3.0.34 654 4/11/2020
3.0.33 640 4/10/2020
3.0.32 628 4/7/2020
3.0.31 624 4/6/2020
3.0.30 644 4/5/2020
3.0.29 667 4/5/2020
3.0.28 751 4/5/2020
3.0.27 663 4/2/2020
3.0.24 625 4/1/2020
3.0.23 646 3/29/2020
3.0.22 601 3/26/2020
3.0.21 596 3/26/2020
3.0.20 545 3/25/2020
3.0.19 632 3/25/2020
3.0.18 679 3/22/2020
3.0.16 688 3/21/2020
3.0.15 615 3/16/2020
3.0.14 637 3/14/2020
3.0.13 701 3/14/2020
3.0.11 593 3/13/2020
3.0.10 612 3/13/2020
3.0.8 628 3/5/2020
3.0.7 588 2/28/2020
3.0.6 630 2/28/2020
3.0.5 638 2/22/2020
3.0.4 649 2/6/2020
3.0.3 620 2/6/2020
3.0.1 669 1/10/2020
3.0.0 657 12/26/2019
2.0.34 722 4/17/2019
2.0.33 679 4/17/2019
2.0.32 712 3/14/2019
2.0.31 791 2/22/2019
2.0.30 900 11/1/2018
2.0.29 902 10/11/2018
2.0.27 868 10/5/2018
2.0.26 884 10/2/2018
2.0.25 879 9/25/2018
2.0.24 858 9/19/2018
2.0.23 904 9/19/2018
2.0.22 915 9/18/2018
2.0.21 971 9/13/2018
2.0.20 962 8/7/2018
2.0.19 886 8/1/2018
2.0.18 941 8/1/2018
2.0.17 1,022 7/3/2018
2.0.16 1,098 6/26/2018
2.0.15 1,056 6/26/2018
2.0.14 1,008 6/14/2018
2.0.13 1,065 5/31/2018
2.0.11 980 5/22/2018
2.0.10 1,068 5/21/2018
2.0.9 1,191 5/21/2018
2.0.8 1,128 5/11/2018
2.0.7 1,209 2/15/2018
2.0.6 1,149 2/15/2018
2.0.5 1,170 2/13/2018
2.0.4 1,111 1/24/2018
2.0.3 1,147 1/8/2018
2.0.2 1,171 1/2/2018
1.0.83 1,158 12/15/2017
1.0.82 1,075 12/1/2017
1.0.81 1,007 11/22/2017
1.0.80 989 11/21/2017
1.0.79 1,047 11/21/2017
1.0.78 1,014 11/21/2017
1.0.76 972 11/17/2017
1.0.72 1,053 11/17/2017
1.0.71 990 11/17/2017
1.0.67 1,016 11/16/2017
1.0.66 1,032 11/16/2017
1.0.65 1,063 11/14/2017
1.0.63 1,008 11/14/2017
1.0.62 1,016 11/14/2017
1.0.61 1,040 11/13/2017
1.0.60 1,078 11/13/2017
1.0.55 1,084 11/13/2017
1.0.53 1,085 11/13/2017
1.0.52 1,029 11/13/2017
1.0.50 1,024 11/6/2017
1.0.49 1,014 10/24/2017
1.0.48 1,012 10/24/2017
1.0.44 1,010 10/19/2017
1.0.42 1,016 10/19/2017
1.0.40 992 10/18/2017
1.0.39 1,035 10/13/2017
1.0.34 1,036 10/12/2017
1.0.32 1,067 10/12/2017
1.0.31 983 10/11/2017
1.0.26 1,017 10/2/2017
1.0.24 1,060 9/29/2017
1.0.21 1,033 9/26/2017
1.0.19 1,013 9/25/2017
1.0.16 1,015 9/23/2017
1.0.15 1,017 9/22/2017
1.0.11 1,001 9/22/2017
1.0.10 1,018 9/22/2017
1.0.8 1,035 9/21/2017
1.0.7 1,052 9/21/2017
1.0.5 1,068 9/21/2017