Skip to content

pi/ydb-dotnet-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YDB .NET SDK Examples

Prerequisites

.NET Core 3.1

Running examples

  1. Clone repository
git clone https://github.com/ydb-platform/ydb-dotnet-examples.git
  1. Build solution
cd ydb-dotnet-examples/src
dotnet build
  1. Run example
cd <ExampleName>
dotnet run -e <Endpoint> -d <Database>

Provided examples

BasicExample

Demonstrates basic operations with YDB, including:

  • Driver initialization
  • Table client initialization
  • Table creation via SchemeQuery (DDL)
  • Data queries (OLTP) & transations (read, modify)
  • Interactive transactions
  • ReadTable for streaming read of table contents
  • ScanQuery for streaming wide queries (OLAP)

About

Code examples for YDB .NET SDK

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%