Skip to content

Instantly share code, notes, and snippets.

@frost555
Created October 8, 2015 08:37
Show Gist options
  • Save frost555/bf17d07191816b810e04 to your computer and use it in GitHub Desktop.
Save frost555/bf17d07191816b810e04 to your computer and use it in GitHub Desktop.
using System;
using ExpressMapper;
namespace ConsoleApplication1
{
public class Boo
{
public string x;
}
public class BooModel
{
public string x;
}
class Program
{
static void Main(string[] args)
{
Mapper.Register<Boo, BooModel>();
var x = new Boo{x="hello world"};
BooModel model = x.MapTo<Boo, BooModel>();
Console.WriteLine(model.x);
}
}
}
@anisimovyuriy
Copy link

Dear Igor,

Thanks for your valuable input!
The thing is that I couldn't able reproduce this bug. Could you please install new version of Expressmapper 1.5 - it is available right now.
Let me know if it doesn't solve your issue.

Thanks,
Yuriy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment