Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore attribute is being ignored #66

Closed
redent opened this issue Oct 3, 2014 · 7 comments
Closed

Ignore attribute is being ignored #66

redent opened this issue Oct 3, 2014 · 7 comments

Comments

@redent
Copy link

redent commented Oct 3, 2014

This simple example reproduces the issue:

public class DummyClass
{
    [PrimaryKey, AutoIncrement]
    public int Id { get; set; }

    public string Foo { get; set; }
    public string Bar { get; set; }

    [Ignore]
    public List<string> Ignored { get; set; }
}

This sample fails with an error on the CreateTable statement:

System.NotSupportedException : Don't know about System.Collections.Generic.List`1[System.String]

It shouldn't process the Ignored property at all.

@redent
Copy link
Author

redent commented Oct 3, 2014

This error happens after updating from NuGet package v2.3.0 to v2.4.0

@eugenioestrada
Copy link

Reported here: #58

@ericgreenmix
Copy link

This is actually a duplicate of #64 which was fixed and pushed out to NuGet in v2.4.1

@oysteinkrog
Copy link
Owner

Hehe indeed, I made a mess of these issues by mixing them up a bit.

@lorddarkangel
Copy link

Is this fixed for Xamarin Android? In my case is not working.

@redent
Copy link
Author

redent commented May 23, 2016

@murali0009 It was a bug introduced in 2.4.0 and fixed in 2.4.1. What kind of update do you need?

@murali0009
Copy link

@redent Thanks for your reply. It was an oversight on my part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants