Skip to content

Igor Gatis

My feedback

1 result found

  1. 12 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    Igor Gatis commented  · 
    An error occurred while saving the comment
    Igor Gatis commented  · 

    Answering admin's comment:

    I forgot to mention protobuf-csharp-port generted classes have no null properties. Instead of comparing the property to null, one must check .HasPropertyX.

    An error occurred while saving the comment
    Igor Gatis commented  · 

    I'd like to use OrmLite with protobuf-csharp-port generated classes.

    Each entity has two generated classes:
    1. "Foo" which is immutable (like String)
    2. "Foo.Builder" which is mutable and produces a "Foo" when .Build() is called (like StringBuilder and .ToString()).

    I cannot use Foo because it has no setters. Although I can work around Foo.Builder's name with [Alias("Foo")], it has a bunch of properties which must not become columns. The list is bigger but I think these gives the picture.

    Igor Gatis supported this idea  · 

Feedback and Knowledge Base