System.OutOfMemoryException

can anyone help ? System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.Reflection.Emit.TypeBuilder.SetMethodIL(RuntimeModule module, Int32 tk, Bool...

Id #13482 | Release: None | Updated: Feb 17 at 4:59 AM by Show | Created: Feb 17 at 4:59 AM by Show

Assembly EmitMapper with strong name. Problem using

I have application with stron name. Steps 1) I compile and singed assembly EmitMapper.dll 2) I add to reference in my project 3) I write code for Expample static void Main(string[] args) ...

Id #13476 | Release: None | Updated: Dec 16, 2016 at 7:24 AM by KelDazan | Created: Dec 16, 2016 at 7:24 AM by KelDazan

How to use ConvertGeneric()?

Hi, I am learning http://emitmapper.codeplex.com/wikipage?title=Customization%20using%20default%20configurator&referringTitle=Customization%20using%20default%20configurator&ANCHOR#Custom_converter...

Id #13410 | Release: None | Updated: Aug 17, 2015 at 5:10 AM by abc456ao789 | Created: Aug 17, 2015 at 5:10 AM by abc456ao789

Private setters

Is there anyway I can map with object's private setters?

Id #13383 | Release: None | Updated: Apr 17, 2015 at 4:11 PM by hunguyen75 | Created: Apr 17, 2015 at 4:11 PM by hunguyen75

Mapping from generic interface (IList<>) to generic concrete (List<>)

If you try to map from IList<MyType> to List<MyType> an exception is raised: An unhandled exception of type 'System.InvalidCastException' occurred in EmitMapperAssembly.dll Additional information:...

Id #13199 | Release: None | Updated: Apr 2, 2014 at 7:28 PM by 0v3rCl0ck | Created: Apr 2, 2014 at 7:28 PM by 0v3rCl0ck

Maping by Dictionary<K,V> BUG?

/ Code / public class ObjectItemA { public string Name { get; set; } } public class ObjectItemB { public string Name { get; set; } } public class Program { static void Main(string[] a...

Id #12992 | Release: None | Updated: Jun 23, 2014 at 2:25 AM by mmk5 | Created: Jul 19, 2013 at 5:11 AM by mmk5

Mapping by Attribute

It would be nice to do mapping by attributes. You could create an MappingAnnotation assembly that would allow us to specify: class SomeClass{ [Mapping(Name="TheSourceFieldName",TypeConversion="int...

Id #12450 | Release: None | Updated: Feb 21, 2013 at 11:43 PM by TinmanChad | Created: Aug 22, 2012 at 2:08 AM by TinmanChad

IgnoreMembers does not "ignore" the target member

I have a target class that I want to map some values from the source class. In both classes there is a property "Items". In the source class, Items is null. In the target class, Items has a value. ...

Id #12372 | Release: None | Updated: Feb 21, 2013 at 11:43 PM by HEV | Created: Jul 17, 2012 at 6:26 AM by NathanRidley

bidirectional flattering mapping. how to?

I need to both entity2dto and dto2entity flattering mapping. Is it possible with emitmapper? How to do it with minimal efforts? Sample bellow doesn't work correct. (A is dto, B is entity)   using S...

Id #11485 | Release: None | Updated: Feb 20, 2014 at 6:17 PM by harley333 | Created: Nov 26, 2011 at 9:55 AM by rdinnik

DbSettings changes for Oracle support

public class DbSettings { ... public static DbSettings Oracle;   Oracle = new OracleDbSettings { firstNameEscapeSymbol = @"""", secondNameEscapeSymbol = @"""", paramPrefix = ":p_" }; }   C...

Id #11072 | Release: None | Updated: Jun 14, 2013 at 8:23 AM by qwer_ty | Created: Jul 2, 2011 at 12:35 AM by sip_slava