.NET Core ORM with dbfirst support, and code scaffolding features. This ORM supports different database sources.
Self Contained Deploy (SCD)
Bellow you can find portable versions for all major OSs. If you are planning to use the tools in several projects, we recommend to add the SCD folder to your PATH.
- Added visual basic tests.
- Updated nuget dependencies.
- Fixed a couple of bugs found with the vb tests.
- Added new DatabaseCommandException thrown when executing database commands. The DatabaseCommandException contains a reference to the executing command, allowing for a better debugging experience. Use Command.CommandText to observe the sql or cql query being executed. Use Command.Parameters to observe the parameters bound to the query.
- Fixed a bug in Cassandra connector not adding a parameter in one of the AddParameters methods.
- Fixed a bug in CustomQuery sync execution not updated the command text after parameter replacement.
- Improved and updated tests.
- Removed mandatory data type in ColumnAttribute. The orm will choose the default column types for each database type.
- Changed how the CommandBatch replace parameter names, to prevent name collision.
- Added tests for the command batch name replacement.
- Changed how select parameters are replaced, from @Index to @pIndex or :pIndex, depending on the database parameter naming conventions.
- Updated NuGet dependencies.
- Added a cache service for descriptors all over the orm, to prevent tons of small objects filling the heap.
- Removed constructors receiving descriptors. Now all the ORM classes should refer to the cache for descriptors.
- Descriptor constructors are now internal and can not be instantiated outside the ORM.
- Refactor command handling to allow parallel execution of the ORM without conflicting with some of the connectors. The orm does not cache a command inside the command builder any more.
- Refactor command builders and moved shared functionality to the core classes, and removed the duplication from the client implementations. Now will be even easier to implement new clients.
- Moved base protected methods from the CommandBuilderBase to the ICommandFormatProvider and added a new base CommandFormatProviderBase with shared behavior for all the different format providers.
- Removed IDisposable interface from most of the ORM core classes. The most notable are:
- Database access
- Custom query
- All the stored procedure types
- Schema Provider
- Removed extension methods for the IDatabaseConnector not used any more.
- Changed how the DatabaseAccess classes utilize the BatchManager to be thread safe.
- Updated Paradigm.Core and other dependencies.
- Published new versions for the tools.
- Removed a dependency over generic entities that needed a parameterless constructor in all the solution.
- Removed a dependency over generic entities that needed a parameterless constructor.
- Added new constructor to
DatabaseReaderMapperto allow set both the service provider and the database connector. This will allow multi-tenancy support using the dbfirst generated code.
- Added new constructors to all the stored procedure types for the same reason as the previous point.
- Added missing ValueConverter inside the database reader value provider.
- Changed the database reader mappers to work with the
IServiceProviderclass. Now, will try to instantiate the entities with the service provider first, and if the service provider can't, will use the activator to create a new instance. This will allow the Paradigm.Services framework to fully delegate the instancing to DI allowing better DDD.
- Fixed a problem in cassandra connector where the schema provider can not guess the column type when the column is a clustering key with order applied to it.
- Made the modifications to the tests to test the above problem.
- Added a new Cassandra connector. This new connector allows to work against Apache Cassandra o ScyllaDB. There are some limitations imposed by the DataStax connector, and other imposed by the orm, but for most cases will be just fine.
Warning: The ORM will work with column families that mimic sql tables, aka. without lists, maps, or other not standard relational databases. Even if Cassandra does not supports joins, the ORM allows to create virtual foreign keys between tables and create navigation properties from it.
- Data Export, DbFirst and DbPublisher can work now against Cassandra and ScyllaDB.
- In all the configuration files, now the Database Type changed to Upper Camel Case syntax, the database types are:
- Updated MySql Connector version.
- Updated Paradigm.Core to version
- Updated .net core from version 1 to version 2.
- Uploaded first version of the Paradigm ORM.