C# DAL Generator - Source Code

Description
Need 50% Discount?
Download this bundle which is 50% OFF.
C# DAL Generator is a .net desktop application that generates C# Data Access Layer for SQL Server and MS Access databases. The purpose of this application is to make software development easy. It creates C# classes (one per table) that contain methods for CRUD operations. The generated code can be used in web as well as desktop apps.
If you need C# DAL Generator for MySQL then click here. If you need DAL Generator for Entity Framework (C#/VB.Net) then click here. If you need PHP Code Generator for MySQL/MySQLi/PDO then click here.
Save 33%
Click here to download the same app (without source) and save 33%.Video Demo
Click here to view the video demo.Features:
- It creates C# classes (one for each table).
- Supports SQL Server and MS Access.
- The class contains all columns of the table as properties.
- Data types have been handled nicely.
- Creates methods for CRUD operations.
- Sorting has been handled.
- Pagination has been handled (SQL Server only).
- Primary key is automatically detected for each table.
- Composite primary key is supported.
- Nullable columns have been handled.
- Identity column has been handled.
- Timestamp column has been handled.
- Completely indented code is generated.
- The generated code can be used in both desktop and web applications.
- All the following data types of SQL Server are supported: char, nchar, varchar, nvarchar, text, ntext, xml, decimal, numeric, money, smallmoney, bit, binary, image, timestamp, varbinary, date, datetime, datetime2, smalldatetime, datetimeoffset, time, bigint, int, smallint, tinyint, float, real, uniqueidentifier, sql_variant
- Source code has also been provided so that to enable users to make changes according to their programming structure.
Sample Application:
A sample web application has also been provided that is using the generated code. In this application one form (for employees) has been created. This app uses the generated data access layer without modifying a single line in the generated code. You can download the sample application for free from GitHub repo.Generated Code:
- C# Class: For each table one C# class is created that contains all columns of the table as properties.
- Add Method: It is an instance method. It adds a new record to the relevant table. Nullable columns have been handled properly. If you don’t want to insert values in the nullable columns, don’t specify values for the relevant properties. Identity and timestamp columns cannot be inserted manually therefore these columns are skipped while inserting a record. Relevant property of the identity column is populated after record is inserted.
- Update Method: It is an instance method. It updates an existing record. Identity and timestamp columns are skipped while updating a record.
- Delete Method: It is a static method. It deletes an existing record. It takes primary key columns values as parameters.
- Get Method: It is a static method. It gets an existing record (an instance of the class is created and all properties are populated). It takes primary key columns values as parameters.
- GetAll Method: It is a static method. It gets all records of the relevant table. You can also specify search columns. If sorting/pagination is enabled then the relevant code will also be generated.
| Type | .NET Script |
|---|---|
| Author | NajmulIqbal15 |
| Category | Net / Database Abstractions |
| Price | $79 |
| Sales | 40 |
| Rating | 0.00 from 1 rating |
| Published | Dec 21, 2016 |
| Last Update | Aug 28, 2023 |
| Compatible Software | .NET 4.6 |
| Source Files Included | C# CS |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS · 6,289 views · 56 clicksSaaS · Week 46 · 6,289 views · 56 clicks
🥈
Conversational Backlinks for Busy Founders
Place Backlink Relevant Conversation for your domain across Forums and Conversations
Website · 45,017 views · 228 clicksWebsite · Week 46 · 45,017 views · 228 clicks
🥉
upvote.club
Free Social Media Engagement that Helps Boost Your Content. Upvote Club supports 19 social networks with 100+ engagement actions in one dashboard. Add links to your posts and get free engagement from real users.
SaaS · 43,024 views · 124 clicksSaaS · Week 46 · 43,024 views · 124 clicks
#4
Substack Posting API
Onboard your Agent to Substack. Write Publish on Substack via API
SaaS · 61,966 views · 204 clicksSaaS · Week 46 · 61,966 views · 204 clicks
#5
Seenshot App
Free, Fast, MacOS Screenshot app. Make Screenshot cmd+shift+2 and send it via link
Desktop App · 31,223 views · 124 clicksDesktop App · Week 46 · 31,223 views · 124 clicks
#6
Hand-Placed Backlinks $9.99 per link. Flat rate.
Buy hand-placed forum, Q-A and directory backlinks. Flat $9.99 per link, no subscriptions — you only pay for approved listings.
Website · 6,957 views · 19 clicksWebsite · Week 46 · 6,957 views · 19 clicks
#7
Free Invoice Generator - PDF Invoices in Your Browser, No Sign-Up
A free invoice maker for freelancers and small businesses: fill in the invoice, check the live preview, and download a PDF that looks exactly like it. Any currency, tax per item, three templates, no sign-up, and nothing leaves your device.
5,584 views · 19 clicksWeek 46 · 5,584 views · 19 clicks
#8
Merge PDF Files Free - Combine PDFs in Your Browser, No Upload
A free PDF merger for office workers, students, and freelancers: combine PDFs and images into one file in the browser, reorder files and pages, pick page ranges, keep bookmarks, and open password-protected PDFs. Nothing is uploaded, no sign-up, no watermark.
5,149 views · 15 clicksWeek 46 · 5,149 views · 15 clicks
