コード例 #1
0
 ///<summary>
 ///Update object by primary key string(with transation).
 ///</summary>
 public static bool UpdateObjectByPrimaryKeyString(DO_AirfareLastView.UO_AirfareLastView obj, string primaryKeyString, IDbConnection connection, IDbTransaction transaction)
 {
     return(obj.Update(connection, transaction, GetConditionsByPrimaryKeyString(primaryKeyString)) > 0);
 }
コード例 #2
0
 ///<summary>
 ///Update object by primary key(with transation).
 ///</summary>
 public static bool UpdateObject(DO_AirfareLastView.UO_AirfareLastView obj, System.Int32 Id, IDbConnection connection, IDbTransaction transaction)
 {
     return(obj.Update(connection, transaction, GetConditionsByPrimaryKey(Id)) > 0);
 }
コード例 #3
0
 ///<summary>
 ///Update object by primary key string.
 ///</summary>
 public static bool UpdateObjectByPrimaryKeyString(DO_AirfareLastView.UO_AirfareLastView obj, string primaryKeyString)
 {
     return(obj.Update(GetConditionsByPrimaryKeyString(primaryKeyString)) > 0);
 }
コード例 #4
0
 ///<summary>
 ///Update object by primary key.
 ///</summary>
 public static bool UpdateObject(DO_AirfareLastView.UO_AirfareLastView obj, System.Int32 Id)
 {
     return(obj.Update(GetConditionsByPrimaryKey(Id)) > 0);
 }