protected void AddFieldMapping(EntityFieldMapping mapping) { if (null == m_FieldMap) { throw new ArgumentNullException("EntityFieldMapping"); } int pos = m_FieldMap.BinarySearch(mapping); if (pos < 0) { pos = ~pos; } m_FieldMap.Insert(pos, mapping); }
public int CompareTo(EntityFieldMapping other) { return(CompareTo(other.DbField)); }