/// <summary> /// 删除社区 /// </summary> /// <param name="mod">G_Community实体</param> public bool DelCommunity(G_Community mod) { bool b = false; OpSql.Open(); try { b = OpSql.Delete(new object[] { mod }); } catch { } finally { OpSql.Close(); } return(b); }
/// <summary> /// 删除留言 /// </summary> /// <returns></returns> public bool DelMessage(g_message mod) { bool b = false; OpSql.Open(); try { b = OpSql.Delete(new object[] { mod }); } catch { } finally { OpSql.Close(); } return(b); }
/// <summary> /// 删除街道 /// </summary> /// <param name="mod">G_Street实体</param> public bool DelStreet(G_Street mod) { bool b = false; OpSql.Open(); try { b = OpSql.Delete(new object[] { mod }); } catch { } finally { OpSql.Close(); } return(b); }
/// <summary> /// 删除信息类型 /// </summary> /// <returns></returns> public bool DelNewsType(g_newstype mod) { bool b = false; OpSql.Open(); try { b = OpSql.Delete(new object[] { mod }); } catch { } finally { OpSql.Close(); } return(b); }