SimpleAccess.SqlServer 3.1.0-rc-2

Simple Access ORM provides database access in Ado.net methods naming pattern.
Documentation of using SimpleAccess is available at https://github.com/sheryever/simple-access-orm

This is a prerelease version of SimpleAccess.SqlServer.
There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package SimpleAccess.SqlServer -Version 3.1.0-rc-2
dotnet add package SimpleAccess.SqlServer --version 3.1.0-rc-2
<PackageReference Include="SimpleAccess.SqlServer" Version="3.1.0-rc-2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimpleAccess.SqlServer --version 3.1.0-rc-2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Simple Access ORM

SimpleAccess provides a simple and easy database access as well as a repository for CRUD and other helper methods.

SimpleAccess supports multiple databases. All implement the same interface for each database.

SimpleAccess also provides excpetion logging.

SimpleAccess returns data in Entity and dynamic data type but also allow developers to work on direct DataReader or DataSet

Documentation

simpleaccessorm.com

Nuget package

Sql Server
PM > Install-Package SimpleAccess.SqlServer
Oralce
PM > Install-Package SimpleAccess.Oracle
MySql
PM > Install-Package SimpleAccess.MySql
SQLite
PM > Install-Package SimpleAccess.SQLite

Support

  • SimpleAccess is written in C# and support .net Managed Code languages (C# and VB.net etc)
  • Sql Server 2005 and later
  • Oracle 10g and later (in default SimpleAccess uses Oracle Managed Data Provider for .NET)
  • SQLite
  • MySql
  • PostgreSQL (coming)

Roadmap

  • [x] Separate SimpleCommand and Repositoy
  • [x] vitual properties must behave like NotASpParameter marked perperty in Entities drived from StoredProcedureParameters
  • [x] Remove StoredProcedureParameters inheritance from Enity Class to make entity more lighter
  • [x] Add InsertAll&lt;TEntity&gt;, UpdateAll&lt;TEntity&gt;, DeleteAll&lt;TEntity&gt; with support of internal trasaction in Repository
  • [x] Add Find&lt;TEntity&gt; and FindAll&lt;TEntity&gt; in Repository
  • [X] Add ExecuteValues&lt;T&gt; for getting result of a single column query in IEnumerable&lt;T&gt;
  • [X] NetStandard 2.0 support
  • [X] Write unit test
  • [X] NetStandard 2.1 support with Microsoft.Data.SqlClient
  • [X] Configure StoredProcedure naming convention mapping to repository method (Insert, Update, Delete, Get, GetAll, Find, FindAll) methods in repository settings
  • [X] Add Sql Generation for Non StoredProcedures command types (Insert, Update, Delete, Get, GetAll, Find, FindAll) (90%)

SqlEntityRepository Without SP implementation (version 3.1)

  • [X] SqlEntityRepository implementation (90%)
  • [x] Add DefaultView property in EntityAttribute
  • [x] Add PrimaryAttribute for decorating primary key of an entity
  • [x] Add database sequence support using with PrimaryKeyAttribute
  • [X] DefaultView property in EntityAttribute support for default select
  • [ ] Replace ISimpleLogger with ILogger
  • [ ] Column selection with Find, FindAll, Get, GetAll
  • [ ] Fixing comments, documention and adding examples
  • [ ] SimpleAccess Factory, Allow SimpleAccess to create SimpleAccess object the base of configuration(xml/json)
ISimpleAccess sqlSimpleAccess = SimpleAccessFactory.Create("SqlServer")
ISimpleAccess oralceSimpleAccess = SimpleAccessFactory.Create("OracleServer")
  • [ ] Allow developer to add database column custom/special value mapper and parameter builder using IDbDataMapper.
SimpleAccess.DataMappers.Add(new GeomaryDataMapper());
  • [ ] Allow developer to force SimpleAccess to use specific custom DataMapper to map and build parameter using DbMapperAttribute DbMapper(typeof(GeomaryDataMapper))
  • [ ] ExecuteJson and ExecuteBson
  • [ ] Rewrite code generation application
  • [ ] Allow developer to add more T4 Templates
  • [ ] Allow developer to edit T4 Templates directly inside the application

Simple Access ORM

SimpleAccess provides a simple and easy database access as well as a repository for CRUD and other helper methods.

SimpleAccess supports multiple databases. All implement the same interface for each database.

SimpleAccess also provides excpetion logging.

SimpleAccess returns data in Entity and dynamic data type but also allow developers to work on direct DataReader or DataSet

Documentation

simpleaccessorm.com

Nuget package

Sql Server
PM > Install-Package SimpleAccess.SqlServer
Oralce
PM > Install-Package SimpleAccess.Oracle
MySql
PM > Install-Package SimpleAccess.MySql
SQLite
PM > Install-Package SimpleAccess.SQLite

Support

  • SimpleAccess is written in C# and support .net Managed Code languages (C# and VB.net etc)
  • Sql Server 2005 and later
  • Oracle 10g and later (in default SimpleAccess uses Oracle Managed Data Provider for .NET)
  • SQLite
  • MySql
  • PostgreSQL (coming)

