net7.0-android net7.0-android was computed. net6.0-windows net6.0-windows was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-android net6.0-android was computed. net5.0-windows net5.0-windows was computed. Versions Compatible and additional computed target framework versions. OpenTelemetry support can be set up with Npgsql.OpenTelemetry.NodaTime plugin to use better date/time types with PostgreSQL: Npgsql.NodaTime.Spatial plugin to work with PostgreSQL PostGIS: Npgsql.NetTopologySuite.The Entity Framework Core provider that works with this provider is.Great integration with Entity Framework Core via .įor the full documentation, please visit the Npgsql website.Failover, load balancing and general multi-host support.Highly-efficient bulk import/export API. Full support of most PostgreSQL types, including advanced ones such as arrays, enums, ranges, multiranges, composites, JSON, PostGIS and others.Regularly figures in the top contenders on the TechEmpower Web Framework Benchmarks. Here's a basic code snippet to get you started: var connString = "Host=myserver Username=mylogin Password=mypass Database=mydatabase" Īwait using var conn = new NpgsqlConnection(connString) Īwait using (var cmd = new NpgsqlCommand("INSERT INTO data (some_field) VALUES conn))Ĭmd.Parameters.AddWithValue("p", "Hello world") Īwait using (var cmd = new NpgsqlCommand("SELECT some_field FROM data", conn))Īwait using (var reader = await cmd.ExecuteReaderAsync()) It allows you to connect and interact with PostgreSQL server using.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |