Inflatable 4.0.226

dotnet add package Inflatable --version 4.0.226
NuGet\Install-Package Inflatable -Version 4.0.226
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.226" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Inflatable --version 4.0.226
#r "nuget: Inflatable, 4.0.226"
#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.226

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

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.226 31 7/5/2024
4.0.225 61 6/27/2024
4.0.224 72 6/26/2024
4.0.223 63 6/25/2024
4.0.222 61 6/24/2024
4.0.220 65 6/21/2024
4.0.219 63 6/19/2024
4.0.218 70 6/18/2024
4.0.217 84 6/17/2024
4.0.216 73 6/14/2024
4.0.215 86 6/13/2024
4.0.214 83 5/31/2024
4.0.213 77 5/30/2024
4.0.212 78 5/27/2024
4.0.211 85 5/23/2024
4.0.210 79 5/17/2024
4.0.209 82 5/16/2024
4.0.208 109 5/8/2024
4.0.207 104 5/7/2024
4.0.206 95 5/6/2024
4.0.205 64 5/3/2024
4.0.204 50 5/2/2024
4.0.203 48 5/2/2024
4.0.202 51 5/2/2024
4.0.201 54 5/2/2024
4.0.198 86 5/1/2024
4.0.197 94 4/30/2024
4.0.196 88 4/29/2024
4.0.195 83 4/29/2024
4.0.194 93 4/25/2024
4.0.193 105 4/15/2024
4.0.192 84 4/12/2024
4.0.191 82 4/12/2024
4.0.190 92 4/11/2024
4.0.189 89 4/9/2024
4.0.188 96 4/2/2024
4.0.187 105 4/1/2024
4.0.186 85 3/29/2024
4.0.185 88 3/22/2024
4.0.184 90 3/19/2024
4.0.183 89 3/18/2024
4.0.182 102 3/15/2024
4.0.181 103 3/14/2024
4.0.180 96 3/12/2024
4.0.179 104 3/11/2024
4.0.178 111 3/8/2024
4.0.177 97 3/7/2024
4.0.176 84 3/6/2024
4.0.175 94 3/5/2024
4.0.174 80 3/4/2024
4.0.173 73 3/4/2024
4.0.172 104 3/1/2024
4.0.171 87 2/29/2024
4.0.170 92 2/28/2024
4.0.169 82 2/27/2024
4.0.168 95 2/26/2024
4.0.167 97 2/23/2024
4.0.166 79 2/22/2024
4.0.165 96 2/21/2024
4.0.164 97 2/20/2024
4.0.163 95 2/19/2024
4.0.162 88 2/19/2024
4.0.161 88 2/16/2024
4.0.160 88 2/16/2024
4.0.159 101 2/15/2024
4.0.158 101 2/14/2024
4.0.157 95 2/13/2024
4.0.156 98 2/12/2024
4.0.155 88 2/9/2024
4.0.154 92 2/8/2024
4.0.153 94 2/7/2024
4.0.152 88 2/7/2024
4.0.151 82 2/6/2024
4.0.150 75 2/5/2024
4.0.149 79 2/2/2024
4.0.148 82 2/1/2024
4.0.147 64 2/1/2024
4.0.146 94 1/31/2024
4.0.145 85 1/30/2024
4.0.144 84 1/29/2024
4.0.143 89 1/26/2024
4.0.142 79 1/25/2024
4.0.141 78 1/24/2024
4.0.140 86 1/23/2024
4.0.139 92 1/19/2024
4.0.138 85 1/19/2024
4.0.137 96 1/18/2024
4.0.136 92 1/17/2024
4.0.135 91 1/16/2024
4.0.134 100 1/16/2024
4.0.133 101 1/15/2024
4.0.132 89 1/12/2024
4.0.131 90 1/11/2024
4.0.130 85 1/10/2024
4.0.129 107 1/9/2024
4.0.128 110 1/8/2024
4.0.127 118 1/5/2024
4.0.126 113 12/29/2023
4.0.125 118 12/28/2023
4.0.124 125 12/27/2023
4.0.123 103 12/26/2023
4.0.122 127 12/26/2023
4.0.121 92 12/25/2023
4.0.120 87 12/25/2023
4.0.119 112 12/22/2023
4.0.118 98 12/21/2023
4.0.117 87 12/20/2023
4.0.116 91 12/19/2023
4.0.115 92 12/18/2023
4.0.114 82 12/15/2023
4.0.113 93 12/14/2023
4.0.112 84 12/14/2023
4.0.111 99 12/13/2023
4.0.106 119 12/8/2023
4.0.105 92 12/7/2023
4.0.104 108 12/6/2023
4.0.103 115 12/6/2023
4.0.102 109 12/5/2023
4.0.101 91 12/5/2023
4.0.100 110 11/27/2023
4.0.99 96 11/24/2023
4.0.98 103 11/22/2023
4.0.97 105 11/21/2023
4.0.96 115 11/20/2023
4.0.95 80 11/20/2023
4.0.94 299 11/17/2023
4.0.93 98 11/16/2023
4.0.92 102 11/14/2023
4.0.91 84 11/13/2023
4.0.90 99 11/10/2023
4.0.89 97 11/9/2023
4.0.88 94 11/9/2023
4.0.87 91 11/8/2023
4.0.86 87 11/7/2023
4.0.85 90 11/6/2023
4.0.84 111 11/5/2023
4.0.83 87 11/3/2023
4.0.82 93 11/3/2023
4.0.81 89 11/2/2023
4.0.80 89 11/1/2023
4.0.77 99 10/31/2023
4.0.76 113 10/30/2023
4.0.75 100 10/27/2023
4.0.74 118 10/26/2023
4.0.73 120 10/18/2023
4.0.72 105 10/17/2023
4.0.71 111 10/17/2023
4.0.70 119 10/16/2023
4.0.69 126 10/13/2023
4.0.68 108 10/13/2023
4.0.67 100 10/12/2023
4.0.66 122 10/6/2023
4.0.65 103 10/5/2023
4.0.64 96 9/27/2023
4.0.63 97 9/26/2023
4.0.62 100 9/25/2023
4.0.61 105 9/21/2023
4.0.60 103 9/20/2023
4.0.59 108 9/19/2023
4.0.58 109 9/18/2023
4.0.55 119 9/15/2023
4.0.54 112 9/14/2023
4.0.53 107 9/13/2023
4.0.52 163 9/12/2023
4.0.51 120 9/11/2023
4.0.50 122 9/11/2023
4.0.49 121 9/11/2023
4.0.48 178 9/8/2023
4.0.47 113 9/7/2023
4.0.46 145 9/6/2023
4.0.45 106 9/5/2023
4.0.44 106 9/5/2023
4.0.43 118 9/4/2023
4.0.42 147 9/1/2023
4.0.41 139 8/31/2023
4.0.40 145 8/30/2023
4.0.39 116 8/30/2023
4.0.38 128 8/29/2023
4.0.37 165 8/28/2023
4.0.36 148 8/25/2023
4.0.35 127 8/24/2023
4.0.34 134 8/23/2023
4.0.33 111 8/21/2023
4.0.32 109 8/18/2023
4.0.31 135 8/17/2023
4.0.30 98 8/17/2023
4.0.29 124 8/17/2023
4.0.28 130 8/17/2023
4.0.27 148 8/11/2023
4.0.26 146 8/10/2023
4.0.25 144 8/9/2023
4.0.24 105 8/8/2023
4.0.23 146 8/8/2023
4.0.22 205 8/8/2023
4.0.21 125 8/7/2023
4.0.20 141 8/4/2023
4.0.19 143 8/3/2023
4.0.18 158 7/27/2023
4.0.17 153 7/26/2023
4.0.16 182 7/21/2023
4.0.15 156 7/20/2023
4.0.14 155 7/19/2023
4.0.13 137 7/18/2023
4.0.12 144 7/18/2023
4.0.11 126 7/18/2023
4.0.10 152 7/18/2023
4.0.9 161 7/17/2023
4.0.7 259 2/10/2023
4.0.6 269 2/6/2023
4.0.5 292 1/30/2023
4.0.4 296 1/30/2023
4.0.3 262 1/27/2023
4.0.2 278 12/13/2022
4.0.1 324 12/13/2022
3.0.111 492 9/17/2022
3.0.110 471 8/11/2022
3.0.109 525 6/10/2022
3.0.107 549 4/20/2022
3.0.106 488 1/11/2022
3.0.105 432 1/10/2022
3.0.104 319 12/7/2021
3.0.103 421 10/27/2021
3.0.102 423 6/17/2021
3.0.100 463 6/17/2021
3.0.95 478 6/16/2021
3.0.91 441 1/14/2021
3.0.90 465 1/7/2021
3.0.89 498 12/16/2020
3.0.88 463 12/15/2020
3.0.87 550 12/10/2020
3.0.86 482 12/7/2020
3.0.84 504 12/7/2020
3.0.80 563 10/2/2020
3.0.79 636 10/1/2020
3.0.78 558 9/29/2020
3.0.77 561 9/13/2020
3.0.76 558 6/19/2020
3.0.75 547 6/8/2020
3.0.74 541 6/1/2020
3.0.73 580 5/13/2020
3.0.72 566 5/13/2020
3.0.70 571 5/12/2020
3.0.69 536 5/12/2020
3.0.68 562 5/12/2020
3.0.67 568 5/12/2020
3.0.41 583 4/28/2020
3.0.40 563 4/24/2020
3.0.39 556 4/16/2020
3.0.38 580 4/16/2020
3.0.37 574 4/15/2020
3.0.36 571 4/15/2020
3.0.34 628 4/11/2020
3.0.33 615 4/10/2020
3.0.32 600 4/7/2020
3.0.31 603 4/6/2020
3.0.30 619 4/5/2020
3.0.29 646 4/5/2020
3.0.28 729 4/5/2020
3.0.27 636 4/2/2020
3.0.24 604 4/1/2020
3.0.23 623 3/29/2020
3.0.22 580 3/26/2020
3.0.21 577 3/26/2020
3.0.20 539 3/25/2020
3.0.19 610 3/25/2020
3.0.18 650 3/22/2020
3.0.16 670 3/21/2020
3.0.15 592 3/16/2020
3.0.14 615 3/14/2020
3.0.13 676 3/14/2020
3.0.11 571 3/13/2020
3.0.10 590 3/13/2020
3.0.8 601 3/5/2020
3.0.7 564 2/28/2020
3.0.6 601 2/28/2020
3.0.5 610 2/22/2020
3.0.4 620 2/6/2020
3.0.3 602 2/6/2020
3.0.1 646 1/10/2020
3.0.0 628 12/26/2019
2.0.34 716 4/17/2019
2.0.33 655 4/17/2019
2.0.32 691 3/14/2019
2.0.31 766 2/22/2019
2.0.30 892 11/1/2018
2.0.29 879 10/11/2018
2.0.27 848 10/5/2018
2.0.26 853 10/2/2018
2.0.25 847 9/25/2018
2.0.24 833 9/19/2018
2.0.23 886 9/19/2018
2.0.22 892 9/18/2018
2.0.21 946 9/13/2018
2.0.20 945 8/7/2018
2.0.19 865 8/1/2018
2.0.18 915 8/1/2018
2.0.17 1,007 7/3/2018
2.0.16 1,066 6/26/2018
2.0.15 1,034 6/26/2018
2.0.14 986 6/14/2018
2.0.13 1,057 5/31/2018
2.0.11 972 5/22/2018
2.0.10 1,040 5/21/2018
2.0.9 1,166 5/21/2018
2.0.8 1,113 5/11/2018
2.0.7 1,177 2/15/2018
2.0.6 1,123 2/15/2018
2.0.5 1,142 2/13/2018
2.0.4 1,076 1/24/2018
2.0.3 1,122 1/8/2018
2.0.2 1,146 1/2/2018
1.0.83 1,125 12/15/2017
1.0.82 1,051 12/1/2017
1.0.81 988 11/22/2017
1.0.80 963 11/21/2017
1.0.79 1,026 11/21/2017
1.0.78 987 11/21/2017
1.0.76 964 11/17/2017
1.0.72 1,021 11/17/2017
1.0.71 981 11/17/2017
1.0.67 1,008 11/16/2017
1.0.66 992 11/16/2017
1.0.65 1,033 11/14/2017
1.0.63 988 11/14/2017
1.0.62 979 11/14/2017
1.0.61 1,031 11/13/2017
1.0.60 1,033 11/13/2017
1.0.55 1,050 11/13/2017
1.0.53 1,053 11/13/2017
1.0.52 995 11/13/2017
1.0.50 1,004 11/6/2017
1.0.49 995 10/24/2017
1.0.48 997 10/24/2017
1.0.44 991 10/19/2017
1.0.42 981 10/19/2017
1.0.40 984 10/18/2017
1.0.39 1,007 10/13/2017
1.0.34 1,011 10/12/2017
1.0.32 1,028 10/12/2017
1.0.31 976 10/11/2017
1.0.26 984 10/2/2017
1.0.24 1,038 9/29/2017
1.0.21 1,020 9/26/2017
1.0.19 982 9/25/2017
1.0.16 993 9/23/2017
1.0.15 1,009 9/22/2017
1.0.11 977 9/22/2017
1.0.10 992 9/22/2017
1.0.8 1,003 9/21/2017
1.0.7 1,008 9/21/2017
1.0.5 1,038 9/21/2017