public void Delete_LowFare(Entity.LowFare o_LowFare) { if (o_LowFare == null) return; if (o_LowFare.LowFare_Detail_ID != null && o_LowFare.LowFare_Detail_ID.Count > 0) { LowFare_Detail d_LowFare_Detail = new LowFare_Detail(); d_LowFare_Detail.Delete_LowFare_Detail_LowFare_ID(o_LowFare.LowFare_Detail_ID[0].LowFare_Detail_LowFare_ID); } string o_Where = "LowFare_ID=" + o_LowFare.LowFare_ID.ToString(); Execute_Delete(g_TableName, o_Where); }
public LowFare_Detail() { d_LowFare_Detail = new DAL.LowFare_Detail(); }