EDK4Net 3.6.6

dotnet add package EDK4Net --version 3.6.6
NuGet\Install-Package EDK4Net -Version 3.6.6
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="EDK4Net" Version="3.6.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EDK4Net --version 3.6.6
#r "nuget: EDK4Net, 3.6.6"
#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 EDK4Net as a Cake Addin
#addin nuget:?package=EDK4Net&version=3.6.6

// Install EDK4Net as a Cake Tool
#tool nuget:?package=EDK4Net&version=3.6.6

EDK4Net

Version 3.6.xxx

Introduction

EDK4Net is a framework designed to simplify the development of applications and libraries in c # / vb.net based on .NET Framework 4.7.2 or .NET Core 6.0

The main features of the framework are

  • ORM (Object Relational Mapping)
  • Proprietary query language (EDK4Net Query Language)
  • Logging
  • Auditing
  • Caching
  • Location
  • Customized web controls for Asp.Net

Some of these features require the use of a database, which can be integrated into the source database or into a separate database.

ORM

Unlike other ORMs, EDK4Net does not generate simple objects that relate to a database. The generated objects (from now BusinessObject), in addition to the normal CRUD functions, have integrated other features such as data validation, write / read / execute permissions of properties and methods, creation of runtime properties, exclusive block of write access for single user.

The Framework uses a code generation tool (EDK4NetCodegen), which once set the connection to the Database, will allow to manage the generation of the code of the classes starting from the database tables.

It is possible to manage, within the same library, the connection to different databases, and perform transactional operations even on several databases simultaneously, thanks to the use of a connection manager called CNWrapper.

The CNWrapper is the tool that incorporates CRUD functionality.

EDK4Net Query Language

With this tool it will be possible to select data from the Database with a very simple query language, which directly uses the properties of the Business Objects. It is a language that uses TSQL terminology but structured as an expression, and is recognized by the Visual Studio intellisense. It supports queries made on BusinessObject residing in different databases (but on the same server), and allows dynamic queries to be made through the use of variables.

The selection of data can also take place through the creation of example BusinessObjects, which submitted to the CNWrapper, will act as queries to select the data that correspond to the example provided.

Logging

The integrated Logger allows, with a few lines of code, to write on file, or send by email, all the data necessary for debugging, auditing, exceptions stack and any other type of operation that requires file or email logging . The logger is completely configurable, both at runtime and through a configuration file.

Auditing

If required, all the Insert / Update / Delete operations in the database are saved in a separate audit database.

Each operation is accompanied by the following information:

  • Modified date
  • Username
  • IP address and host name
  • Unique ID of the transaction that made the change

The Insert and Delete operations will report all property values.

Update operations will report only the new values โ€‹โ€‹of the changed properties.

The Audit engine can be configured at runtime, through a configuration file, and at the individual object level.

Caching

The integrated caching engine allows the saving of any type of object within the EDK4Net database, in order to be able to recover it later. In BusinessObjects this functionality is integrated, so that it is possible to save an object in the cache, for example in the case of a particularly large object, to reuse it without reloading it with a query from the main database where it resides.

The cache is automatically cleaned of too old saved objects, setting a life time in the application configuration file.

Localization

A resource manager for application localization is available, so as to natively integrate localization in applications developed with EDK4Net, without resorting to external components.

ASP.Net Web Control

For the development of classic Asp.Net applications, a customized System.Web.Page class (EDK4NetPage) is available, in which the databinding features for BusinessObjects have been integrated. Inheriting the pages from this class, it will be possible to use Asp.Net Custom Web Controls integrated in EDK4Net. These web controls integrate BusinessObject binding, formatting, and localization features and user or role level permissions for read / write access. Using these controls in Asp.Net pages it will not be necessary to generate input forms and reading pages as the same control will be used for reading and writing.

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 was computed.  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. 
.NET Framework net472 is compatible.  net48 was computed.  net481 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
3.6.6 304 10/4/2023
3.0.7.50 746 11/19/2021
3.0.6.10 781 11/26/2020
3.0.6.8 1,094 11/4/2020

Improved conversion for string value to boolean.