skip to Main Content

EF Core 3.1 PostgreSQL LEAD window function

We are using .NET Core 3.1, Microsoft.EntityFrameworkCore 3.1.9 and Npgsql 4.1.9. We have the following simple TestExecution scaffolded class: [Table("test_execution", Schema = "test")] public partial class TestExecution { [Key] [Column("id")] public int Id { get; set; } [Column("test_result")] public string…

VIEW QUESTION

C#, PostgreSQL syntax error at end of input

I can't seem to be able to create migration with simplest sql to create PostgreSQL procedure. Error is: Exception data: Severity: ERROR SqlState: 42601 MessageText: syntax error at end of input Position: 186 File: scan.l Line: 1184 Routine: scanner_yyerror Sql…

VIEW QUESTION

Porting from SQLite to PostgreSQL: What is according of datatype byte[] and DateTime in .NET 6 inside PostgreSQL 14.5 SQL DDL script?

My context: I need creating an web-app use ASP.NET Core WebAPI .NET 6, Entity Framework Core 6, PostgreSQL 14.5 with JWT authentication/authorization. I mimics a sample at https://github.com/patrickgod/AuthenticationWebApi , then fork to me https://github.com/donhuvy/AuthenticationWebApi . This source code use .NET…

VIEW QUESTION
Back To Top
Search