Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit f34f3c0

Browse files
committed
Update OrmLiteCommand.cs
1 parent bc6a831 commit f34f3c0

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/ServiceStack.OrmLite/OrmLiteCommand.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,35 +60,35 @@ public object ExecuteScalar()
6060

6161
public IDbConnection Connection
6262
{
63-
get { return dbCmd.Connection; }
64-
set { dbCmd.Connection = value; }
63+
get => dbCmd.Connection;
64+
set => dbCmd.Connection = value;
6565
}
6666
public IDbTransaction Transaction
6767
{
68-
get { return dbCmd.Transaction; }
69-
set { dbCmd.Transaction = value; }
68+
get => dbCmd.Transaction;
69+
set => dbCmd.Transaction = value;
7070
}
7171
public string CommandText
7272
{
73-
get { return dbCmd.CommandText; }
74-
set { dbCmd.CommandText = value; }
73+
get => dbCmd.CommandText;
74+
set => dbCmd.CommandText = value;
7575
}
7676
public int CommandTimeout
7777
{
78-
get { return dbCmd.CommandTimeout; }
79-
set { dbCmd.CommandTimeout = value; }
78+
get => dbCmd.CommandTimeout;
79+
set => dbCmd.CommandTimeout = value;
8080
}
8181
public CommandType CommandType
8282
{
83-
get { return dbCmd.CommandType; }
84-
set { dbCmd.CommandType = value; }
83+
get => dbCmd.CommandType;
84+
set => dbCmd.CommandType = value;
8585
}
8686
public IDataParameterCollection Parameters => dbCmd.Parameters;
8787

8888
public UpdateRowSource UpdatedRowSource
8989
{
90-
get { return dbCmd.UpdatedRowSource; }
91-
set { dbCmd.UpdatedRowSource = value; }
90+
get => dbCmd.UpdatedRowSource;
91+
set => dbCmd.UpdatedRowSource = value;
9292
}
9393

9494
public IDbCommand DbCommand => dbCmd;

0 commit comments

Comments
 (0)