示例#1
0
        void IDBCollection.SetSortConstraint(long which, DBSortConstraint constraint)
        {
            if (-1 == which && DBSortConstraint.SortConstraints.None == constraint.Constraint)
            {
                m_SortConstraint.Clear();
                return;
            }

            if (-1 != which)
            {
                if (DBSortConstraint.SortConstraints.None == constraint.Constraint)
                {
                    m_SortConstraint.Remove(which);
                }
                else
                {
                    m_SortConstraint.Add(which, constraint);
                }
            }
            else
            {
                throw new NotImplementedException();
            }
        }
示例#2
0
 void IDBCollection.SetSortConstraint(long which, DBSortConstraint constraint)
 {
     throw new NotImplementedException();
 }