Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillKurdyukov committed Sep 11, 2024
1 parent 98fe045 commit e5ac8ab
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions examples/src/DapperExample/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// See https://aka.ms/new-console-template for more information

using System.ComponentModel.DataAnnotations.Schema;
using Dapper;
using Ydb.Sdk.Ado;

Expand All @@ -27,9 +26,9 @@ PRIMARY KEY (Id)

internal class User
{
[Column("id")] public int Id { get; init; }
[Column("name")] public string Name { get; init; } = null!;
[Column("email")] public string Email { get; init; } = null!;
public int Id { get; init; }
public string Name { get; init; } = null!;
public string Email { get; init; } = null!;

public override string ToString()
{
Expand Down

0 comments on commit e5ac8ab

Please sign in to comment.