edandersen / core-admin

Fully automatic admin site CRUD UI generator for ASP.NET Core and .NET 8
Other
540 stars 100 forks source link

Error with Npgsql #88

Open jigrain opened 1 year ago

jigrain commented 1 year ago

I use a special package Npgsql to work with PostgreSQL. And I have all models loaded normally except one and the most important one. Here is the composition of the model:

        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        public Guid GuidId { get; set; }

        public virtual EventType Type { get; set; }

        public string Title { get; set; }

        public string Desc { get; set; }

        public Guid Author { get; set; }

        public bool IsAllowed { get; set; }

        public DateTime DateStart { get; set; }

        public DateTime DateEnd { get; set; }

        public string Place { get; set; }

        public Guid Responsible { get; set; }

        public DateTime DateCreated { get; set; }

        public DateTime DateUpdated { get; set; }

        public virtual ICollection<EventСomment> Comments { get; set; }

        public virtual ICollection<EventWorker> Workers { get; set; }

        public virtual ICollection<EventAdministration> Administrations { get; set; }

        public virtual ICollection<EventInvitation> invitations { get; set; }

The error I'm getting: NpgsqlOperationInProgressException: A command is already in progress: SELECT

Neo-vortex commented 1 month ago

same problem here