예제 #1
0
 public bool SwapSequence(int CategoryId, SwapSequenceIndex zIndex)
 {
     return this.dal.SwapSequence(CategoryId, zIndex);
 }
예제 #2
0
 public int SwapCategorySequence(int ContentClassId, SwapSequenceIndex zIndex)
 {
     return this.dal.SwapCategorySequence(ContentClassId, zIndex);
 }
예제 #3
0
 public bool SwapSequence(int CategoryId, SwapSequenceIndex zIndex)
 {
     return true;
 }
예제 #4
0
 public bool SwapCategorySequence(int CategoryId, SwapSequenceIndex zIndex)
 {
     int rowsAffected = 0;
     SqlParameter[] parameters = new SqlParameter[] { new SqlParameter("@CategoryId", SqlDbType.Int), new SqlParameter("@ZIndex", SqlDbType.Int) };
     parameters[0].Value = CategoryId;
     parameters[1].Value = (int) zIndex;
     DbHelperSQL.RunProcedure("sp_Shop_Category_SwapSequence", parameters, out rowsAffected);
     return (rowsAffected > 0);
 }
예제 #5
0
 public int SwapCategorySequence(int VideoClassId, SwapSequenceIndex zIndex)
 {
     return this.dal.SwapCategorySequence(VideoClassId, zIndex);
 }
예제 #6
0
 public int SwapCategorySequence(int ContentClassId, SwapSequenceIndex zIndex)
 {
     int num;
     SqlParameter[] parameters = new SqlParameter[] { new SqlParameter("@ClassID", SqlDbType.Int), new SqlParameter("@ZIndex", SqlDbType.Int) };
     parameters[0].Value = ContentClassId;
     parameters[1].Value = (int) zIndex;
     return DbHelperSQL.RunProcedure("sp_CMS_SwapContentClassSequence", parameters, out num);
 }
예제 #7
0
 public bool SwapSeqManage(int? TypeId, long? AttributeId, long? ValueId, SwapSequenceIndex zIndex, bool UsageMode)
 {
     return this.dal.SwapSeqManage(TypeId, AttributeId, ValueId, zIndex, UsageMode);
 }
예제 #8
0
 public bool SwapSeqManage(int? TypeId, long? AttributeId, long? ValueId, SwapSequenceIndex zIndex, bool UsageMode)
 {
     int rowsAffected = 0;
     SqlParameter[] parameters = new SqlParameter[] { new SqlParameter("@TypeId", SqlDbType.Int), new SqlParameter("@AttributeId", SqlDbType.BigInt), new SqlParameter("@ValueId", SqlDbType.BigInt), new SqlParameter("@ZIndex", SqlDbType.Int), new SqlParameter("@UsageMode", SqlDbType.Bit) };
     parameters[0].Value = TypeId;
     parameters[1].Value = AttributeId;
     parameters[2].Value = ValueId;
     parameters[3].Value = (int) zIndex;
     parameters[4].Value = UsageMode;
     DbHelperSQL.RunProcedure("sp_Shop_SwapManage", parameters, out rowsAffected);
     return (rowsAffected > 0);
 }