using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.ActiveRecord;

namespace Quering2Example
{
    [ActiveRecord]
    public class Osoba : ActiveRecordBase<Osoba>
    {
        [PrimaryKey]
        public int ID { get; set; }

        [Property]
        public string ImieNazwisko { get; set; }

        [BelongsTo( "ID_Jednostka" )]
        public Jednostka Jednostka { get; set; }
    }
}
