Skip to content

Commit 72008e6

Browse files
committed
Reset sample changes back to 0.2.0
1 parent d086ad8 commit 72008e6

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

samples/docker-compose/.dockerignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

samples/docker-compose/dotnet/Controllers/HomeController.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
using System.Threading.Tasks;
33
using dotnet.Models;
44
using Microsoft.AspNetCore.Mvc;
5-
using ProGaudi.Tarantool.Client;
6-
using ProGaudi.Tarantool.Client.Model;
7-
using ProGaudi.Tarantool.Client.Model.Enums;
5+
using Tarantool.Client;
6+
using Tarantool.Client.Model;
7+
using Tarantool.Client.Model.Enums;
88

99
namespace dotnet.Controllers
1010
{
@@ -25,22 +25,22 @@ public HomeController(Box box)
2525
this._secondaryIndex = result.Item3;
2626
}
2727

28-
private async Task<TarantoolTuple<Space, Index, Index>> Initialize()
28+
private async Task<Tarantool.Client.Model.Tuple<Space, Index, Index>> Initialize()
2929
{
3030
var schema = this._box.GetSchema();
3131

3232
var space = await schema.GetSpace("some_space");
3333
var primaryIndex = await space.GetIndex("primary");
3434
var index = await space.GetIndex("some_secondary_index");
3535

36-
return TarantoolTuple.Create(space, primaryIndex, index);
36+
return Tarantool.Client.Model.Tuple.Create(space, primaryIndex, index);
3737
}
3838

3939
public async Task<ViewResult> Index()
4040
{
41-
var allDogs = await this._primaryIndex.Select<TarantoolTuple<long>, TarantoolTuple<long, string, long>>(TarantoolTuple.Create(-1L), new SelectOptions { Iterator = Iterator.All });
42-
var seniorDogs = await this._secondaryIndex.Select<TarantoolTuple<long>, TarantoolTuple<long, string, long>>(TarantoolTuple.Create(5L), new SelectOptions { Iterator = Iterator.Ge });
43-
var juniorDogs = await this._secondaryIndex.Select<TarantoolTuple<long>, TarantoolTuple<long, string, long>>(TarantoolTuple.Create(5L), new SelectOptions { Iterator = Iterator.Le });
41+
var allDogs = await this._primaryIndex.Select<Tuple<long>, Tuple<long, string, long>>(Tuple.Create(-1L), new SelectOptions { Iterator = Iterator.All });
42+
var seniorDogs = await this._secondaryIndex.Select<Tuple<long>, Tuple<long, string, long>>(Tuple.Create(5L), new SelectOptions { Iterator = Iterator.Ge });
43+
var juniorDogs = await this._secondaryIndex.Select<Tuple<long>, Tuple<long, string, long>>(Tuple.Create(5L), new SelectOptions { Iterator = Iterator.Le });
4444

4545
return View(new []
4646
{

samples/docker-compose/dotnet/Models/Dog.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
using ProGaudi.Tarantool.Client.Model;
1+
using Tarantool.Client.Model;
22

33
namespace dotnet.Models
44
{
55
public class Dog
66
{
7-
public Dog(TarantoolTuple<long, string, long> tuple)
7+
public Dog(Tuple<long, string, long> tuple)
88
{
99
Id = tuple.Item1;
1010
Name = tuple.Item2;

samples/docker-compose/dotnet/Startup.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
using Microsoft.Extensions.DependencyInjection;
99
using Microsoft.Extensions.Logging;
1010

11-
using ProGaudi.Tarantool.Client;
12-
using ProGaudi.Tarantool.Client.Model;
11+
using Tarantool.Client;
12+
using Tarantool.Client.Model;
1313

1414
namespace dotnet
1515
{

0 commit comments

Comments
 (0)