public PropertyMap Ignore() { if (KeyType != KeyType.NotAKey) { throw new ArgumentException(string.Format("'{0}' is a key field and cannot be ignored.", Name)); } Ignored = true; return this; }