Skip to content

Collection of some useful little helper classes and extension methods to reduce code.

License

Notifications You must be signed in to change notification settings

Interface007/Sem.Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

First of all: this project is just meant to give me a playground for programming. I like to write code and have I fun trying new features or some "unusual" way of implementation. You are welcome to use this code (it's all MIT licensed) and you are also welcome to give me a hint when something does not work - but still: this code is not tested for production ... before you use it: test it.

All libraries are published at NuGet Gallery

By the way: this file and all documentation has been generated by Sem.MdDocGenerator

Very simple ORM for accessing named result sets / SPROCs - see Sem.Data.SprocAccess.SqlServer or Sem.Data.SprocAccess.FileSystem. The interface IDatabase implements a single method that executes a SPROC and returns an IAsyncEnumerable by mapping each row into a plain old C# object (POCO).

Implementation of IDatabase.Execute using static text-files. This implementation can be used to easily mock database access. Each SPROC gets its own folder and each combination of parameters its own file.

Implementation of IDatabase.Execute using SQL server SPROCs.

Some generic tools like encrypting JSON converter, simple string hashing and guard methods for null-validation of method parameters.

Command line tools including a menu-system that creates menu entries from methods or public methods of classes by interpreting the documentation comments.

Simple scoped logging. Provides ability to forward log entries to other frameworks. The main aspect to implement this was to provide logging inside my libraries while still letting the main application decide what framework to use for log-output.

About

Collection of some useful little helper classes and extension methods to reduce code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages