How to use ValueResolver with GUID with the hlep of AutoMapper?
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
I am referring following article on Codeproject: AutoMapper[^] I would like to compare following code with GUID. can guide me to write function for checking GUID if the key (GUID) dose not exists in destination table then it will return false else true.
//Here i would like to add code for checking GUID is exists or not?
public class VIPResolver : ValueResolver
{
protected override string ResolveCore(bool source)
{
return source ? "Y" : "N";
}
}Any answer would be appreciated! Thanks, Imdadhusen
sunaSaRa Imdadhusen +91 99095 44184