コード例 #1
0
ファイル: BO_Schedule.cs プロジェクト: eagledu/wedding
 ///<summary>
 ///Update object by primary key(with transation).
 ///</summary>
 public static bool UpdateObject(DO_Schedule.UO_Schedule obj, string BigDateCode, string ScheduleCode, IDbConnection connection, IDbTransaction transaction)
 {
     return obj.Update(connection, transaction, GetConditionsByPrimaryKey(BigDateCode, ScheduleCode)) > 0;
 }
コード例 #2
0
ファイル: BO_Schedule.cs プロジェクト: eagledu/wedding
 ///<summary>
 ///Update object by primary key.
 ///</summary>
 public static bool UpdateObject(DO_Schedule.UO_Schedule obj, string BigDateCode, string ScheduleCode)
 {
     return obj.Update(GetConditionsByPrimaryKey(BigDateCode, ScheduleCode)) > 0;
 }