Skip to content

A utility project that deserializes ADO.NET output into C# objects.

License

Notifications You must be signed in to change notification settings

brwml/Serializers.Data

Repository files navigation

ADO.NET to .NET Object Serializers

This project takes the common task of copying ADO.NET output fields to C# object properties in a manner similar to serialization libraries such as Json.NET.

Example

using (var connection = new SqlConnection(connectionString))
{
    await connection.OpenAsync();

    var command = connection.CreateCommand();
    command.CommandText = "select * from users";

    var users = (await command.ExecuteReaderAsync()).DeserializeAll<User>();

    // Do something with users.
}

About

A utility project that deserializes ADO.NET output into C# objects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages