///<summary> ///Update object by primary key string(with transation). ///</summary> public static bool UpdateObjectByPrimaryKeyString(DO_Keywords.UO_Keywords obj, string primaryKeyString, IDbConnection connection, IDbTransaction transaction) { return(obj.Update(connection, transaction, GetConditionsByPrimaryKeyString(primaryKeyString)) > 0); }
///<summary> ///Update object by primary key(with transation). ///</summary> public static bool UpdateObject(DO_Keywords.UO_Keywords obj, System.Int64 Id, IDbConnection connection, IDbTransaction transaction) { return(obj.Update(connection, transaction, GetConditionsByPrimaryKey(Id)) > 0); }
///<summary> ///Update object by primary key string. ///</summary> public static bool UpdateObjectByPrimaryKeyString(DO_Keywords.UO_Keywords obj, string primaryKeyString) { return(obj.Update(GetConditionsByPrimaryKeyString(primaryKeyString)) > 0); }
///<summary> ///Update object by primary key. ///</summary> public static bool UpdateObject(DO_Keywords.UO_Keywords obj, System.Int64 Id) { return(obj.Update(GetConditionsByPrimaryKey(Id)) > 0); }