Exemple #1
0
		private void EntityField_NameChanged(object sender, EntityFieldNameChangedEventArgs e)
		{
			if (e.EntityField.Entity != this.Entity)
				return;

			foreach (LinkField field in this.Fields)
			{
				if (field.SourceFieldName == e.OldName)
				{
					field.SourceFieldName = e.NewName;
				}
			}
		}
		private void EntityField_NameChanged(object sender, EntityFieldNameChangedEventArgs e)
		{
			if (e.EntityField.Entity != this.Entity)
				return;

			foreach (IndexField field in this.Fields)
			{
				if (field.Name == e.OldName)
				{
					if (field.ParameterName == field.Name)
						field.ParameterName = e.NewName;

					field.Name = e.NewName;
				}
			}
		}