Skip to content

Instantly share code, notes, and snippets.

@emrekizildas
Created February 20, 2022 10:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emrekizildas/d9c43b48480db22d2ce3ec4bc9e6c115 to your computer and use it in GitHub Desktop.
Save emrekizildas/d9c43b48480db22d2ce3ec4bc9e6c115 to your computer and use it in GitHub Desktop.
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace ConverterExample.Converter
{
internal sealed class UpperConverter : ValueConverter<string, string>
{
public EncryptionConverter() : base (x => x.ToUpper(), x => x, null)
{
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment