core-admin icon indicating copy to clipboard operation
core-admin copied to clipboard

Error with Npgsql

Open jigrain opened this issue 1 year ago • 1 comments

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

jigrain avatar Aug 02 '23 20:08 jigrain

same problem here

Neo-vortex avatar Jun 14 '24 11:06 Neo-vortex