In this project, you will be able to develop commercial automation with pure clean code structure using Entity Framework in C # Windows Form.
In the next version we will write our own components. (TaxNumberControl, DateControl, ToogleSwitch etc.)
The project was written completely without paid plug-ins.
Other Entity Framework most distinctive feature of the project is that the bulk of the tidy everything.
What is a Business Layer ?: It is the business layer where we control and create database operations, Linq queries, Functions,Enums,Tables,Intefaces,Mapping migration and Validation in the Business layer.
What does Business Sublayers do? All layers in this area are interconnected and will allow us to carry out all operations under one roof. You can examine these layers below.
Migrations Layer: is the process of moving data, selecting, preparing, extracting and converting data, and permanently transferring data from one computer storage system to another. In addition , approval of the data being carried out to be completed and abolishing the storage of old data is considered as a part of the entire data migration process.
Mapping Layer: In this layer, we specify the properties that the related table will take in the database creation phase, length,column name,type, etc.
Validation Layer: This layer is used for the verification process. For example, the X field is a mandatory field , and so on.
Interfaces Layer: This layer is an abstract type used to specify a behavior that classes must implement. For example, we will use some forms to separate classes with the same name, for example IBaseEntity-> I’m an entity. We will use this kind of process here to separate.
Tables(Entities) Layer: While creating the database, the class we added will be run and the props we added will be added as column.
Enums Layer: We will be able to use this layer anywhere in the enums project that we will define here to specify completely custom fields and not to repeat multiple codes.
Functions Layer: Here we will define the functions we will use throughout the project. MessageFunctions as an example, we will be able to use the variables we define here in the whole project. Error,Entry etc.
DAL (Data Access Layer) Layer: We will use all DAL classes that we will define in this layer for listing. For example, we will write the CustomerActivity products payments and debts,etc,etc the user receives, with the Linq query.
Context Layer: In the model layer we can easily model our database with Entity Framework. The structure of the database modelled and tables are transferred as classes and fields are transferred as properties of classes.In addition, adding,deleting and updating methods can be done easily thanks to the tool we will add.