Roadmap

  • [x] Separate SimpleCommand and Repositoy
  • [x] vitual properties must behave like NotASpParameter marked perperty in Entities drived from StoredProcedureParameters
  • [x] Remove StoredProcedureParameters inheritance from Enity Class to make entity more lighter
  • [x] Add InsertAll&lt;TEntity&gt;, UpdateAll&lt;TEntity&gt;, DeleteAll&lt;TEntity&gt; with support of internal trasaction in Repository
  • [x] Add Find&lt;TEntity&gt; and FindAll&lt;TEntity&gt; in Repository
  • [X] Add ExecuteValues&lt;T&gt; for getting result of a single column query in IEnumerable&lt;T&gt;
  • [X] NetStandard 2.0 support
  • [X] Write unit test
  • [X] NetStandard 2.1 support with Microsoft.Data.SqlClient
  • [X] Configure StoredProcedure naming convention mapping to repository method (Insert, Update, Delete, Get, GetAll, Find, FindAll) methods in repository settings
  • [X] Add Sql Generation for Non StoredProcedures command types (Insert, Update, Delete, Get, GetAll, Find, FindAll) (90%)

SqlEntityRepository Without SP implementation (version 3.1)

  • [X] SqlEntityRepository implementation (90%)
  • [x] Add DefaultView property in EntityAttribute
  • [x] Add PrimaryAttribute for decorating primary key of an entity
  • [x] Add database sequence support using with PrimaryKeyAttribute
  • [X] DefaultView property in EntityAttribute support for default select
  • [ ] Replace ISimpleLogger with ILogger
  • [ ] Column selection with Find, FindAll, Get, GetAll
  • [ ] Fixing comments, documention and adding examples
  • [ ] SimpleAccess Factory, Allow SimpleAccess to create SimpleAccess object the base of configuration(xml/json)
ISimpleAccess sqlSimpleAccess = SimpleAccessFactory.Create("SqlServer")
ISimpleAccess oralceSimpleAccess = SimpleAccessFactory.Create("OracleServer")
  • [ ] Allow developer to add database column custom/special value mapper and parameter builder using IDbDataMapper.
SimpleAccess.DataMappers.Add(new GeomaryDataMapper());
  • [ ] Allow developer to force SimpleAccess to use specific custom DataMapper to map and build parameter using DbMapperAttribute DbMapper(typeof(GeomaryDataMapper))
  • [ ] ExecuteJson and ExecuteBson
  • [ ] Rewrite code generation application
  • [ ] Allow developer to add more T4 Templates
  • [ ] Allow developer to edit T4 Templates directly inside the application

Release Notes

Changes:
     - SqlEntityRepository Implemented
     - .Net Standard 2.0 and .Net Standard 2.1 with Microsoft.Data.SqlClient support added
     - Aysnc support for Dotnet full framework 4.5 and .Net Standard 2.0 and later
     - Repository Performance improvement
     - GetPagedList extensions methods added
     - SqlRepository is renamed to SqlSpRepository and SqlRepository is marked as Obsolete
     - PrimaryKey attribute added to support Sequence object

     Bug fixes
     - SqlEntityRepository Get, Find, FindAll methods fixed

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.1.0-rc-7.9 73 7/8/2020
3.1.0-rc-7.8 41 7/8/2020
3.1.0-rc-7.7 130 7/5/2020
3.1.0-rc-7.6 121 7/5/2020
3.1.0-rc-7.5 57 7/3/2020
3.1.0-rc-7.4 67 7/2/2020
3.1.0-rc-7.3 82 7/1/2020
3.1.0-rc-7.2 39 6/7/2020
3.1.0-rc-7.1 55 5/19/2020
3.1.0-rc-5 61 5/8/2020
3.1.0-rc-3 71 5/6/2020
3.1.0-rc-2 107 4/4/2020
3.1.0-beta-5 147 3/28/2020
3.1.0-beta-4 84 3/1/2020
3.1.0-beta-3 111 1/26/2020
3.1.0-beta-2 203 1/22/2020
3.1.0-beta 165 1/4/2020
3.0.2 123 11/22/2019
3.0.1 94 11/22/2019
3.0.0 178 5/22/2019
2.1.1 837 12/4/2017
2.1.0 368 8/5/2017
2.0.6 549 7/7/2017
2.0.5.8 372 6/8/2017
2.0.5.7 368 6/8/2017
2.0.5.6 364 6/8/2017
2.0.5.5 384 6/8/2017
2.0.5.4 366 6/8/2017
2.0.5.3 345 6/6/2017
2.0.5.2 354 6/6/2017
2.0.5.1 356 6/4/2017
2.0.5 360 6/4/2017
2.0.4 467 3/17/2017
2.0.3 469 2/16/2017
2.0.2.2 478 2/12/2017
2.0.2 589 1/9/2017
2.0.1 613 11/4/2016
2.0.0 488 10/19/2016
2.0.0-beta-74 509 8/31/2016
2.0.0-beta-73 494 8/31/2016
2.0.0-beta-72 548 8/24/2016
2.0.0-beta-70 498 8/24/2016
2.0.0-beta-63 695 7/11/2016
2.0.0-beta-62 667 7/11/2016
2.0.0-beta-60 558 7/10/2016
2.0.0-beta-55 600 1/18/2016
2.0.0-beta-53 634 12/13/2015
2.0.0-beta-100 492 8/24/2016
Show less