SlideShare a Scribd company logo
Living Lab
e-SUAP
Data Access (Server Side)
Modeling
Data and entity modeling rely completely on Visual Studio Standard entity framework visual modeling
plug-in. This part of the framework is still in evolution and will cover, hereafter, all the features of Entity
Framework 5 and 6, like inheritance, polyphormism, complex relationships etc.
From EDMX logical and physical model can be derived SQL DDL for generating the database layer, server
side entities for extracting and storing domain information, return to clients through web services or
fast and reliable JSON based web API controllers DTO's for distributed data management.
Code Generation
Domain entities dedicated code can be generated both on the server and client side. On the server side
we'll provide you with a C# oriented T4 template for generating:
 an ObjectContext or DBContext derived class with all the stuff necessary for dealing with
Entity Framework contexts;
 Repository pattern and IPoco classes for every entity provided through the EDMX data
model
Repository Pattern
The repository pattern is implemented through a particular contract. For example the address entity:
Generates, thanks to the T4 template, the following code parts:
 Partial repository generic interface for entity Address:
o public partial interface IAddressRepository : IRepository<Address> { }
 The repository implementation for entity Address:
o public partial class EntityAddressRepository :
CodeArchitects.Data.Entity.Repository<Address>, IAddressRepository
 And the Entity Ipoco object:
o public partial class Address : IObjectWithChangeTracker,
INotifyPropertyChanged
 Primitive properties
 Complex properties
 Navigation properties
 ChangeTracking
 Association Fixup
Entity typical usage patterns
Unit container registration:
Retrieving repository objects through unity container and retrieve data:
e-SUAP - Data access server side (English)
Saving data:

More Related Content

DOCX
Entity Framework
Mahesh Pachbhai
 
PPTX
Ef overview
Uday Shankar
 
PPTX
Be04 introduction to ef 6.0
DotNetCampus
 
PPTX
Entity Framework 4
richardrflores1
 
PDF
Learn Entity Framework in a day with Code First, Model First and Database First
Jibran Rasheed Khan
 
PPTX
Lucidchart Connect Amsterdam: Lucidchart @ Lavego
Lucidchart
 
PPTX
Talend preso (1)
Cory Cowgill
 
KEY
Introducing the Entity Framework
LearnNowOnline
 
Entity Framework
Mahesh Pachbhai
 
Ef overview
Uday Shankar
 
Be04 introduction to ef 6.0
DotNetCampus
 
Entity Framework 4
richardrflores1
 
Learn Entity Framework in a day with Code First, Model First and Database First
Jibran Rasheed Khan
 
Lucidchart Connect Amsterdam: Lucidchart @ Lavego
Lucidchart
 
Talend preso (1)
Cory Cowgill
 
Introducing the Entity Framework
LearnNowOnline
 

What's hot (15)

PPTX
Object-Relational Mapping and Dependency Injection
Shane Church
 
DOCX
Application layer assignments
Isaac Akingbala
 
PPTX
Entity Framework Overview
Eric Nelson
 
DOCX
What is hibernate?
kanchanmahajan23
 
PDF
Advanced application architecture
Matthias Noback
 
PDF
What is hibernate?
kanchanmahajan23
 
PPTX
Entity framework and how to use it
nspyre_net
 
PPTX
Entity Framework 4
Stefano Paluello
 
PPT
Adaptive Architecture
Nick Harrison
 
PPTX
Ef code first
ZealousysDev
 
PDF
Procurement Exchange - Our underlying technology
Glenn Turley
 
PPTX
Entity Framework - Object Services
Eyal Vardi
 
PPTX
Lerman Vvs14 Ef Tips And Tricks
Julie Lerman
 
PDF
Tactical DDD (just better OOP?) - PHPBenelux 2017
Matthias Noback
 
PPT
Oracle reports
Lacc Corona
 
Object-Relational Mapping and Dependency Injection
Shane Church
 
Application layer assignments
Isaac Akingbala
 
Entity Framework Overview
Eric Nelson
 
What is hibernate?
kanchanmahajan23
 
Advanced application architecture
Matthias Noback
 
What is hibernate?
kanchanmahajan23
 
Entity framework and how to use it
nspyre_net
 
Entity Framework 4
Stefano Paluello
 
Adaptive Architecture
Nick Harrison
 
