Symbiotic_Micro_ORM_Net_Standard_x64 3.0.0

Supported databases: Sql Server, Sql Azure, My Sql, Sqlite, Oracle, PostgreSql, Firebird, DB2/LUW

Capable of using the same poco objects for any database vendor.

Small, Fast, Simple to use and understand.
This ORM strives to provide as much detailed information available in any exceptions that are thrown, and we encourage any feedback to improve developer support. In some cases we augment information to database vendor errors. labels are required in some method calls to aid in troubleshooting, for example Label="Query Managers", so if the sql throws an error, that lable will be in the exception to help the developer track down the problem call.

Fully disconnected, poco's can move across application boundaries from client to service layer and perform all crud actions. Perfect for 3-tier development. This ORM does not track changes to objects or cache anything inside a context object.
Supports transactions, and helps developers perform multiple database actions with-in a transaction.

No inheritance requirements, either use attributes or implement an interface to define the mapping of the object to the sql results.
No configuration files, no designers.

Parallel Load support, run multiple queries in parallel and returns the results when done, and the result sets are ordered as sent. Also supports execution of mixed Serial and Parallel working sets for complex database operations.
Allows developers to write sql for reading data, the ORM just maps the results to the object. The ORM does provide simple loads based on id for single objects. All queries use a wrapper to force usage of parameterized sql and actively checks for injection issues. Inserts, Updates and Deletes do not require any sql, this a dynamically built using the attributes. Updates support concurrency checks using a timestamp column and related poco property.

https://www.microsoft.com/store/productId/9NN20Q6WFKGS

http://frozenelephant.com/Products/Symbiotic

Install-Package Symbiotic_Micro_ORM_Net_Standard_x64 -Version 3.0.0
dotnet add package Symbiotic_Micro_ORM_Net_Standard_x64 --version 3.0.0
<PackageReference Include="Symbiotic_Micro_ORM_Net_Standard_x64" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Symbiotic_Micro_ORM_Net_Standard_x64 --version 3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

---------------

9-Oct-2018
Fixed issue in ObjectReflector.ObtainColumns was erroring to find table attributed, but should only be needed for oracle.

5-Dec-2018
Added more overloads to IObjectWriter.Create calls to include labels. This label is added to any exception message to aid developers.

6-Dec-2018
Modified sql builders for item sql selects to specify columns names rather than use *.

7-Dec-2018
Added new relationship type. Uses the DatabaseRelationSingleObject attribute to provide the details.
Use this single use relation ship when you want to load a object property based on another a property which contains the unique id.
So if you object has a AddressId, and Address property. The orm could load the Address instance property based on the AddressId property.
Example:
     [DatabaseRelationSingleObjectAttribute(sourceTabelName: "Address", columnName: "AddressId", propertyName: "HomeAddressId")]
The orm will support loading these relationships in parallel.

13-Dec-2018
Finishing support for DatabaseRelationSingleObject relationships.

19-Dec-2018
Cleaned up the sql labels for the unit tests, they now include the test class name.

19-Dec-2018
Added new unit tests classes "RelationshipsUsingRelationSingleObject" to test single object relationships.
Looking into supporting DB2.

21-Dec-2018
Currently installing DB2 on the server and installing DB2 Data Studio.

22-Dec-2018
About to give-up on DB2. Took two days to get the DB2 installed on the windows server and I can't get the Data Studio to connect to the server.
Never seen such crappy client tools. I ended up using Oracle Sql Developer for most of the work.

2-Jan-2019
Working on DB2 support. Apparently DB2 does not support named parameters and binding. This has forced me to make some changes to get DB2 working.
Guid support is questionable. I managed to push the guids in, not sure of the level of support or performance at this point.

4-Jan-2019
Still working on DB2 support. I have most of it working.
DB2 error messages suck, even inserting a null into a not null column gives you a cryptic error message.
Working on relationship unit tests for DB2, building the sql, and verifying in the database.
Should have DB2 support working in Symbiotic with-in a few days, but will still need the build the schema factory for use in the Symbiotic Helper.

5-Jan-2019
DB2 database is passing all unit test.
Starting on DB2 Schema Factory to support Symbiotic Helper.

6-Jan-2019
DB2 Schema Factory is working.
working on deployments.
I keep getting a error when connecting to DB2. But only on the deployed app. Everything work perfectly when running the app from Visual Studio 2017. in either debug or release builds.
System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
  at IBM.Data.DB2.Core.DB2ConnPool.Open(DB2Connection connection, String& szConnectionString, DB2ConnSettings& ppSettings, Object& ppConn)
  at IBM.Data.DB2.Core.DB2Connection.Open()
  at FrozenElephant.Symbiotic.DataProviderDB2.DatabaseTypesFactoryDB2.CreateConnection()
  at FormDatabaseConnection.btnTestConnection_Click(Object sender, EventArgs e)

7-Jan-2019
Working on Firebird database support, so far it's going good. Error messages suck though.
Updated the troubleshooting docs (Sql validation info).

8-Jan-2019
Firbird database is passing all unit test.
Retesting all other databases with unit tests.
Improved unit tests.
Starting on Firebird Schema Factory to support Symbiotic Helper.

9-Jan-2019
Added unit tests to test the various database providers schema factories.

10-Jan-2019
Thanks to Dominic P. we discovered the reason the DB2/LUW wasn't working. It was missing the folder "clidriver". Unfortunately this fold is over 69MB!
Started on Nuget package. RC 3.0.0

10-Jan-2019
Trying to resolve deployment issues related to DB2.
Working on Nuget package. RC 3.0.0

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.0.0 210 1/15/2019
3.0.0-rc 129 1/13/2019
2.1.6 221 8/18/2018
2.1.5 238 8/8/2018
2.0.4 307 1/3/2018
2.0.2 316 9/12/2017