Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Trusha Savsani 15 posts 94 karma points
    Apr 25, 2017 @ 04:29
    Trusha Savsani
    0

    UIOMaticIgnoreField is not working in UI-O-Matic 2.0.3

    Hi,

    I am working with UI-O-Matic 2.0.3. I have created one model. I want to ignore its Primary key column. That's why I need to write UIOMaticIgnoreField.

    But I am not getting UIOMaticIgnoreField in UIOMatic.Attributes in UIOMatic.dll.

    Please help me to keep my Id column as ignored.

  • Trusha Savsani 15 posts 94 karma points
    Apr 25, 2017 @ 04:56
    Trusha Savsani
    0

    I found the solution. I must have to write below line in my model class:

    [PrimaryKeyColumn(AutoIncrement =true)]
        public int Id { get; set; }
    

    And Ui-O-matic automatically ignores primary key column.

Please Sign in or register to post replies

Write your reply to:

Draft