diff --git a/README.md b/README.md index b020829..c83e6c2 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ int result = function.GetInt("e_result"); You can write: ```C# -using (SapRfcConnection conn = new SapRfcConnection("TST")) +using (SapRfcConnection conn = new PlainSapRfcConnection("TST")) { var result = conn.ExecuteFunction("Z_SSRT_SUM", new { i_num1 = 2, @@ -64,7 +64,7 @@ Well, yes, it is. But what about write this: ```C# -using (SapRfcConnection conn = new SapRfcConnection("TST")) +using (SapRfcConnection conn = new PlainSapRfcConnection("TST")) { var customer = new ZCustomer(3, "Some Company", true); var result = conn.ExecuteFunction("Z_SSRT_ADD_CUSTOMER", new { @@ -111,7 +111,7 @@ But because of this class we can work with tables parameters! Check this out. ```C# -using (SapRfcConnection conn = new SapRfcConnection("TST")) +using (SapRfcConnection conn = new PlainSapRfcConnection("TST")) { var result = conn.ExecuteFunction("Z_SSRT_GET_ALL_CUSTOMERS"); var customers = result.GetTable("t_customers"); @@ -143,14 +143,14 @@ public class AirlineCompany } //Reading all table entries -using (SapRfcConnection conn = new SapRfcConnection("TST")) +using (SapRfcConnection conn = new PlainSapRfcConnection("TST")) { var scarr = conn.ReadTable("SCARR"); Assert.AreEqual(18, scarr.Count()); } //Reading two fields with where clause -using (SapRfcConnection conn = new SapRfcConnection("TST")) +using (SapRfcConnection conn = new PlainSapRfcConnection("TST")) { var scarr = conn.ReadTable("SCARR", fields: new string[] { "CARRID", "CARRNAME" },