public int Insert(JDataBase db = null) { BusEventPalceTable AT = new BusEventPalceTable(); AT.SetValueProperty(this); if (db == null) { Code = AT.Insert(); } else { Code = AT.Insert(db); } return(Code); }