Ejemplo n.º 1
0
 ///<summary>
 ///Update object by primary key string(with transation).
 ///</summary>
 public static bool UpdateObjectByPrimaryKeyString(DO_AirfareMarkupMode.UO_AirfareMarkupMode obj, string primaryKeyString, IDbConnection connection, IDbTransaction transaction)
 {
     return(obj.Update(connection, transaction, GetConditionsByPrimaryKeyString(primaryKeyString)) > 0);
 }
Ejemplo n.º 2
0
 ///<summary>
 ///Update object by primary key(with transation).
 ///</summary>
 public static bool UpdateObject(DO_AirfareMarkupMode.UO_AirfareMarkupMode obj, System.Int32 ID, IDbConnection connection, IDbTransaction transaction)
 {
     return(obj.Update(connection, transaction, GetConditionsByPrimaryKey(ID)) > 0);
 }
Ejemplo n.º 3
0
 ///<summary>
 ///Update object by primary key string.
 ///</summary>
 public static bool UpdateObjectByPrimaryKeyString(DO_AirfareMarkupMode.UO_AirfareMarkupMode obj, string primaryKeyString)
 {
     return(obj.Update(GetConditionsByPrimaryKeyString(primaryKeyString)) > 0);
 }
Ejemplo n.º 4
0
 ///<summary>
 ///Update object by primary key.
 ///</summary>
 public static bool UpdateObject(DO_AirfareMarkupMode.UO_AirfareMarkupMode obj, System.Int32 ID)
 {
     return(obj.Update(GetConditionsByPrimaryKey(ID)) > 0);
 }