Ef code first
ZealousysDev
 
Procurement Exchange - Our underlying technology
Glenn Turley
 
Entity Framework - Object Services
Eyal Vardi
 
Lerman Vvs14 Ef Tips And Tricks
Julie Lerman
 
Tactical DDD (just better OOP?) - PHPBenelux 2017
Matthias Noback
 
Oracle reports
Lacc Corona
 
Ad

Viewers also liked (20)

DOCX
Ranking nacional de Pokémon T.G.C. Old School
Trainer PkMn
 
PPTX
Yongkang lufeng stainless steel products co.,ltd
Cindy Gou
 
PPTX
Barco
guest1435992
 
PDF
PROYECTO DE INVESTIGACIÓN
carolina chaparro rojas
 
PPTX
Turtle
Muhtadi Al-Awwadi
 
PDF
INDICAÇÕES DO VEREADOR RONALD
Simone Santos
 
PPS
Imposible
circusromanus
 
DOCX
Como crear una base de datos
daniaccess
 
PPT
reCreeaza-te funshop @ Excelez.ro
sandra ghitescu
 
PPTX
Mis 10 consejos para utilizar RSS
Ernesto Barrera
 
PPTX
Mapa Conceptual
lideska2
 
PDF
e-SUAP - Ochestration building block (italian)
Sabino Labarile
 
PPTX
Normas para elaboracion de t. de g. lideska barrios
lideska2
 
PPT
Povesti cu impact @ roPot
sandra ghitescu
 
PPTX
Paula su arez difución de la tegnología
PaulaSuarezDiaz0293
 
PPTX
Internt
nimsygiron
 
PPTX
Difucion de la informacion
lolis-puka
 
PPTX
Windows 10 presentation
Ashraful Tauhid
 
PPT
Curso de Zotero
Ernesto Barrera
 
Ranking nacional de Pokémon T.G.C. Old School
Trainer PkMn
 
Yongkang lufeng stainless steel products co.,ltd
Cindy Gou
 
PROYECTO DE INVESTIGACIÓN
carolina chaparro rojas
 
INDICAÇÕES DO VEREADOR RONALD
Simone Santos
 
Imposible
circusromanus
 
Como crear una base de datos
daniaccess
 
reCreeaza-te funshop @ Excelez.ro
sandra ghitescu
 
Mis 10 consejos para utilizar RSS
Ernesto Barrera
 
Mapa Conceptual
lideska2
 
e-SUAP - Ochestration building block (italian)
Sabino Labarile
 
Normas para elaboracion de t. de g. lideska barrios
lideska2
 
Povesti cu impact @ roPot
sandra ghitescu
 
Paula su arez difución de la tegnología
PaulaSuarezDiaz0293
 
Internt
nimsygiron
 
Difucion de la informacion
lolis-puka
 
Windows 10 presentation
Ashraful Tauhid
 
Curso de Zotero
Ernesto Barrera
 
Ad

Similar to e-SUAP - Data access server side (English) (20)

PPTX
Entity framework
Tamer Elshahat
 
PPTX
Building nTier Applications with Entity Framework Services (Part 1)
David McCarter
 
PDF
Entity Framework Interview Questions PDF By ScholarHat
Scholarhat
 
PPTX
Building nTier Applications with Entity Framework Services (Part 1)
David McCarter
 
PPTX
Entity Framework Overview
Eyal Vardi
 
PPTX
Entity Framework V1 and V2
ukdpe
 
PPTX
Net Fundamentals
Ali Taki
 
PPT
J2 Ee Vs. .Net Workshop
danglvh
 
PPTX
Building N Tier Applications With Entity Framework Services 2010
David McCarter
 
PPT
What's New for Data?
ukdpe
 
PPTX
Microsoft Entity Framework
Mahmoud Tolba
 
PPTX
Entity Core with Core Microservices.pptx
Knoldus Inc.
 
PPTX
Microsoft Data Access Technologies
David Chou
 
PPT
J2 EEE SIDES
bputhal
 
PDF
70487.pdf
Karen Benoit
 
PDF
Asp.Net_ Developer Resume Remotely
SumitKumar2504
 
PPT
Overview of CSharp MVC3 and EF4
Rich Helton
 
PDF
Elements of DDD with ASP.NET MVC & Entity Framework Code First
Enea Gabriel
 
