/// <summary> /// 发送更新数据 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="dataList"></param> /// <param name="sendParam"></param> public bool SendData <T>(T[] dataList, TransSendParam sendParam) where T : AbstractEntity, new() { using (var sender = new SqlDataSender(sendParam.IsChange, sendParam.Schema.ConnectKey)) { return(sender.Send(dataList)); } }
/// <summary> /// /// </summary> /// <typeparam name="T"></typeparam> /// <param name="dataList"></param> /// <param name="sendParam"></param> public void SendData <T>(T[] dataList, TransSendParam sendParam) where T : AbstractEntity, new() { using (var sender = new SqlDataSender(sendParam.IsChange, sendParam.ConnectKey)) { sender.Send(dataList); } }