public int AddTableFieldInfo(TableFieldInfo tableFieldInfo) { using (DbConnection conn = new DbConnection()) { return(tableFieldInfo.Save()); } }
public bool UpdateTableFieldInfo(TableFieldInfo tableFieldInfo) { using (DbConnection conn = new DbConnection()) { if (tableFieldInfo.Save() > 0) { return(true); } return(false); } }