Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Ignore property #81

Closed
bobznguo opened this issue Dec 13, 2018 · 0 comments
Closed

Ignore property #81

bobznguo opened this issue Dec 13, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@bobznguo
Copy link

Currently, it seems that there's no way to completely ignore a property when mapping. It will always fall back to DefaultTypeMap.

public class MyClassMap : EntityMap<MyClass>
{
   public MyClassMap ()
   {
      Map(x => x.Image).Ignore();
      ...
   }
}

If there's a Image column in MyClass table, that column will still be mapped to MyClass.Image.

Any plan to support the Ignore() option properly?

@henkmollema henkmollema self-assigned this Mar 28, 2019
@henkmollema henkmollema added this to the v1.8 milestone Mar 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants