-
-
Save frost555/bf17d07191816b810e04 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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