Пример #1
0
		private BeanProperty BeanPropertyFor(IMethod method)
		{
			string propertyName = method.Name.Substring(3);

			BeanProperty beanProperty;
			if (!_properties.TryGetValue(propertyName, out beanProperty))
			{
				beanProperty = new BeanProperty(propertyName);
				_properties.Add(propertyName, beanProperty);
			}
			return beanProperty;
		}
Пример #2
0
        private BeanProperty BeanPropertyFor(IMethod method)
        {
            string propertyName = method.Name.Substring(3);

            BeanProperty beanProperty;

            if (!_properties.TryGetValue(propertyName, out beanProperty))
            {
                beanProperty = new BeanProperty(propertyName);
                _properties.Add(propertyName, beanProperty);
            }
            return(beanProperty);
        }
Пример #3
0
 public IEntity[] FindAll()
 {
     BeanProperty[] result = new BeanProperty[_properties.Count];
     _properties.Values.CopyTo(result, 0);
     return(result);
 }
Пример #4
0
		public IEntity[] FindAll()
		{
			BeanProperty[] result = new BeanProperty[_properties.Count];
			_properties.Values.CopyTo(result, 0);
			return result;
		}