public bool SwapSequence(int CategoryId, SwapSequenceIndex zIndex) { return this.dal.SwapSequence(CategoryId, zIndex); }
public int SwapCategorySequence(int ContentClassId, SwapSequenceIndex zIndex) { return this.dal.SwapCategorySequence(ContentClassId, zIndex); }
public bool SwapSequence(int CategoryId, SwapSequenceIndex zIndex) { return true; }
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); }
public int SwapCategorySequence(int VideoClassId, SwapSequenceIndex zIndex) { return this.dal.SwapCategorySequence(VideoClassId, zIndex); }
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); }
public bool SwapSeqManage(int? TypeId, long? AttributeId, long? ValueId, SwapSequenceIndex zIndex, bool UsageMode) { return this.dal.SwapSeqManage(TypeId, AttributeId, ValueId, zIndex, UsageMode); }
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); }