Friday August 28th

Thursday August 27th

Convert a C# Object to a SQL string

A static method that converts C# standard objects and types to a SQL string, e.g. a byte array is saved as a blob.

2 comments

Another option would be using SQL Parameters, which would also guard against SQL injection.

Yes, this project is work in progress, and all suggestions are welcome :)

Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how
Loading DotNetKicks...
brought to you by the Kicks Network