{"id":24003457,"url":"https://github.com/kalilistic/fluentdapperlite","last_synced_at":"2025-02-25T10:43:47.229Z","repository":{"id":193606267,"uuid":"689155178","full_name":"kalilistic/FluentDapperLite","owner":"kalilistic","description":"A small helper library to use with SQLite, Dapper, FluentMigrator, and AutoMapper.","archived":false,"fork":false,"pushed_at":"2024-12-27T03:05:50.000Z","size":55,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-08T01:38:23.739Z","etag":null,"topics":["automapper","dapper","database","fluentmigrator","sqlite"],"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/kalilistic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-09T00:13:12.000Z","updated_at":"2024-12-27T03:05:50.000Z","dependencies_parsed_at":"2023-09-09T02:22:19.645Z","dependency_job_id":"56a9511f-7fe2-4835-9a99-6b5973f7b84e","html_url":"https://github.com/kalilistic/FluentDapperLite","commit_stats":null,"previous_names":["kalilistic/fluentdapperlite"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalilistic%2FFluentDapperLite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalilistic%2FFluentDapperLite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalilistic%2FFluentDapperLite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalilistic%2FFluentDapperLite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kalilistic","download_url":"https://codeload.github.com/kalilistic/FluentDapperLite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240654090,"owners_count":19835853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["automapper","dapper","database","fluentmigrator","sqlite"],"created_at":"2025-01-08T01:38:43.977Z","updated_at":"2025-02-25T10:43:47.163Z","avatar_url":"https://github.com/kalilistic.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FluentDapperLite\r\n[![Nuget](https://img.shields.io/nuget/v/FluentDapperLite)](https://www.nuget.org/packages/FluentDapperLite/)\r\n\r\nA small helper library to use with [SQLite](https://www.sqlite.org), [Dapper](https://github.com/DapperLib/Dapper), [FluentMigrator](https://github.com/fluentmigrator/fluentmigrator), and [AutoMapper](https://github.com/AutoMapper/AutoMapper).\r\n\r\n## Features\r\n- Provide SQLite FluentMigrator Runner with common PRAGMA settings and normalized version naming scheme.\r\n- Provide base data repository class providing fundamental methods for data access with AutoMapper.\r\n- Provide FluentMigrator \u0026 Dapper extensions for UInt16, UInt32, and UInt64 column types.\r\n- Provide utility to check if a file is a valid SQLite database based on its binary signature.\r\n- Provide FluentMigrator extensions for adding standard 'Id' and timestamp columns.\r\n\r\n## Example\r\n\r\n```csharp\r\n// Check if valid SQLite database\r\nbool isValid = SQLiteFileValidator.IsValidDatabase(dataSource);\r\n\r\n// Run FluentMigrator to execute migrations found in calling assembly\r\nSQLiteFluentMigratorRunner.Run(dataSource);\r\n\r\n// Build database connection\r\nvar databse = SQLiteDbConnectionBuilder.Build(dataSource);\r\n\r\n// Build mapper with AutoMapper profile\r\nvar mapper = new MapperConfiguration(cfg =\u003e\r\n{\r\n    cfg.AddProfile\u003cMyProfile\u003e();\r\n}).CreateMapper();\r\n\r\n// Build repository that inherits from BaseRepository\r\nvar myRepository = new MyRepository(database, mapper);\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalilistic%2Ffluentdapperlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkalilistic%2Ffluentdapperlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalilistic%2Ffluentdapperlite/lists"}