You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varresult=awaitdataAccessor.QueryFirstAsync("select * from Employee where lastname = @LastName order by id",new{LastName="Doe"},transaction,null,commandType:System.Data.CommandType.Text);
varresult=awaitdataAccessor.QueryAsync<Company>("select * from Company where id = @Id",new{Id=1},transaction,null,commandType:System.Data.CommandType.Text);
69
-
varexpected=newCompany{Id=1,Name="Mock Company"};
70
-
result.Should().BeEquivalentTo(expected);
86
+
vardefinition=newCommandDefinition("select * from Employee where lastname = @LastName order by id",new{LastName="Doe"},transaction,null,commandType:System.Data.CommandType.Text,CommandFlags.Buffered,default);
varresult=awaitdataAccessor.QueryFirstOrDefaultAsync("select * from Employee where lastname = @LastName order by id",new{LastName="Doe"},transaction,null,commandType:System.Data.CommandType.Text);
vardefinition=newCommandDefinition("select * from Employee where lastname = @LastName order by id",new{LastName="Doe"},transaction,null,commandType:System.Data.CommandType.Text,CommandFlags.Buffered,default);
varresult=awaitdataAccessor.QuerySingleOrDefaultAsync("select * from Employee where Id = @Id",new{Id=2},transaction,null,commandType:System.Data.CommandType.Text);
vardefinition=newCommandDefinition("select * from Employee where Id = @Id",new{Id=2},transaction,null,commandType:System.Data.CommandType.Text,CommandFlags.Buffered,default);
varresult=awaitdataAccessor.QuerySingleAsync("select * from Employee where Id = @Id",new{Id=2},transaction,null,commandType:System.Data.CommandType.Text);
vardefinition=newCommandDefinition("select * from Employee where Id = @Id",new{Id=2},transaction,null,commandType:System.Data.CommandType.Text,CommandFlags.Buffered,default);
varresult=awaitdataAccessor.QueryAsync<Company>("select * from Company where id = @Id",new{Id=1},transaction,null,commandType:System.Data.CommandType.Text);
0 commit comments