All pastes #807211 Raw Edit

katratxo

public text v1 · immutable
·published 2007-12-06 10:11 UTC
rendered paste body
    [ActiveRecord]
    public class Club : ActiveRecordBase {
        private int id;
        // other properties
        private IList usuarios;

        [PrimaryKey]
        public int Id {
            get { return id; }
            set { id = value; }
        }
      
        // getters & setters
  
        [HasMany(typeof(Usuario))]
        public IList Usuarios {
            get { return usuarios; }
            set { usuarios = value; }
        }

        // other methods

    }