Fading Coder

One Final Commit for the Last Sprint

Entity Framework: Data Mapping, Query Execution, and State Management Techniques

Data Annotation Attributes for Schema Configuraton [Table("Products")] public class Product { [Key] [Column("ProductKey")] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int ProductKey { get; set; } [Required] [StringLength(100)] public string ProductName { get; set...

Implementing Complex Types in Entity Framework Code First

In Entity Framwork (EF) Code First development, a Complex Type is a class that serves as a container for properties but lacks its own identity (i.e., it does not have a primary key). Unlike standard entity types, complex types are not mapped to their own database tables. Instead, their properties ar...

Building CRUD with CodeSpirit: A Practical Employee Management Example

Overview This guide demonstrates how to rapidly develop CRUD functionality using the CodeSpirit framework, using a real‑world Employee management module from the CodeSpirit.IdentityApi sample. It covers entity design, data transfer objects, AutoMapper configuration, service layer, controller setup,...

Understanding Entity Framework Development in .NET Framework

Entity Framework is an open-source Object-Relational Mapping (ORM) framework for .NET. It enables developers to interact with relational databases using LINQ and automatically handles data conversion between .NET objects and database records, reducing the need for manual SQL query writing. Core Comp...