public static int ExecuteCommand(SQLCommandInfo sqlCommand, SDTableType tableType) { var clientInfo = EFClientTools.ClientUtility.ClientInfo; var sqlCommands = new List<SQLCommandInfo>(); sqlCommands.Add(sqlCommand); return EFClientTools.ClientUtility.Client.SDExcuteCommands(clientInfo, sqlCommands, tableType); }
public static DataSet ExecuteSql(SQLCommandInfo sqlCommand, PacketInfo packetInfo, SDTableType tableType) { var clientInfo = EFClientTools.ClientUtility.ClientInfo; var xml = (string)EFClientTools.ClientUtility.Client.SDExcuteSql(clientInfo, sqlCommand, packetInfo, tableType); return Deserialize(xml); }
public static DataSet ExecuteSql(SQLCommandInfo sqlCommand, SDTableType tableType) { return ExecuteSql(sqlCommand, new PacketInfo() { WhereParameters = new List<WhereParameter>(), OrderParameters = new List<OrderParameter>() }, tableType); }