Ejemplo n.º 1
0
			public bool CanAddSFMasAutoField(string sfm, Converter converter)
			{
				if (Closed)
					return false;

				// if it's an autofield, see if there's a match at this 'class' / entry
				ClsFieldDescription possibleAuto = converter.GetFieldDescription(sfm);
				if (possibleAuto != null && possibleAuto.IsAutoImportField)
				{
					// if there's a autofield for this class, we can use the sfm here
					if (converter.m_autoFieldsPossible.ContainsKey(this.Name))
						return true;
				}
				return false;
			}