{"id":22594683,"url":"https://github.com/rajguptah/keplercrud","last_synced_at":"2026-03-07T01:33:49.010Z","repository":{"id":65704444,"uuid":"597428542","full_name":"rajguptaH/KeplerCrud","owner":"rajguptaH","description":"Automatic Crud Operation Using Dapper Framework ","archived":false,"fork":false,"pushed_at":"2023-12-07T20:10:19.000Z","size":2614,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T00:14:36.900Z","etag":null,"topics":["aspdotnet","autocrud","automaticlydapper","crud","kepler","keplercrud","rajnarayangupta","sql"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rajguptaH.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"rajnarayangupta","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-02-04T14:22:33.000Z","updated_at":"2024-05-09T07:07:03.000Z","dependencies_parsed_at":"2025-04-11T00:14:38.662Z","dependency_job_id":"4b6a5405-731a-4e86-ae57-b3335bda7df6","html_url":"https://github.com/rajguptaH/KeplerCrud","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rajguptaH/KeplerCrud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajguptaH%2FKeplerCrud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajguptaH%2FKeplerCrud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajguptaH%2FKeplerCrud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajguptaH%2FKeplerCrud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rajguptaH","download_url":"https://codeload.github.com/rajguptaH/KeplerCrud/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajguptaH%2FKeplerCrud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30205136,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aspdotnet","autocrud","automaticlydapper","crud","kepler","keplercrud","rajnarayangupta","sql"],"created_at":"2024-12-08T10:07:07.072Z","updated_at":"2026-03-07T01:33:48.966Z","avatar_url":"https://github.com/rajguptaH.png","language":"C#","funding_links":["https://ko-fi.com/rajnarayangupta"],"categories":[],"sub_categories":[],"readme":"# Kepler CRUD\n## You can Perform Crud Operation Using This Library Automaticly\n\n[![Build Status](https://travis-ci.org/joemccann/dillinger.svg?branch=master)](https://instagram.com/bug__developer)\n\n- This is Helpful For Do Crud Operation Automaticlly \n- Give A Like To This Repo If you Found Something Helpful\n- ✨[RNG](https://github.com/rajguptaH)✨\n\n*******\nTables of contents  \n 1. [What is KeplerCrud? \u0026 Why You Need This](#whatiskepler)\n 2. [Requirments?](#requirment)\n 3. [How To Setup ?](#setup)\n 4. [Question \u0026 Answer](#questions)\n 5. [Methods](#methods)\n\n*******\n\u003cdiv id=\"whatiskepler\"/\u003e\n\n## What Is KeplerCrud\n- KeplerCrud Is Just A Tool For Generic CRUD(Create Read Update Delete) Using This You Can Save Your Time Creating Duplicate Queries And Services \n- This Is light Wieght and Easy To Use Package\n\n\u003cdiv id=\"requirment\"/\u003e\n\n## Requirments\n- .net 3.1 or newest \n- Table In Database and Connected with Sql Server\n- IDbConnection Object\n ```sql\n CREATE TABLE [dbo].[Person](\n\t[Id] [int] IDENTITY(1,1) NOT NULL,\n\t[Name] [varchar](100) NOT NULL,\n CONSTRAINT [PK_Person] PRIMARY KEY CLUSTERED \n(\n\t[Id] ASC\n)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]\n) ON [PRIMARY]\nGO\n\n```\n\u003cdiv id=\"setup\"/\u003e\n\n## Setup \n- Go On Nuget Install This Package or Using Command Line \n```shell\n$ dotnet add package Rng.KeplerCrud --version 3.2.1\n```\n- Then Just Add Connection String In Your AppSettings.json Ex is Given Below\n```json\n{\n  \"Logging\": {\n    \"LogLevel\": {\n      \"Default\": \"Information\",\n      \"Microsoft.AspNetCore\": \"Warning\"\n    }\n  },\n  \"ConnectionStrings\": {\n    \"Value\": \"Server=localhost;Database=DatabaseName; User ID=username;Password=password;\"\n  },\n  \"AllowedHosts\": \"*\"\n}\n```\n- Then Add Attributes in Model\n```c#\n//Don't Forget To Include KeplerCrud.Utility Namespace \n using KeplerCrud.Utility;\n\nnamespace RNG.Models\n{\n    [KeplerTable(\"User\")] // This Attribute Tells That Table Name Is User\n    public class User\n    {\n    \t[KeplerPKey(\"Id\")] // This Attribute Tells That This Property Is Primary Key Of User Table\n        [KeplerColumn(\"Id\")] // This Attribute Tells That This Property Is For Id Column Of User Table\n        public int Id { get; set; }\n        [KeplerColumn] // This Attribute Takes Property Name As Column Of User Table \n        public string Name { get; set; }\n\t// If You Don't Use KeplerColumn Attribute and put colunmBase Fetch, Insert or Update Then You Won't Get This Column Value Or You Can't Save This\n    }\n}\n```\n- And Where You Want To Call Db To Perform Crud Just Use Like This \n```c#\n//namespace for KeplerRepository\nusing KeplerCrud.Repostiory\n\n        //You Have To Create A Object of IDbConnection First Like This With Your Connection String \n\tusing IDbConnection con = _connectionBuilder.connectionProp;\n\t//then Just Call methods And Perform CRUD \n\tvar listOfObject = con.GetAll(true);\n\t//Thats It \n```\nThats It \n\u003cdiv id=\"questions\"/\u003e\n\n## Questions \n- Q1 Why we You need this \n- Ans. This Is Light Weight and Fast To Perform CRUD And Using This you Don't need to write Much Code \n- Q2 What is columnBase Bool Parameter \n- Ans. If You Pass True in that then it will Only Use those Columns Where you have used KeplerColumn Attribute And Other Columns Will Be Ignored\n- Q3 What is List of ConditionPair or condition \n- Ans. If you create a object like below and pass this object then it will filter out whatever condition you put\n\t```c#\n\tvar conditions = new List\u003cConditionPair\u003e();\n\tconditions.Add(new ConditionPair{ Where = \"Id\",Operator = \"=\", Value = \"2\"};\n\t```\n\u003cdiv id=\"methods\"/\u003e\n\n## Methods \n\n```c#\n/* use IdbConnection Object Before Using Methods Use Attributes In that models */\n                        /* =============== GetAll(List\u003cConditionPair\u003e conditions, bool columnBase) ================*/\n con.GetAll\u003cModel\u003e( List\u003cConditionPair\u003e conditions, bool columnBase)\n //This Method Will Return All Records Based On Condtions \n                        /* =============== GetAll\u003cT\u003e(bool columnBase) ================\n con.GetAll\u003cModel\u003e( bool columnBase)\n //This Method Will Return All Records\n                        /* =============== Get\u003cT\u003e(List\u003cConditionPair\u003e conditions, bool columnBase ) ================*/\n con.Get\u003cModel\u003e(List\u003cConditionPair\u003e conditions, bool columnBase )\n //This Method Will Return Record Based On Condtions \n                                        /* =============== Insert\u003cT\u003e(T model) ================*/\n con.Insert\u003cModel\u003e(T model)\n //This Method Will Insert The Record \n                                        /* =============== Update\u003cT\u003e(T model) ================*/\n con.Update\u003cModel\u003e(T model)\n //This Method Will Update The Record \n                                       /*  =============== Delete\u003cT\u003e(string pvalue) ================*/\n con.Delete\u003cModel\u003e(string pvalue)\n //This Method Will Delete Record\n```\n## Thanks \n```sql\nThanks❤  Myself Raj Narayan Gupta\n```\n- I would Like To collaborate With Other Developers💛\n- Mail : Rajkumar00999.rk@gmail.com\n-  [Follow Us On Instagram]( https://instagram.com/raj__rr)\n- [![GitHub rajguptaH](https://img.shields.io/github/followers/rajguptaH?label=follow\u0026style=social)](https://github.com/rajguptaH)\n\n## License\n\nMIT\n\n**Free Software, Hell Yeah!**\n-\n![visitors](https://visitor-badge.glitch.me/badge?page_id=rajguptaH.rajguptaH)\n## Mail Me Or Give a messege In Instagram If You Have Any Suggestion / Questions / Issues or Feel Free To Contribute\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajguptah%2Fkeplercrud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frajguptah%2Fkeplercrud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajguptah%2Fkeplercrud/lists"}