PDF
Chapter 6-Remoting
Hoàng Hải Nguyễn
 
PPT
ADO.NET Entity Framework
Doncho Minkov
 
Entity framework
Tamer Elshahat
 
Building nTier Applications with Entity Framework Services (Part 1)
David McCarter
 
Entity Framework Interview Questions PDF By ScholarHat
Scholarhat
 
Building nTier Applications with Entity Framework Services (Part 1)
David McCarter
 
Entity Framework Overview
Eyal Vardi
 
Entity Framework V1 and V2
ukdpe
 
Net Fundamentals
Ali Taki
 
J2 Ee Vs. .Net Workshop
danglvh
 
Building N Tier Applications With Entity Framework Services 2010
David McCarter
 
What's New for Data?
ukdpe
 
Microsoft Entity Framework
Mahmoud Tolba
 
Entity Core with Core Microservices.pptx
Knoldus Inc.
 
Microsoft Data Access Technologies
David Chou
 
J2 EEE SIDES
bputhal
 
70487.pdf
Karen Benoit
 
Asp.Net_ Developer Resume Remotely
SumitKumar2504
 
Overview of CSharp MVC3 and EF4
Rich Helton
 
Elements of DDD with ASP.NET MVC & Entity Framework Code First
Enea Gabriel
 
Chapter 6-Remoting
Hoàng Hải Nguyễn
 
ADO.NET Entity Framework
Doncho Minkov
 

More from Sabino Labarile (20)

PPT
SUE AGILE - Presentazione della piattaforma
Sabino Labarile
 
PDF
Manuale utente SUE AGILE
Sabino Labarile
 
PPT
SUE AGILE Framework (Italiano)
Sabino Labarile
 
PPT
SUE AGILE Architettura (Italiano)
Sabino Labarile
 
PDF
SUE AGILE MVVM (English)
Sabino Labarile
 
PDF
SUE AGILE MVVM (Italian)
Sabino Labarile
 
PPT
SUE AGILE Framework (English)
Sabino Labarile
 
PPT
SUE AGILE Architecture (English)
Sabino Labarile
 
PPTX
SUE AGILE - GUIDA ALL'UTILIZZO DELLA PIATTAFORMA
Sabino Labarile
 
PPTX
e-suap - client technologies- english version
Sabino Labarile
 
PPTX
e-suap cloud computing- English version
Sabino Labarile
 
PDF
e-SUAP - Ochestration building block (english)
Sabino Labarile
 
PDF
e-SUAP - Security - Windows azure access control list (english version)
Sabino Labarile
 
PDF
e-SUAP - Security - Windows azure access control list (italian version)
Sabino Labarile
 
PDF
e-SUAP - General software architecture (Italiano)
Sabino Labarile
 
PPT
E suap - tecnologie client
Sabino Labarile
 
PPT
e-suap - general software architecture (English)
Sabino Labarile
 
PDF
e-SUAP - General software architecture (English)
Sabino Labarile
 
PPT
E suap - cloud computing (Italian)
Sabino Labarile
 
