using System; using System.Linq; using MySystem.Models; using Library; namespace MySystem { public class DeleteMySqlDataService { public readonly static DeleteMySqlDataService Instance = new DeleteMySqlDataService(); private DeleteMySqlDataService() { } public void Start(string TableString) { WebCMSEntities db = new WebCMSEntities(); try { string[] data = TableString.Split(':'); int Id = int.Parse(function.CheckInt(data[1])); string Table = data[0]; } catch (Exception ex) { ErrorMsg msg = new ErrorMsg(); msg.Time = DateTime.Now; msg.ErrorContent = ex.ToString(); TendisDbconn.Instance.AddList("Pop:MerchantInfo:Error", msg); } db.Dispose(); } } }