Inflatable 4.0.185

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

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

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.185 68 3/22/2024
4.0.184 76 3/19/2024
4.0.183 76 3/18/2024
4.0.182 80 3/15/2024
4.0.181 87 3/14/2024
4.0.180 81 3/12/2024
4.0.179 89 3/11/2024
4.0.178 97 3/8/2024
4.0.177 84 3/7/2024
4.0.176 70 3/6/2024
4.0.175 80 3/5/2024
4.0.174 66 3/4/2024
4.0.173 60 3/4/2024
4.0.172 91 3/1/2024
4.0.171 72 2/29/2024
4.0.170 77 2/28/2024
4.0.169 68 2/27/2024
4.0.168 72 2/26/2024
4.0.167 84 2/23/2024
4.0.166 64 2/22/2024
4.0.165 83 2/21/2024
4.0.164 82 2/20/2024
4.0.163 80 2/19/2024
4.0.162 68 2/19/2024
4.0.161 76 2/16/2024
4.0.160 76 2/16/2024
4.0.159 88 2/15/2024
4.0.158 87 2/14/2024
4.0.157 81 2/13/2024
4.0.156 83 2/12/2024
4.0.155 72 2/9/2024
4.0.154 77 2/8/2024
4.0.153 79 2/7/2024
4.0.152 74 2/7/2024
4.0.151 70 2/6/2024
4.0.150 62 2/5/2024
4.0.149 68 2/2/2024
4.0.148 71 2/1/2024
4.0.147 55 2/1/2024
4.0.146 76 1/31/2024
4.0.145 72 1/30/2024
4.0.144 73 1/29/2024
4.0.143 77 1/26/2024
4.0.142 66 1/25/2024
4.0.141 66 1/24/2024
4.0.140 72 1/23/2024
4.0.139 75 1/19/2024
4.0.138 72 1/19/2024
4.0.137 76 1/18/2024
4.0.136 79 1/17/2024
4.0.135 77 1/16/2024
4.0.134 80 1/16/2024
4.0.133 84 1/15/2024
4.0.132 76 1/12/2024
4.0.131 80 1/11/2024
4.0.130 67 1/10/2024
4.0.129 94 1/9/2024
4.0.128 96 1/8/2024
4.0.127 108 1/5/2024
4.0.126 105 12/29/2023
4.0.125 110 12/28/2023
4.0.124 116 12/27/2023
4.0.123 96 12/26/2023
4.0.122 119 12/26/2023
4.0.121 85 12/25/2023
4.0.120 80 12/25/2023
4.0.119 105 12/22/2023
4.0.118 91 12/21/2023
4.0.117 80 12/20/2023
4.0.116 83 12/19/2023
4.0.115 84 12/18/2023
4.0.114 74 12/15/2023
4.0.113 86 12/14/2023
4.0.112 77 12/14/2023
4.0.111 90 12/13/2023
4.0.106 112 12/8/2023
4.0.105 85 12/7/2023
4.0.104 101 12/6/2023
4.0.103 107 12/6/2023
4.0.102 100 12/5/2023
4.0.101 84 12/5/2023
4.0.100 100 11/27/2023
4.0.99 88 11/24/2023
4.0.98 91 11/22/2023
4.0.97 99 11/21/2023
4.0.96 103 11/20/2023
4.0.95 74 11/20/2023
4.0.94 195 11/17/2023
4.0.93 91 11/16/2023
4.0.92 89 11/14/2023
4.0.91 78 11/13/2023
4.0.90 92 11/10/2023
4.0.89 91 11/9/2023
4.0.88 88 11/9/2023
4.0.87 85 11/8/2023
4.0.86 81 11/7/2023
4.0.85 84 11/6/2023
4.0.84 105 11/5/2023
4.0.83 75 11/3/2023
4.0.82 87 11/3/2023
4.0.81 81 11/2/2023
4.0.80 83 11/1/2023
4.0.77 91 10/31/2023
4.0.76 107 10/30/2023
4.0.75 94 10/27/2023
4.0.74 112 10/26/2023
4.0.73 114 10/18/2023
4.0.72 99 10/17/2023
4.0.71 105 10/17/2023
4.0.70 113 10/16/2023
4.0.69 120 10/13/2023
4.0.68 102 10/13/2023
4.0.67 94 10/12/2023
4.0.66 116 10/6/2023
4.0.65 97 10/5/2023
4.0.64 89 9/27/2023
4.0.63 91 9/26/2023
4.0.62 94 9/25/2023
4.0.61 99 9/21/2023
4.0.60 97 9/20/2023
4.0.59 102 9/19/2023
4.0.58 102 9/18/2023
4.0.55 108 9/15/2023
4.0.54 101 9/14/2023
4.0.53 101 9/13/2023
4.0.52 157 9/12/2023
4.0.51 112 9/11/2023
4.0.50 116 9/11/2023
4.0.49 115 9/11/2023
4.0.48 171 9/8/2023
4.0.47 107 9/7/2023
4.0.46 139 9/6/2023
4.0.45 96 9/5/2023
4.0.44 100 9/5/2023
4.0.43 112 9/4/2023
4.0.42 141 9/1/2023
4.0.41 131 8/31/2023
4.0.40 137 8/30/2023
4.0.39 110 8/30/2023
4.0.38 122 8/29/2023
4.0.37 159 8/28/2023
4.0.36 142 8/25/2023
4.0.35 121 8/24/2023
4.0.34 127 8/23/2023
4.0.33 105 8/21/2023
4.0.32 103 8/18/2023
4.0.31 129 8/17/2023
4.0.30 89 8/17/2023
4.0.29 115 8/17/2023
4.0.28 124 8/17/2023
4.0.27 142 8/11/2023
4.0.26 140 8/10/2023
4.0.25 138 8/9/2023
4.0.24 97 8/8/2023
4.0.23 140 8/8/2023
4.0.22 199 8/8/2023
4.0.21 119 8/7/2023
4.0.20 135 8/4/2023
4.0.19 137 8/3/2023
4.0.18 145 7/27/2023
4.0.17 147 7/26/2023
4.0.16 176 7/21/2023
4.0.15 150 7/20/2023
4.0.14 150 7/19/2023
4.0.13 132 7/18/2023
4.0.12 133 7/18/2023
4.0.11 121 7/18/2023
4.0.10 147 7/18/2023
4.0.9 155 7/17/2023
4.0.7 251 2/10/2023
4.0.6 261 2/6/2023
4.0.5 284 1/30/2023
4.0.4 287 1/30/2023
4.0.3 254 1/27/2023
4.0.2 271 12/13/2022
4.0.1 317 12/13/2022
3.0.111 489 9/17/2022
3.0.110 468 8/11/2022
3.0.109 516 6/10/2022
3.0.107 538 4/20/2022
3.0.106 480 1/11/2022
3.0.105 430 1/10/2022
3.0.104 315 12/7/2021
3.0.103 417 10/27/2021
3.0.102 420 6/17/2021
3.0.100 461 6/17/2021
3.0.95 476 6/16/2021
3.0.91 437 1/14/2021
3.0.90 462 1/7/2021
3.0.89 494 12/16/2020
3.0.88 460 12/15/2020
3.0.87 547 12/10/2020
3.0.86 479 12/7/2020
3.0.84 501 12/7/2020
3.0.80 552 10/2/2020
3.0.79 634 10/1/2020
3.0.78 553 9/29/2020
3.0.77 557 9/13/2020
3.0.76 552 6/19/2020
3.0.75 537 6/8/2020
3.0.74 537 6/1/2020
3.0.73 575 5/13/2020
3.0.72 557 5/13/2020
3.0.70 568 5/12/2020
3.0.69 533 5/12/2020
3.0.68 558 5/12/2020
3.0.67 564 5/12/2020
3.0.41 579 4/28/2020
3.0.40 560 4/24/2020
3.0.39 553 4/16/2020
3.0.38 577 4/16/2020
3.0.37 571 4/15/2020
3.0.36 568 4/15/2020
3.0.34 625 4/11/2020
3.0.33 612 4/10/2020
3.0.32 597 4/7/2020
3.0.31 600 4/6/2020
3.0.30 616 4/5/2020
3.0.29 643 4/5/2020
3.0.28 723 4/5/2020
3.0.27 633 4/2/2020
3.0.24 601 4/1/2020
3.0.23 618 3/29/2020
3.0.22 573 3/26/2020
3.0.21 573 3/26/2020
3.0.20 535 3/25/2020
3.0.19 606 3/25/2020
3.0.18 646 3/22/2020
3.0.16 666 3/21/2020
3.0.15 583 3/16/2020
3.0.14 611 3/14/2020
3.0.13 672 3/14/2020
3.0.11 567 3/13/2020
3.0.10 586 3/13/2020
3.0.8 597 3/5/2020
3.0.7 559 2/28/2020
3.0.6 597 2/28/2020
3.0.5 606 2/22/2020
3.0.4 616 2/6/2020
3.0.3 598 2/6/2020
3.0.1 641 1/10/2020
3.0.0 623 12/26/2019
2.0.34 713 4/17/2019
2.0.33 653 4/17/2019
2.0.32 688 3/14/2019
2.0.31 763 2/22/2019
2.0.30 887 11/1/2018
2.0.29 871 10/11/2018
2.0.27 841 10/5/2018
2.0.26 845 10/2/2018
2.0.25 839 9/25/2018
2.0.24 826 9/19/2018
2.0.23 879 9/19/2018
2.0.22 885 9/18/2018
2.0.21 939 9/13/2018
2.0.20 933 8/7/2018
2.0.19 861 8/1/2018
2.0.18 911 8/1/2018
2.0.17 1,002 7/3/2018
2.0.16 1,061 6/26/2018
2.0.15 1,029 6/26/2018
2.0.14 982 6/14/2018
2.0.13 1,052 5/31/2018
2.0.11 967 5/22/2018
2.0.10 1,036 5/21/2018
2.0.9 1,162 5/21/2018
2.0.8 1,109 5/11/2018
2.0.7 1,169 2/15/2018
2.0.6 1,119 2/15/2018
2.0.5 1,139 2/13/2018
2.0.4 1,071 1/24/2018
2.0.3 1,118 1/8/2018
2.0.2 1,142 1/2/2018
1.0.83 1,117 12/15/2017
1.0.82 1,047 12/1/2017
1.0.81 983 11/22/2017
1.0.80 959 11/21/2017
1.0.79 1,022 11/21/2017
1.0.78 982 11/21/2017
1.0.76 960 11/17/2017
1.0.72 1,017 11/17/2017
1.0.71 977 11/17/2017
1.0.67 1,004 11/16/2017
1.0.66 988 11/16/2017
1.0.65 1,029 11/14/2017
1.0.63 983 11/14/2017
1.0.62 975 11/14/2017
1.0.61 1,021 11/13/2017
1.0.60 1,029 11/13/2017
1.0.55 1,046 11/13/2017
1.0.53 1,048 11/13/2017
1.0.52 991 11/13/2017
1.0.50 1,000 11/6/2017
1.0.49 986 10/24/2017
1.0.48 993 10/24/2017
1.0.44 987 10/19/2017
1.0.42 977 10/19/2017
1.0.40 979 10/18/2017
1.0.39 1,003 10/13/2017
1.0.34 1,007 10/12/2017
1.0.32 1,023 10/12/2017
1.0.31 971 10/11/2017
1.0.26 980 10/2/2017
1.0.24 1,028 9/29/2017
1.0.21 1,014 9/26/2017
1.0.19 976 9/25/2017
1.0.16 989 9/23/2017
1.0.15 1,005 9/22/2017
1.0.11 973 9/22/2017
1.0.10 986 9/22/2017
1.0.8 999 9/21/2017
1.0.7 1,004 9/21/2017
1.0.5 1,034 9/21/2017