Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/asutar/generic-repository-pattern
generic repository pattern
https://github.com/asutar/generic-repository-pattern
Last synced: 23 days ago
JSON representation
generic repository pattern
- Host: GitHub
- URL: https://github.com/asutar/generic-repository-pattern
- Owner: asutar
- Created: 2020-09-19T09:19:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-19T09:37:49.000Z (over 4 years ago)
- Last Synced: 2024-11-16T13:05:52.284Z (3 months ago)
- Language: JavaScript
- Size: 556 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# generic-repository-pattern
Table script
CREATE TABLE [dbo].[EmployeeMaster](
[ID] [bigint] IDENTITY(1,1) NOT NULL,
[FirstName] [varchar](50) NULL,
[LastName] [varchar](50) NULL,
[Gender] [int] NULL,
[Designation] [varchar](50) NULL,
[EmailId] [varchar](50) NULL,
[Address] [varchar](50) NULL,
CONSTRAINT [PK_EmployeeMaster] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]This article introduces the Generic Repository pattern and Unit of Work in ASP.NET MVC applications. We are developing an application for a Employee entity on which we can do Create, Read, Update and Delete operations. To keep the article simple and to make it easy to understand, the Generic Repository pattern and Unit of Work, we use a single employee entity in the application.
********Please use table script and download asp.net mvc code********