Commit inicial: ITCA_API_SAP_WMS (.NET Core 3.1)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
2b82744eb8
168 files changed
+11066
No files matched your search
@@ -0,0 +1,27 @@
|
||||
using Sap.Data.Hana;
|
||||
using System.Data;
|
||||
|
||||
namespace Net.Data.HelperData
|
||||
{
|
||||
public class HelperDB
|
||||
{
|
||||
public static void SET(string query)
|
||||
{
|
||||
using (HanaConnection con = new HanaConnection(LocalData.ConnectionString))
|
||||
{
|
||||
con.Open();
|
||||
HanaCommand cmd = new HanaCommand
|
||||
{
|
||||
CommandText = query,
|
||||
Connection = con,
|
||||
CommandType = CommandType.Text
|
||||
};
|
||||
cmd.ExecuteNonQuery();
|
||||
|
||||
con.Close();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user