Skip to content

Ignore property #81

Closed
Closed

Description

@bobznguo

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?

Activity

  1. self-assigned this
    on Mar 28, 2019
  2. added this to the v1.8 milestone on Mar 28, 2019
  3. added a commit that references this issue on May 19, 2024
    e32a184
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    ⌂ 换网址