Skip to content

How to fill the Nullable<enum> properties? #170

@hueifeng

Description

@hueifeng

image

var list = GenFu.GenFu.ListOf<Model>(100);
   public class Model
    {
        public OrderType? TestNullable { get; set; }
        public OrderType Test1 { get; set; }
    }
    public enum OrderType
    {
        Normal = 1
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions