public int insertType(M_MailType model) { return(Sql.insert(strTableName, model.GetParameters(), model.GetParas(), model.GetFields())); }
public bool UpdateReceive(M_MailType model) { return(Sql.UpdateByIDs(strTableName, PK, model.ID.ToString(), model.GetFieldAndPara(), model.GetParameters())); }