PPT
e-Suap Inista 2014 (International Symposium on INnovation in Intelligent SysT...
Sabino Labarile
 
SUE AGILE - Presentazione della piattaforma
Sabino Labarile
 
Manuale utente SUE AGILE
Sabino Labarile
 
SUE AGILE Framework (Italiano)
Sabino Labarile
 
SUE AGILE Architettura (Italiano)
Sabino Labarile
 
SUE AGILE MVVM (English)
Sabino Labarile
 
SUE AGILE MVVM (Italian)
Sabino Labarile
 
SUE AGILE Framework (English)
Sabino Labarile
 
SUE AGILE Architecture (English)
Sabino Labarile
 
SUE AGILE - GUIDA ALL'UTILIZZO DELLA PIATTAFORMA
Sabino Labarile
 
e-suap - client technologies- english version
Sabino Labarile
 
e-suap cloud computing- English version
Sabino Labarile
 
e-SUAP - Ochestration building block (english)
Sabino Labarile
 
e-SUAP - Security - Windows azure access control list (english version)
Sabino Labarile
 
e-SUAP - Security - Windows azure access control list (italian version)
Sabino Labarile
 
e-SUAP - General software architecture (Italiano)
Sabino Labarile
 
E suap - tecnologie client
Sabino Labarile
 
e-suap - general software architecture (English)
Sabino Labarile
 
e-SUAP - General software architecture (English)
Sabino Labarile
 
E suap - cloud computing (Italian)
Sabino Labarile
 
e-Suap Inista 2014 (International Symposium on INnovation in Intelligent SysT...
Sabino Labarile
 

Recently uploaded (20)

PPTX
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
PDF
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
PDF
Immersive experiences: what Pharo users do!
ESUG
 
PDF
Balancing Resource Capacity and Workloads with OnePlan – Avoid Overloading Te...
OnePlan Solutions
 
PDF
Salesforce Implementation Services Provider.pdf
VALiNTRY360
 
PDF
Using licensed Data Loss Prevention (DLP) as a strategic proactive data secur...
Q-Advise
 
PPTX
GALILEO CRS SYSTEM | GALILEO TRAVEL SOFTWARE
philipnathen82
 
PPTX
ConcordeApp: Engineering Global Impact & Unlocking Billions in Event ROI with AI
chastechaste14
 
PPTX
Role Of Python In Programing Language.pptx
jaykoshti048
 
PPTX
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 
DOCX
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 
PDF
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
PPTX
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
PPTX
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
PDF
advancepresentationskillshdhdhhdhdhdhhfhf
jasmenrojas249
 
PPTX
Presentation about variables and constant.pptx
safalsingh810
 
PPTX
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
PPTX
Presentation about Database and Database Administrator
abhishekchauhan86963
 
PDF
An Experience-Based Look at AI Lead Generation Pricing, Features & B2B Results
Thomas albart
 
PDF
10 posting ideas for community engagement with AI prompts
Pankaj Taneja
 
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
Immersive experiences: what Pharo users do!
ESUG
 
Balancing Resource Capacity and Workloads with OnePlan – Avoid Overloading Te...
OnePlan Solutions
 
Salesforce Implementation Services Provider.pdf
VALiNTRY360
 
Using licensed Data Loss Prevention (DLP) as a strategic proactive data secur...
Q-Advise
 
GALILEO CRS SYSTEM | GALILEO TRAVEL SOFTWARE
philipnathen82
 
ConcordeApp: Engineering Global Impact & Unlocking Billions in Event ROI with AI
chastechaste14
 
Role Of Python In Programing Language.pptx
jaykoshti048
 
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
advancepresentationskillshdhdhhdhdhdhhfhf
jasmenrojas249
 
Presentation about variables and constant.pptx
safalsingh810
 
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
Presentation about Database and Database Administrator
abhishekchauhan86963
 
An Experience-Based Look at AI Lead Generation Pricing, Features & B2B Results
Thomas albart
 
10 posting ideas for community engagement with AI prompts
Pankaj Taneja
 

e-SUAP - Data access server side (English)

  • 2. Modeling Data and entity modeling rely completely on Visual Studio Standard entity framework visual modeling plug-in. This part of the framework is still in evolution and will cover, hereafter, all the features of Entity Framework 5 and 6, like inheritance, polyphormism, complex relationships etc. From EDMX logical and physical model can be derived SQL DDL for generating the database layer, server side entities for extracting and storing domain information, return to clients through web services or fast and reliable JSON based web API controllers DTO's for distributed data management.
  • 3. Code Generation Domain entities dedicated code can be generated both on the server and client side. On the server side we'll provide you with a C# oriented T4 template for generating:  an ObjectContext or DBContext derived class with all the stuff necessary for dealing with Entity Framework contexts;  Repository pattern and IPoco classes for every entity provided through the EDMX data model Repository Pattern The repository pattern is implemented through a particular contract. For example the address entity:
  • 4. Generates, thanks to the T4 template, the following code parts:  Partial repository generic interface for entity Address: o public partial interface IAddressRepository : IRepository<Address> { }  The repository implementation for entity Address: o public partial class EntityAddressRepository : CodeArchitects.Data.Entity.Repository<Address>, IAddressRepository  And the Entity Ipoco object: o public partial class Address : IObjectWithChangeTracker, INotifyPropertyChanged  Primitive properties  Complex properties  Navigation properties  ChangeTracking  Association Fixup Entity typical usage patterns Unit container registration:
  • 5. Retrieving repository objects through unity container and retrieve data: